1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-30 16:17:41 +01:00
smov/src2/components/Card.css
2022-02-06 20:56:48 +01:00

31 lines
No EOL
537 B
CSS

.card {
background-color: var(--card);
padding: 3rem 4rem;
margin: 0 3rem;
margin-bottom: 6rem;
border-radius: 10px;
box-sizing: border-box;
transition: height 500ms ease-in-out;
}
.card-wrapper.full {
width: 81rem;
}
.card-wrapper {
transition: height 500ms ease-in-out;
width: 45rem;
max-width: 100%;
}
.card-wrapper.overflow-hidden {
overflow: hidden;
}
@media screen and (max-width: 700px) {
.card {
margin: 0;
margin-bottom: 6rem;
padding: 3rem 2rem;
}
}