Vorlage:Infobox vorort/styles.css
Aus Hist. Verein Herne / Wanne-Eickel
/* ===========================================================
TemplateStyles für Vorlage:Infobox vorort
Speichern unter: Vorlage:Infobox vorort/styles.css
Aufgerufen aus: Vorlage:Infobox vorort
=========================================================== */
.ibvor {
float: left;
clear: left;
width: 420px;
max-width: 100%;
margin: 0 1.2em 1.2em 0;
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: schwarz / weiß / Courier (vorort-Markenidentität) ---------- */
.ibvor__header {
background: #000000;
color: #ffffff;
text-align: center;
padding: 12px 12px 10px;
font-family: "Courier New", Courier, monospace;
}
.ibvor__brand {
font-size: 14px;
font-weight: 700;
text-transform: lowercase; /* "vorort" wird klein geschrieben (Markenname) */
letter-spacing: 0.06em;
}
.ibvor__title {
font-size: 18px;
font-weight: 400;
color: #ffffff;
margin-top: 4px;
font-family: "Courier New", Courier, monospace;
}
/* ---------- Cover-Hero ---------- */
.ibvor__hero {
background: #f6f4ec;
padding: 18px;
text-align: center;
}
.ibvor__hero a,
.ibvor__hero img {
display: inline-block;
max-width: 100%;
height: auto;
}
.ibvor__hero img {
box-shadow: 0 4px 12px rgba( 0, 0, 0, 0.18 ), 0 1px 3px rgba( 0, 0, 0, 0.1 );
}
/* ---------- Body ---------- */
.ibvor__body {
padding: 14px 16px 12px;
}
/* ---------- Badges ---------- */
.ibvor__badges {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 0 0 14px;
}
.ibvor__badge {
display: inline-block;
font-size: 13px;
font-weight: 500;
padding: 3px 11px;
border-radius: 999px;
line-height: 1.4;
white-space: nowrap;
cursor: help;
}
.ibvor__badge--ausgabe {
background: #2c2c2a;
color: #f1efe8;
}
.ibvor__badge--jahrgang,
.ibvor__badge--seiten {
background: #F1EFE8;
color: #444441;
}
/* ---------- Inhalts-Block ---------- */
.ibvor__content {
border-top: 1px solid #f1efe8;
padding-top: 10px;
}
.ibvor__content-label {
font-size: 12px;
color: #888780;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 8px;
}
.ibvor__content-body {
font-size: 14px;
color: #2c2c2a;
line-height: 1.55;
}
.ibvor__content-body ul {
list-style: none;
padding: 0;
margin: 0;
}
.ibvor__content-body li {
padding: 5px 0;
border-bottom: 1px solid #f7f5ee;
}
.ibvor__content-body li:last-child {
border-bottom: none;
}
.ibvor__content-body p {
margin: 0 0 0.5em;
}
/* ---------- Footer ---------- */
.ibvor__footer {
margin-top: 12px;
padding-top: 8px;
border-top: 1px solid #f1efe8;
font-size: 12px;
color: #aaa9a3;
text-align: right;
}
/* ---------- Responsive ---------- */
@media ( max-width: 720px ) {
.ibvor {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
}
/* ---------- Druckansicht ---------- */
@media print {
.ibvor {
box-shadow: none;
border: 1px solid #ccc;
break-inside: avoid;
}
.ibvor__hero img {
box-shadow: none;
}
.ibvor__footer {
display: none;
}
}
/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
.ibvor {
background: #2c2c2a;
border-color: #444441;
box-shadow: none;
}
.ibvor__hero { background: #1f1f1d; }
.ibvor__content-body { color: #f1efe8; }
.ibvor__content,
.ibvor__footer { border-color: #444441; }
.ibvor__content-label { color: #b4b2a9; }
.ibvor__content-body li { border-bottom-color: #38383640; }
.ibvor__badge--ausgabe { background: #f1efe8; color: #2c2c2a; }
.ibvor__badge--jahrgang,
.ibvor__badge--seiten { background: #444441; color: #f1efe8; }
/* Header bleibt absichtlich schwarz/weiß/courier – Markenidentität von vorort. */
}
