mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
improvement: prismjs 可以配置 code_word_wrap improvement: 搜索 hover 效果與其它目錄一致 improvement: css 優化 fix: 修復prismjs 無法識別的語言 顯示 null 而不是顯示 code 的 bug fix: 修復默認代碼大小不會隨着字體放大/放小而改變的bug fix: 修復prismjs 在ios safari 下自動換行的bug
78 lines
1.3 KiB
Stylus
78 lines
1.3 KiB
Stylus
figure.highlight
|
|
table
|
|
&::-webkit-scrollbar-thumb
|
|
background: var(--hlscrollbar-bg)
|
|
|
|
pre .deletion
|
|
color: $highlight-deletion
|
|
|
|
pre .addition
|
|
color: $highlight-addition
|
|
|
|
pre .meta
|
|
color: $highlight-purple
|
|
|
|
pre
|
|
.comment
|
|
color: $highlight-comment
|
|
|
|
.variable,
|
|
.attribute,
|
|
.regexp,
|
|
.ruby .constant,
|
|
.xml .tag .title,
|
|
.xml .pi,
|
|
.xml .doctype,
|
|
.html .doctype,
|
|
.css .id,
|
|
.tag .name,
|
|
.css .class,
|
|
.css .pseudo
|
|
color: $highlight-red
|
|
|
|
.tag
|
|
color: $highlight-aqua
|
|
|
|
.number,
|
|
.preprocessor,
|
|
.literal,
|
|
.params,
|
|
.constant,
|
|
.command
|
|
color: $highlight-orange
|
|
|
|
.built_in
|
|
color: $highlight-yellow
|
|
|
|
.ruby .class .title,
|
|
.css .rules .attribute,
|
|
.string,
|
|
.value,
|
|
.inheritance,
|
|
.header,
|
|
.ruby .symbol,
|
|
.xml .cdata,
|
|
.special,
|
|
.number,
|
|
.formula
|
|
color: $highlight-green
|
|
|
|
.keyword,
|
|
.title,
|
|
.css .hexcolor
|
|
color: $highlight-aqua
|
|
|
|
.function,
|
|
.python .decorator,
|
|
.python .title,
|
|
.ruby .function .title,
|
|
.ruby .title .keyword,
|
|
.perl .sub,
|
|
.javascript .title,
|
|
.coffeescript .title
|
|
color: $highlight-blue
|
|
|
|
.tag .attr,
|
|
.javascript .function
|
|
color: $highlight-purple
|