From ef8dda2dbbfb3ba720c36e1adc50c89ad8527a45 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 27 Dec 2023 12:28:01 +0800 Subject: [PATCH] Special styling for .content.truncated --- src/components/status.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/components/status.css b/src/components/status.css index 187a8bad..be92bc36 100644 --- a/src/components/status.css +++ b/src/components/status.css @@ -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;