diff --git a/themes/hackertours-40c3/assets/css/_custom.css b/themes/hackertours-40c3/assets/css/_custom.css index 6882632..c6b7bcf 100644 --- a/themes/hackertours-40c3/assets/css/_custom.css +++ b/themes/hackertours-40c3/assets/css/_custom.css @@ -128,6 +128,14 @@ a:focus-visible { background: var(--c40-green); } +/* Zen gives every focused link the hover colour, which is dark here. A link clicked with the + mouse keeps that focus (e.g. a tour card after going back) but gets no green chip, so its text + would vanish on the dark background. Only plain text links and the schedule's tour titles: + buttons, cards, menus and the header have their own colours. */ +:is(.layout__main a:not([class]), .schedule__title):focus:not(:focus-visible, :hover) { + color: var(--color-link); +} + .header__logo:hover, .header__logo:focus-visible { background: none;