diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-12-27 14:20:12 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-12-27 14:41:55 +0200 |
| commit | c5ed33887985d880e88a44b3be3f3516656c63de (patch) | |
| tree | edfe28d68cee7e3f0a9afef18f204e697386e376 /static | |
| parent | 8bd7c65290af536307914b200bdb11cd527c64fd (diff) | |
Add latest posts to front page, next/previous links to posts
Diffstat (limited to 'static')
| -rw-r--r-- | static/style.css | 24 |
1 files changed, 23 insertions, 1 deletions
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; |
