phanpy/src/cloak-mode.css

43 lines
939 B
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 *,
.status .content-compact,
.account-container :is(header, main > *:not(.actions)),
.account-container :is(header, main > *:not(.actions)) *,
.header-account,
.account-block {
text-decoration-thickness: 1.1em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
filter: opacity(0.5);
}
.name-text *,
.status .content-container *,
.account-container :is(header, main > *:not(.actions)) * {
filter: none;
}
2023-04-08 08:18:15 +03:00
.status :is(img, video, audio),
.avatar,
.emoji,
.header-banner {
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) {
body.cloak .card :is(.title, .meta) {
background-color: var(--text-color) !important;
}
}