MediaWiki:Common.css: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1.122: | Zeile 1.122: | ||
/* ==== Mobile-Layout | /* ============================================ | ||
ConanWiki-Style Mobile 2-Spalten-Layout | |||
============================================ */ | |||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
/* | /* Container zentrieren */ | ||
body.page-Hauptseite .ados-hero__inner { | body.page-Hauptseite .ados-hero__inner { | ||
display: | display: flex; | ||
flex-direction: column; | |||
align-items: center; | |||
text-align: center; | text-align: center; | ||
gap: 1.2rem; | |||
} | } | ||
/* Intro-Text */ | |||
body.page-Hauptseite .ados-hero__subtitle { | body.page-Hauptseite .ados-hero__subtitle { | ||
font-size: | font-size: 1.05rem; | ||
line-height: 1. | line-height: 1.55; | ||
margin: 0; | margin-bottom: 0.5rem; | ||
text-align: center; | |||
} | } | ||
/* | /* GRID für Hauptreihen + Serien */ | ||
body.page-Hauptseite .ados- | body.page-Hauptseite .ados-hero__groups { | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 1fr 1fr; /* Zwei Spalten – wie ConanWiki */ | ||
gap: | width: 100%; | ||
margin-top: | max-width: 600px; | ||
text-align: | gap: 1.5rem 1rem; | ||
margin-top: 0.3rem; | |||
text-align: left; | |||
} | } | ||
/* Jede der beiden Spalten */ | |||
body.page-Hauptseite .ados-hero__column { | body.page-Hauptseite .ados-hero__column { | ||
padding: 0 0.6rem; | |||
} | } | ||
body.page-Hauptseite .ados-hero__heading { | body.page-Hauptseite .ados-hero__heading { | ||
font- | font-size: 1.1rem; | ||
margin-bottom: 0. | margin-bottom: 0.4rem; | ||
color: # | color: #7a5c32; | ||
font-weight: 700; | |||
} | } | ||
body.page-Hauptseite .ados- | body.page-Hauptseite .ados-hero__column ul { | ||
list-style: none; | list-style: none; | ||
margin: 0; | |||
padding: 0; | padding: 0; | ||
} | } | ||
body.page-Hauptseite .ados- | body.page-Hauptseite .ados-hero__column li { | ||
margin: | margin: 2px 0; | ||
} | } | ||
body.page-Hauptseite .ados- | /* Specials – eigene Zeile, zentriert */ | ||
body.page-Hauptseite .ados-hero__specials { | |||
margin-top: 1.2rem; | |||
text- | width: 100%; | ||
max-width: 600px; | |||
text-align: center; | |||
} | } | ||
body.page-Hauptseite .ados- | body.page-Hauptseite .ados-hero__specials ul { | ||
list-style: none; | |||
padding: 0; | |||
margin: 0; | |||
} | } | ||
body.page-Hauptseite .ados-hero__specials li { | |||
margin: 2px 0; | |||
body.page-Hauptseite .ados- | |||
margin: | |||
} | } | ||
} | } | ||