Special styling for .content.truncated

pull/375/head
Lim Chee Aun 2023-12-27 12:28:01 +08:00
rodzic 66a519f4dc
commit ef8dda2dbb
1 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

@ -511,6 +511,7 @@
}
.status .content-container.has-spoiler:not(.show-spoiler) .spoiler-button {
~ *:not(
.content.truncated,
.media-container,
.card,
.media-figure-multiple,
@ -543,6 +544,19 @@
}
}
~ .content.truncated {
opacity: 1;
> * {
opacity: 0.2;
text-decoration-thickness: 1.5em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
pointer-events: none;
user-select: none;
}
}
/* ~ :is(.media-container, .media-figure-multiple) .media > *, */
~ .card .card-image > img {
display: none;