MediaWiki:Common.css: Difference between revisions

m Inversion of icon in dark mode
No edit summary
 
Line 345: Line 345:
/* @noflip */
/* @noflip */
text-align: right;
text-align: right;
}
/* Dark mode support for infoboxes */
@media screen {
html.skin-theme-clientpref-night .infobox {
background-color: #202122;
border-color: #54595d;
color: #eaecf0;
}
html.skin-theme-clientpref-night .infobox th,
html.skin-theme-clientpref-night .infobox td {
color: #eaecf0;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox {
background-color: #202122;
border-color: #54595d;
color: #eaecf0;
}
html.skin-theme-clientpref-os .infobox th,
html.skin-theme-clientpref-os .infobox td {
color: #eaecf0;
}
}
}