Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
width: | width: 300px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: | font-size: 1.5em; | ||
text-align: center; | text-align: center; | ||
font-weight: bold; | |||
} | } | ||
.infobox-image { | .infobox-image { |
Revision as of 16:56, 8 June 2018
/* CSS placed here will be applied to all skins */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 300px;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
font-weight: bold;
}
.infobox-image {
text-align: center;
display:block; width:200px; height:auto;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}