MediaWiki:Common.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 526: Zeile 526:
/* TOC tweaks */
/* TOC tweaks */
.hlist .tocnumber, .hlist .toctext { display: inline; }
.hlist .tocnumber, .hlist .toctext { display: inline; }
.nonumtoc .tocnumber { display: none; }
.nonumtoc #tocnumber { display: none; }
.nonumtoc #toc ul, .nonumtoc .toc ul { line-height: 1.5em; list-style: none; margin: .3em 0 0; padding: 0; }
.nonumtoc #toc ul, .nonumtoc .toc ul { line-height: 1.5em; list-style: none; margin: .3em 0 0; padding: 0; }
.hlist.nonumtoc #toc ul ul, .hlist.nonumtoc .toc ul ul { margin: 0; }
.hlist.nonumtoc #toc ul ul, .hlist.nonumtoc .toc ul ul { margin: 0; }
Zeile 927: Zeile 927:
     display: none !important;
     display: none !important;
}
}
/* Biobox: Text sofort daneben erzwingen (Fix für "Luft"-Problem) */
 
/* Biobox: Abstand zum folgenden Text entfernen */
.mw-parser-output table.biobox {
.mw-parser-output table.biobox {
     margin-top: 0 !important; /* Kein oberer Abstand */
     margin-top: 0 !important;
    overflow: hidden;          /* Erzwungenes Clear-Within für Float */
}
}
.mw-parser-output > table.biobox + p:first-of-type {
 
     margin-top: 0 !important; /* Erster Absatz direkt daneben */
/* Kein sichtbarer Abstand direkt nach der Biobox (egal welches Element) */
.mw-parser-output table.biobox + * {
     margin-top: 0 !important;
}
}