forked from MarseyWorld/MarseyWorld
hide links in spoilers but still prevent clicking them if u cant see them (css solution instead of js)
parent
6bf93b8c25
commit
17f907e579
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue