variant: avoid leaking shadows in neon print style #524

This commit is contained in:
Sören Weber 2023-05-14 23:27:41 +02:00
parent 06d35bbbdb
commit b19b9feaa7
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -273,12 +273,19 @@ body .box.cstyle.transparent {
#body h6 {
text-shadow: none;
}
#body .badge,
#body .badge > .badge-content,
#body .btn,
#body .btn > *,
#body div.box,
#body div.box > .box-label {
box-shadow: none;
text-shadow: none;
}
#body .badge.cstyle:not(.transparent),
#body .btn.cstyle {
--VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NEUTRAL-TEXT-color);
}
}
/* if we are in print chapter preview our @media statement from
@ -291,12 +298,19 @@ above will not apply, so we have to repeat it here */
.print #body h6 {
text-shadow: none;
}
.print #body .badge,
.print #body .badge > .badge-content,
.print #body .btn,
.print #body .btn > *,
.print #body div.box,
.print #body div.box > .box-label {
box-shadow: none;
text-shadow: none;
}
.print #body .badge.cstyle:not(.transparent),
.print #body .btn.cstyle {
--VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NEUTRAL-TEXT-color);
}
#content-wrapper {
--ps-thumb-color: #d0d0d0;