MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Reverted |
Tags: Undo Reverted |
||
| Line 146: | Line 146: | ||
} | } | ||
/* Filter needs to reside on `html`, see https://phabricator.wikimedia.org/T221425#5153917 */ | |||
html, | |||
/* All other selectors have `filter` double-applied to turn back to “normal” by inheritance */ | |||
html img:not( .mw-invert ), | |||
html video:not( .mw-invert ), | |||
html ogvjs:not( .mw-invert ), | |||
html svg:not( .mw-invert ), | |||
html iframe:not( .mw-invert ), | |||
html .mw-no-invert, | |||
html .cdx-no-invert, | |||
html td .diffchange, | |||
html .wvui-typeahead-suggestion__thumbnail, | |||
html .skin-minerva .mw-notification-visible .mw-notification-content, | |||
html .oo-ui-searchWidget-results .oo-ui-iconElement-icon, | |||
html .list-thumb, | |||
/* Extensions */ | |||
html .media-viewer .image img, | |||
html .media-viewer .mw-file-description img { | |||
/*filter: invert( 1 ) hue-rotate( 180deg );*/ | |||
} | |||
/* Reset overrides, needed where double application above isn't working. */ | /* Reset overrides, needed where double application above isn't working. */ | ||