2020-09-14 16:24:02 +02:00
|
|
|
@import '../partials/main';
|
|
|
|
@import '../partials/nav';
|
|
|
|
|
|
|
|
header {
|
|
|
|
margin: 100px 0;
|
2020-09-29 19:37:50 +02:00
|
|
|
text-align: center;
|
2020-09-14 16:24:02 +02:00
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-articles {
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 1rem;
|
2020-09-29 19:37:50 +02:00
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
margin: 20px 0;
|
2020-09-14 16:24:02 +02:00
|
|
|
a {
|
|
|
|
color: rgb(255, 255, 255);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
article {
|
|
|
|
background: rgb(60, 60, 90);
|
2020-09-29 19:37:50 +02:00
|
|
|
border: 1px solid rgb(60, 60, 90);
|
2020-09-14 16:24:02 +02:00
|
|
|
border-radius: 5px;
|
2020-09-29 19:37:50 +02:00
|
|
|
color: rgb(255, 255, 255);
|
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 {
|
|
|
|
background: rgb(70, 70, 105);
|
|
|
|
}
|
2020-09-14 16:24:02 +02:00
|
|
|
img {
|
2020-09-29 19:37:50 +02:00
|
|
|
background: rgb(80, 80, 120);
|
2020-09-27 22:28:13 +02:00
|
|
|
border-radius: 5px 5px 0px 0px;
|
2020-09-14 16:24:02 +02:00
|
|
|
margin: -20px -20px 20px -20px;
|
|
|
|
max-height: 170px;
|
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 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.status {
|
|
|
|
color: rgb(200, 200, 230);
|
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);
|
|
|
|
}
|
|
|
|
}
|
2020-09-14 16:24:02 +02:00
|
|
|
|
|
|
|
@import '../partials/footer';
|