Module:Message box/tmbox.css: Difference between revisions
m 1 revision imported |
m 1 revision imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 63: | Line 63: | ||
} | } | ||
/* keep synced with each other type of message box as this isn't qualified */ | |||
.mbox-invalid-type { | |||
text-align: center; | text-align: center; | ||
} | } | ||
| Line 81: | Line 82: | ||
width: 238px; | width: 238px; | ||
} | } | ||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night .tmbox { | |||
background-color: #2e2505; /* Dark brown, same hue/saturation as light */ | |||
} | |||
html.skin-theme-clientpref-night .tmbox-speedy { | |||
background-color: #310402; /* Dark red, same hue/saturation as light */ | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .tmbox { | |||
background-color: #2e2505; /* Dark brown, same hue/saturation as light */ | |||
} | |||
html.skin-theme-clientpref-os .tmbox-speedy { | |||
background-color: #310402; /* Dark red, same hue/saturation as light */ | |||
} | |||
} | |||
/** T367463 */ | |||
body.skin--responsive table.tmbox img { | |||
max-width: none !important; | |||
} | } | ||