hexo/node_modules/hexo-theme-butterfly/source/css/_highlight/prismjs/index.styl

23 lines
457 B
Stylus
Raw Normal View History

2023-10-03 11:14:36 +08:00
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