mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
variant: avoid leaking shadows in neon print style #524
This commit is contained in:
parent
06d35bbbdb
commit
b19b9feaa7
1 changed files with 14 additions and 0 deletions
|
@ -273,12 +273,19 @@ body .box.cstyle.transparent {
|
||||||
#body h6 {
|
#body h6 {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
#body .badge,
|
||||||
|
#body .badge > .badge-content,
|
||||||
#body .btn,
|
#body .btn,
|
||||||
|
#body .btn > *,
|
||||||
#body div.box,
|
#body div.box,
|
||||||
#body div.box > .box-label {
|
#body div.box > .box-label {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-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
|
/* 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 {
|
.print #body h6 {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
.print #body .badge,
|
||||||
|
.print #body .badge > .badge-content,
|
||||||
.print #body .btn,
|
.print #body .btn,
|
||||||
|
.print #body .btn > *,
|
||||||
.print #body div.box,
|
.print #body div.box,
|
||||||
.print #body div.box > .box-label {
|
.print #body div.box > .box-label {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-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 {
|
#content-wrapper {
|
||||||
--ps-thumb-color: #d0d0d0;
|
--ps-thumb-color: #d0d0d0;
|
||||||
|
|
Loading…
Reference in a new issue