MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Some CSS for infoboxes |
Tweaking to make it look good on a dark theme |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
border: 0.1em solid #7a7a7a; | |||
border: | |||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
Revision as of 02:35, 31 March 2022
/* CSS placed here will be applied to all skins */
.infobox {
border: 0.1em solid #7a7a7a;
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 th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}