mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Code style update
This commit is contained in:
parent
376d71878f
commit
b07a2a2913
@ -15,20 +15,6 @@ hr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Page - Container
|
||||
// --------------------------------------------------
|
||||
.main-inner {
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
.post-block:first-of-type {
|
||||
padding-top: 80px;
|
||||
|
||||
+mobile() {
|
||||
padding-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
// Pagination
|
||||
// --------------------------------------------------
|
||||
.pagination {
|
||||
|
||||
@ -16,15 +16,3 @@
|
||||
padding-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.main-inner {
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
.post-block:first-of-type {
|
||||
padding-top: 70px;
|
||||
|
||||
+mobile() {
|
||||
padding-top: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,3 +12,17 @@
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Page - Container
|
||||
// --------------------------------------------------
|
||||
.main-inner {
|
||||
padding-bottom: $content-padding-bottom;
|
||||
}
|
||||
|
||||
.post-block:first-of-type {
|
||||
padding-top: $posts-first-padding;
|
||||
|
||||
+mobile() {
|
||||
padding-top: $posts-first-padding-mobile;
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,3 +17,17 @@
|
||||
.site-subtitle {
|
||||
margin: 10px 10px 0;
|
||||
}
|
||||
|
||||
.site-nav-toggle, .site-nav-right {
|
||||
+tablet() {
|
||||
flex-column();
|
||||
}
|
||||
|
||||
.toggle {
|
||||
color: white;
|
||||
|
||||
.toggle-line {
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,17 +1,3 @@
|
||||
.site-nav-toggle, .site-nav-right {
|
||||
+tablet() {
|
||||
flex-column();
|
||||
}
|
||||
|
||||
.toggle {
|
||||
color: white;
|
||||
|
||||
.toggle-line {
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
+tablet() {
|
||||
display: none;
|
||||
|
||||
@ -3,6 +3,10 @@
|
||||
|
||||
@import "Muse.styl";
|
||||
|
||||
$content-padding-bottom = 80px;
|
||||
$posts-first-padding = 80px;
|
||||
$posts-first-padding-mobile = 60px;
|
||||
|
||||
$link-decoration-color = $grey-light;
|
||||
$content-bg-color = $whitesmoke;
|
||||
$menu-item-bg-color = $grey-lighter;
|
||||
|
||||
@ -3,3 +3,7 @@
|
||||
|
||||
$sidebar-width = hexo-config('sidebar.width') is a 'unit' ? hexo-config('sidebar.width') : 320;
|
||||
$sidebar-desktop = unit($sidebar-width, 'px');
|
||||
|
||||
$content-padding-bottom = 60px;
|
||||
$posts-first-padding = 70px;
|
||||
$posts-first-padding-mobile = 35px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user