From 033e70750d10aabcbf19deaa9f0a0abe312ff076 Mon Sep 17 00:00:00 2001 From: Riedler Date: Wed, 17 Aug 2022 21:24:04 +0200 Subject: [PATCH 1/2] fixed postcard excerpts being black on black when prefers-color-scheme:dark --- themes/hugo-casper3/assets/scss/main.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hugo-casper3/assets/scss/main.scss b/themes/hugo-casper3/assets/scss/main.scss index b12ba76..2896c9c 100644 --- a/themes/hugo-casper3/assets/scss/main.scss +++ b/themes/hugo-casper3/assets/scss/main.scss @@ -2452,7 +2452,7 @@ body{ color:#e5e5e5 } .post-card-excerpt{ - color:#000000 + color:#e5e5e5 } .author-avatar,.static-avatar{ border-color:#191b1f From 8b7aa2d00cef339fc62b39b80967ff55e430e07a Mon Sep 17 00:00:00 2001 From: Riedler Date: Wed, 17 Aug 2022 21:26:00 +0200 Subject: [PATCH 2/2] same thing as before, but another type of excerpt too & removed redundant rules --- themes/hugo-casper3/assets/scss/main.scss | 6 ------ 1 file changed, 6 deletions(-) diff --git a/themes/hugo-casper3/assets/scss/main.scss b/themes/hugo-casper3/assets/scss/main.scss index 2896c9c..1aa0d7a 100644 --- a/themes/hugo-casper3/assets/scss/main.scss +++ b/themes/hugo-casper3/assets/scss/main.scss @@ -2451,9 +2451,6 @@ body{ .post-card-title{ color:#e5e5e5 } - .post-card-excerpt{ - color:#e5e5e5 - } .author-avatar,.static-avatar{ border-color:#191b1f } @@ -2463,9 +2460,6 @@ body{ .post-full-title{ color:hsla(0,0%,100%,.9) } - .post-full-custom-excerpt{ - color:#000000 - } .post-full-image{ background-color:#2b2f36 }