[opt] add scroll-padding-top

This commit is contained in:
xaoxuu 2024-01-26 13:11:25 +08:00
parent 0f98393ed3
commit fbbbb01236
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ html
font-size: $fs-root
-webkit-text-size-adjust: 100%
-ms-text-size-adjust: 100%
scroll-padding-top: 20px
if hexo-config('style.smooth_scroll')
scroll-behavior: smooth
body