From d486ffb6dc894c4f9898de2f2fb56042518f2397 Mon Sep 17 00:00:00 2001 From: Niklas Buschmann Date: Wed, 31 Jul 2019 21:22:41 +0200 Subject: [PATCH] small improvements --- static/css/index.css | 3 ++- static/css/theme.css | 13 ++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/static/css/index.css b/static/css/index.css index 0cd2ec8..ecb7371 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -2,7 +2,7 @@ body > header h1 { font-size: 1.6em; } -article header h1 { +article h1 { font-size: 1.7em; } @@ -13,6 +13,7 @@ header p { .bright { box-shadow: 0 0 .6em #3c3c3c0f; + border-bottom: 1px solid #9494941f; } .dark { diff --git a/static/css/theme.css b/static/css/theme.css index 274c48c..8b6b286 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -79,7 +79,7 @@ th, td { } pre { - background: #94949414; + background: #94949422; border-radius: 2px; font-size: .8em; margin: 1.5em 0; @@ -96,11 +96,10 @@ p code { padding: .2em .4em; } -body > header, body > footer { +body > header { display: flex; flex-wrap: wrap; justify-content: space-between; - align-items: center; } header h1 { @@ -115,16 +114,12 @@ nav a { margin: 0 .8em; } -article, body > footer { - border-top: 1px solid #9494941f; -} - -body > header, article, body > footer { +body > header, article { padding: 1.5em 1em; } @media (min-width: 40em) { - body > header, article, body > footer { + body > header, article { padding: 1.5em calc(34% - 12rem); } }