From 2a23887e7cbd42893ac3dd247dc90f2454f0c8c9 Mon Sep 17 00:00:00 2001 From: ccbikai Date: Tue, 6 Aug 2024 19:48:08 +0800 Subject: [PATCH] feat: enhance spoiler visibility and style consistency Simplified spoiler styling to improve visibility and maintain consistent appearance across different devices and browsers. This change removes the text color and background color overlap, making the spoiler content more accessible and visually appealing. --- src/assets/item.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/assets/item.css b/src/assets/item.css index 21bbc62..0ef2ee7 100644 --- a/src/assets/item.css +++ b/src/assets/item.css @@ -142,10 +142,12 @@ } tg-spoiler { - color: #ccc; - background-color: #ccc; - background: repeating-conic-gradient(#000 0 0.0001%, #0000 0 0.0002%) 60% - 60% / 3000px 3000px; + color: transparent; + background: #ccc 60% 60% / 3000px 3000px; + background-image: repeating-conic-gradient( + #ccc 0 0.0001%, + #000 0 0.0002% + ); } input:checked + tg-spoiler {