MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@media screen and (prefers-color-scheme: dark) { | |||
.infobox { | .infobox { | ||
background: #999; | background: #999; | ||
| Line 22: | Line 23: | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
} | } | ||
Revision as of 14:24, 27 December 2024
/* CSS placed here will be applied to all skins */
@media screen and (prefers-color-scheme: dark) {
.infobox {
background: #999;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}
}