User:Barto/common.css

/** * Fixing whitespace before sections * - */ .mw-body h2, .mw-body h3, .mw-body h4 { margin-top: 2em; /* empty paragraph adds 1em */ } /* Ignore empty paragraphs. Doesn't work, because en empty paragraph before a heading contains " \n". Needs JQuery. */ .p :empty { margin-top: 0; margin-bottom: 0; }