diff --git a/source/css/_common/outline/mobile.styl b/source/css/_common/outline/mobile.styl index 47d2beff4..5e4843fb6 100644 --- a/source/css/_common/outline/mobile.styl +++ b/source/css/_common/outline/mobile.styl @@ -1,10 +1,3 @@ -/* -// < 767px -+mobile() { - -} -*/ - if (hexo-config('mobile_layout_economy')) { +mobile-small() { // For Pisces & Gemini schemes only wider width (remove main blocks in Gemini). @@ -82,9 +75,3 @@ if (hexo-config('mobile_layout_economy')) { } } } -/* -// < 413px -+mobile-smallest() { - -} -*/ diff --git a/source/css/_schemes/Gemini/index.styl b/source/css/_schemes/Gemini/index.styl index 7077ed732..6b2342f6a 100644 --- a/source/css/_schemes/Gemini/index.styl +++ b/source/css/_schemes/Gemini/index.styl @@ -70,7 +70,7 @@ } // ================================================== -// > 768px & < 991px +// >= 768px & <= 991px // ================================================== +tablet() { // Posts in blocks. @@ -98,7 +98,7 @@ } // ================================================== -// < 767px +// <= 767px // ================================================== +mobile() { // Posts in blocks. diff --git a/source/css/_schemes/Pisces/_sidebar.styl b/source/css/_schemes/Pisces/_sidebar.styl index 5299d97fd..2718905c7 100644 --- a/source/css/_schemes/Pisces/_sidebar.styl +++ b/source/css/_schemes/Pisces/_sidebar.styl @@ -4,10 +4,6 @@ position: -webkit-sticky; position: sticky; top: $sidebar-offset; - - +tablet-mobile() { - display: none; - } } .sidebar-toggle {