From 3f130622efdf6757f7298801ec63ccf57d715590 Mon Sep 17 00:00:00 2001 From: caandt Date: Tue, 15 Oct 2024 21:08:29 -0500 Subject: [PATCH] theme nits --- static/color.css | 4 ++-- static/style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/color.css b/static/color.css index 7c4c6ce..f560534 100644 --- a/static/color.css +++ b/static/color.css @@ -42,7 +42,7 @@ input:checked + label span { --llight: none; --ldark: initial; } - body:has(#huer:checked):has(#hueg:checked):has(#hueb:checked):has(#theme:checked) { --bg: #fff; --bg2: #fff; --fg: #000; --fg2: #000; --fg3: #000; } + body:has(#theme:checked):has(#huer:checked):has(#hueg:checked):has(#hueb:checked):has(#theme:checked) { --bg: #fff; --bg2: #fff; --fg: #000; --fg2: #000; --fg3: #000; } } @media (prefers-color-scheme: light) { :root { @@ -64,5 +64,5 @@ input:checked + label span { --llight: initial; --ldark: none; } - body:not(:has(#huer:checked, #hueg:checked, #hueb:checked)) { --bg: #000; --bg2: #000; --fg: #fff; --fg2: #fff; --fg3: #fff; } + body:has(#theme:checked):not(:has(#huer:checked, #hueg:checked, #hueb:checked)) { --bg: #000; --bg2: #000; --fg: #fff; --fg2: #fff; --fg3: #fff; } } diff --git a/static/style.css b/static/style.css index eb5e988..13f55b8 100644 --- a/static/style.css +++ b/static/style.css @@ -10,7 +10,7 @@ url('/static/NotoSansMono-Bold.ttf') format('truetype'); font-weight: bold; } -body, article a, code { font-family: "Noto Sans Mono", "Courier New", "Consolas", monospace; } +body, article a:not(p a), code { font-family: "Noto Sans Mono", "Courier New", "Consolas", monospace; } article { font-family: "Noto Sans", "Verdana", sans-serif; } body { margin: 0;