From 3d611a9c430e5830b21b441cd0cc471cc021c48a Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 21 Jan 2021 18:28:00 +0800 Subject: [PATCH] style: optimize markdown style --- source/css/common/markdown.styl | 4 ++++ source/css/layout/_partial/comment/comment.styl | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/source/css/common/markdown.styl b/source/css/common/markdown.styl index 93390a6..2e1afed 100644 --- a/source/css/common/markdown.styl +++ b/source/css/common/markdown.styl @@ -52,6 +52,10 @@ color: var(--default-text-color); } + em { + color: var(--default-text-color); + } + ul > li, ol > li { margin-left: 16px; diff --git a/source/css/layout/_partial/comment/comment.styl b/source/css/layout/_partial/comment/comment.styl index af0c9b1..d05538d 100644 --- a/source/css/layout/_partial/comment/comment.styl +++ b/source/css/layout/_partial/comment/comment.styl @@ -20,6 +20,10 @@ if (hexo-config('comment.valine.enable')) { font-size: 1.38rem; color: var(--default-text-color); + i { + color: var(--default-text-color); + } + +keep-tablet() { margin: 5px 0; font-size: 1.2rem;