MediaWiki:Common.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1.787: Zeile 1.787:
.kat-links a:hover { background:#f8f9fa; }
.kat-links a:hover { background:#f8f9fa; }


/* --- Mobile: Infobox oben, 100% breit; Bild passt sich an --- */
/* Mobil: Biobox/Infobox oben und 100% breit */
@media (max-width: 768px) {
@media (max-width: 768px) {
  /* Infobox entfloaten + volle Breite */
   .mw-parser-output table.infobox,
   .mw-parser-output table.infobox,
   .mw-parser-output table.biobox {
   .mw-parser-output table.biobox {
Zeile 1.796: Zeile 1.794:
     clear: both !important;
     clear: both !important;
     display: block !important;
     display: block !important;
     width: 100% !important;       /* überstimmt width:240px aus dem Template */
     width: 100% !important;     /* überstimmt width:240px im Template */
     max-width: 100% !important;
     max-width: 100% !important;
     margin: 0 0 1em 0 !important;
     margin: 0 0 1em 0 !important;
Zeile 1.803: Zeile 1.801:
   }
   }


   /* Bild über die volle Zellenbreite skalieren */
   /* Bild über volle Zellbreite */
  .mw-parser-output table.infobox a.image,
  .mw-parser-output table.biobox a.image {
    display: block;
  }
   .mw-parser-output table.infobox a.image img,
   .mw-parser-output table.infobox a.image img,
   .mw-parser-output table.biobox a.image img {
   .mw-parser-output table.biobox a.image img {
Zeile 1.815: Zeile 1.809:
   }
   }


   /* Text sicher unterhalb starten */
   /* falls direkt danach eine rechts-ausgerichtete Tabelle kommt (Social-Icons) */
  .mw-parser-output > p:first-of-type {
    clear: both !important;
  }
 
  /* Falls direkt nach der Infobox noch eine rechts-ausgerichtete Tabelle kommt (Social-Icons),
    neutralisieren wir die auf Mobil, damit sie nichts nach rechts schiebt. */
   .mw-parser-output table.infobox + table[align="right"],
   .mw-parser-output table.infobox + table[align="right"],
   .mw-parser-output table.biobox + table[align="right"] {
   .mw-parser-output table.biobox + table[align="right"] {