feat: 過期通知優化,可單獨文章關閉

fix: 修復説説評論 css 受主題影響的 bug
This commit is contained in:
myw
2024-11-05 18:01:36 +08:00
Unverified
parent fb4ab20169
commit 91c8c5cd4b
25 changed files with 83 additions and 81 deletions

View File

@@ -42,7 +42,7 @@ $code-block
counter-reset: line
white-space: pre-wrap
#article-container
.container
pre,
code
font-size: $code-font-size
@@ -164,7 +164,7 @@ $code-block
border: none
if $highlight_macstyle
#article-container
.container
figure.highlight
margin: 0 0 24px
border-radius: 7px
@@ -202,7 +202,7 @@ if $highlight_macstyle
transform: rotate(90deg)
if hexo-config('code_blocks.height_limit')
#article-container
.container
.code-expand-btn
position: absolute
bottom: 0
@@ -243,7 +243,7 @@ if hexo-config('code_blocks.height_limit')
opacity: .6
if hexo-config('code_blocks.fullpage')
#article-container
.container
figure.highlight.code-fullpage
position: fixed
top: 0

View File

@@ -1,7 +1,7 @@
if $highlight_theme != false
@require 'diff'
#article-container
.container
figure.highlight
.line
if wordWrap

View File

@@ -4,7 +4,7 @@ if $prismjs_line_number
if $highlight_theme != false
@require 'diff'
#article-container
.container
pre[class*='language-']
// scrollbar - firefox
@-moz-document url-prefix()

View File

@@ -1,4 +1,4 @@
#article-container
.container
pre[class*='language-']
&.line-numbers
position: relative