2020-06-19 23:47:44 +02:00
|
|
|
.news-list {
|
|
|
|
.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 {
|
|
|
|
background-color: #97dffc;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
|
|
|
&,
|
|
|
|
&:visited {
|
|
|
|
color: var(--color-dark);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__see-all {
|
|
|
|
font-size: 1.125rem;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
|
|
|
align-self: flex-end;
|
|
|
|
margin-top: 3rem;
|
|
|
|
padding: .875rem 1.5rem;
|
2020-07-15 23:05:36 +02:00
|
|
|
}
|
|
|
|
}
|
2020-06-19 23:47:44 +02:00
|
|
|
|
2020-07-15 23:05:36 +02:00
|
|
|
.home .news-list {
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|