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

@ -11,53 +11,53 @@ header {
}
.section-articles {
margin: 20px 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 1rem;
grid-template-columns: repeat(2, 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;
height: max-content;
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: 250px;
max-width: calc(100% + 40px);
object-fit: cover;
order: -1;
}
h1 {
margin-top: 0px;
}
a {
color: rgb(255, 255, 255);
}
a:hover {
text-decoration: underline;
&:hover {
text-decoration: underline;
}
}
.meta {
margin: 0;
}
.author {
font-style: italic;
color: rgb(200, 200, 230);
font-style: italic;
}
}
article:hover {
background: rgb(70, 70, 105);
}
}
@media (max-width: 600px) {
.section-articles {

View file

@ -3,8 +3,8 @@
.section-article {
article {
max-width: 720px;
margin: 80px auto;
max-width: 720px;
.meta {
color: rgb(180, 180, 220);
}
@ -13,18 +13,18 @@
margin-top: 20px;
}
img {
max-width: 100%;
margin-bottom: 15px;
border-radius: 5px;
border: 1px solid rgb(60, 60, 90);
border-radius: 5px;
margin-bottom: 15px;
max-width: 100%;
}
a {
background: rgb(60, 60, 90);
border-radius: 5px;
color: rgb(240, 240, 250);
transition: background .2s, color .2s;
margin: -5px 0;
padding: 5px 5px;
border-radius: 5px;
transition: background .2s, color .2s;
&:hover {
background: rgb(255, 130, 130);
color: rgb(255, 255, 255);
@ -41,8 +41,8 @@
li {
a {
color: rgb(180, 180, 220);
padding: 10px;
margin-left: 10px;
padding: 10px;
&:hover {
background: rgb(70, 70, 105);
}
@ -54,38 +54,38 @@
}
.section-articles {
margin: 20px auto -50px auto;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 1rem;
margin: 20px auto -50px auto;
max-width: 720px;
&::after {
background: rgb(50, 50, 75);
content: '';
height: 210px;
left: 0;
position: absolute;
width: 100vw;
z-index: -10;
}
article {
color: rgb(255, 255, 255);
margin: 20px 0;
border-radius: 5px;
color: rgb(255, 255, 255);
display: flex;
flex-flow: column;
height: max-content;
margin: 20px 0;
transition: background .2s;
a {
margin: 10px 0;
}
a:hover {
text-decoration: underline;
&:hover {
text-decoration: underline;
}
}
}
.previous-article {
text-align: right;
}
}
.section-articles::after {
content: '';
position: absolute;
width: 100vw;
background: rgb(50, 50, 75);
height: 230px;
left: 0;
z-index: -10;
}
@import '../partials/footer';