aboutsummaryrefslogtreecommitdiff
path: root/assets/scss
diff options
context:
space:
mode:
authorhellekin <how@cepheide.org>2024-10-23 18:46:42 +0200
committerhellekin <how@cepheide.org>2024-10-23 18:46:42 +0200
commit6ef74707ee70b5cbc197cd755bc3f11e2c457369 (patch)
tree125d769dc162e3ae6a29db40928da111f231fb36 /assets/scss
parentfb337d11ab49f66236cc0b5ca825fc7927dc0462 (diff)
downloadlesoiseaux.io-6ef74707ee70b5cbc197cd755bc3f11e2c457369.tar.gz
[CSS] Colorize header bar (3/2)
Diffstat (limited to 'assets/scss')
-rw-r--r--assets/scss/_header-nav.scss12
1 files changed, 7 insertions, 5 deletions
diff --git a/assets/scss/_header-nav.scss b/assets/scss/_header-nav.scss
index 9702f0b..de64891 100644
--- a/assets/scss/_header-nav.scss
+++ b/assets/scss/_header-nav.scss
@@ -8,6 +8,7 @@ article > header > nav {
display: flex;
width: 100%;
background-color: $bg-header;
+ color: $fg-header;
li {
margin: 0 auto;
@@ -17,10 +18,6 @@ article > header > nav {
border: 1px solid;
width: 12rem;
- &:hover, &:active {
- background-color: $bg-txt-on;
- }
-
a {
display: inline-block;
position: relative;
@@ -32,5 +29,10 @@ article > header > nav {
}
body.txt article > header > nav a {
- background-color: $bg-txt-on;
+ background-color: $bg-txt-off;
+ color: $fg-header;
+
+ &:hover, &:active {
+ background-color: $bg-txt-on;
+ }
}