From 0d306554362baafe91b7549d775cb6b79ff88e59 Mon Sep 17 00:00:00 2001 From: XPoet Date: Fri, 22 Jan 2021 12:27:42 +0800 Subject: [PATCH] style: optimize image lazyload display --- source/css/common/markdown.styl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/css/common/markdown.styl b/source/css/common/markdown.styl index 2e1afed..3e8a496 100644 --- a/source/css/common/markdown.styl +++ b/source/css/common/markdown.styl @@ -52,6 +52,7 @@ color: var(--default-text-color); } + em { color: var(--default-text-color); } @@ -188,6 +189,7 @@ cursor: zoom-in; display: block; box-shadow: 0 0 2px var(--shadow-color); + transition-t("padding, margin", "0, 0", "0.2, 0.2", "linear, linear"); if (hexo-config('style.article_img_align') == 'center') { margin: 10px auto 2px;