Vorlage:Infobox Verein/styles.css
Aus Hist. Verein Herne / Wanne-Eickel
/* ===========================================================
TemplateStyles für Vorlage:Infobox Verein
Speichern unter: Vorlage:Infobox Verein/styles.css
Aufgerufen aus: Vorlage:Infobox Verein
=========================================================== */
.ibver {
float: right;
clear: right;
width: 360px;
max-width: 100%;
margin: 0 0 1.2em 1.2em;
background: #ffffff;
border: 1px solid #e0e0d8;
border-radius: 12px;
box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.06 );
overflow: hidden;
font-size: 15px;
line-height: 1.55;
font-family: sans-serif;
}
/* ---------- Kopfzeile ---------- */
.ibver__header {
background: #3674b8; /* gedämpftes Vereinsblau */
color: #ffffff;
font-weight: 500;
text-align: center;
padding: 11px 12px;
font-size: 16px;
letter-spacing: 0.02em;
}
/* ---------- Logo-Hero ---------- */
.ibver__hero {
background: #f6f4ec;
padding: 18px;
text-align: center;
}
.ibver__hero a,
.ibver__hero img {
display: inline-block;
max-width: 100%;
height: auto;
}
/* ---------- Body ---------- */
.ibver__body {
padding: 14px 16px 12px;
}
/* ---------- Vereinsfarben ---------- */
.ibver__colors {
margin: 0 0 14px;
padding: 8px 12px;
background: #faf8f1;
border-radius: 8px;
border: 1px solid #f1efe8;
}
.ibver__colors-label {
display: block;
font-size: 12px;
color: #888780;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 6px;
}
.ibver__colors-row {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.ibver__chip {
display: inline-block;
width: 22px;
height: 22px;
border-radius: 50%;
border: 1px solid rgba( 0, 0, 0, 0.12 );
flex: 0 0 22px;
}
.ibver__colors-text {
font-size: 13px;
color: #5f5e5a;
margin-left: 4px;
}
/* ---------- Datenzeilen ---------- */
.ibver__data {
border-top: 1px solid #f1efe8;
padding-top: 8px;
margin-top: 4px;
}
.ibver__row {
display: flex;
gap: 10px;
align-items: flex-start;
padding: 7px 0;
border-bottom: 1px solid #f7f5ee;
}
.ibver__row:last-child {
border-bottom: none;
}
.ibver__icon {
flex: 0 0 22px;
font-size: 15px;
line-height: 1.5;
text-align: center;
color: #888780;
user-select: none;
}
.ibver__field {
flex: 1 1 auto;
min-width: 0;
}
.ibver__label {
display: block;
color: #888780;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 1px;
}
.ibver__value {
font-weight: 500;
color: #2c2c2a;
font-size: 15px;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* ---------- Karte ---------- */
.ibver__map {
margin: 14px 0 0;
border-radius: 8px;
overflow: hidden;
border: 1px solid #f1efe8;
}
.ibver__map .maps-leaflet,
.ibver__map .maps-googlemaps3 {
border-radius: 8px;
}
/* ---------- Optionales Vereinsfoto ---------- */
.ibver__photo {
margin: 14px 0 0;
text-align: center;
}
.ibver__photo img {
max-width: 100%;
height: auto;
border-radius: 6px;
}
.ibver__photo-caption {
margin-top: 6px;
font-size: 12px;
color: #6b6b66;
font-style: italic;
}
/* ---------- Footer ---------- */
.ibver__footer {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 6px;
margin-top: 12px;
padding-top: 8px;
border-top: 1px solid #f1efe8;
font-size: 12px;
color: #aaa9a3;
}
.ibver__footer a,
.ibver__footer a:visited {
color: #888780;
}
.ibver__stand {
color: #888780;
}
/* ---------- Responsive ---------- */
@media ( max-width: 720px ) {
.ibver {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
}
/* ---------- Druckansicht ---------- */
@media print {
.ibver {
box-shadow: none;
border: 1px solid #ccc;
break-inside: avoid;
}
.ibver__map,
.ibver__footer {
display: none;
}
}
/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
.ibver {
background: #2c2c2a;
border-color: #444441;
box-shadow: none;
}
.ibver__header { background: #1f4a7a; color: #ffffff; }
.ibver__hero { background: #1f1f1d; }
.ibver__colors { background: #232321; border-color: #444441; }
.ibver__colors-label,
.ibver__colors-text,
.ibver__label,
.ibver__photo-caption { color: #b4b2a9; }
.ibver__value { color: #f1efe8; }
.ibver__data,
.ibver__map,
.ibver__footer { border-color: #444441; }
.ibver__row { border-bottom-color: #38383640; }
.ibver__chip { border-color: rgba( 255, 255, 255, 0.18 ); }
}
