MediaWiki:Common.css: Difference between revisions
Admin changed the content model of the page MediaWiki:Common.css from "wikitext" to "CSS": Load site CSS |
Keep infobox labels on their own cells. |
||
| Line 56: | Line 56: | ||
.soldier-infobox .infobox-label, | .soldier-infobox .infobox-label, | ||
.soldier-infobox th.infobox-label { | .soldier-infobox th.infobox-label { | ||
display: table-cell; | |||
width: 38%; | width: 38%; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 67: | Line 68: | ||
.infobox td.infobox-data, | .infobox td.infobox-data, | ||
.soldier-infobox td.infobox-data { | .soldier-infobox td.infobox-data { | ||
display: table-cell; | |||
vertical-align: top; | vertical-align: top; | ||
padding: 0.2em 0.5em 0.2em 0.4em; | padding: 0.2em 0.5em 0.2em 0.4em; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
} | |||
.infobox > tbody > tr, | |||
.soldier-infobox > tbody > tr { | |||
display: table-row; | |||
} | } | ||
| Line 102: | Line 109: | ||
margin: 0 0 0.6em 0; | margin: 0 0 0.6em 0; | ||
font-style: italic; | font-style: italic; | ||
color: #202122; | |||
} | |||
.hatnote.research-notes-disclaimer { | |||
color: #54595d; | |||
} | |||
.soldier-research-notes { | |||
margin: 0.4em 0 0.8em 0; | |||
} | |||
.soldier-research-notes-heading { | |||
font-weight: bold; | |||
margin: 0.4em 0 0.2em 0; | |||
} | |||
.mw-parser-output h2:has(#Research_notes), | |||
.mw-parser-output h2:has(#Research_notes) + ul, | |||
.mw-parser-output h2:has(#Research_notes) + p { | |||
display: none !important; | |||
} | |||
.class-data-disclaimer { | |||
border: 1px solid #a2a9b1; | |||
background: #f8f9fa; | |||
padding: 0.7em 0.9em; | |||
margin: 0.8em 0 1em 0; | |||
font-size: 92%; | |||
line-height: 1.45; | |||
max-width: 48em; | |||
color: #202122; | color: #202122; | ||
} | } | ||