From 6ef74707ee70b5cbc197cd755bc3f11e2c457369 Mon Sep 17 00:00:00 2001 From: hellekin Date: Wed, 23 Oct 2024 18:46:42 +0200 Subject: [CSS] Colorize header bar (3/2) --- assets/scss/_header-nav.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'assets/scss') 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; + } } -- cgit v1.2.3