hexo-theme-stellar/source/css/_common/html.styl

18 lines
432 B
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
*
outline: none
html
font-family: $ff-body
font-size: $fs-root
2021-07-29 00:25:37 +08:00
-webkit-text-size-adjust: 100%
-ms-text-size-adjust: 100%
2024-01-26 13:11:25 +08:00
scroll-padding-top: 20px
2022-09-06 15:03:41 +08:00
if hexo-config('style.smooth_scroll')
scroll-behavior: smooth
2021-03-05 21:37:28 +08:00
body
background: var(--site-bg)
margin: 0
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
text-rendering: optimizelegibility
-webkit-tap-highlight-color: rgba(0, 0, 0, 0)