2020-11-03 20:22:08 +01:00
|
|
|
@import '../import/colors.scss';
|
|
|
|
@import '../import/main.scss';
|
|
|
|
@import '../import/nav.scss';
|
|
|
|
@import '../import/footer.scss';
|
2020-11-09 16:12:02 +01:00
|
|
|
@import '../import/include.scss';
|
2020-09-14 16:24:02 +02:00
|
|
|
|
2020-11-04 18:37:31 +01:00
|
|
|
main {
|
|
|
|
margin: 60px 0 0 0;
|
2020-09-14 16:24:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-articles {
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 1rem;
|
2020-10-05 09:57:10 +02:00
|
|
|
grid-template-columns: repeat(2, 1fr);
|
2020-09-29 19:37:50 +02:00
|
|
|
margin: 20px 0;
|
2020-09-14 16:24:02 +02:00
|
|
|
a {
|
2020-11-03 20:33:16 +01:00
|
|
|
color: $white-light;
|
2020-09-14 16:24:02 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
article {
|
2020-11-03 20:33:16 +01:00
|
|
|
background: $bg60;
|
|
|
|
border: 1px solid $bg60;
|
2020-09-14 16:24:02 +02:00
|
|
|
border-radius: 5px;
|
2020-11-03 20:33:16 +01:00
|
|
|
color: $white-light;
|
2020-09-14 16:24:02 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
height: max-content;
|
2020-09-29 19:37:50 +02:00
|
|
|
max-width: 562px;
|
|
|
|
padding: 20px;
|
2020-09-14 16:24:02 +02:00
|
|
|
transition: background .2s;
|
2020-09-29 19:37:50 +02:00
|
|
|
&:hover {
|
2020-11-03 20:33:16 +01:00
|
|
|
background: $bg70;
|
2020-09-29 19:37:50 +02:00
|
|
|
}
|
2020-09-14 16:24:02 +02:00
|
|
|
img {
|
2020-11-03 20:33:16 +01:00
|
|
|
background: $bg80;
|
2020-09-27 22:28:13 +02:00
|
|
|
border-radius: 5px 5px 0px 0px;
|
2020-10-06 21:47:47 +02:00
|
|
|
margin: -20px -20px 15px -20px;
|
2020-10-05 09:57:10 +02:00
|
|
|
max-height: 250px;
|
2020-09-29 19:37:50 +02:00
|
|
|
max-width: calc(100% + 40px);
|
|
|
|
object-fit: cover;
|
|
|
|
order: -1;
|
2020-09-14 16:24:02 +02:00
|
|
|
}
|
|
|
|
h1 {
|
2020-10-06 21:47:47 +02:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin: 0 0 10px 0;
|
2020-09-14 16:24:02 +02:00
|
|
|
}
|
2020-10-06 21:47:47 +02:00
|
|
|
.meta {
|
|
|
|
font-size: 14px;
|
2020-09-14 16:24:02 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.status {
|
2020-11-03 20:33:16 +01:00
|
|
|
color: $white-dark;
|
2020-09-29 19:37:50 +02:00
|
|
|
font-style: italic;
|
2020-09-14 16:24:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-21 10:59:52 +02:00
|
|
|
@media (max-width: 900px) {
|
|
|
|
.section-articles {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.section-articles {
|
|
|
|
grid-template-columns: repeat(1, 1fr);
|
|
|
|
}
|
|
|
|
}
|