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