From 3ebe581baa81d3bdc4f7f2559553a8b9099341ea Mon Sep 17 00:00:00 2001 From: NinoReichardt Date: Tue, 17 Nov 2026 21:53:50 +0100 Subject: fix: colors and trees bounds bug --- assets/main.css | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) (limited to 'assets/main.css') diff --git a/assets/main.css b/assets/main.css index 183a948..abb2876 100644 --- a/assets/main.css +++ b/assets/main.css @@ -12,9 +12,11 @@ --color-background: #eee; --color-text: #333; - --color-muted: #666; + --color-muted: #4a4a4a; --color-heading: #000; - + --color-accent: #004a99; + --color-accent-active: #00366f; + --color-link-visited: #58465e; --text-sm: 0.875rem; --text-base: 1rem; @@ -48,6 +50,26 @@ h1, h2 { h1 { font-size: var(--text-title); } h2 { font-size: var(--text-section); } +a:any-link { + color: var(--color-accent); + text-decoration: underline; + text-underline-offset: 0.15em; +} + +a:visited { + color: var(--color-link-visited); +} + +a:any-link:hover, a:any-link:active { + color: var(--color-accent-active); + text-decoration-thickness: 0.125em; +} + +:focus-visible { + outline: 2px solid var(--color-accent); + outline-offset: 3px; +} + ul li { padding-block: 0.25rem; } @@ -59,7 +81,11 @@ hr { border-top: 1px solid var(--color-muted); } -small { font-size: var(--text-sm); } +small { + font-size: var(--text-sm); + color: var(--color-muted); +} + b, strong { font-weight: 700; } .padding-x-md { -- cgit v1.2.3