mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 22:17:06 +08:00
fix: 修復valine背景圖片再次出現時,由左到右移動的bugs improvement: 調大sidebar的寬度 improvement: html結構調整,mobile-sidebar改為sidebar/search調整 remove: 刪除多餘的css和pug
21 lines
404 B
Stylus
21 lines
404 B
Stylus
if hexo-fonfig('prismjs_settings.line_number')
|
|
@require 'line-number'
|
|
|
|
if $highlight_theme != false
|
|
@require 'diff'
|
|
|
|
#article-container
|
|
pre[class*='language-']
|
|
&::-webkit-scrollbar-thumb
|
|
background: $highlight-scrollbar
|
|
|
|
&:not(.line-numbers)
|
|
padding: 10px 20px
|
|
|
|
.caption
|
|
margin-left: -3.8em
|
|
padding: .2rem .8rem !important
|
|
|
|
a
|
|
padding: 0 !important
|