summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2022-07-27 23:26:48 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2022-07-27 23:29:06 +0800
commit1e1e21d382496cabbd32d03bb5eab95b7e9de716 (patch)
tree0246193cc9d9b9b06aa8e2e553a1233d31e163da
parent7d4fc378cd43908984f34c5ad726b695c5fb0a27 (diff)
feat: better post header bottom line in dark mode
-rw-r--r--_sass/yat/_dark.scss16
1 files changed, 11 insertions, 5 deletions
diff --git a/_sass/yat/_dark.scss b/_sass/yat/_dark.scss
index fd16f94..41ec690 100644
--- a/_sass/yat/_dark.scss
+++ b/_sass/yat/_dark.scss
@@ -142,14 +142,20 @@ html[data-theme="dark"] {
}
}
- .post .post-content {
- h2 {
+ .post {
+ .post-header {
border-bottom: 1px solid #555;
- padding-bottom: 0.3em;
}
- img:not(.emoji):not([raw]) {
- background-color: #ffffff33;
+ .post-content {
+ h2 {
+ border-bottom: 1px solid #555;
+ padding-bottom: 0.3em;
+ }
+
+ img:not(.emoji):not([raw]) {
+ background-color: #ffffff33;
+ }
}
}