mirror of https://github.com/jkjoy/sunpeiwen.git
23 lines
435 B
Stylus
23 lines
435 B
Stylus
|
if $prismjs_line_number
|
||
|
@require 'line-number'
|
||
|
|
||
|
if $highlight_theme != false
|
||
|
@require 'diff'
|
||
|
|
||
|
#article-container
|
||
|
pre[class*='language-']
|
||
|
scrollbar-color: var(--hlscrollbar-bg) transparent
|
||
|
|
||
|
&::-webkit-scrollbar-thumb
|
||
|
background: var(--hlscrollbar-bg)
|
||
|
|
||
|
&:not(.line-numbers)
|
||
|
padding: 10px 20px
|
||
|
|
||
|
.caption
|
||
|
margin-left: -3.8em
|
||
|
padding: 4px 16px !important
|
||
|
|
||
|
a
|
||
|
padding: 0 !important
|