MediaWiki:Common.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 627: Zeile 627:
   clear:right;
   clear:right;
   width:22em; /* ~352px; stabile Desktopbreite */
   width:22em; /* ~352px; stabile Desktopbreite */
   margin:0.5em 0 1em 1em;
   margin:0.5em 0 0.5em 1em;
   border:1px solid #c8ccd1;
   border:1px solid #c8ccd1;
   background:#fff;
   background:#fff;
Zeile 819: Zeile 819:
     display: none !important;
     display: none !important;
}
}
/* Biobox: Abstand zum folgenden Text entfernen */
/* Biobox: Abstand zum folgenden Text entfernen (Grundabstand, ohne !important) */
.mw-parser-output table.biobox {
.mw-parser-output table.biobox {
     margin-top: 0 !important;
     margin-top: 0.5em !important; /* Einheitlicher Abstand oben – passe bei Bedarf auf 0em oder 1em an */
}
}
/* Kein sichtbarer Abstand direkt nach der Biobox (egal welches Element) */
/* Kein sichtbarer Abstand direkt nach der Biobox (egal welches Element) */
.mw-parser-output table.biobox + * {
.mw-parser-output table.biobox + * {
     margin-top: 0 !important;
     margin-top: 0 !important;
}
/* Schiebt die erste Biobox nach oben und frisst die „Luft“ davor */
.mw-parser-output > table.biobox:first-of-type {
    margin-top: -0.5em !important; /* ggf. auf -2em oder -4em anpassen */
}
}