MediaWiki:Common.css: Difference between revisions
Appearance
add infobox styling |
change background color to improve readability in dark mode |
||
| Line 2: | Line 2: | ||
.infobox { | .infobox { | ||
background: # | background: #e1e1e1; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
float: right; | float: right; | ||
Revision as of 15:20, 16 June 2025
/* CSS placed here will be applied to all skins */
.infobox {
background: #e1e1e1;
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;
}