MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Hist. Verein Herne / Wanne-Eickel
Inhalt gelöscht Inhalt hinzugefügt
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 327: | Zeile 327: | ||
background: #ffffff; |
background: #ffffff; |
||
display: block; |
display: block; |
||
} |
|||
/* ============================================================ |
|||
Vorlage:Hauptseite/Neue Artikel |
|||
Kachel-Layout für die letzten 20 neu erstellten Seiten |
|||
Bitte als Ergänzung in MediaWiki:Common.css einfügen |
|||
============================================================ */ |
|||
.hv-neue-artikel-grid { |
|||
display: grid; |
|||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); |
|||
gap: 1em; |
|||
margin: 0.5em 0 1em 0; |
|||
} |
|||
.hv-neue-artikel-kachel { |
|||
display: flex; |
|||
flex-direction: column; |
|||
background: #ffffff; |
|||
border: 1px solid #c8ccd1; |
|||
border-radius: 4px; |
|||
padding: 0.6em; |
|||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); |
|||
transition: box-shadow 0.15s ease, transform 0.15s ease; |
|||
overflow: hidden; |
|||
} |
|||
.hv-neue-artikel-kachel:hover { |
|||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10); |
|||
transform: translateY(-1px); |
|||
} |
|||
.hv-neue-artikel-bild { |
|||
display: block; |
|||
width: 100%; |
|||
margin-bottom: 0.5em; |
|||
overflow: hidden; |
|||
border-radius: 3px; |
|||
background: #f8f9fa; |
|||
aspect-ratio: 4 / 3; |
|||
text-decoration: none; |
|||
} |
|||
.hv-neue-artikel-bild img { |
|||
width: 100% !important; |
|||
height: 100% !important; |
|||
object-fit: cover; |
|||
display: block; |
|||
} |
|||
/* Platzhalter (Datei:Nochkeinbild.png): vollständig sichtbar |
|||
(nicht beschnitten), dezenter Hintergrund. */ |
|||
.hv-neue-artikel-bild-platzhalter { |
|||
background: #f8f9fa; |
|||
box-sizing: border-box; |
|||
} |
|||
.hv-neue-artikel-bild-platzhalter img { |
|||
object-fit: contain !important; |
|||
opacity: 0.9; |
|||
} |
|||
.hv-neue-artikel-bild-leer { |
|||
width: 100%; |
|||
height: 100%; |
|||
background: |
|||
repeating-linear-gradient( |
|||
45deg, |
|||
#f0f1f3, |
|||
#f0f1f3 10px, |
|||
#e6e8ea 10px, |
|||
#e6e8ea 20px |
|||
); |
|||
} |
|||
.hv-neue-artikel-titel { |
|||
font-weight: bold; |
|||
font-size: 1.0em; |
|||
line-height: 1.3; |
|||
margin-bottom: 0.3em; |
|||
} |
|||
.hv-neue-artikel-titel a { |
|||
color: #0645ad; |
|||
text-decoration: none; |
|||
} |
|||
.hv-neue-artikel-titel a:hover { |
|||
text-decoration: underline; |
|||
} |
|||
.hv-neue-artikel-auszug { |
|||
flex: 1 1 auto; |
|||
color: #54595d; |
|||
font-size: 0.9em; |
|||
line-height: 1.4; |
|||
margin-bottom: 0.4em; |
|||
} |
|||
.hv-neue-artikel-datum { |
|||
color: #72777d; |
|||
font-size: 0.8em; |
|||
margin-top: auto; |
|||
} |
|||
.hv-neue-artikel-leer { |
|||
color: #54595d; |
|||
font-style: italic; |
|||
padding: 0.5em; |
|||
grid-column: 1 / -1; |
|||
} |
|||
/* Schmale Bildschirme: kleinere Kacheln */ |
|||
@media (max-width: 720px) { |
|||
.hv-neue-artikel-grid { |
|||
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); |
|||
gap: 0.6em; |
|||
} |
|||
.hv-neue-artikel-kachel { |
|||
padding: 0.4em; |
|||
} |
|||
.hv-neue-artikel-titel { font-size: 0.95em; } |
|||
.hv-neue-artikel-auszug { font-size: 0.85em; } |
|||
} |
|||
/* ============================================================ |
|||
Vorlage:Zufallsbild – Bild-Karussell |
|||
============================================================ */ |
|||
.hv-bild-karussell { |
|||
position: relative; |
|||
width: 100%; |
|||
aspect-ratio: 4 / 3; |
|||
overflow: hidden; |
|||
background: #ffffff; |
|||
border-radius: 3px; |
|||
} |
|||
/* Solange noch nichts geladen ist: Platzhaltertext zentriert anzeigen. |
|||
Sobald die Klasse hv-karussell-aktiv gesetzt ist (durch das JS), |
|||
übernimmt die Karussell-Logik. */ |
|||
.hv-bild-karussell:not(.hv-karussell-aktiv) { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
color: #54595d; |
|||
font-style: italic; |
|||
aspect-ratio: auto; |
|||
min-height: 6em; |
|||
} |
|||
.hv-karussell-leer { |
|||
color: #54595d; |
|||
font-style: italic; |
|||
padding: 0.5em; |
|||
text-align: center; |
|||
} |
|||
.hv-karussell-bild { |
|||
position: absolute; |
|||
inset: 0; |
|||
opacity: 0; |
|||
transition: opacity 0.8s ease; |
|||
display: block; |
|||
pointer-events: none; |
|||
} |
|||
.hv-karussell-bild.hv-aktiv { |
|||
opacity: 1; |
|||
pointer-events: auto; |
|||
z-index: 1; |
|||
} |
|||
.hv-karussell-bild img { |
|||
width: 100%; |
|||
height: 100%; |
|||
object-fit: contain; |
|||
background: #ffffff; |
|||
display: block; |
|||
} |
|||
/* ============================================================ |
|||
Hauptseite — Konzept A (klassisch modernisiert) |
|||
Eigener Layout-Block für die Hauptseite. Alle Klassen sind mit |
|||
.hv-hs- bzw. .hv-hauptseite präfixiert, um keine Kollision mit |
|||
anderen Seiten oder Skin-Styles zu erzeugen. |
|||
============================================================ */ |
|||
.hv-hauptseite { |
|||
display: grid; |
|||
gap: 1.6em; |
|||
margin: 0; |
|||
color: #202122; |
|||
} |
|||
/* --- 1. Begrüßung & Suche --- */ |
|||
.hv-hs-intro { |
|||
display: flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
gap: 1em; |
|||
padding: 0.4em 0; |
|||
} |
|||
.hv-hs-intro-text { |
|||
max-width: 60em; |
|||
font-size: 1.05em; |
|||
line-height: 1.65; |
|||
text-align: center; |
|||
} |
|||
.hv-hs-intro-text p:last-child { |
|||
margin-bottom: 0; |
|||
} |
|||
.hv-hs-suche { |
|||
width: 100%; |
|||
display: flex; |
|||
justify-content: center; |
|||
} |
|||
/* --- 2. Karussell-Hero --- */ |
|||
.hv-hs-hero .hv-bild-karussell { |
|||
aspect-ratio: 16 / 9; |
|||
max-height: 520px; |
|||
} |
|||
/* --- 3. Themen-Portale --- */ |
|||
.hv-hs-portale { |
|||
display: grid; |
|||
grid-template-columns: repeat(7, 1fr); |
|||
gap: 0.7em; |
|||
} |
|||
.hv-hs-portal-kachel { |
|||
display: flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
text-align: center; |
|||
padding: 0.7em 0.4em; |
|||
background: #f8f9fa; |
|||
border: 1px solid transparent; |
|||
border-radius: 6px; |
|||
transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; |
|||
line-height: 1.3; |
|||
} |
|||
.hv-hs-portal-kachel:hover { |
|||
background: #eaecf0; |
|||
border-color: #c8ccd1; |
|||
transform: translateY(-1px); |
|||
} |
|||
.hv-hs-portal-kachel a { |
|||
color: #202122; |
|||
text-decoration: none; |
|||
} |
|||
.hv-hs-portal-kachel:hover a { |
|||
color: #0645ad; |
|||
} |
|||
.hv-hs-portal-kachel img { |
|||
margin-bottom: 0.5em; |
|||
} |
|||
@media (max-width: 1100px) { |
|||
.hv-hs-portale { grid-template-columns: repeat(4, 1fr); } |
|||
} |
|||
@media (max-width: 600px) { |
|||
.hv-hs-portale { grid-template-columns: repeat(2, 1fr); } |
|||
} |
|||
/* --- 4. Inhaltsbereich (zwei Spalten Karten) --- */ |
|||
.hv-hs-inhalt { |
|||
display: grid; |
|||
grid-template-columns: 1fr 1fr; |
|||
gap: 1em; |
|||
align-items: start; |
|||
} |
|||
@media (max-width: 800px) { |
|||
.hv-hs-inhalt { grid-template-columns: 1fr; } |
|||
} |
|||
.hv-hs-karte { |
|||
background: #ffffff; |
|||
border: 1px solid #e1e4e8; |
|||
border-radius: 6px; |
|||
overflow: hidden; |
|||
display: flex; |
|||
flex-direction: column; |
|||
} |
|||
/* h2 als Karten-Header — überschreibt Standard-h2-Stile innerhalb von Karten */ |
|||
.hv-hs-karte > h2 { |
|||
font-size: 1.05em; |
|||
font-weight: 600; |
|||
color: #24292f; |
|||
background: #f6f8fa; |
|||
border: 0; |
|||
border-bottom: 1px solid #e1e4e8; |
|||
margin: 0; |
|||
padding: 0.7em 1em; |
|||
} |
|||
.hv-hs-karte-inhalt { |
|||
padding: 0.9em 1em; |
|||
line-height: 1.55; |
|||
} |
|||
.hv-hs-karte-inhalt > *:last-child { |
|||
margin-bottom: 0; |
|||
} |
|||
.hv-hs-karte-inhalt h4 { |
|||
font-size: 0.95em; |
|||
margin-top: 1em; |
|||
margin-bottom: 0.3em; |
|||
color: #57606a; |
|||
} |
|||
.hv-hs-mehr { |
|||
text-align: right; |
|||
font-size: 0.9em; |
|||
margin-top: 0.6em; |
|||
} |
|||
/* --- 5. Mitglieds-CTA --- */ |
|||
.hv-hs-cta { |
|||
text-align: center; |
|||
margin: 0; |
|||
} |
|||
.hv-hs-cta-bild, |
|||
.hv-hs-cta a > img { |
|||
max-width: 100%; |
|||
height: auto; |
|||
border-radius: 6px; |
|||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); |
|||
transition: transform 0.15s ease, box-shadow 0.15s ease; |
|||
} |
|||
.hv-hs-cta a:hover > img, |
|||
.hv-hs-cta a:hover .hv-hs-cta-bild { |
|||
transform: translateY(-1px); |
|||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12); |
|||
} |
|||
/* --- 6. Statistik --- */ |
|||
.hv-hs-stats-rahmen { |
|||
text-align: center; |
|||
} |
|||
.hv-hs-stats-titel { |
|||
font-size: 0.95em; |
|||
color: #57606a; |
|||
margin-bottom: 0.5em; |
|||
} |
|||
.hv-hs-stats { |
|||
display: grid; |
|||
grid-template-columns: repeat(3, 1fr); |
|||
gap: 0.8em; |
|||
} |
|||
.hv-hs-stat { |
|||
background: #f6f8fa; |
|||
border-radius: 6px; |
|||
padding: 0.9em 0.5em; |
|||
text-align: center; |
|||
} |
|||
.hv-hs-stat-zahl { |
|||
font-size: 1.8em; |
|||
font-weight: 600; |
|||
color: #24292f; |
|||
line-height: 1.15; |
|||
} |
|||
.hv-hs-stat-label { |
|||
font-size: 0.9em; |
|||
color: #57606a; |
|||
margin-top: 0.15em; |
|||
} |
|||
.hv-hs-stat-label a { |
|||
color: inherit; |
|||
text-decoration: none; |
|||
} |
|||
.hv-hs-stat-label a:hover { |
|||
color: #0645ad; |
|||
text-decoration: underline; |
|||
} |
|||
@media (max-width: 600px) { |
|||
.hv-hs-stats { grid-template-columns: 1fr; } |
|||
} |
|||
/* --- 7. Footer (125-Jahre-Logo & Respekt-Banner) --- */ |
|||
.hv-hs-footer { |
|||
display: grid; |
|||
grid-template-columns: 1fr 1fr; |
|||
gap: 1.2em; |
|||
align-items: center; |
|||
justify-items: center; |
|||
margin-top: 0.4em; |
|||
padding-top: 1em; |
|||
border-top: 1px solid #e1e4e8; |
|||
} |
|||
.hv-hs-footer-element { |
|||
width: 100%; |
|||
text-align: center; |
|||
} |
|||
.hv-hs-footer-bild, |
|||
.hv-hs-footer-element img { |
|||
max-width: 100%; |
|||
height: auto; |
|||
max-height: 110px; |
|||
object-fit: contain; |
|||
opacity: 0.95; |
|||
} |
|||
@media (max-width: 600px) { |
|||
.hv-hs-footer { grid-template-columns: 1fr; } |
|||
} |
} |
||
Version vom 8. Mai 2026, 09:15 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
#papier640-div {
background: url("https://wiki.hv-her-wan.de/w/images/640x480papier.jpg") top center;
width: 100%;
height: 100%;
background-size: cover;
}
#papier1000-div {
background: url("https://wiki.hv-her-wan.de/w/images/1000x750papier.jpg") top center;
width: 100%;
height: 100%;
background-size: cover;
}
#zeitung1000-div {
background: url("https://wiki.hv-her-wan.de/w/images/1000x750zeitung.jpg") top center;
width: 100%;
height: 100%;
background-size: cover;
}
#zeitung600-div {
background: url("https://wiki.hv-her-wan.de/w/images/600x450zeitung.jpg") top center;
width: 100%;
height: 100%;
background-size: cover;
}
#zeitung400-div {
background: url("https://wiki.hv-her-wan.de/w/images/400x300zeitung.jpg") top center;
width: 100%;
height: 100%;
background-size: cover;
}
#urkunde1000-div {
background: url("https://wiki.hv-her-wan.de/w/images/1000x600urkunde.jpg") top center;
width: 100%;
height: 100%;
background-size: cover;
}
#urkunde1001-div {
background: url("https://wiki.hv-her-wan.de/w/images/1000x600urkunde.jpg") top center;
width: auto;
height: auto;
background-size: cover;
}
#urkunde1002-div {
background: url("https://wiki.hv-her-wan.de/w/images/1000x600urkunde.jpg");
width: auto;
height: auto;
background-size: contain;
}
#rahmen1000-div {
background: url("https://wiki.hv-her-wan.de/w/images/1000x200rahmen.jpg");
width: 100%;
height: 100%;
background-size: contain;
}
#papier1200-div {
background: url("https://wiki.hv-her-wan.de/w/images/papier1200.jpg");
width: 100%;
height: 100%;
background-size: contain;
}
#strasse-div {
background: url("https://wiki.hv-her-wan.de/w/images/Strasse-Hintergrund.jpg");
width: auto;
height: auto;
background-size: cover;
}
#hus-div {
background: url("http://wiki.hv-her-wan.de/w/images/hus_papier.jpg");
width: auto;
height: auto;
background-size: cover;
}
#sr-div {
background: url("https://wiki.hv-her-wan.de/w/images/SR1000.jpg");
width: auto;
height: auto;
background-size: auto;
}
#rand-div {
background: url("https://wiki.hv-her-wan.de/w/images/Rand.png");
width: auto;
height: auto;
background-size: cover;
background-color:#efd3ac;
}
#dgb1-div {
background: url("https://wiki.hv-her-wan.de/w/images/DGB_Geschichtswerkstatt_Herne-kl_Logo25trans.png");
width: auto;
height: auto;
background-size: contain;
background-repeat: repeat;
}
#monno-div {
background: url("https://wiki.hv-her-wan.de/w/images/monno-hg-papier.jpg");
width: auto;
height: auto;
background-size: auto;
}
#haus-div {
background: url("https://wiki.hv-her-wan.de/w/images/Hausnummrt.png");
width: 55px;
height: 25px;
background-size: cover;
}
#strassenschild-div {
background: url("https://wiki.hv-her-wan.de/w/images/Strassenschildvorlage.png");
width: auto;
height: auto;
background-size: cover;
}
#buch-div {
background: url("https://wiki.hv-her-wan.de/w/images/Buch.jpeg");
width: auto;
height: auto;
background-size: auto;
}
#gerd1-div {
background: url("https://wiki.hv-her-wan.de/w/images/blattgerda4.png");
width: auto;
height: auto;
background-size: cover;
}
#hsch-div {
background: url("https://wiki.hv-her-wan.de/w/images/Heinzschaeferhg.jpeg");
width: auto;
height: auto;
background-size: cover;
}
/* ============================================================
Vorlage:Hauptseite/Neue Artikel
Kachel-Layout für die letzten 20 neu erstellten Seiten
Bitte als Ergänzung in MediaWiki:Common.css einfügen
============================================================ */
.hv-neue-artikel-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 1em;
margin: 0.5em 0 1em 0;
}
.hv-neue-artikel-kachel {
display: flex;
flex-direction: column;
background: #ffffff;
border: 1px solid #c8ccd1;
border-radius: 4px;
padding: 0.6em;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
transition: box-shadow 0.15s ease, transform 0.15s ease;
overflow: hidden;
}
.hv-neue-artikel-kachel:hover {
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
transform: translateY(-1px);
}
.hv-neue-artikel-bild {
display: block;
width: 100%;
margin-bottom: 0.5em;
overflow: hidden;
border-radius: 3px;
background: #f8f9fa;
aspect-ratio: 4 / 3;
text-decoration: none;
}
.hv-neue-artikel-bild img {
width: 100% !important;
height: 100% !important;
object-fit: cover;
display: block;
}
/* Platzhalter (Datei:Nochkeinbild.png): vollständig sichtbar
(nicht beschnitten), dezenter Hintergrund. */
.hv-neue-artikel-bild-platzhalter {
background: #f8f9fa;
box-sizing: border-box;
}
.hv-neue-artikel-bild-platzhalter img {
object-fit: contain !important;
opacity: 0.9;
}
.hv-neue-artikel-bild-leer {
width: 100%;
height: 100%;
background:
repeating-linear-gradient(
45deg,
#f0f1f3,
#f0f1f3 10px,
#e6e8ea 10px,
#e6e8ea 20px
);
}
.hv-neue-artikel-titel {
font-weight: bold;
font-size: 1.0em;
line-height: 1.3;
margin-bottom: 0.3em;
}
.hv-neue-artikel-titel a {
color: #0645ad;
text-decoration: none;
}
.hv-neue-artikel-titel a:hover {
text-decoration: underline;
}
.hv-neue-artikel-auszug {
flex: 1 1 auto;
color: #54595d;
font-size: 0.9em;
line-height: 1.4;
margin-bottom: 0.4em;
}
.hv-neue-artikel-datum {
color: #72777d;
font-size: 0.8em;
margin-top: auto;
}
.hv-neue-artikel-leer {
color: #54595d;
font-style: italic;
padding: 0.5em;
grid-column: 1 / -1;
}
/* Schmale Bildschirme: kleinere Kacheln */
@media (max-width: 720px) {
.hv-neue-artikel-grid {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 0.6em;
}
.hv-neue-artikel-kachel {
padding: 0.4em;
}
.hv-neue-artikel-titel { font-size: 0.95em; }
.hv-neue-artikel-auszug { font-size: 0.85em; }
}
/* ============================================================
Vorlage:Zufallsbild – Bild-Karussell
============================================================ */
.hv-bild-karussell {
position: relative;
width: 100%;
aspect-ratio: 4 / 3;
overflow: hidden;
background: #ffffff;
border-radius: 3px;
}
/* Solange noch nichts geladen ist: Platzhaltertext zentriert anzeigen.
Sobald die Klasse hv-karussell-aktiv gesetzt ist (durch das JS),
übernimmt die Karussell-Logik. */
.hv-bild-karussell:not(.hv-karussell-aktiv) {
display: flex;
align-items: center;
justify-content: center;
color: #54595d;
font-style: italic;
aspect-ratio: auto;
min-height: 6em;
}
.hv-karussell-leer {
color: #54595d;
font-style: italic;
padding: 0.5em;
text-align: center;
}
.hv-karussell-bild {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.8s ease;
display: block;
pointer-events: none;
}
.hv-karussell-bild.hv-aktiv {
opacity: 1;
pointer-events: auto;
z-index: 1;
}
.hv-karussell-bild img {
width: 100%;
height: 100%;
object-fit: contain;
background: #ffffff;
display: block;
}
/* ============================================================
Vorlage:Hauptseite/Neue Artikel
Kachel-Layout für die letzten 20 neu erstellten Seiten
Bitte als Ergänzung in MediaWiki:Common.css einfügen
============================================================ */
.hv-neue-artikel-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 1em;
margin: 0.5em 0 1em 0;
}
.hv-neue-artikel-kachel {
display: flex;
flex-direction: column;
background: #ffffff;
border: 1px solid #c8ccd1;
border-radius: 4px;
padding: 0.6em;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
transition: box-shadow 0.15s ease, transform 0.15s ease;
overflow: hidden;
}
.hv-neue-artikel-kachel:hover {
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
transform: translateY(-1px);
}
.hv-neue-artikel-bild {
display: block;
width: 100%;
margin-bottom: 0.5em;
overflow: hidden;
border-radius: 3px;
background: #f8f9fa;
aspect-ratio: 4 / 3;
text-decoration: none;
}
.hv-neue-artikel-bild img {
width: 100% !important;
height: 100% !important;
object-fit: cover;
display: block;
}
/* Platzhalter (Datei:Nochkeinbild.png): vollständig sichtbar
(nicht beschnitten), dezenter Hintergrund. */
.hv-neue-artikel-bild-platzhalter {
background: #f8f9fa;
box-sizing: border-box;
}
.hv-neue-artikel-bild-platzhalter img {
object-fit: contain !important;
opacity: 0.9;
}
.hv-neue-artikel-bild-leer {
width: 100%;
height: 100%;
background:
repeating-linear-gradient(
45deg,
#f0f1f3,
#f0f1f3 10px,
#e6e8ea 10px,
#e6e8ea 20px
);
}
.hv-neue-artikel-titel {
font-weight: bold;
font-size: 1.0em;
line-height: 1.3;
margin-bottom: 0.3em;
}
.hv-neue-artikel-titel a {
color: #0645ad;
text-decoration: none;
}
.hv-neue-artikel-titel a:hover {
text-decoration: underline;
}
.hv-neue-artikel-auszug {
flex: 1 1 auto;
color: #54595d;
font-size: 0.9em;
line-height: 1.4;
margin-bottom: 0.4em;
}
.hv-neue-artikel-datum {
color: #72777d;
font-size: 0.8em;
margin-top: auto;
}
.hv-neue-artikel-leer {
color: #54595d;
font-style: italic;
padding: 0.5em;
grid-column: 1 / -1;
}
/* Schmale Bildschirme: kleinere Kacheln */
@media (max-width: 720px) {
.hv-neue-artikel-grid {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 0.6em;
}
.hv-neue-artikel-kachel {
padding: 0.4em;
}
.hv-neue-artikel-titel { font-size: 0.95em; }
.hv-neue-artikel-auszug { font-size: 0.85em; }
}
/* ============================================================
Vorlage:Zufallsbild – Bild-Karussell
============================================================ */
.hv-bild-karussell {
position: relative;
width: 100%;
aspect-ratio: 4 / 3;
overflow: hidden;
background: #ffffff;
border-radius: 3px;
}
/* Solange noch nichts geladen ist: Platzhaltertext zentriert anzeigen.
Sobald die Klasse hv-karussell-aktiv gesetzt ist (durch das JS),
übernimmt die Karussell-Logik. */
.hv-bild-karussell:not(.hv-karussell-aktiv) {
display: flex;
align-items: center;
justify-content: center;
color: #54595d;
font-style: italic;
aspect-ratio: auto;
min-height: 6em;
}
.hv-karussell-leer {
color: #54595d;
font-style: italic;
padding: 0.5em;
text-align: center;
}
.hv-karussell-bild {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.8s ease;
display: block;
pointer-events: none;
}
.hv-karussell-bild.hv-aktiv {
opacity: 1;
pointer-events: auto;
z-index: 1;
}
.hv-karussell-bild img {
width: 100%;
height: 100%;
object-fit: contain;
background: #ffffff;
display: block;
}
/* ============================================================
Hauptseite — Konzept A (klassisch modernisiert)
Eigener Layout-Block für die Hauptseite. Alle Klassen sind mit
.hv-hs- bzw. .hv-hauptseite präfixiert, um keine Kollision mit
anderen Seiten oder Skin-Styles zu erzeugen.
============================================================ */
.hv-hauptseite {
display: grid;
gap: 1.6em;
margin: 0;
color: #202122;
}
/* --- 1. Begrüßung & Suche --- */
.hv-hs-intro {
display: flex;
flex-direction: column;
align-items: center;
gap: 1em;
padding: 0.4em 0;
}
.hv-hs-intro-text {
max-width: 60em;
font-size: 1.05em;
line-height: 1.65;
text-align: center;
}
.hv-hs-intro-text p:last-child {
margin-bottom: 0;
}
.hv-hs-suche {
width: 100%;
display: flex;
justify-content: center;
}
/* --- 2. Karussell-Hero --- */
.hv-hs-hero .hv-bild-karussell {
aspect-ratio: 16 / 9;
max-height: 520px;
}
/* --- 3. Themen-Portale --- */
.hv-hs-portale {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 0.7em;
}
.hv-hs-portal-kachel {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 0.7em 0.4em;
background: #f8f9fa;
border: 1px solid transparent;
border-radius: 6px;
transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
line-height: 1.3;
}
.hv-hs-portal-kachel:hover {
background: #eaecf0;
border-color: #c8ccd1;
transform: translateY(-1px);
}
.hv-hs-portal-kachel a {
color: #202122;
text-decoration: none;
}
.hv-hs-portal-kachel:hover a {
color: #0645ad;
}
.hv-hs-portal-kachel img {
margin-bottom: 0.5em;
}
@media (max-width: 1100px) {
.hv-hs-portale { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
.hv-hs-portale { grid-template-columns: repeat(2, 1fr); }
}
/* --- 4. Inhaltsbereich (zwei Spalten Karten) --- */
.hv-hs-inhalt {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1em;
align-items: start;
}
@media (max-width: 800px) {
.hv-hs-inhalt { grid-template-columns: 1fr; }
}
.hv-hs-karte {
background: #ffffff;
border: 1px solid #e1e4e8;
border-radius: 6px;
overflow: hidden;
display: flex;
flex-direction: column;
}
/* h2 als Karten-Header — überschreibt Standard-h2-Stile innerhalb von Karten */
.hv-hs-karte > h2 {
font-size: 1.05em;
font-weight: 600;
color: #24292f;
background: #f6f8fa;
border: 0;
border-bottom: 1px solid #e1e4e8;
margin: 0;
padding: 0.7em 1em;
}
.hv-hs-karte-inhalt {
padding: 0.9em 1em;
line-height: 1.55;
}
.hv-hs-karte-inhalt > *:last-child {
margin-bottom: 0;
}
.hv-hs-karte-inhalt h4 {
font-size: 0.95em;
margin-top: 1em;
margin-bottom: 0.3em;
color: #57606a;
}
.hv-hs-mehr {
text-align: right;
font-size: 0.9em;
margin-top: 0.6em;
}
/* --- 5. Mitglieds-CTA --- */
.hv-hs-cta {
text-align: center;
margin: 0;
}
.hv-hs-cta-bild,
.hv-hs-cta a > img {
max-width: 100%;
height: auto;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hv-hs-cta a:hover > img,
.hv-hs-cta a:hover .hv-hs-cta-bild {
transform: translateY(-1px);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
/* --- 6. Statistik --- */
.hv-hs-stats-rahmen {
text-align: center;
}
.hv-hs-stats-titel {
font-size: 0.95em;
color: #57606a;
margin-bottom: 0.5em;
}
.hv-hs-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.8em;
}
.hv-hs-stat {
background: #f6f8fa;
border-radius: 6px;
padding: 0.9em 0.5em;
text-align: center;
}
.hv-hs-stat-zahl {
font-size: 1.8em;
font-weight: 600;
color: #24292f;
line-height: 1.15;
}
.hv-hs-stat-label {
font-size: 0.9em;
color: #57606a;
margin-top: 0.15em;
}
.hv-hs-stat-label a {
color: inherit;
text-decoration: none;
}
.hv-hs-stat-label a:hover {
color: #0645ad;
text-decoration: underline;
}
@media (max-width: 600px) {
.hv-hs-stats { grid-template-columns: 1fr; }
}
/* --- 7. Footer (125-Jahre-Logo & Respekt-Banner) --- */
.hv-hs-footer {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.2em;
align-items: center;
justify-items: center;
margin-top: 0.4em;
padding-top: 1em;
border-top: 1px solid #e1e4e8;
}
.hv-hs-footer-element {
width: 100%;
text-align: center;
}
.hv-hs-footer-bild,
.hv-hs-footer-element img {
max-width: 100%;
height: auto;
max-height: 110px;
object-fit: contain;
opacity: 0.95;
}
@media (max-width: 600px) {
.hv-hs-footer { grid-template-columns: 1fr; }
}
