|
|
Line 6: |
Line 6: |
| } | | } |
|
| |
|
| /* 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-image { |
| .infobox-label,
| | text-align: center; |
| .infobox-data, | |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox th,
| |
| .infobox td {
| |
| /* @noflip */
| |
| text-align: left;
| |
| } | | } |
| | | .infobox-table th { |
| /* Remove .infobox when element selectors above are removed */
| | text-align: right; |
| .infobox .infobox-above,
| | vertical-align: top; |
| .infobox .infobox-title,
| | width: 120px; |
| /* 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-table td { |
| .infobox-title,
| | vertical-align: top; |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox caption {
| |
| padding: 0.2em;
| |
| }
| |
| | |
| /* Remove .infobox when element selectors above are removed */
| |
| .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;
| |
| } | | } |
Revision as of 22:10, 28 June 2023
/* CSS placed here will be applied to all skins */
th, td {
border: 1px solid #808080;
text-align: center;
}
.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-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}