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/components/FunctionCard/FunctionCard.css

68 lines
1.2 KiB
CSS
Raw Normal View History

.FunctionCard {
2020-08-03 14:14:45 +02:00
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;
color: var(--text-color);
text-decoration: none !important;
}
2020-03-21 16:43:37 +01:00
.FunctionCard__container {
2020-08-03 14:14:45 +02:00
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
2020-03-21 16:43:37 +01:00
}
.FunctionCard:hover {
2020-08-03 14:14:45 +02:00
transform: translateY(-7px);
}
/* col-md */
@media (min-width: 768px) {
2020-08-03 14:14:45 +02:00
.FunctionCard {
margin: 0 30px 50px 30px;
}
}
/* col-xl */
@media (min-width: 1200px) {
2020-08-03 14:14:45 +02:00
.FunctionCard {
margin: 0 20px 50px 20px;
}
}
.FunctionCard__top {
2020-08-03 14:14:45 +02:00
display: flex;
flex-direction: column;
align-items: center;
flex-grow: 1;
}
.FunctionCard__image {
2020-08-03 14:14:45 +02:00
width: 150px;
}
.FunctionCard__title {
2020-08-03 14:14:45 +02:00
font-size: 1.4em;
margin: 0;
color: var(--important);
font-weight: 300;
}
.FunctionCard__description {
2020-08-03 14:14:45 +02:00
margin: 20px 0 10px 0;
}
.FunctionCard__info {
2020-08-03 14:14:45 +02:00
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.FunctionCard__category {
2020-08-03 14:14:45 +02:00
border-radius: 0.5em;
padding: 0.5em;
margin-right: 20px;
font-size: 16.4px;
}