MediaWiki:Common.css: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 966: | Zeile 966: | ||
/* ============================================ | /* ============================================ | ||
ADOS-Hero – elegant & dezent, Desktop + Mobil | |||
============================================ */ | ============================================ */ | ||
.ados-hero { | .ados-hero { | ||
margin: 0 0 1. | margin: 0 0 1.75rem; | ||
padding: 1. | padding: 1.4rem 1.5rem 1.6rem; | ||
border-radius: | border-radius: 16px; | ||
background: linear-gradient(135deg, # | background: linear-gradient(135deg, #f3e2c0 0%, #e2c49a 100%); | ||
box-shadow: 0 | box-shadow: 0 8px 18px rgba(0,0,0,.06); | ||
border: 1px solid rgba(255,255,255,.6); | |||
} | } | ||
.ados-hero__grid { | .ados-hero__grid { | ||
max-width: 900px; | |||
margin: 0 auto; | |||
display: flex; | display: flex; | ||
flex- | flex-direction: column; /* alles untereinander, sehr ruhig */ | ||
gap: | gap: 0.9rem; | ||
align-items: center; | align-items: center; | ||
} | } | ||
/* Titel | /* Titel oben – kompakt & zentriert */ | ||
.ados-hero__title { | .ados-hero__title { | ||
text-align: center; | |||
font-family: "Georgia","Times New Roman",serif; | font-family: "Georgia","Times New Roman",serif; | ||
font-weight: 700; | font-weight: 700; | ||
font-size: 1. | font-size: 1.5rem; /* deutlich kleiner als vorher */ | ||
line-height: 1. | line-height: 1.3; | ||
letter-spacing: 0.03em; | |||
color: #4b2b14; | color: #4b2b14; | ||
} | } | ||
.ados-hero__title span { display:block; } | .ados-hero__title span { display:block; } | ||
/* Beschreibung in der Mitte | /* Beschreibung in der Mitte */ | ||
.ados-hero__center { | .ados-hero__center { | ||
width: 100%; | |||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
} | } | ||
.ados-hero__center-box { | .ados-hero__center-box { | ||
max-width: 520px; | |||
width: 100%; | |||
padding: 0.9rem 1.2rem; | padding: 0.9rem 1.2rem; | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
line-height: 1. | line-height: 1.5; | ||
text-align: center; | text-align: center; | ||
background: rgba(255,255,255,0. | background: rgba(255,255,255,0.55); | ||
border-radius: 10px; | border-radius: 10px; | ||
border: 1px solid rgba(255,255,255,. | border: 1px solid rgba(255,255,255,.7); | ||
color: #3a2918; | color: #3a2918; | ||
font-family: "Courier New", monospace; | font-family: "Courier New", monospace; | ||
} | } | ||
/* | /* Navigationsspalten unten */ | ||
.ados-hero__cols { | .ados-hero__cols { | ||
width: 100%; | |||
margin-top: 0.4rem; | |||
padding-top: 0.7rem; | |||
border-top: 1px solid rgba(75,43,20,0.16); | |||
display: flex; | display: flex; | ||
justify-content: space-between; | |||
gap: | gap: 1.6rem; | ||
} | } | ||
.ados-hero__col { | .ados-hero__col { | ||
flex: 1 1 | flex: 1 1 0; | ||
font-size: 0.85rem; | font-size: 0.85rem; | ||
} | } | ||
.ados-hero__col-title { | .ados-hero__col-title { | ||
font-weight: 700; | font-weight: 700; | ||
margin-bottom: .25rem; | font-size: 0.9rem; | ||
margin-bottom: 0.25rem; | |||
text-transform: none; | |||
letter-spacing: 0.02em; | |||
color: #4b2b14; | color: #4b2b14; | ||
} | } | ||
.ados-hero__col ul { | .ados-hero__col ul { | ||
margin: 0; | margin: 0; | ||
| Zeile 1.037: | Zeile 1.049: | ||
} | } | ||
/* Mobile */ | .ados-hero__col li { | ||
margin: 0.1rem 0; | |||
} | |||
/* --------- Mobile Ansicht --------- */ | |||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.ados-hero { | |||
margin: 0 0 1.4rem; | |||
padding: 1.1rem 1rem 1.2rem; | |||
border-radius: 0; /* wie ein voller Header-Balken */ | |||
margin-left: -1rem; /* an den Rand des Inhalts ziehen */ | |||
margin-right: -1rem; | |||
} | |||
.ados-hero__grid { | .ados-hero__grid { | ||
align-items: stretch; | |||
} | } | ||
.ados-hero__title { | .ados-hero__title { | ||
font-size: 1. | font-size: 1.3rem; | ||
} | } | ||
.ados-hero__center-box { | |||
font-size: 0.9rem; | |||
} | |||
.ados-hero__cols { | .ados-hero__cols { | ||
flex-direction: column; | |||
gap: 0.6rem; | |||
} | |||
.ados-hero__col { | |||
text-align: left; | |||
} | } | ||
} | } | ||