mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-20 19:02:33 +00:00
Reduce transition props in <body> to padding (#236)
This commit is contained in:
parent
662dd80fc5
commit
5c32efa7d3
@ -15,7 +15,7 @@ body {
|
|||||||
line-height: $line-height-base;
|
line-height: $line-height-base;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: all $transition-ease;
|
transition: padding $transition-ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
if (hexo-config('sidebar.position') == 'right') {
|
if (hexo-config('sidebar.position') == 'right') {
|
||||||
.sidebar-active {
|
.sidebar-active {
|
||||||
+desktop() {
|
+desktop() {
|
||||||
margin-right: $sidebar-desktop;
|
padding-right: $sidebar-desktop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ if (hexo-config('sidebar.position') == 'right') {
|
|||||||
} else {
|
} else {
|
||||||
.sidebar-active {
|
.sidebar-active {
|
||||||
+desktop() {
|
+desktop() {
|
||||||
margin-left: $sidebar-desktop;
|
padding-left: $sidebar-desktop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user