Vorlage:Infobox Autor/styles.css
Aus Hist. Verein Herne / Wanne-Eickel
/* ===========================================================
TemplateStyles für Vorlage:Infobox Autor
Speichern unter: Vorlage:Infobox Autor/styles.css
Aufgerufen aus: Vorlage:Infobox Autor
=========================================================== */
.ibaut {
float: right;
clear: right;
width: 300px;
max-width: 100%;
margin: 0 0 1em 1em;
background: #ffffff;
border: 1px solid #e0e0d8;
border-radius: 12px;
box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.06 );
overflow: hidden;
font-size: 14px;
line-height: 1.5;
font-family: sans-serif;
}
/* ---------- Kopfzeile in Lightsteelblue ---------- */
.ibaut__header {
background: lightsteelblue; /* #B0C4DE – heller Hintergrund, damit Wiki-Links (blau & rot) lesbar bleiben */
color: #1f3d6b;
text-align: center;
padding: 10px 12px;
}
.ibaut__name {
font-size: 15px;
font-weight: 500;
color: #1f3d6b;
letter-spacing: 0.02em;
line-height: 1.3;
}
.ibaut__short {
font-size: 12px;
font-weight: 400;
margin-top: 2px;
opacity: 0.85;
}
/* ---------- Foto-Hero ---------- */
.ibaut__hero {
background: #f6f4ec;
padding: 14px;
text-align: center;
border-bottom: 1px solid #f1efe8;
}
.ibaut__hero a,
.ibaut__hero img {
display: inline-block;
max-width: 100%;
height: auto;
}
/* ---------- Body ---------- */
.ibaut__body {
padding: 12px 14px 10px;
}
/* ---------- Datenzeilen ---------- */
.ibaut__data {
margin-top: 2px;
}
.ibaut__row {
display: flex;
gap: 10px;
align-items: flex-start;
padding: 6px 0;
border-bottom: 1px solid #f7f5ee;
}
.ibaut__row:last-child {
border-bottom: none;
}
.ibaut__icon {
flex: 0 0 20px;
font-size: 14px;
line-height: 1.5;
text-align: center;
color: #888780;
user-select: none;
}
.ibaut__field {
flex: 1 1 auto;
min-width: 0;
}
.ibaut__label {
display: block;
color: #888780;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 1px;
}
.ibaut__value {
font-weight: 500;
color: #2c2c2a;
font-size: 14px;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* ---------- Responsive ---------- */
@media ( max-width: 720px ) {
.ibaut {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
}
/* ---------- Druckansicht ---------- */
@media print {
.ibaut {
box-shadow: none;
border: 1px solid #ccc;
break-inside: avoid;
}
}
/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
.ibaut {
background: #2c2c2a;
border-color: #444441;
box-shadow: none;
}
.ibaut__header { background: #6e89b3; color: #f0f4fa; }
.ibaut__name { color: #f0f4fa; }
.ibaut__hero { background: #1f1f1d; border-color: #444441; }
.ibaut__value { color: #f1efe8; }
.ibaut__label { color: #b4b2a9; }
.ibaut__row { border-bottom-color: #38383640; }
}
