style: optimize image lazyload display

This commit is contained in:
XPoet 2021-01-22 12:27:42 +08:00
parent 845c3304c8
commit 0d30655436
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@
color: var(--default-text-color); color: var(--default-text-color);
} }
em { em {
color: var(--default-text-color); color: var(--default-text-color);
} }
@ -188,6 +189,7 @@
cursor: zoom-in; cursor: zoom-in;
display: block; display: block;
box-shadow: 0 0 2px var(--shadow-color); 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') { if (hexo-config('style.article_img_align') == 'center') {
margin: 10px auto 2px; margin: 10px auto 2px;