From 897a37137d41305cd3fb21b444925c5718f07754 Mon Sep 17 00:00:00 2001 From: Daniel Nagel Date: Fri, 8 May 2026 18:34:46 +0000 Subject: [PATCH] sidebar --- static/css/hyde.css | 28 ++++++++++++++++++++++++++++ templates/sidebar.html | 26 ++++++++++++++------------ 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/static/css/hyde.css b/static/css/hyde.css index 24ea0cb..e6f135f 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -94,12 +94,40 @@ html { } /* Sidebar nav */ + .sidebar-nav { margin-bottom: 1rem; list-style: none; padding-left: 0; } +/* Hauptpunkte: größer und mehr Abstand */ +.sidebar-nav > li { + margin-top: 0.6rem; +} + +.sidebar-nav > li > a { + font-size: 1.05rem; + font-weight: bold; +} + +/* Unterpunkte: kleiner und eingerückt */ +.sidebar-subnav { + list-style: none; + padding-left: 1rem; + margin-top: 0.2rem; +} + +.sidebar-subnav > li > a { + font-size: 0.85rem; +} + +/* CLI-Style-Pfeil vor Unterpunkten */ +.sidebar-subnav > li::before { + content: "› "; + color: #00ff41; +} + .sidebar-social { display: flex; justify-content: center; diff --git a/templates/sidebar.html b/templates/sidebar.html index 261f3e7..c07b55f 100644 --- a/templates/sidebar.html +++ b/templates/sidebar.html @@ -12,20 +12,22 @@

{{ BIO }}

- {% if MENUITEMS or DISPLAY_PAGES_ON_MENU %} - - {% endif %}