From ae3060fe1d31d6e4d86acac6bf1f353c54af73ab Mon Sep 17 00:00:00 2001 From: hellekin Date: Wed, 23 Oct 2024 18:48:03 +0200 Subject: [CSS] Colorize header bar (4/2) --- assets/css/screen.css | 4 ++-- assets/scss/_header-nav.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 2fcaa81..540e3d9 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 a { +body.txt body.txt article > header > nav ul li a { background-color: rgba(166, 191, 112, 0.7); color: rgb(240, 240, 242); } -body.txt body.txt article > header > nav a:hover, body.txt body.txt article > header > nav 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); } body.txt > aside:hover, body.txt > aside:focus { diff --git a/assets/scss/_header-nav.scss b/assets/scss/_header-nav.scss index de64891..28323a9 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 a { +body.txt article > header > nav ul li a { background-color: $bg-txt-off; color: $fg-header; -- cgit v1.2.3