2020-06-19 23:47:44 +02:00
|
|
|
.news-list {
|
2020-07-16 17:40:16 +02:00
|
|
|
margin-bottom: 8rem;
|
|
|
|
|
2020-06-19 23:47:44 +02:00
|
|
|
.wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__inner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__heading {
|
|
|
|
margin-bottom: 3rem;
|
|
|
|
color: var(--color-white);
|
|
|
|
font-weight: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__items {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
grid-column-gap: 1.5rem;
|
2020-07-15 23:05:36 +02:00
|
|
|
grid-row-gap: 2rem;
|
2020-06-19 23:47:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-dark);
|
|
|
|
border-radius: 1rem;
|
|
|
|
|
2020-07-15 23:05:36 +02:00
|
|
|
&.event {
|
2020-07-15 23:29:09 +02:00
|
|
|
background-color: var(--color-light-blue);
|
2020-07-15 23:05:36 +02:00
|
|
|
}
|
|
|
|
|
2020-06-19 23:47:44 +02:00
|
|
|
&-heading {
|
|
|
|
font-size: 1.125rem;
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 4.5rem 1.5rem 4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-date {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 600;
|
|
|
|
background-color: var(--color-light-gray);
|
|
|
|
border-radius: 0 0 1rem 1rem;
|
|
|
|
padding: 1rem 1.5rem;
|
|
|
|
margin-top: auto;
|
2020-07-16 22:28:40 +02:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
time + time {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-06-19 23:47:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
|
|
|
&,
|
|
|
|
&:visited {
|
|
|
|
color: var(--color-dark);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2020-07-15 23:05:36 +02:00
|
|
|
}
|
2020-06-19 23:47:44 +02:00
|
|
|
|
2020-07-17 18:35:06 +02:00
|
|
|
main.home .news-list {
|
2020-07-15 23:05:36 +02:00
|
|
|
margin-top: 8rem;
|
|
|
|
margin-bottom: 24rem;
|
|
|
|
position: relative;
|
2020-06-19 23:47:44 +02:00
|
|
|
|
2020-07-15 23:05:36 +02:00
|
|
|
&__inner {
|
|
|
|
position: absolute;
|
|
|
|
top: -9rem;
|
2020-06-19 23:47:44 +02:00
|
|
|
}
|
|
|
|
}
|
2020-07-17 13:33:39 +02:00
|
|
|
|
2020-07-17 18:35:06 +02:00
|
|
|
@media (min-width: 768px) and (max-width: 1199.98px) {
|
2020-07-17 13:33:39 +02:00
|
|
|
.news-list {
|
2020-07-17 18:35:06 +02:00
|
|
|
&__items {
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
2020-07-17 13:33:39 +02:00
|
|
|
}
|
2020-07-17 18:35:06 +02:00
|
|
|
}
|
|
|
|
}
|
2020-07-17 13:33:39 +02:00
|
|
|
|
2020-07-17 18:35:06 +02:00
|
|
|
@media (min-width: 576px) and (max-width: 767.98px) {
|
|
|
|
.news-list {
|
|
|
|
&__items {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 575.98px) {
|
|
|
|
main.posts .news-list {
|
2020-07-17 13:33:39 +02:00
|
|
|
&__items {
|
2020-07-17 16:17:11 +02:00
|
|
|
display: block;
|
2020-07-17 13:33:39 +02:00
|
|
|
}
|
|
|
|
|
2020-07-17 18:35:06 +02:00
|
|
|
li + li {
|
2020-07-17 16:17:11 +02:00
|
|
|
margin-top: 1.5rem;
|
2020-07-17 13:33:39 +02:00
|
|
|
}
|
|
|
|
}
|
2020-07-17 18:35:06 +02:00
|
|
|
}
|
2020-07-17 13:33:39 +02:00
|
|
|
|
2020-07-17 18:35:06 +02:00
|
|
|
@media (max-width: 1199.98px) {
|
|
|
|
main.home .news-list {
|
2020-07-17 13:33:39 +02:00
|
|
|
margin: 6rem 0;
|
|
|
|
|
2020-07-17 18:35:06 +02:00
|
|
|
> svg {
|
|
|
|
width: 70rem;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2020-07-17 15:01:32 +02:00
|
|
|
.wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-07-17 13:33:39 +02:00
|
|
|
&__inner {
|
|
|
|
position: static;
|
|
|
|
margin-top: -9rem;
|
|
|
|
}
|
2020-07-17 15:01:32 +02:00
|
|
|
|
|
|
|
&__heading {
|
|
|
|
margin-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__items {
|
2020-07-17 16:17:11 +02:00
|
|
|
display: flex;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding-bottom: 1rem;
|
2020-07-17 15:01:32 +02:00
|
|
|
padding-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2020-07-17 16:17:11 +02:00
|
|
|
&__item {
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-basis: 16rem;
|
|
|
|
}
|
|
|
|
|
2020-07-17 15:01:32 +02:00
|
|
|
.return-link {
|
|
|
|
margin-right: 1.25rem;
|
|
|
|
}
|
2020-07-17 13:33:39 +02:00
|
|
|
}
|
|
|
|
}
|