summaryrefslogtreecommitdiff
path: root/assets/css/header.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/header.css')
-rw-r--r--assets/css/header.css16
1 files changed, 15 insertions, 1 deletions
diff --git a/assets/css/header.css b/assets/css/header.css
index e12814d..916e575 100644
--- a/assets/css/header.css
+++ b/assets/css/header.css
@@ -16,6 +16,7 @@
.logo,
.menu {
+ display: flex;
margin: auto var(--gap);
}
@@ -24,8 +25,21 @@
font-weight: 700;
}
+.theme-toggle svg{
+ height: 18px;
+ margin: 0 10px;
+}
+
+body.dark #moon{
+ vertical-align: middle;
+ display: none;
+}
+
+body:not(.dark) #sun {
+ display: none;
+}
+
.menu {
- display: flex;
list-style: none;
word-break: keep-all;
overflow-x: auto;