[opt] add scroll-padding-top
This commit is contained in:
parent
0f98393ed3
commit
fbbbb01236
|
@ -5,6 +5,7 @@ html
|
||||||
font-size: $fs-root
|
font-size: $fs-root
|
||||||
-webkit-text-size-adjust: 100%
|
-webkit-text-size-adjust: 100%
|
||||||
-ms-text-size-adjust: 100%
|
-ms-text-size-adjust: 100%
|
||||||
|
scroll-padding-top: 20px
|
||||||
if hexo-config('style.smooth_scroll')
|
if hexo-config('style.smooth_scroll')
|
||||||
scroll-behavior: smooth
|
scroll-behavior: smooth
|
||||||
body
|
body
|
||||||
|
|
Loading…
Reference in New Issue