From 1e1e21d382496cabbd32d03bb5eab95b7e9de716 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Wed, 27 Jul 2022 23:26:48 +0800 Subject: feat: better post header bottom line in dark mode --- _sass/yat/_dark.scss | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to '_sass') 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; + } } } -- cgit v1.2.3