Vorlage:Infobox Band/styles.css
Aus Hist. Verein Herne / Wanne-Eickel
/* ===========================================================
TemplateStyles für Vorlage:Infobox Band
Speichern unter: Vorlage:Infobox Band/styles.css
Aufgerufen aus: Vorlage:Infobox Band
=========================================================== */
.ibband {
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 in Stahlblau ---------- */
.ibband__header {
background: #5775a8; /* Stahlblau – Markenfarbe für Bands */
color: #ffffff;
font-weight: 500;
text-align: center;
padding: 11px 12px;
font-size: 17px;
letter-spacing: 0.02em;
}
/* ---------- Logo / Bild / Logo unten ---------- */
.ibband__media {
background: #f6f4ec;
padding: 14px;
text-align: center;
border-bottom: 1px solid #f1efe8;
}
.ibband__media a,
.ibband__media img {
display: inline-block;
max-width: 100%;
height: auto;
}
.ibband__caption {
margin-top: 6px;
font-size: 13px;
color: #6b6b66;
font-style: italic;
}
.ibband__logo-bottom {
background: #f6f4ec;
padding: 14px;
text-align: center;
border-top: 1px solid #f1efe8;
margin-top: 12px;
}
/* ---------- Body ---------- */
.ibband__body {
padding: 14px 16px 12px;
}
/* ---------- Sektion-Header ---------- */
.ibband__section {
background: #5775a8;
color: #ffffff;
font-weight: 500;
text-align: center;
padding: 7px 12px;
font-size: 14px;
letter-spacing: 0.02em;
margin: 14px -16px 0; /* zieht den Header bis zum Box-Rand */
}
.ibband__section:first-child {
margin-top: 0;
}
/* ---------- Allgemeine Daten ---------- */
.ibband__data {
margin-top: 4px;
}
.ibband__row {
display: flex;
gap: 12px;
padding: 7px 0;
border-bottom: 1px solid #f7f5ee;
align-items: flex-start;
}
.ibband__row:last-child {
border-bottom: none;
}
.ibband__label {
flex: 0 0 110px;
color: #888780;
font-size: 13px;
font-weight: 500;
}
.ibband__value {
flex: 1 1 auto;
color: #2c2c2a;
font-size: 14px;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* ---------- Mitgliederliste ---------- */
.ibband__members {
margin-top: 4px;
}
.ibband__members-text {
padding: 8px 0 4px;
font-size: 14px;
color: #2c2c2a;
text-align: center;
border-bottom: 1px solid #f7f5ee;
}
.ibband__members-text:last-child {
border-bottom: none;
}
.ibband__member {
display: flex;
gap: 12px;
padding: 6px 0;
border-bottom: 1px solid #f7f5ee;
align-items: baseline;
}
.ibband__member:last-child {
border-bottom: none;
}
.ibband__role {
flex: 0 0 110px;
font-size: 13px;
color: #5f5e5a;
background: #f1efe8;
padding: 2px 8px;
border-radius: 4px;
text-align: center;
align-self: center;
}
.ibband__person {
flex: 1 1 auto;
font-size: 14px;
color: #2c2c2a;
font-weight: 500;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* ---------- Footer ---------- */
.ibband__footer {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 6px;
margin-top: 14px;
padding-top: 8px;
border-top: 1px solid #f1efe8;
font-size: 12px;
color: #aaa9a3;
}
.ibband__footer a,
.ibband__footer a:visited {
color: #888780;
}
/* ---------- Responsive ---------- */
@media ( max-width: 720px ) {
.ibband {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
.ibband__label,
.ibband__role {
flex: 0 0 90px;
}
}
/* ---------- Druckansicht ---------- */
@media print {
.ibband {
box-shadow: none;
border: 1px solid #ccc;
break-inside: avoid;
}
.ibband__footer {
display: none;
}
}
/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
.ibband {
background: #2c2c2a;
border-color: #444441;
box-shadow: none;
}
.ibband__header,
.ibband__section { background: #3a4f72; color: #ffffff; }
.ibband__media,
.ibband__logo-bottom { background: #1f1f1d; border-color: #444441; }
.ibband__caption { color: #b4b2a9; }
.ibband__value,
.ibband__person,
.ibband__members-text { color: #f1efe8; }
.ibband__label { color: #b4b2a9; }
.ibband__row,
.ibband__member,
.ibband__members-text,
.ibband__footer { border-color: #38383640; }
.ibband__role { background: #444441; color: #f1efe8; }
}
