MediaWiki:Common.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1.815: Zeile 1.815:
}
}


/* ===== Biobox – MOBIL ===== */
/* ==== Biobox – mobile volle Breite, bündig, zentriert ==== */
@media (max-width: 768px) {
@media screen and (max-width: 900px) {
  /* Biobox nicht floaten, block anzeigen */
   .mw-parser-output table.biobox {
   .mw-parser-output table.biobox {
     float: none !important;
     float: none !important;
     clear: both !important;
     clear: both !important;
     display: block !important;
     display: block !important;
     width: 100% !important;
     width: calc(100% + 32px) !important;   /* gleicht Padding vom Body aus */
     max-width: 100% !important;
     margin: 0 -16px 1em -16px !important;  /* gleicht Padding visuell aus */
     margin: 0 0 1em 0 !important;
    border: 1px solid #c8ccd1;
    border-radius: 8px;
    background: #fff;
     box-sizing: border-box;
  }
 
  /* Zellen-Inhalt normalisieren */
  .mw-parser-output table.biobox td,
  .mw-parser-output table.biobox th {
    padding: 0.4em 0.6em;
    vertical-align: top;
   }
   }
   /* Bild über volle Zellbreite */
 
   .mw-parser-output table.biobox a.image,
   /* Bild: immer volle Boxbreite */
  .mw-parser-output table.biobox a.image img {
   .mw-parser-output table.biobox img {
    display: block;
     width: 100% !important;
     width: 100% !important;
     height: auto !important;
     height: auto !important;
    display: block;
    margin: 0;
   }
   }
  /* Falls direkt danach eine rechte Tabelle (Social-Icons) kommt: neutralisieren */
 
  .mw-parser-output table.biobox + table[align="right"] {
   /* Artikeltext erst unter der Box starten */
    float: none !important;
    width: 100% !important;
    margin: 0 0 1em 0 !important;
    align: initial !important;
  }
   /* Text unter der Box starten */
   .mw-parser-output > p:first-of-type {
   .mw-parser-output > p:first-of-type {
     clear: both !important;
     clear: both !important;
   }
   }
}
/* Full-width auf Mobile, keine Luft links/rechts */
@media screen and (max-width: 768px) {
    .mw-parser-output {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}
}