organicmaps-website/sass/pages/news.scss
2024-01-07 20:21:07 +02:00

36 lines
565 B
SCSS

@import "../variables/media";
.main-news {
&__row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 34rem;
margin-bottom: 60rem;
@media (max-width: $media-sm) {
grid-template-columns: 1fr;
}
}
&__nav-row {
display: flex;
gap: 16rem;
padding: 50rem 0 20rem;
@media (max-width: $media-sm) {
.button {
min-width: auto;
flex-grow: 1;
}
}
}
&__button {
margin: 0 auto 60rem;
}
.news {
width: 48%;
margin-bottom: 20rem;
img {
width: 100%;
}
}
}