From e011f96c9ee18c6e57bdcedd11472f438d220b88 Mon Sep 17 00:00:00 2001 From: Niklas Buschmann Date: Wed, 31 Jul 2019 16:34:03 +0200 Subject: [PATCH] small improvements --- static/css/index.css | 30 ++++++++++-------------------- static/css/theme.css | 25 ++++++++++++++++--------- 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/static/css/index.css b/static/css/index.css index b28f0c8..18ae36f 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -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; } diff --git a/static/css/theme.css b/static/css/theme.css index 847d67c..3c8a540 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -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; -}