MediaWiki:Common.css: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1.123: | Zeile 1.123: | ||
/* ====== Mobil / Tablet ====== */ | /* ====== Mobil / Tablet ====== */ | ||
/* bis 900px | /* bis 900px */ | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
body.page-Hauptseitev2 #mw-content-text .ados-hero { | body.page-Hauptseitev2 #mw-content-text .ados-hero { | ||
margin: 0 -0.5rem | margin: 0 -0.5rem 1rem; | ||
padding: 1.3rem 1rem 1rem; | padding: 1.3rem 1rem 1rem; | ||
} | } | ||
| Zeile 1.132: | Zeile 1.132: | ||
body.page-Hauptseitev2 #mw-content-text .ados-hero__inner { | body.page-Hauptseitev2 #mw-content-text .ados-hero__inner { | ||
flex-direction: column; | flex-direction: column; | ||
align-items: | align-items: center !important; /* <<< absolut zentriert */ | ||
text-align: center; | text-align: center !important; /* <<< wichtig */ | ||
} | } | ||
body.page-Hauptseitev2 #mw-content-text .ados-hero__left { | body.page-Hauptseitev2 #mw-content-text .ados-hero__left { | ||
max-width: | width: 100%; | ||
margin: 0 auto | max-width: 650px; | ||
padding: 0 | margin: 0 auto 1rem auto; | ||
padding: 0 1rem; | |||
text-align: center !important; /* <<< Text zentriert */ | |||
} | } | ||
body.page-Hauptseitev2 #mw-content-text .ados-hero__title { | body.page-Hauptseitev2 #mw-content-text .ados-hero__title { | ||
text-align: center !important; | |||
width: 100%; | |||
margin: 0 auto .4rem; | |||
} | } | ||
body.page-Hauptseitev2 #mw-content-text .ados-hero__subtitle { | body.page-Hauptseitev2 #mw-content-text .ados-hero__subtitle { | ||
text-align: center !important; | |||
margin: 0 auto 1rem; | |||
width: 100%; | |||
} | } | ||
body.page-Hauptseitev2 #mw-content-text .ados-hero__right { | body.page-Hauptseitev2 #mw-content-text .ados-hero__right { | ||
grid-template-columns: repeat(2 | width: 100%; | ||
max-width: 650px; | |||
margin: 0 auto; | |||
grid-template-columns: repeat(2, 1fr); | |||
text-align: left; | text-align: left; | ||
} | } | ||
} | } | ||
/* bis 600px | /* bis 600px */ | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
body.page-Hauptseitev2 #mw-content-text .ados-hero__right { | body.page-Hauptseitev2 #mw-content-text .ados-hero__right { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
text-align: center !important; /* <<< auf ganz schmal: ALLES zentriert */ | |||
} | } | ||
} | } | ||