Module:Message box/fmbox.css: Difference between revisions
From Test Wiki
Content deleted Content added
Tag: Undo |
Updating per https://en.wikipedia.org/wiki/Module:Message_box/fmbox.css, switching back to transparent should dark mode arrive here. |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
.fmbox { |
|||
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ |
|||
| ⚫ | |||
th.mbox-text, td.mbox-text { /* The message body cell(s) */ |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
color: var(--color-base, #202122); |
|||
} |
} |
||
td.mbox-image { /* The left image cell */ |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
td.mbox-imageright { /* The right image cell */ |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
/* Footer and header message box styles */ |
|||
.fmbox .mbox-text { |
|||
border: none; |
|||
| ⚫ | |||
/* @noflip */ |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
width: 100%; |
|||
| ⚫ | |||
} |
|||
background-color: #f8f9fa; /* Default "system" gray */ |
|||
| ⚫ | |||
.fmbox .mbox-image { |
|||
border: none; |
|||
/* @noflip */ |
|||
| ⚫ | |||
text-align: center; |
|||
} |
|||
.fmbox .mbox-imageright { |
|||
border: none; |
|||
/* @noflip */ |
|||
| ⚫ | |||
text-align: center; |
|||
} |
} |
||
table.fmbox-system { |
|||
.fmbox .mbox-invalid-type { |
|||
| ⚫ | |||
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 */ |
|||
} |
|||
} |
} |
||