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.
This commit is contained in:
ccbikai
2024-08-06 19:48:08 +08:00
parent d7eeca2b16
commit 2a23887e7c

View File

@@ -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 {