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

From Test Wiki
Content deleted Content added
m Protected "Module:Message box/tmbox.css": High-risk Lua module. ([Edit=Allow only bureaucrats] (indefinite) [Move=Allow only bureaucrats] (indefinite) [Delete=Allow only bureaucrats] (indefinite) [Protect=Allow only bureaucrats] (indefinite))
Updating.
 
Line 1: Line 1:
/* CSS styles for {{tmbox}} from [[:w:Module:Message box/tmbox.css]] */
/* {{pp|small=y}} */
.tmbox {
.tmbox {
margin: 4px 0;
margin: 4px 0;
Line 81: Line 81:
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;
}
}