[opt] css

This commit is contained in:
xaoxuu 2023-12-15 16:14:46 +08:00
parent 19971bc638
commit 1080ca7d04
2 changed files with 6 additions and 2 deletions

View File

@ -13,8 +13,9 @@ set_text_black()
set_dynamic_color($theme)
--theme: $theme
--theme-block: hsl(hue($theme), 90, 92)
--theme-border: hsl(hue($theme), 50, 80)
--theme-block: hsl(hue($theme), 90, 92)
--theme-codeblock: hsl(hue($theme), 50, 96)
--text-p0: hsl(hue($theme), 55, 16)
--text-p1: hsl(hue($theme), 55, 20)
--text-p2: hsl(hue($theme), 90, 24)
@ -23,6 +24,7 @@ set_dynamic_color($theme)
--theme: var(--text-p1)
--theme-border: var(--block-border)
--theme-block: var(--block)
--theme-codeblock: var(--block)
.colorful[color='red']
set_dynamic_color($c-red)
@ -63,8 +65,9 @@ set_dynamic_color($theme)
set_darkmode_tags()
set_dynamic_color($theme)
--theme: $theme
--theme-block: hsl(hue($theme), 16, 16)
--theme-border: hsl(hue($theme), 50, 24)
--theme-block: hsl(hue($theme), 16, 16)
--theme-codeblock: hsl(hue($theme), 12, 18)
--text-p0: hsl(hue($theme), 100, 85)
--text-p1: hsl(hue($theme), 50, 75)
--text-p2: hsl(hue($theme), 80, 72)

View File

@ -31,6 +31,7 @@
background: var(--block-hover)
.md-text .tag-plugin.note[child=codeblock]
padding: 0
background: var(--theme-codeblock)
>.title, >.body:only-child
margin-top: 0
>.body