Skip to content

Commit

Permalink
variant: avoid leaking shadows in neon print style matcornic#524
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed May 14, 2023
1 parent 06d35bb commit b19b9fe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions static/css/theme-neon.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit b19b9fe

Please sign in to comment.