summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2022-07-27 23:17:36 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2022-07-27 23:17:36 +0800
commit7d4fc378cd43908984f34c5ad726b695c5fb0a27 (patch)
tree6abec5878fdb4f137cd21ca4a5472f12b4b30a76
parent3593bbfc6ca65c465f9d04379d7df3b46b39ba0e (diff)
fix: transparent background of emoji image
-rw-r--r--_sass/yat/_dark.scss7
1 files changed, 6 insertions, 1 deletions
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;
}
}