This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/website/styles/components/UserCard.css
2020-12-28 13:07:21 +01:00

48 lines
871 B
CSS

.UserCard {
display: flex;
align-items: center;
position: relative;
flex-direction: column;
word-wrap: break-word;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
margin: 0 0 50px 0;
cursor: pointer;
transition: all 0.3s;
padding: 10px;
}
.UserCard__container {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
color: var(--text-color);
text-decoration: none !important;
}
.UserCard:hover {
transform: translateY(-7px);
}
/* col-md */
@media (min-width: 768px) {
.UserCard {
margin: 0 30px 50px 30px;
}
}
/* col-xl */
@media (min-width: 1200px) {
.UserCard {
margin: 0 20px 50px 20px;
}
}
.UserCard__logo {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
}
.UserCard__name {
margin: 30px 0 10px 0;
}