aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <how@cepheide.org>2024-10-23 19:02:50 +0200
committerhellekin <how@cepheide.org>2024-10-23 19:02:50 +0200
commit188e6ec910613b211045f41a747e3120e9dd823b (patch)
tree5d212b7c8b68fecd8bb4bd73bdeccd5043a1cf91
parent0248d718a5e93394722fba6efa14fbb8eb317edc (diff)
downloadlesoiseaux.io-188e6ec910613b211045f41a747e3120e9dd823b.tar.gz
[CSS] Colorize header bar (9/2)
-rw-r--r--assets/css/screen.css4
-rw-r--r--assets/scss/_header-nav.scss2
2 files changed, 3 insertions, 3 deletions
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;