67 lines
1.3 KiB
CSS
67 lines
1.3 KiB
CSS
.FunctionCard {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
flex-direction: column;
|
|
word-wrap: break-word;
|
|
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, .25);
|
|
border: 1px solid black;
|
|
border-radius: 1rem;
|
|
margin: 0 0 50px 0;
|
|
cursor: pointer;
|
|
transition: all .3s;
|
|
color: var(--text-color);
|
|
text-decoration: none !important;
|
|
}
|
|
.FunctionCard__container {
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.FunctionCard:hover {
|
|
transform: translateY(-7px);
|
|
}
|
|
/* col-md */
|
|
@media (min-width: 768px) {
|
|
.FunctionCard {
|
|
margin: 0 30px 50px 30px;
|
|
}
|
|
}
|
|
/* col-xl */
|
|
@media (min-width: 1200px) {
|
|
.FunctionCard {
|
|
margin: 0 20px 50px 20px;
|
|
}
|
|
}
|
|
|
|
.FunctionCard__top {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex-grow: 1;
|
|
}
|
|
.FunctionCard__image {
|
|
width: 150px;
|
|
}
|
|
.FunctionCard__title {
|
|
font-size: 1.4em;
|
|
margin: 0;
|
|
color: var(--important);
|
|
font-weight: 300;
|
|
}
|
|
.FunctionCard__description {
|
|
margin: 20px 0 10px 0;
|
|
}
|
|
.FunctionCard__info {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
.FunctionCard__category {
|
|
border-radius: 0.5em;
|
|
padding: 0.5em;
|
|
margin-right: 20px;
|
|
font-size: 16.4px;
|
|
} |