MediaWiki:Common.css: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1.125: | Zeile 1.125: | ||
/* bis 900px */ | /* bis 900px */ | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
body.page-Hauptseitev2 | |||
/* Hero-Container */ | |||
body.page-Hauptseitev2 .ados-hero { | |||
margin: 0 -0.5rem 1rem; | margin: 0 -0.5rem 1rem; | ||
padding: 1.3rem 1rem 1rem; | padding: 1.3rem 1rem 1rem; | ||
} | } | ||
body.page-Hauptseitev2 | /* Aufteilung untereinander */ | ||
body.page-Hauptseitev2 .ados-hero__inner { | |||
flex-direction: column; | flex-direction: column; | ||
align-items: center !important; | align-items: center !important; | ||
} | } | ||
body.page-Hauptseitev2 | /* ZENTRIERT: Titel + Beschreibung */ | ||
body.page-Hauptseitev2 .ados-hero__left { | |||
width: 100%; | width: 100%; | ||
max-width: 650px; | max-width: 650px; | ||
margin: 0 auto 1rem auto; | margin: 0 auto 1rem auto; | ||
padding: 0 1rem; | padding: 0 1rem; | ||
text-align: center !important; | |||
text-align: center !important; | |||
} | } | ||
body.page-Hauptseitev2 | body.page-Hauptseitev2 .ados-hero__title { | ||
text-align: center !important; | text-align: center !important; | ||
} | } | ||
body.page-Hauptseitev2 | body.page-Hauptseitev2 .ados-hero__subtitle { | ||
text-align: center !important; | text-align: center !important; | ||
} | } | ||
body.page-Hauptseitev2 | /* ►► Listen-Bereich NICHT zentriert! ◄◄ */ | ||
body.page-Hauptseitev2 .ados-hero__right { | |||
width: 100%; | width: 100%; | ||
max-width: 650px; | max-width: 650px; | ||
margin: 0 auto; | margin: 0 auto; | ||
/* Zwei Spalten wie vorher */ | |||
display: grid; | |||
grid-template-columns: repeat(2, 1fr); | grid-template-columns: repeat(2, 1fr); | ||
text-align: left; | gap: 1rem 1.2rem; | ||
text-align: left !important; /* <<< WICHTIG */ | |||
} | |||
body.page-Hauptseitev2 .ados-hero__right ul { | |||
padding-left: 0; | |||
margin: 0; | |||
} | |||
body.page-Hauptseitev2 .ados-hero__right li { | |||
margin: 2px 0; | |||
text-align: left; /* <<< WICHTIG */ | |||
} | } | ||
} | } | ||
/* bis 600px */ | /* bis 600px → eine Spalte */ | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
body.page-Hauptseitev2 | body.page-Hauptseitev2 .ados-hero__right { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr !important; | ||
text-align: | text-align: left !important; | ||
} | } | ||
} | } | ||