From 5ec772029d4ea4b4f4ed2c78b4416afd9dab71cd Mon Sep 17 00:00:00 2001 From: Alex Scerba Date: Sat, 9 Nov 2024 23:21:34 -0500 Subject: Add styling for new "back" elements for posts --- static/style.css | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index bfcea0a..cdb334c 100644 --- a/static/style.css +++ b/static/style.css @@ -78,16 +78,26 @@ main { margin-right: auto; } -article, #intro, .main-bg { +article, #intro, .main-bg, .entries { padding: 2.5rem 3rem; background-color: white; box-shadow: 0 0 1em 0.4em rgb(224, 224, 224); } -article, #intro { +.return { + padding: 1rem 3rem; + background-color: white; + box-shadow: 0 0 1em 0.4em rgb(224, 224, 224); +} + +article, #intro, .entries, .return { margin-top: 1.75rem; } +.entries a { + text-decoration: none; +} + article h2, .article-h2, #pgnv { margin-top: 0; } @@ -202,6 +212,10 @@ p:not(:last-child) { margin-bottom: 2rem; } +.entries p { + line-height: .5; +} + pre { white-space: pre-wrap; } -- cgit v1.2.3