diff options
author | Wolfgang Müller | 2019-08-02 21:46:27 +0200 |
---|---|---|
committer | Wolfgang Müller | 2019-08-02 21:46:27 +0200 |
commit | ab7e86850cf2f089ec5b9e07e727ebdee0af108c (patch) | |
tree | 8a8a34346064cf45946916225be7f33fdabd4760 /scss | |
parent | b66576a1288ce7c206134da16e30b735e006c382 (diff) | |
download | site-ab7e86850cf2f089ec5b9e07e727ebdee0af108c.tar.gz |
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.
Diffstat (limited to 'scss')
-rw-r--r-- | scss/style.scss | 5 |
1 files changed, 5 insertions, 0 deletions
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; |