Special styling for .content.truncated

This commit is contained in:
Lim Chee Aun 2023-12-27 12:28:01 +08:00
parent 66a519f4dc
commit ef8dda2dbb

View file

@ -511,6 +511,7 @@
} }
.status .content-container.has-spoiler:not(.show-spoiler) .spoiler-button { .status .content-container.has-spoiler:not(.show-spoiler) .spoiler-button {
~ *:not( ~ *:not(
.content.truncated,
.media-container, .media-container,
.card, .card,
.media-figure-multiple, .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 > *, */ /* ~ :is(.media-container, .media-figure-multiple) .media > *, */
~ .card .card-image > img { ~ .card .card-image > img {
display: none; display: none;