Module:Message box/ombox.css: Difference between revisions

Content deleted Content added
mw:Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis Always define color alongside background color (fixes issues in Village pump ombox))
english
 
(4 intermediate revisions by 2 users not shown)
Line 6:
background-color: var(--background-color-neutral-subtle, #f8f9fa);
box-sizing: border-box;
color: var(--color-base, #202122);
}
 
Line 68:
}
 
/* keep synced with each other type of message box as this isn't qualified */
.ombox .mbox-invalid-type {
text-align: center;
}
Line 88 ⟶ 89:
}
 
/** T367463 */
html.skin-theme-clientpref-night .ombox-speedy {
body.skin--responsive table.ombox img {
background-color: #310402; /* Dark red, same hue/saturation as light */
max-width: none !important;
}
 
@media (prefers-color-scheme: dark)screen {
html.skin-theme-clientpref-night .ombox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */
}
}
 
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ombox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */