diff --git a/_config.yml b/_config.yml index dfe5d19..5b63a36 100644 --- a/_config.yml +++ b/_config.yml @@ -151,8 +151,6 @@ sidebar: padding: 18 # Sidebar offset from top menubar in pixels (only for Pisces | Gemini). offset: 12 - # Enable sidebar on narrow view (only for Muse | Mist). - onmobile: false # Sidebar Avatar avatar: diff --git a/source/css/_common/outline/sidebar/sidebar-toggle.styl b/source/css/_common/outline/sidebar/sidebar-toggle.styl index d49b50d..795c75f 100644 --- a/source/css/_common/outline/sidebar/sidebar-toggle.styl +++ b/source/css/_common/outline/sidebar/sidebar-toggle.styl @@ -11,10 +11,6 @@ +tablet-mobile() { opacity: $b2t-opacity-hover; - - if (!hexo-config('sidebar.onmobile')) { - display: none; - } } } diff --git a/source/css/_common/outline/sidebar/sidebar.styl b/source/css/_common/outline/sidebar/sidebar.styl index d2660fd..5cc0226 100644 --- a/source/css/_common/outline/sidebar/sidebar.styl +++ b/source/css/_common/outline/sidebar/sidebar.styl @@ -6,12 +6,6 @@ } position: fixed; top: 0; - - +tablet-mobile() { - if (!hexo-config('sidebar.onmobile')) { - display: none; - } - } } .sidebar-inner {