small improvements

This commit is contained in:
Niklas Buschmann 2019-07-31 16:34:03 +02:00
parent 298b62104a
commit e011f96c9e
2 changed files with 26 additions and 29 deletions

View File

@ -1,31 +1,21 @@
nav {
margin: .5em -.8em;
}
nav a {
padding: 0 .8em;
}
h1 {
font-size: 1.7em;
}
body > header h1 {
font-size: 1.6em;
}
header h1 {
margin: 0;
}
article header {
margin-bottom: 1.5em;
}
article header h1 {
font-size: 1.7em;
margin-bottom: .2em;
}
.bright {
box-shadow: 0 0 .6em #3c3c3c0f;
}
.dark {
background: #2b2b2b;
color: #fff;
}
.archive li {
padding: .3em 0;
}

View File

@ -108,6 +108,22 @@ body > header, body > footer {
align-items: center;
}
header h1 {
margin: 0;
}
nav {
margin: .5em -.8em;
}
nav a {
margin: 0 .8em;
}
article header {
margin-bottom: 1.5em;
}
article, body > footer {
border-top: 1px solid #9494941f;
}
@ -121,12 +137,3 @@ body > header, article, body > footer {
padding: 1.5em calc(34% - 12rem);
}
}
body > header.bright {
box-shadow: 0 0 .6em #3c3c3c0f;
}
body > header.dark {
background: #2b2b2b;
color: #fff;
}