MediaWiki:Common.css: Difference between revisions
(changed padding) |
(made title section text wrap before bounding box of infobox (this shouldnt break anything?)) |
||
Line 12: | Line 12: | ||
text-align: center; | text-align: center; | ||
vertical-align: top; | vertical-align: top; | ||
max-width: 85% | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | } | ||
.infobox-image { | .infobox-image { |
Revision as of 00:44, 12 February 2025
/* CSS placed here will be applied to all skins */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0em 0.5em 1em 1em;
padding: 0.3em 0.5em 0.3em 0.5em;
width: 270px;
}
.infobox-title {
font-size: 1.8em;
text-align: center;
vertical-align: top;
max-width: 85%
margin-left: auto;
margin-right: auto;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: left;
vertical-align: top;
width: 40%;
font-size: 0.80em;
}
.infobox-table td {
vertical-align: top;
width: 60%;
font-size: 0.90em;
}