mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 22:17:06 +08:00
feat: code-font-size 也會影響行內代碼塊字體大小 #325 fix: 修復aside recent post的 time 在safari沒有顯示的bug fix: 修復 prismjs 在 tags-toggle 外掛標簽裏,代碼塊顯示一行的bugs style: 刪除不必要的css
21 lines
406 B
Stylus
21 lines
406 B
Stylus
if hexo-fonfig('rootConfig.prismjs.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
|