MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
.infobox { | .infobox { | ||
display: | display: table; | ||
clear: | clear: right; | ||
float: right; | |||
background: #ddd; | background: #ddd; | ||
Revision as of 23:44, 23 February 2026
/* CSS placed here will be applied to all skins */
@media (prefers-color-scheme: dark) {
:root {
--right-box-bg: #555;
}
}
@media (prefers-color-scheme: light) {
:root {
--right-box-bg: #ddd;
}
}
.infobox {
display: table;
clear: right;
float: right;
background: #ddd;
margin: 0 0 0.5rem 0.5rem;
.infobox-body {
display: flex;
flex-direction: column;
}
}