fix: lang-switch hover text was invisible (later rule reset color to dark over a black background)

This commit is contained in:
kgva CMS
2026-08-10 22:44:24 +00:00
parent 8f37bba08b
commit 85148623d7
+4 -1
View File
@@ -505,6 +505,9 @@ img { filter: none; }
border-bottom: 1px dotted; border-bottom: 1px dotted;
z-index: 2; 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) /* no static width reservation needed here anymore — syncLangSwitch() (shell.js)
already hides the toggle the moment a long line would reach it */ already hides the toggle the moment a long line would reach it */