diff options
author | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2022-07-27 23:26:48 +0800 |
---|---|---|
committer | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2022-07-27 23:29:06 +0800 |
commit | 1e1e21d382496cabbd32d03bb5eab95b7e9de716 (patch) | |
tree | 0246193cc9d9b9b06aa8e2e553a1233d31e163da /_sass | |
parent | 7d4fc378cd43908984f34c5ad726b695c5fb0a27 (diff) |
feat: better post header bottom line in dark mode
Diffstat (limited to '_sass')
-rw-r--r-- | _sass/yat/_dark.scss | 16 |
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; + } } } |