MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 851: | Zeile 851: | ||
.mw-parser-output p:first-of-type { | .mw-parser-output p:first-of-type { | ||
margin-top: 0 !important; /* Entfernt Abstand oben beim ersten Absatz nach der Biobox */ | margin-top: 0 !important; /* Entfernt Abstand oben beim ersten Absatz nach der Biobox */ | ||
} | |||
/* ========== STARTSEITE: Responsive Layout (nur Mobile) ========== */ | |||
@media (max-width: 800px) { | |||
/* nur auf der Startseite */ | |||
body.page-Hauptseite .startseite-news, | |||
body.page-Startseite .startseite-news, | |||
body.page-Hauptseite .startseite-boxrow, | |||
body.page-Startseite .startseite-boxrow { | |||
width: 100% !important; | |||
} | |||
/* News (3 Spalten) -> untereinander */ | |||
body.page-Hauptseite .startseite-news tr, | |||
body.page-Startseite .startseite-news tr { | |||
display: block; | |||
} | |||
body.page-Hauptseite .startseite-news td, | |||
body.page-Startseite .startseite-news td { | |||
display: block; | |||
width: 100% !important; | |||
box-sizing: border-box; | |||
} | |||
/* Box-Reihen (2er/3er/4er) -> untereinander */ | |||
body.page-Hauptseite .startseite-boxrow, | |||
body.page-Startseite .startseite-boxrow, | |||
body.page-Hauptseite .startseite-boxrow tbody, | |||
body.page-Startseite .startseite-boxrow tbody, | |||
body.page-Hauptseite .startseite-boxrow tr, | |||
body.page-Startseite .startseite-boxrow tr, | |||
body.page-Hauptseite .startseite-boxrow td, | |||
body.page-Startseite .startseite-boxrow td { | |||
display: block; | |||
width: 100% !important; | |||
box-sizing: border-box; | |||
} | |||
/* Spacer-Zellen weg */ | |||
body.page-Hauptseite .startseite-spacer, | |||
body.page-Startseite .startseite-spacer { | |||
display: none !important; | |||
} | |||
/* Abstand zwischen Boxen (nur die echten Box-tds) */ | |||
body.page-Hauptseite .startseite-boxrow td[style*="border:1px solid #ef9a9a"], | |||
body.page-Startseite .startseite-boxrow td[style*="border:1px solid #ef9a9a"] { | |||
margin-bottom: 12px; | |||
} | |||
body.page-Hauptseite .startseite-boxrow td[style*="border:1px solid #ef9a9a"]:last-child, | |||
body.page-Startseite .startseite-boxrow td[style*="border:1px solid #ef9a9a"]:last-child { | |||
margin-bottom: 0; | |||
} | |||
} | } | ||