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

github.com/varkai/hugo-theme-zozo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/css/zozo.css1
-rw-r--r--static/css/zozo.scss1
-rw-r--r--static/js/zozo.js3
3 files changed, 2 insertions, 3 deletions
diff --git a/static/css/zozo.css b/static/css/zozo.css
index 6744096..45442df 100644
--- a/static/css/zozo.css
+++ b/static/css/zozo.css
@@ -587,6 +587,7 @@ a.back_to_top:hover span {
z-index: 999;
}
.nav_container .site_nav {
+ display: none;
position: fixed;
right: 0;
top: 60px;
diff --git a/static/css/zozo.scss b/static/css/zozo.scss
index 74ce667..0d18343 100644
--- a/static/css/zozo.scss
+++ b/static/css/zozo.scss
@@ -596,6 +596,7 @@ a.back_to_top {
z-index: 999;
.site_nav {
+ display: none;
position: fixed;
right: 0;
top: 60px;
diff --git a/static/js/zozo.js b/static/js/zozo.js
index 9aaa550..a7f8b2f 100644
--- a/static/js/zozo.js
+++ b/static/js/zozo.js
@@ -31,9 +31,6 @@ $(document).ready((function (_this) {
let nav,icon
icon = $('#menu_icon')
nav = $('#site_nav')
- if ($(document).width() < 768) {
- nav.css('display', 'none')
- }
icon.click(function () {
nav.slideToggle(250)
})