MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 145: | Line 145: | ||
/* ── INFOBOX — suppress phantom leading paragraphs ── */ | /* ── INFOBOX — suppress phantom leading paragraphs ── */ | ||
#mw-content-text > .mw-parser-output > p:empty, | #mw-content-text > .mw-parser-output > p:empty, | ||
#mw-content-text > .mw-parser-output > p:first-child:empty { | #mw-content-text > .mw-parser-output > p:first-child:empty, | ||
#mw-content-text > .mw-parser-output > p:first-child:blank, | |||
#mw-content-text > .mw-parser-output > .mw-empty-elt { | |||
display: none; | display: none; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | |||
/* hide leading breaks generated by template newlines */ | |||
#mw-content-text > .mw-parser-output > br:first-child, | |||
#mw-content-text > .mw-parser-output > p:first-child > br:only-child { | |||
display: none; | |||
} | } | ||