mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:10:53 +08:00
feat: 優化代碼高亮系統並修復樣式問題 (v5.5.4-b1)
- 簡化 config.pug 中的高亮設置檢測邏輯 - 重構滾動條樣式,提取為可重用的 $scrollbar-style - 優化 JavaScript 代碼高亮邏輯,增加對默認高亮的支持 - 修復打賞彈窗的邊框圓角應用位置 - 改善代碼高亮工具的檢測和處理流程
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
figure.highlight
|
||||
table
|
||||
// scrollbar - firefox
|
||||
@-moz-document url-prefix()
|
||||
scrollbar-color: var(--hlscrollbar-bg) transparent
|
||||
|
||||
&::-webkit-scrollbar-thumb
|
||||
background: var(--hlscrollbar-bg)
|
||||
@extend $scrollbar-style
|
||||
|
||||
pre .deletion
|
||||
color: $highlight-deletion
|
||||
|
||||
Reference in New Issue
Block a user