summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-02-12 10:48:04 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-02-12 10:48:04 +0530
commit6f8edf1ffa88129a26eddf508e5d1833b86e486e (patch)
tree78c67592ce4573916f24d54983cf3642210e84a3 /assets/css
parent034da041800de60cfdfa6dbefc00f479f7c009cb (diff)
change theme-switch from 'a' to 'button'
and refactor
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/header.css8
-rw-r--r--assets/css/reset.css1
2 files changed, 4 insertions, 5 deletions
diff --git a/assets/css/header.css b/assets/css/header.css
index 910e98c..beaf5bd 100644
--- a/assets/css/header.css
+++ b/assets/css/header.css
@@ -40,11 +40,9 @@
height: 18px;
}
-a#theme-toggle {
- font-size: 24px;
- user-select: none;
- margin: auto 4px;
- cursor: pointer
+button#theme-toggle {
+ font-size: 26px;
+ margin: auto 4px
}
body.dark #moon {
diff --git a/assets/css/reset.css b/assets/css/reset.css
index 4b8e09f..ee8e77b 100644
--- a/assets/css/reset.css
+++ b/assets/css/reset.css
@@ -10,6 +10,7 @@ html {
}
a,
+button,
body,
h1,
h2,