From 62ae9f18b0352698fffed6c8cfceac36ed2d958b Mon Sep 17 00:00:00 2001 From: patrickzerhusen Date: Fri, 24 Apr 2026 17:08:32 +0200 Subject: [PATCH] added date and author to news in sidebar --- public/index.php | 5 ++++- public/styles.css | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/public/index.php b/public/index.php index b2a3d2d..8b99032 100644 --- a/public/index.php +++ b/public/index.php @@ -217,9 +217,12 @@ $news_items = $stmt->fetchAll();
-

+ + + ยท +
diff --git a/public/styles.css b/public/styles.css index 8ea0159..9da66e5 100644 --- a/public/styles.css +++ b/public/styles.css @@ -368,6 +368,7 @@ html, body { News Items (Sidebar Tab) ----------------------------------------------------------------- */ .news-item { + font-size: 0.8rem; padding: var(--space-md); margin-bottom: var(--space-sm); background: var(--color-surface); @@ -376,10 +377,8 @@ html, body { } .news-date { - font-size: 0.75rem; + font-size: 0.8rem; color: var(--color-text-secondary); - text-transform: uppercase; - letter-spacing: 0.5px; } .news-item h3 {