MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 344: Line 344:
     color: #cfcfcf;
     color: #cfcfcf;
}
}
}
/* ============================================================
  Remove empty paragraphs before hero on main page
  ============================================================ */
/* Kill empty paragraphs and lone <br> before the hero */
.mw-parser-output > p:empty,
.mw-parser-output > p > br:only-child {
    display: none;
}
/* Ensure hero sits flush */
.mw-parser-output > .bc-hero:first-child {
    margin-top: 0 !important;
}
}