MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
background: #f8f9fa; | |||
border: 1px solid #aaa; | |||
float: right; | |||
margin: 0.5em 0.5em 0.5em 0.5em; | |||
padding: 0.2em; | |||
} | } | ||
.infobox-title { | |||
.infobox | font-size: 2em; | ||
font-weight: bold; | |||
text-align: center; | |||
padding: 0.3em 0.3em | |||
} | } | ||
.infobox | .infobox-image { | ||
text-align: center; | |||
} | } | ||
.infobox th { | |||
text-align: right; | |||
.infobox | vertical-align: top; | ||
} | } | ||
.infobox | .infobox td { | ||
vertical-align: top; | |||
} | } |
Latest revision as of 20:40, 3 January 2019
/* CSS placed here will be applied to all skins */
/* Infobox template style */
.infobox {
background: #f8f9fa;
border: 1px solid #aaa;
float: right;
margin: 0.5em 0.5em 0.5em 0.5em;
padding: 0.2em;
}
.infobox-title {
font-size: 2em;
font-weight: bold;
text-align: center;
padding: 0.3em 0.3em
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
}
.infobox td {
vertical-align: top;
}