From 89760aca6a0ca6a8b9ef8b101b04a09b01bf97f3 Mon Sep 17 00:00:00 2001 From: Sivan Date: Mon, 26 Oct 2020 15:14:31 +0800 Subject: [PATCH] fix: dist file --- _site/index.css | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/_site/index.css b/_site/index.css index 989abca..1c7c7c2 100644 --- a/_site/index.css +++ b/_site/index.css @@ -769,14 +769,26 @@ li { } } +[data-darkmode="dark"] .card { + background-color: #292929; +} + +[data-darkmode="dark"] .card > figcaption { + border-block-start: 1px solid #333333; +} + +[data-darkmode="dark"] .card .card__vertical-container { + border-color: #333333; +} + @media (prefers-color-scheme: dark) { - .card { + [data-darkmode="auto"] .card { background-color: #292929; } - .card > figcaption { + [data-darkmode="auto"] .card > figcaption { border-block-start: 1px solid #333333; } - .card__vertical-container { + [data-darkmode="auto"] .card .card__vertical-container { border-color: #333333; } }