Vorlage:Infobox Bote/styles.css
Aus Hist. Verein Herne / Wanne-Eickel
/* ===========================================================
TemplateStyles für Vorlage:Infobox Bote
Speichern unter: Vorlage:Infobox Bote/styles.css
Aufgerufen aus: Vorlage:Infobox Bote
=========================================================== */
.ibbote {
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 mit Bote-Orange ---------- */
.ibbote__header {
background: #D64F1B; /* Bote-Orange */
color: #FFD9A8;
text-align: center;
padding: 12px 12px 10px;
letter-spacing: 0.02em;
}
.ibbote__brand {
font-size: 13px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.08em;
opacity: 0.9;
}
.ibbote__title {
font-size: 20px;
font-weight: 500;
color: #ffffff;
margin-top: 2px;
}
/* ---------- Cover-Hero ---------- */
.ibbote__hero {
background: #f6f4ec;
padding: 18px;
text-align: center;
}
.ibbote__hero a,
.ibbote__hero img {
display: inline-block;
max-width: 100%;
height: auto;
}
.ibbote__hero img {
box-shadow: 0 4px 12px rgba( 0, 0, 0, 0.18 ), 0 1px 3px rgba( 0, 0, 0, 0.1 );
}
/* ---------- Body ---------- */
.ibbote__body {
padding: 14px 16px 12px;
}
/* ---------- Badges ---------- */
.ibbote__badges {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 0 0 14px;
}
.ibbote__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;
}
.ibbote__badge--ausgabe {
background: #FAEEDA;
color: #633806;
}
.ibbote__badge--jahrgang,
.ibbote__badge--seiten {
background: #F1EFE8;
color: #444441;
}
/* ---------- Inhalts-Block ---------- */
.ibbote__content {
border-top: 1px solid #f1efe8;
padding-top: 10px;
}
.ibbote__content-label {
font-size: 12px;
color: #888780;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 8px;
}
.ibbote__content-body {
font-size: 14px;
color: #2c2c2a;
line-height: 1.55;
}
/* Listen-Darstellung, falls "Inhalt" mit * formatiert ist */
.ibbote__content-body ul {
list-style: none;
padding: 0;
margin: 0;
}
.ibbote__content-body li {
padding: 5px 0;
border-bottom: 1px solid #f7f5ee;
}
.ibbote__content-body li:last-child {
border-bottom: none;
}
/* Fließtext-Darstellung, falls "Inhalt" reiner Text ist */
.ibbote__content-body p {
margin: 0 0 0.5em;
}
/* ---------- Footer ---------- */
.ibbote__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 ) {
.ibbote {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
}
/* ---------- Druckansicht ---------- */
@media print {
.ibbote {
box-shadow: none;
border: 1px solid #ccc;
break-inside: avoid;
}
.ibbote__hero img {
box-shadow: none;
}
.ibbote__footer {
display: none;
}
}
/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
.ibbote {
background: #2c2c2a;
border-color: #444441;
box-shadow: none;
}
.ibbote__hero { background: #1f1f1d; }
.ibbote__content-body { color: #f1efe8; }
.ibbote__content,
.ibbote__footer { border-color: #444441; }
.ibbote__content-label { color: #b4b2a9; }
.ibbote__content-body li { border-bottom-color: #38383640; }
.ibbote__badge--ausgabe { background: #854f0b; color: #faeeda; }
.ibbote__badge--jahrgang,
.ibbote__badge--seiten { background: #444441; color: #f1efe8; }
/* Header bleibt absichtlich orange – Markenfarbe. */
}
