MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 379: | Line 379: | ||
font-display: swap; | font-display: swap; | ||
} | } | ||
/** Инверсия цветов в тёмной теме | |||
Invert colors in dark mode **/ | |||
body.stw-theme-dark .darkmode-invert, | |||
body.stw-theme-dark .skin-invert-image img, | |||
body.stw-theme-dark .skin-invert:not(.mw-echo-notificationsWrapper), | |||
body.stw-theme-dark .oo-ui-iconElement-icon:not(.oo-ui-image-progressive):not(.oo-ui-image-destructive):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-image-invert):not(.mw-no-invert), | |||
body.stw-theme-dark .oo-ui-indicatorElement-indicator { | |||
color-scheme: light; | |||
filter: invert(1) hue-rotate(180deg); | |||
} | |||