removed font; sorted scss alphabetically

This commit is contained in:
Vrifox 2020-09-29 19:37:50 +02:00
parent 133a7eca33
commit e729d96059
11 changed files with 121 additions and 216 deletions

View file

@ -2,41 +2,44 @@
@import '../partials/nav';
header {
text-align: center;
margin: 100px 0;
text-align: center;
h1 {
font-size: 2em;
}
}
.section-articles {
margin: 20px 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1rem;
grid-template-columns: repeat(3, 1fr);
margin: 20px 0;
a {
color: rgb(255, 255, 255);
text-decoration: none;
}
article {
background: rgb(60, 60, 90);
color: rgb(255, 255, 255);
padding: 20px;
border: 1px solid rgb(60, 60, 90);
border-radius: 5px;
color: rgb(255, 255, 255);
display: flex;
flex-flow: column;
max-width: 562px;
height: max-content;
max-width: 562px;
padding: 20px;
transition: background .2s;
border: 1px solid rgb(60, 60, 90);
&:hover {
background: rgb(70, 70, 105);
}
img {
order: -1;
max-width: calc(100% + 40px);
background: rgb(80, 80, 120);
border-radius: 5px 5px 0px 0px;
margin: -20px -20px 20px -20px;
background: rgb(80, 80, 120);
object-fit: cover;
max-height: 170px;
max-width: calc(100% + 40px);
object-fit: cover;
order: -1;
}
h1 {
margin-top: 0;
@ -45,13 +48,10 @@ header {
margin: 0;
}
.status {
font-style: italic;
color: rgb(200, 200, 230);
font-style: italic;
}
}
article:hover {
background: rgb(70, 70, 105);
}
}
@media (max-width: 900px) {
.section-articles {