From 7d4fc378cd43908984f34c5ad726b695c5fb0a27 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Wed, 27 Jul 2022 23:17:36 +0800 Subject: fix: transparent background of emoji image --- _sass/yat/_dark.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '_sass/yat') diff --git a/_sass/yat/_dark.scss b/_sass/yat/_dark.scss index 4fcb73c..fd16f94 100644 --- a/_sass/yat/_dark.scss +++ b/_sass/yat/_dark.scss @@ -143,7 +143,12 @@ html[data-theme="dark"] { } .post .post-content { - img:not([raw]) { + h2 { + border-bottom: 1px solid #555; + padding-bottom: 0.3em; + } + + img:not(.emoji):not([raw]) { background-color: #ffffff33; } } -- cgit v1.2.3