summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2019-08-02 21:46:27 +0200
committerWolfgang Müller2019-08-02 21:46:27 +0200
commitab7e86850cf2f089ec5b9e07e727ebdee0af108c (patch)
tree8a8a34346064cf45946916225be7f33fdabd4760
parentb66576a1288ce7c206134da16e30b735e006c382 (diff)
downloadsite-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.
-rw-r--r--scss/style.scss5
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;