From 57552a69856b326bb781612fa24331407cc7ef9e Mon Sep 17 00:00:00 2001 From: hellekin Date: Wed, 23 Oct 2024 18:56:04 +0200 Subject: [CSS] Colorize header bar (6/2) --- assets/scss/_header-nav.scss | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'assets/scss/_header-nav.scss') diff --git a/assets/scss/_header-nav.scss b/assets/scss/_header-nav.scss index eaa1f32..83dd2b8 100644 --- a/assets/scss/_header-nav.scss +++ b/assets/scss/_header-nav.scss @@ -28,11 +28,31 @@ article > header > nav { } } -body.txt article > header > nav ul li a:link { +body.txt article > header > nav a { background-color: $bg-txt-off; - color: $fg-header; &:hover, &:active { background-color: $bg-txt-on; } } + +body.txt article > header > nav a { + text-decoration: none; + background-color: $bg-header; + + &:link { + color: $fg-header; + } + &:hover { + background-color: $bg-txt-on; + color: $a-hover; + text-decoration: underline; + } + &:active { + color: $a-active; + } + &:visited { + color: $fg-header; + } +} + -- cgit v1.2.3