mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 19:01:51 +01:00
31 lines
537 B
CSS
31 lines
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;
|
|
}
|
|
} |