aboutsummaryrefslogtreecommitdiff
path: root/assets/scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss')
-rw-r--r--assets/scss/_header-nav.scss17
1 files changed, 7 insertions, 10 deletions
diff --git a/assets/scss/_header-nav.scss b/assets/scss/_header-nav.scss
index 01bd4bc..8622a68 100644
--- a/assets/scss/_header-nav.scss
+++ b/assets/scss/_header-nav.scss
@@ -23,17 +23,14 @@ article > header > nav {
position: relative;
width: 100%;
height: 100%;
+ background-color: $bg-txt-off;
+ color: white;
+
+ &:hover, &:active {
+ background-color: $bg-txt-on;
+ color: black;
+ }
}
}
}
}
-
-body.txt article > header > nav > ul > li > a {
- background-color: $bg-txt-off;
- color: white;
-
- &:hover, &:active {
- background-color: $bg-txt-on;
- color: black;
- }
-}