mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-05 01:47:25 +00:00
css: images: black-on-white utility class
This commit is contained in:
parent
0527944912
commit
ec8735d6f6
3 changed files with 10 additions and 6 deletions
|
|
@ -137,6 +137,15 @@ th, td {
|
|||
padding-block-end: calc(1.75 * var(--step));
|
||||
}
|
||||
|
||||
/* Images */
|
||||
|
||||
img.black-on-white {}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
img.black-on-white {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Separators */
|
||||
|
||||
hr {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue