From 0248d718a5e93394722fba6efa14fbb8eb317edc Mon Sep 17 00:00:00 2001 From: hellekin Date: Wed, 23 Oct 2024 19:02:01 +0200 Subject: [CSS] Colorize header bar (8/2) --- assets/scss/_header-nav.scss | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) (limited to 'assets/scss') diff --git a/assets/scss/_header-nav.scss b/assets/scss/_header-nav.scss index cf2f14c..496ce56 100644 --- a/assets/scss/_header-nav.scss +++ b/assets/scss/_header-nav.scss @@ -28,29 +28,12 @@ article > header > nav { } } -body.txt article > header > nav a { - background-color: $bg-txt-on; +body.txt article > header > nav ul li a { + background-color: $bg-txt-off; + color: white; &:hover, &:active { background-color: $bg-txt-on; + color: black; } } - -body.txt article > header > nav a { - text-decoration: none; - &:link { - color: $fg-header; - } - &:hover { - background-color: $bg-txt-on; - color: $a-hover; - text-decoration: underline; - } - &:active { - color: $a-active; - } - &:visited { - color: $a-hover; - } -} - -- cgit v1.2.3