aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GDWR <[email protected]>2022-02-08 08:44:20 +0000
committerGravatar GDWR <[email protected]>2022-02-08 08:44:20 +0000
commit2f0fa9b82e32bb6c7febf5285d5d5461de2eed6b (patch)
tree558e3ca84550e9b69415b65e6346bebe7f789eed
parentAdd initial dark theme (diff)
Resize switch
-rw-r--r--pydis_site/static/css/base/navbar.css16
1 files changed, 8 insertions, 8 deletions
diff --git a/pydis_site/static/css/base/navbar.css b/pydis_site/static/css/base/navbar.css
index 95ca36b8..497429c6 100644
--- a/pydis_site/static/css/base/navbar.css
+++ b/pydis_site/static/css/base/navbar.css
@@ -1,7 +1,7 @@
.switch {
position: relative;
- height: 3.25em;
- width: 6.5em;
+ height: 2em;
+ width: 5em;
cursor: pointer;
}
@@ -58,20 +58,20 @@
.theme-icon {
position: absolute !important;
color: white;
- --ggs: 1.25;
+ --ggs: 1;
opacity: 100%;
- transition: opacity 0.2s ease-out;
- top: 33%;
+ transition: opacity 0.3s ease-out;
bottom: auto;
}
.theme-icon.light {
- left: 18%;
+ left: 15%;
+ top: 20%
}
.theme-icon.dark {
- right: 18%;
- top: 35%
+ right: 15%;
+ top: 20%
}
.switch.dark .theme-icon.light {