From adf1540cf92fcd541d071785dd9b437ab110de35 Mon Sep 17 00:00:00 2001 From: luxick Date: Mon, 7 Sep 2026 15:37:43 +0200 Subject: [PATCH] Update link colors --- assets/style.css | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/assets/style.css b/assets/style.css index 6e80444..9c23fef 100644 --- a/assets/style.css +++ b/assets/style.css @@ -72,10 +72,10 @@ body { * { box-sizing: border-box; margin: 0; padding: 0; } a { color: var(--text); text-decoration: none; } -a:hover { color: var(--primary-hover); } +a:hover { color: var(--link-hover); } .content a { color: var(--link); } .content a:hover { color: var(--link-hover); } -.content a.broken { color: var(--primary-hover); text-decoration: line-through; } +.content a.broken { color: var(--link-hover); text-decoration: line-through; } .content a.broken:hover { color: var(--link-hover); } hr { border: none; border-top: var(--border-dashed); margin: var(--space-4) 0; } @@ -714,14 +714,13 @@ aside.sidebar:empty { display: none; } border-left: 3px solid var(--primary); padding-left: calc(var(--space-2) - 3px); } +.tree-row.is-active > .tree-name { color: var(--secondary); } .tree-row.is-disabled { color: var(--text-muted); cursor: default; } .tree-row.is-disabled:hover { background: none; } .tree-chevron { text-align: center; flex-shrink: 0; } .tree-chevron { width: 1.25rem; color: var(--secondary); } .tree-chevron.is-leaf { visibility: hidden; } .tree-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } -/* Each nesting level gets a vertical guide rail down its left edge so depth - stays scannable in the compact view (cf. VS Code / file-explorer trees). */ .tree-children { margin-left: var(--space-2); padding-left: var(--space-2); @@ -732,14 +731,7 @@ aside.sidebar:empty { display: none; } padding: var(--space-1) 0; word-break: break-all; } -/* Current-page row in the navigation rail. Mirrors .tree-row.is-selected so the - two tree surfaces stay visually consistent. */ -.tree-row.is-active { - background: var(--bg-panel-hover); - border-left: 3px solid var(--primary); - padding-left: calc(var(--space-2) - 3px); -} -.tree-row.is-active > .tree-name { color: var(--primary-hover); } + /* Tree sidebar (persistent navigation) */ .tree-sidebar {