MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 94: | Line 94: | ||
.page-Main_Page .icelist-homepage-column br { | .page-Main_Page .icelist-homepage-column br { | ||
display: none; | display: none; | ||
} | |||
/* Reduce space after top templates (infobox / agent page) */ | |||
.mw-parser-output > table.infobox, | |||
.mw-parser-output > div.infobox { | |||
margin-bottom: 0.6em; | |||
} | |||
/* Reduce space before first heading */ | |||
.mw-parser-output > h1, | |||
.mw-parser-output > h2:first-of-type { | |||
margin-top: 0.6em; | |||
} | |||
/* General infobox tightening */ | |||
.ic-infobox td, | |||
.ic-infobox th { | |||
padding: 4px 6px; | |||
vertical-align: top; | |||
} | |||
/* Kill paragraph spacing inside infobox */ | |||
.ic-infobox p { | |||
margin: 0.2em 0; | |||
} | |||
/* Prevent empty cells from creating space */ | |||
.ic-infobox td:empty, | |||
.ic-infobox th:empty { | |||
display: none; | |||
} | |||
/* Compact status / verification rows */ | |||
.ic-infobox .verification, | |||
.ic-infobox .status { | |||
display: inline-block; | |||
margin: 0; | |||
padding: 2px 6px; | |||
font-size: 85%; | |||
} | } | ||