hide links in spoilers but still prevent clicking them if u cant see them (css solution instead of js)

pull/176/head
Aevann 2023-08-03 11:43:36 +03:00
parent 6bf93b8c25
commit 17f907e579
1 changed files with 3 additions and 2 deletions

View File

@ -5234,11 +5234,12 @@ span.green {
.spoiler:hover, spoiler:hover {
color: var(--gray) !important;
}
.spoiler img, spoiler img {
.spoiler *, spoiler * {
visibility: hidden;
}
.spoiler:hover img, spoiler:hover img {
.spoiler:hover *, spoiler:hover * {
visibility: visible;
transition-delay: 0.00001s;
}
@media (min-width: 768px) {