diff --git a/_config.yml b/_config.yml index 242cb4a..c11a048 100755 --- a/_config.yml +++ b/_config.yml @@ -321,8 +321,8 @@ style: button: '#1BCDFC' # 按钮颜色 hover: '#ff5722' # 按钮高亮颜色 light: - background: '#f8f8f8' # 浅色背景颜色 - block: '#f2f2f2' # 块背景颜色 + background: '#F6F8FA' # 浅色背景颜色 + block: '#EEF0F2' # 块背景颜色 card: white # 卡片背景颜色 title: '#000' # 标题文本颜色 text: '#333' # 正文文本颜色 diff --git a/source/css/_common/blockquote.styl b/source/css/_common/blockquote.styl new file mode 100644 index 0000000..81f2837 --- /dev/null +++ b/source/css/_common/blockquote.styl @@ -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) \ No newline at end of file diff --git a/source/css/_layout/md.styl b/source/css/_layout/md.styl index fc406e4..f0d2758 100644 --- a/source/css/_layout/md.styl +++ b/source/css/_layout/md.styl @@ -112,16 +112,6 @@ article.md // div article.md>div 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 diff --git a/source/css/_layout/tag-plugins/timeline.styl b/source/css/_layout/tag-plugins/timeline.styl index 981c4c3..25c64e8 100644 --- a/source/css/_layout/tag-plugins/timeline.styl +++ b/source/css/_layout/tag-plugins/timeline.styl @@ -192,11 +192,9 @@ border-color: var(--block) .tag-plugin.timeline .body blockquote - padding: 0 0.5rem - box-shadow: none - border-left: 4px solid var(--block-border) + background: none border-radius: 0 - display: block + padding: 0 0.5rem margin: 0.75rem 0 p font-size: $fs-13