Wiki: thin gold scrollbar for the table of contents

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Maaxxs 2026-09-22 10:36:04 +02:00
parent e127cf6b70
commit 05993dc118

View file

@ -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 { background: rgba(201, 162, 39, 0.35); }
.sidebar:hover::-webkit-scrollbar-thumb:hover { background: rgba(201, 162, 39, 0.6); } .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) { @media (max-height: 1000px) and (min-width: 861px) {
.sidebar { padding-top: 1.1rem; padding-bottom: 1rem; } .sidebar { padding-top: 1.1rem; padding-bottom: 1rem; }
.sidebar-brand { padding-bottom: 1rem; } .sidebar-brand { padding-bottom: 1rem; }