diff options
| author | NinoReichardt <nino.reichardt@oakk.nl> | 2026-11-17 21:53:50 +0100 |
|---|---|---|
| committer | NinoReichardt <nino.reichardt@oakk.nl> | 2026-11-17 21:53:50 +0100 |
| commit | 3ebe581baa81d3bdc4f7f2559553a8b9099341ea (patch) | |
| tree | 2e1de5d00f5a2137a4d2e647ab65fd71738512f5 /assets/main.css | |
| parent | df39fc1496a23e50a5b3c9d7a32493610ca8847f (diff) | |
| download | nire-web-3ebe581baa81d3bdc4f7f2559553a8b9099341ea.tar.gz nire-web-3ebe581baa81d3bdc4f7f2559553a8b9099341ea.zip | |
fix: colors and trees bounds bug
Diffstat (limited to 'assets/main.css')
| -rw-r--r-- | assets/main.css | 32 |
1 files changed, 29 insertions, 3 deletions
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 { |
