small improvements

This commit is contained in:
Niklas Buschmann 2019-07-31 21:22:41 +02:00
parent 32946ff59e
commit d486ffb6dc
2 changed files with 6 additions and 10 deletions

View File

@ -2,7 +2,7 @@ body > header h1 {
font-size: 1.6em; font-size: 1.6em;
} }
article header h1 { article h1 {
font-size: 1.7em; font-size: 1.7em;
} }
@ -13,6 +13,7 @@ header p {
.bright { .bright {
box-shadow: 0 0 .6em #3c3c3c0f; box-shadow: 0 0 .6em #3c3c3c0f;
border-bottom: 1px solid #9494941f;
} }
.dark { .dark {

View File

@ -79,7 +79,7 @@ th, td {
} }
pre { pre {
background: #94949414; background: #94949422;
border-radius: 2px; border-radius: 2px;
font-size: .8em; font-size: .8em;
margin: 1.5em 0; margin: 1.5em 0;
@ -96,11 +96,10 @@ p code {
padding: .2em .4em; padding: .2em .4em;
} }
body > header, body > footer { body > header {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
align-items: center;
} }
header h1 { header h1 {
@ -115,16 +114,12 @@ nav a {
margin: 0 .8em; margin: 0 .8em;
} }
article, body > footer { body > header, article {
border-top: 1px solid #9494941f;
}
body > header, article, body > footer {
padding: 1.5em 1em; padding: 1.5em 1em;
} }
@media (min-width: 40em) { @media (min-width: 40em) {
body > header, article, body > footer { body > header, article {
padding: 1.5em calc(34% - 12rem); padding: 1.5em calc(34% - 12rem);
} }
} }