Skip to content

Commit

Permalink
Clean up style
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Nov 19, 2024
1 parent 17b57da commit cf701a1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
13 changes: 0 additions & 13 deletions source/css/_common/outline/mobile.styl
Original file line number Diff line number Diff line change
@@ -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).
Expand Down Expand Up @@ -82,9 +75,3 @@ if (hexo-config('mobile_layout_economy')) {
}
}
}
/*
// < 413px
+mobile-smallest() {
}
*/
4 changes: 2 additions & 2 deletions source/css/_schemes/Gemini/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}

// ==================================================
// > 768px & < 991px
// >= 768px & <= 991px
// ==================================================
+tablet() {
// Posts in blocks.
Expand Down Expand Up @@ -98,7 +98,7 @@
}

// ==================================================
// < 767px
// <= 767px
// ==================================================
+mobile() {
// Posts in blocks.
Expand Down
4 changes: 0 additions & 4 deletions source/css/_schemes/Pisces/_sidebar.styl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
position: -webkit-sticky;
position: sticky;
top: $sidebar-offset;

+tablet-mobile() {
display: none;
}
}

.sidebar-toggle {
Expand Down

0 comments on commit cf701a1

Please sign in to comment.