website-name less distractive; added border to articles

This commit is contained in:
Vrifox 2020-09-27 22:28:13 +02:00
parent bfb8c020f8
commit 133a7eca33
9 changed files with 31 additions and 22 deletions

View file

@ -28,10 +28,11 @@ header {
flex-flow: column;
height: max-content;
transition: background .2s;
border: 1px solid rgb(60, 60, 90);
img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
border-radius: 5px 5px 0px 0px;
margin: -20px -20px 20px -20px;
background: rgb(80, 80, 120);
object-fit: cover;

View file

@ -16,19 +16,20 @@
max-width: 100%;
margin-bottom: 15px;
border-radius: 5px;
border: 1px solid rgb(60, 60, 90);
}
a {
background: rgb(60, 60, 90);
color: rgb(240, 240, 255);
color: rgb(240, 240, 250);
transition: background .2s, color .2s;
margin: -5px 0;
padding: 5px 5px;
border-radius: 5px;
}
a:hover {
background: rgb(255, 130, 130);
color: rgb(255, 255, 255);
text-decoration: none;
&:hover {
background: rgb(255, 130, 130);
color: rgb(255, 255, 255);
text-decoration: none;
}
}
aside {
margin-top: 80px;
@ -42,9 +43,9 @@
color: rgb(180, 180, 220);
padding: 10px;
margin-left: 10px;
}
a:hover {
background: rgb(70, 70, 105);
&:hover {
background: rgb(70, 70, 105);
}
}
}
}