Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorzzossig <zzossig@gmail.com>2020-10-29 16:42:15 +0300
committerzzossig <zzossig@gmail.com>2020-10-29 16:42:15 +0300
commit933f73dfd82604bc8cf92bb83b25e07e2a59f092 (patch)
treed7ef8c33e8a25f4611ce9ec5773c2e22606a8d37 /assets
parent8952855edecb0d44d4429eeed4012ffd01cd810e (diff)
blog switch button position changed
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/components/_switch.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/assets/sass/components/_switch.scss b/assets/sass/components/_switch.scss
index 2ca7653..761ce4d 100644
--- a/assets/sass/components/_switch.scss
+++ b/assets/sass/components/_switch.scss
@@ -26,14 +26,15 @@
width: 50px;
height: 50px;
margin: auto 0;
+ display: none;
&[data-dir="rtl"] {
- right: -75px;
+ left: 0;
top: -16px;
}
&[data-dir="ltr"] {
- left: -75px;
+ right: 0;
top: -16px;
}
@@ -43,6 +44,10 @@
color: themed('body-color');
}
}
+
+ @media only screen and (min-width: 1280px) {
+ display: block;
+ }
}
}