From 32946ff59e4857c0908b1f9abf462bda976bf266 Mon Sep 17 00:00:00 2001 From: Niklas Buschmann Date: Wed, 31 Jul 2019 20:57:41 +0200 Subject: [PATCH] small improvements --- layouts/_default/single.html | 4 ++-- static/css/index.css | 6 +++++- static/css/theme.css | 11 +---------- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c718dbb..b7cf022 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,8 +2,8 @@
-

{{ .Title }}

- {{ if .Date }}{{ end }} +

{{ .Title }}

+ {{ if .Date }}

{{ end }}
{{ .Content }}
diff --git a/static/css/index.css b/static/css/index.css index 18ae36f..0cd2ec8 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -4,7 +4,11 @@ body > header h1 { article header h1 { font-size: 1.7em; - margin-bottom: .2em; +} + +header p { + margin-top: .2em; + margin-bottom: 1.5em; } .bright { diff --git a/static/css/theme.css b/static/css/theme.css index 3c8a540..274c48c 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -34,7 +34,7 @@ a { transition: color .2s; } -a:hover { +a:hover, header time { color: #949494; } @@ -43,14 +43,9 @@ article a { } article header a, article footer a { - font-weight: inherit; color: inherit; } -header time { - color: #949494; -} - hr { border: 1px solid #9494944d; margin: 2em 0; @@ -120,10 +115,6 @@ nav a { margin: 0 .8em; } -article header { - margin-bottom: 1.5em; -} - article, body > footer { border-top: 1px solid #9494941f; }