From c5ed33887985d880e88a44b3be3f3516656c63de Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 27 Dec 2025 14:20:12 +0200 Subject: Add latest posts to front page, next/previous links to posts --- static/style.css | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 86f95df..2a828a5 100644 --- a/static/style.css +++ b/static/style.css @@ -1,6 +1,6 @@ body { font-size: 17px; - margin: 20px auto; + margin: 20px auto 50px; padding: 10px 15px; max-width: 800px; @@ -295,6 +295,28 @@ li::marker { color: var(--header-color); } +/* Post navigation (previous/next) */ +.post-nav { + padding-top: 10px; + display: flex; + justify-content: space-between; + gap: 16px; +} + +.post-nav-left { + flex: 1; + text-align: left; +} + +.post-nav-right { + flex: 1; + text-align: right; +} + +.post-nav-link { + display: inline-block; +} + table td { width: 1%; /* I have no idea why this makes columns responsive width */ min-width: 150px; -- cgit v1.3