From 85148623d712a40f962f6049e7934ea4601edc20 Mon Sep 17 00:00:00 2001 From: kgva CMS Date: Mon, 10 Aug 2026 22:44:24 +0000 Subject: [PATCH] fix: lang-switch hover text was invisible (later rule reset color to dark over a black background) --- assets/css/custom.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 83b0b74..8affd6d 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -505,6 +505,9 @@ img { filter: none; } border-bottom: 1px dotted; z-index: 2; } -.lang-switch:hover { color: var(--color-text-primary); border-bottom: 1px solid; } +/* hover state comes from the shared "main a:hover, footer a:hover, + .lang-switch:hover" rule above (invert to black bg + white text) — a + second, later rule here used to override just the text color back to + dark, leaving black-on-black on hover. */ /* no static width reservation needed here anymore — syncLangSwitch() (shell.js) already hides the toggle the moment a long line would reach it */