blockquote

This commit is contained in:
xaoxuu 2022-11-13 22:46:28 +08:00
parent db7b35190f
commit 8c8d3c1707
4 changed files with 14 additions and 16 deletions

View File

@ -321,8 +321,8 @@ style:
button: '#1BCDFC' # 按钮颜色 button: '#1BCDFC' # 按钮颜色
hover: '#ff5722' # 按钮高亮颜色 hover: '#ff5722' # 按钮高亮颜色
light: light:
background: '#f8f8f8' # 浅色背景颜色 background: '#F6F8FA' # 浅色背景颜色
block: '#f2f2f2' # 块背景颜色 block: '#EEF0F2' # 块背景颜色
card: white # 卡片背景颜色 card: white # 卡片背景颜色
title: '#000' # 标题文本颜色 title: '#000' # 标题文本颜色
text: '#333' # 正文文本颜色 text: '#333' # 正文文本颜色

View File

@ -0,0 +1,10 @@
blockquote
display: block
margin-left: 0
margin-right: 0
padding: 0.5rem 0.75rem
background: var(--block)
$bd-left = 4px
border-left: $bd-left solid var(--text-meta)
border-radius: $bd-left $border-block $border-block $bd-left
color: var(--text-p2)

View File

@ -112,16 +112,6 @@ article.md
// div // div
article.md>div article.md>div
margin: var(--gap-p) 0 margin: var(--gap-p) 0
// blockquote
article.md blockquote
margin-left: 0
margin-right: 0
padding: 0.75rem
background: var(--block)
$bd-left = 4px
border-left: $bd-left solid var(--text-meta)
border-radius: $bd-left $border-block $border-block $bd-left
color: var(--text-p2)
article.md img article.md img

View File

@ -192,11 +192,9 @@
border-color: var(--block) border-color: var(--block)
.tag-plugin.timeline .body blockquote .tag-plugin.timeline .body blockquote
padding: 0 0.5rem background: none
box-shadow: none
border-left: 4px solid var(--block-border)
border-radius: 0 border-radius: 0
display: block padding: 0 0.5rem
margin: 0.75rem 0 margin: 0.75rem 0
p p
font-size: $fs-13 font-size: $fs-13