From 188e6ec910613b211045f41a747e3120e9dd823b Mon Sep 17 00:00:00 2001 From: hellekin Date: Wed, 23 Oct 2024 19:02:50 +0200 Subject: [CSS] Colorize header bar (9/2) --- assets/css/screen.css | 4 ++-- assets/scss/_header-nav.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/css/screen.css b/assets/css/screen.css index 09c52ce..afa10f2 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -1579,11 +1579,11 @@ body.txt article > header > nav ul li a { width: 100%; height: 100%; } -body.txt body.txt article > header > nav ul li a { +body.txt body.txt article > header > nav > ul > li > a { background-color: rgba(166, 191, 112, 0.7); color: white; } -body.txt body.txt article > header > nav ul li a:hover, body.txt body.txt article > header > nav ul li a:active { +body.txt body.txt article > header > nav > ul > li > a:hover, body.txt body.txt article > header > nav > ul > li > a:active { background-color: rgb(187, 205, 150); color: black; } diff --git a/assets/scss/_header-nav.scss b/assets/scss/_header-nav.scss index 496ce56..01bd4bc 100644 --- a/assets/scss/_header-nav.scss +++ b/assets/scss/_header-nav.scss @@ -28,7 +28,7 @@ article > header > nav { } } -body.txt article > header > nav ul li a { +body.txt article > header > nav > ul > li > a { background-color: $bg-txt-off; color: white; -- cgit v1.2.3