mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 19:40:55 +08:00
fix: 修復在modern樣式下,note 標簽外掛沒有使用tags名時,沒有背景色和夜間模式文字顯示不清楚的bugs
fix: 修復主頁文章cover在深色模式下,邊角有小白邊的bugs close #278 fix: 修復note標簽外掛下,代碼塊顯示背景色的bugs close #339
This commit is contained in:
@@ -44,13 +44,17 @@ if hexo-config('darkmode.enable') || hexo-config('display_mode') == 'dark'
|
||||
#page-header
|
||||
background-color: #121212
|
||||
|
||||
#article-container
|
||||
#article-container
|
||||
code
|
||||
background: #2c2c2c
|
||||
|
||||
pre > code
|
||||
pre > code
|
||||
background: 0
|
||||
|
||||
.note
|
||||
code
|
||||
background: $code-background
|
||||
|
||||
// 頭部
|
||||
#page-header
|
||||
&:before
|
||||
@@ -77,7 +81,7 @@ if hexo-config('darkmode.enable') || hexo-config('display_mode') == 'dark'
|
||||
|
||||
figure.highlight
|
||||
box-shadow: none
|
||||
|
||||
|
||||
if hexo-config('rootConfig.highlight') && hexo-config('rootConfig.highlight.enable')
|
||||
table::-webkit-scrollbar-thumb
|
||||
background: lighten(#121212, 5)
|
||||
@@ -87,7 +91,7 @@ if hexo-config('darkmode.enable') || hexo-config('display_mode') == 'dark'
|
||||
|
||||
.hljs
|
||||
background-color: lighten(#121212, 2) !important
|
||||
|
||||
|
||||
pre[class*='language-']::-webkit-scrollbar-thumb
|
||||
background: lighten(#121212, 5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user