forked from Transparency/kgroad-frontend2
58 lines
972 B
SCSS
58 lines
972 B
SCSS
@import "../../shared/ui/variables.scss";
|
|
|
|
.news-section {
|
|
padding: 60px 90px 100px 90px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
h3 {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
&__list {
|
|
margin-bottom: 40px;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
gap: 30px;
|
|
}
|
|
|
|
&__read-more-btn {
|
|
width: fit-content;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
align-self: flex-end;
|
|
gap: 10px;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: $light-blue;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.news-section {
|
|
padding: 60px 30px 100px 30px;
|
|
|
|
&__list {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 550px) {
|
|
.news-section {
|
|
padding: 60px 16px 100px 16px;
|
|
|
|
&__list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
&__read-more-btn {
|
|
padding: 10px;
|
|
width: 100%;
|
|
border-radius: 6px;
|
|
background: rgb(204, 234, 251);
|
|
}
|
|
}
|
|
}
|