aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_header-nav.scss
diff options
context:
space:
mode:
authorhellekin <how@cepheide.org>2024-10-23 19:07:10 +0200
committerhellekin <how@cepheide.org>2024-10-23 19:07:10 +0200
commitf3c4900a749f3b5698a1589f703b7e5996180980 (patch)
tree72656b250c441f9ac8d7a1e28363a1910e48f9d3 /assets/scss/_header-nav.scss
parent188e6ec910613b211045f41a747e3120e9dd823b (diff)
downloadlesoiseaux.io-f3c4900a749f3b5698a1589f703b7e5996180980.tar.gz
[CSS] Colorize header bar (10/2)
Diffstat (limited to 'assets/scss/_header-nav.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;
- }
-}