MediaWiki:Mobile.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 5: | Zeile 5: | ||
clear:both !important; | clear:both !important; | ||
display:block !important; | display:block !important; | ||
width:calc(100% + 24px) !important; /* 24px = 12px je Seite */ | |||
margin:0 -12px 1em -12px !important; /* negative Seitenränder */ | |||
max-width:none !important; | |||
} | |||
/* Bilder sicher skaliert */ | |||
.mw-parser-output table.biobox img{ | |||
max-width:100% !important; | |||
height:auto !important; | |||
display:block; | |||
} | |||
/* Rechts ausgerichtete Folge-Tabellen (z. B. Social-Links) entfloaten */ | |||
.mw-parser-output table[align="right"]{ | |||
float:none !important; | |||
width:100% !important; | width:100% !important; | ||
margin:0 0 1em 0 !important; | |||
clear:both !important; | |||
} | } | ||
/* Text wirklich unter der Box starten */ | |||
.mw-parser-output #toc, | .mw-parser-output #toc, | ||
.mw-parser-output .biobox ~ p:first-of-type{ | .mw-parser-output .biobox ~ p:first-of-type{ | ||
Version vom 5. Oktober 2025, 09:34 Uhr
/* MediaWiki:Mobile.css */
@media (max-width: 768px){
.mw-parser-output table.biobox{
float:none !important;
clear:both !important;
display:block !important;
width:calc(100% + 24px) !important; /* 24px = 12px je Seite */
margin:0 -12px 1em -12px !important; /* negative Seitenränder */
max-width:none !important;
}
/* Bilder sicher skaliert */
.mw-parser-output table.biobox img{
max-width:100% !important;
height:auto !important;
display:block;
}
/* Rechts ausgerichtete Folge-Tabellen (z. B. Social-Links) entfloaten */
.mw-parser-output table[align="right"]{
float:none !important;
width:100% !important;
margin:0 0 1em 0 !important;
clear:both !important;
}
/* Text wirklich unter der Box starten */
.mw-parser-output #toc,
.mw-parser-output .biobox ~ p:first-of-type{
clear:both !important;
}
}