mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-20 19:02:33 +00:00
Clean up style
This commit is contained in:
parent
17b57da31a
commit
cf701a13f1
@ -1,10 +1,3 @@
|
|||||||
/*
|
|
||||||
// < 767px
|
|
||||||
+mobile() {
|
|
||||||
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (hexo-config('mobile_layout_economy')) {
|
if (hexo-config('mobile_layout_economy')) {
|
||||||
+mobile-small() {
|
+mobile-small() {
|
||||||
// For Pisces & Gemini schemes only wider width (remove main blocks in Gemini).
|
// 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() {
|
|
||||||
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ==================================================
|
// ==================================================
|
||||||
// > 768px & < 991px
|
// >= 768px & <= 991px
|
||||||
// ==================================================
|
// ==================================================
|
||||||
+tablet() {
|
+tablet() {
|
||||||
// Posts in blocks.
|
// Posts in blocks.
|
||||||
@ -98,7 +98,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ==================================================
|
// ==================================================
|
||||||
// < 767px
|
// <= 767px
|
||||||
// ==================================================
|
// ==================================================
|
||||||
+mobile() {
|
+mobile() {
|
||||||
// Posts in blocks.
|
// Posts in blocks.
|
||||||
|
|||||||
@ -4,10 +4,6 @@
|
|||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: $sidebar-offset;
|
top: $sidebar-offset;
|
||||||
|
|
||||||
+tablet-mobile() {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-toggle {
|
.sidebar-toggle {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user