From 157ffb24a57e04ddd19f93c9dfff64df5a6208fd Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 10 Nov 2020 14:11:16 -0400 Subject: implement news entries data file and page! --- static/site.css | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) (limited to 'static') diff --git a/static/site.css b/static/site.css index f9e26a7..abde862 100644 --- a/static/site.css +++ b/static/site.css @@ -153,28 +153,31 @@ a:hover { flex-grow: 1; } +#sidebar > h1, +#sidebar > h2, +#sidebar > h3, +#sidebar > p { + text-align: center; +} + #sidebar h1 { font-size: 1.25em; - text-align: center; } #sidebar h2 { font-size: 1.1em; - text-align: center; margin: 0; } #sidebar h3 { font-size: 1.1em; - text-align: center; font-style: oblique; font-variant: small-caps; margin-top: 0.3em; margin-bottom: 0em; } -#sidebar p { - text-align: center; +#sidebar > p { margin: 0.5em 0; } @@ -227,6 +230,24 @@ a:hover { overflow-wrap: break-word; } +#sidebar article { + text-align: left; + margin: 5px 5px 15px 5px; +} + +#sidebar article:last-child { + margin-bottom: 5px; +} + +#sidebar article h2 { + border-bottom: 1px dotted white; +} + +#sidebar article h2 time { + float: right; + font-weight: normal; +} + #cover-art { float: right; width: 40%; -- cgit 1.3.0-6-gf8a5