Closed lovelyJason closed 1 year ago
html color: var(--color-text) width: 100% height: 100% font-family: $fontfamily font-size: $fontsize-root > if hexo-config('custom_css.scrollbar.size') scrollbar()
改为
html color: var(--color-text) width: 100% height: 100% font-family: $fontfamily font-size: $fontsize-root > if hexo-config('custom_css.scrollbar.size') scrollbar(convert(hexo-config('custom_css.scrollbar.size')), convert(hexo-config('custom_css.scrollbar.border')) || 0px, convert(hexo-config('custom_css.scrollbar.background')), convert(hexo-config('custom_css.scrollbar.hover_background')))
并新增background配置项
scrollbar: size: 12px background: rgb(84,181,160) linear-gradient(45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent) hover_background:rgb(84,181,160) linear-gradient(45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent)
Issue resolved:
Screenshots with this changes:
Link to demo site with this changes:
PR Type
Description
改为
并新增background配置项
Others
Issue resolved:
Screenshots with this changes:
Link to demo site with this changes: