Module:Message box/fmbox.css: Difference between revisions
m 1 revision imported |
m 1 revision imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 5: | Line 5: | ||
width: 100%; | width: 100%; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
background-color: var(--background-color-interactive-subtle, #f8f9fa); | |||
box-sizing: border-box; | |||
color: var(--color-base, #202122); | |||
} | } | ||
| Line 39: | Line 40: | ||
} | } | ||
/* keep synced with each other type of message box as this isn't qualified */ | |||
.mbox-invalid-type { | |||
text-align: center; | text-align: center; | ||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night .fmbox-warning { | |||
background-color: #300; /* Reddish, same hue/saturation as light */ | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .fmbox-warning { | |||
background-color: #300; /* Reddish, same hue/saturation as light */ | |||
} | |||
} | } | ||