From ab7e86850cf2f089ec5b9e07e727ebdee0af108c Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 2 Aug 2019 21:46:27 +0200 Subject: css: Improve visibility of a focused nav.main element Previously the only indicator was the standard :focus outline rule, this should make the focused element on the main page very clear. --- scss/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scss/style.scss b/scss/style.scss index 91141cf..78a9066 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -89,6 +89,11 @@ nav.main li a:hover { color: white; } +nav.main li a:focus { + background-color: black; + color: white; +} + article { margin: 1rem auto; max-width: 1024px; -- cgit v1.2.3-2-gb3c3