From 982a41e3215cd9e00da0aa3e7225b9e4591185de Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 18 Mar 2021 00:29:56 +0100 Subject: Highlight links when focused with TAB --- stylesheets/index.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stylesheets/index.css') diff --git a/stylesheets/index.css b/stylesheets/index.css index a107349..4d250fc 100644 --- a/stylesheets/index.css +++ b/stylesheets/index.css @@ -2,7 +2,8 @@ body { background: no-repeat 70% 30%/cover black url('/images/index/bg1k.jpg'); } -body > header.banner:hover > a { +body > header.banner:hover, +body > header.banner:focus-within { color: #e4b63a; } @@ -22,7 +23,7 @@ a#next-concert { text-decoration: none; background: no-repeat center/contain url('/images/calendar.svg'); } -a#next-concert:hover { +a#next-concert:hover, a#next-concert:focus { color: #e4b63a; background-image: url('/images/calendar-gold.svg'); } -- cgit v1.2.3