|
|
Line 1: |
Line 1: |
| /* CSS placed here will be applied to all skins */ | | /* CSS placed here will be applied to all skins */ |
| /* Infobox template style */
| |
| .infobox { | | .infobox { |
| border: 1px solid #a2a9b1;
| | background: #eee; |
| border-spacing: 3px;
| | border: 1px solid #aaa; |
| background-color: #f8f9fa;
| | float: right; |
| color: black;
| | margin: 0 0 1em 1em; |
| /* @noflip */
| | padding: 1em; |
| margin: 0.5em 0 0.5em 1em;
| | width: 400px; |
| padding: 0.2em;
| |
| /* @noflip */
| |
| float: right;
| |
| /* @noflip */
| |
| clear: right;
| |
| font-size: 88%;
| |
| line-height: 1.5em;
| |
| width: 22em;
| |
| } | | } |
| | | .infobox-title { |
| .infobox-header, | | font-size: 2em; |
| .infobox-label,
| | text-align: center; |
| .infobox-above,
| |
| .infobox-full-data,
| |
| .infobox-data,
| |
| .infobox-below,
| |
| .infobox-subheader,
| |
| .infobox-image,
| |
| .infobox-navbar,
| |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox th,
| |
| .infobox td {
| |
| vertical-align: top;
| |
| }
| |
| | |
| .infobox-label,
| |
| .infobox-data,
| |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox th,
| |
| .infobox td {
| |
| /* @noflip */
| |
| text-align: left;
| |
| } | | } |
| | | .infobox-image { |
| /* Remove .infobox when element selectors above are removed */
| | text-align: center; |
| .infobox .infobox-above,
| |
| .infobox .infobox-title,
| |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox caption {
| |
| font-size: 125%;
| |
| font-weight: bold;
| |
| text-align: center;
| |
| } | | } |
| | | .infobox th { |
| .infobox-title, | | text-align: right; |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| | vertical-align: top; |
| .infobox caption {
| | width: 120px; |
| padding: 0.2em;
| |
| } | | } |
| | | .infobox td { |
| /* Remove .infobox when element selectors above are removed */
| | vertical-align: top; |
| .infobox .infobox-header,
| |
| .infobox .infobox-subheader,
| |
| .infobox .infobox-image,
| |
| .infobox .infobox-full-data,
| |
| .infobox .infobox-below {
| |
| text-align: center;
| |
| }
| |
| | |
| /* Remove .infobox when element selectors above are removed */
| |
| .infobox .infobox-navbar { | |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| | |
| /* Normal font styling for wikitable row headers with scope="row" tag */
| |
| .wikitable.plainrowheaders th[scope=row] {
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
| | |
| /* Lists in wikitable data cells are always left-aligned */
| |
| .wikitable td ul,
| |
| .wikitable td ol,
| |
| .wikitable td dl {
| |
| /* @noflip */
| |
| text-align: left;
| |
| } | | } |
Revision as of 18:34, 15 March 2022
/* 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: 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;
}