mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-24 03:23:33 +00:00
Merge "Separate image inversion from widget inversion"
This commit is contained in:
commit
1b55f553bb
|
@ -75,6 +75,6 @@
|
|||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.night-mode-invert() {
|
||||
.night-mode-invert-image() {
|
||||
filter: invert( 1 ) hue-rotate( 180deg );
|
||||
}
|
||||
|
|
|
@ -103,6 +103,7 @@
|
|||
.night-mode-invert() {
|
||||
color-scheme: light;
|
||||
.light-mode-palette();
|
||||
// Keep in sync with .night-mode-invert-image() mixin.
|
||||
filter: invert( 1 ) hue-rotate( 180deg );
|
||||
}
|
||||
|
||||
|
|
|
@ -58,14 +58,14 @@
|
|||
// Night mode
|
||||
html.skin-night-mode-clientpref-1 {
|
||||
.minerva-footer-logo img {
|
||||
.night-mode-invert();
|
||||
.night-mode-invert-image();
|
||||
}
|
||||
}
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
html.skin-night-mode-clientpref-2 {
|
||||
.minerva-footer-logo img {
|
||||
.night-mode-invert();
|
||||
.night-mode-invert-image();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,14 +76,14 @@
|
|||
// Night mode
|
||||
html.skin-night-mode-clientpref-1 {
|
||||
.branding-box img {
|
||||
.night-mode-invert();
|
||||
.night-mode-invert-image();
|
||||
}
|
||||
}
|
||||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
html.skin-night-mode-clientpref-2 {
|
||||
.branding-box img {
|
||||
.night-mode-invert();
|
||||
.night-mode-invert-image();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue