mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-04 17:37:26 +00:00
base.css: print styles for black'n'white images
This commit is contained in:
parent
7ee310a8ca
commit
b36924231d
1 changed files with 7 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ th, td {
|
|||
padding-block-end: calc(1.75 * var(--step));
|
||||
}
|
||||
|
||||
/* Images */
|
||||
/* Black and White Images */
|
||||
|
||||
img.black-on-white {}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
|
@ -153,6 +153,12 @@ img.black-on-white {}
|
|||
[data-darkreader-scheme="dark"] img.black-on-white {
|
||||
filter: invert(1);
|
||||
}
|
||||
/* Fix for printed version with enabled DarkReader extension */
|
||||
@media print {
|
||||
img.black-on-white {
|
||||
filter: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Separators */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue