aboutsummaryrefslogtreecommitdiff
path: root/assets/scss
diff options
context:
space:
mode:
authorhellekin <how@cepheide.org>2024-10-23 18:56:04 +0200
committerhellekin <how@cepheide.org>2024-10-23 18:56:04 +0200
commit57552a69856b326bb781612fa24331407cc7ef9e (patch)
treea20fa79edc008f1081b5bf3d3cde8aa69711d796 /assets/scss
parente0946dee019e40cffed7f052226bbd8adcdb1976 (diff)
downloadlesoiseaux.io-57552a69856b326bb781612fa24331407cc7ef9e.tar.gz
[CSS] Colorize header bar (6/2)
Diffstat (limited to 'assets/scss')
-rw-r--r--assets/scss/_header-nav.scss24
1 files changed, 22 insertions, 2 deletions
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;
+ }
+}
+