From 625e062b4b6fa0635d8dd18c692d77fb7ba3e11e Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 21 Sep 2026 11:29:33 +0100 Subject: [PATCH] Fix white-on-white comment blocks in quartz theme Quartz sets white body text on a coloured page background, but --bs-tertiary-bg is near-white in its light variant. The .blogcomment background now uses a semi-transparent black overlay so white text stays legible, matching the dropdown hover fix. Co-Authored-By: Claude Code --- src/Yavsc.Org/Views/Blogspot/Details.cshtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Yavsc.Org/Views/Blogspot/Details.cshtml b/src/Yavsc.Org/Views/Blogspot/Details.cshtml index 3cf4ff9ee..0b07b0d94 100644 --- a/src/Yavsc.Org/Views/Blogspot/Details.cshtml +++ b/src/Yavsc.Org/Views/Blogspot/Details.cshtml @@ -35,7 +35,11 @@ margin: .3em 0; padding: .5rem .75rem; border-left: 3px solid var(--bs-border-color, #dee2e6); - background: var(--bs-tertiary-bg, #f8f9fa); + /* Quartz ships white body text on a coloured page bg, so + use a semi-transparent black overlay rather than + --bs-tertiary-bg (which is near-white in the quartz + light variant and would render white-on-white). */ + background: rgba(0, 0, 0, 0.15); border-radius: .25rem; } .blogcomment .comment-body > :last-child {