phanpy/src/cloak-mode.css

60 wiersze
1.3 KiB
CSS
Czysty Zwykły widok Historia

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