From 05993dc1180873fd957461f86bfdb58b4db209f0 Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Tue, 22 Sep 2026 10:36:04 +0200 Subject: [PATCH] Wiki: thin gold scrollbar for the table of contents Co-Authored-By: Claude Opus 5 --- assets/css/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index 88983b5..5b35275 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -6176,6 +6176,17 @@ a.calendar-agenda-entry:hover { text-decoration: none; filter: brightness(1.2); .sidebar:hover::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.35); } .sidebar:hover::-webkit-scrollbar-thumb:hover { background: rgba(201, 162, 39, 0.6); } +/* Wiki-Inhaltsverzeichnis: schmale goldene Scrollbar statt der hellen Standard-Leiste des Browsers, + dezent immer sichtbar (das Verzeichnis ist oft laenger als der Bildschirm) */ +.wiki-nav { scrollbar-width: thin; scrollbar-color: rgba(201, 162, 39, 0.3) transparent; } +.wiki-nav:hover { scrollbar-color: rgba(201, 162, 39, 0.55) transparent; } +.wiki-nav::-webkit-scrollbar { width: 6px; } +.wiki-nav::-webkit-scrollbar-track { background: transparent; } +.wiki-nav::-webkit-scrollbar-button { display: none; height: 0; } +.wiki-nav::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.3); border-radius: 999px; } +.wiki-nav:hover::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.55); } +.wiki-nav::-webkit-scrollbar-thumb:hover { background: rgba(201, 162, 39, 0.8); } + @media (max-height: 1000px) and (min-width: 861px) { .sidebar { padding-top: 1.1rem; padding-bottom: 1rem; } .sidebar-brand { padding-bottom: 1rem; }