MediaWiki:Common.css: Difference between revisions
CaptainChris (talk | contribs) No edit summary |
CaptainChris (talk | contribs) No edit summary |
||
| Line 331: | Line 331: | ||
} | } | ||
/* | /* Hide stray empty paragraph that appears after infobox templates */ | ||
. | .mw-parser-output > .infobox + p:empty, | ||
.mw-parser-output > .infobox + p:has(> br:only-child) { | |||
display: none !important; | |||
} | } | ||
/* Tighten spacing for first paragraph after an infobox */ | |||
.mw-parser-output > .infobox + p { | |||
margin-top: 0 !important; | |||
/* | |||
.mw- | |||
} | } | ||