phanpy/src/cloak-mode.css

58 lines
1.3 KiB
CSS
Raw Normal View History

body.cloak,
.cloak {
a {
text-decoration-color: var(--link-color);
}
2023-06-12 18:57:21 +03:00
.name-text,
.name-text *,
.status .content-container,
.status .content-container *,
2024-02-28 10:34:11 +03:00
.status .content-compact > *,
.account-container :is(header, main > *:not(.actions)),
.account-container :is(header, main > *:not(.actions)) *,
.header-double-lines,
2024-02-26 09:02:58 +03:00
.account-block,
2024-02-27 18:29:54 +03:00
.catchup-filters .filter-author *,
.post-peek-html *,
.post-peek-content > * {
text-decoration-thickness: 1.1em;
text-decoration-line: line-through;
/* text-rendering: optimizeSpeed; */
filter: opacity(0.5);
}
.name-text *,
.status .content-container *,
2024-02-27 18:29:54 +03:00
.account-container :is(header, main > *:not(.actions)) *,
.post-peek-content > * {
filter: none;
}
2023-04-08 08:18:15 +03:00
.status :is(img, video, audio),
2023-10-29 16:41:03 +03:00
.media-post .media,
2024-02-26 09:02:58 +03:00
.avatar *,
.emoji,
2024-02-26 09:02:58 +03:00
.header-banner,
.post-peek-media {
filter: contrast(0) !important;
background-color: #000 !important;
}
2023-04-08 08:18:15 +03:00
}
2023-06-12 18:57:21 +03:00
/* SPECIAL CASES */
@supports (display: -webkit-box) {
2024-02-28 10:34:11 +03:00
:is(body.cloak, .cloak) .card :is(.title, .meta) {
background-color: currentColor !important;
2023-06-12 18:57:21 +03:00
}
}
2024-02-27 18:29:54 +03:00
2024-02-28 10:34:11 +03:00
body.cloak,
.cloak {
.media-container figcaption,
.media-container figcaption > *,
.catchup-filters .filter-author * {
color: currentColor !important;
}
2024-02-27 18:29:54 +03:00
}