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
40 lines
804 B
Stylus
40 lines
804 B
Stylus
if $highlight_theme != false
|
|
@require 'diff'
|
|
|
|
#article-container
|
|
figure.highlight
|
|
.line
|
|
if wordWrap
|
|
&:before
|
|
display: inline-block
|
|
padding: 0 .3rem 0 0
|
|
min-width: 1.6rem
|
|
color: $highlight-gutter.color
|
|
content: counter(line)
|
|
counter-increment: line
|
|
text-align: left
|
|
|
|
&.marked
|
|
background-color: $highlight-selection
|
|
|
|
table
|
|
display: block
|
|
overflow: auto
|
|
border: none
|
|
|
|
td
|
|
padding: 0
|
|
border: none
|
|
|
|
.gutter pre
|
|
padding-right: .5rem
|
|
padding-left: .5rem
|
|
background-color: $highlight-gutter.bg-color
|
|
color: $highlight-gutter.color
|
|
text-align: right
|
|
|
|
.code pre
|
|
padding-right: .5rem
|
|
padding-left: .5rem
|
|
width: 100%
|