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 */