Vorlage:Infobox Veranstaltung/styles.css

Aus Hist. Verein Herne / Wanne-Eickel e. V.
/* ===========================================================
   TemplateStyles für Vorlage:Infobox Veranstaltung
   Speichern unter:  Vorlage:Infobox Veranstaltung/styles.css
   Aufgerufen aus:   Vorlage:Infobox Veranstaltung
   =========================================================== */

.ibvst {
	float: right;
	clear: right;
	width: 420px;
	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 Goldenrod ---------- */
.ibvst__header {
	background: #c9a437;             /* Goldenrod – elegantes Event-Gold */
	color: #3a2818;
	font-weight: 500;
	text-align: center;
	padding: 11px 12px;
	font-size: 16px;
	letter-spacing: 0.02em;
}

/* ---------- Hero-Bild ---------- */
.ibvst__hero {
	background: #f6f4ec;
	padding: 0;
	margin: 0;
	text-align: center;
}
.ibvst__hero a,
.ibvst__hero img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.ibvst__caption {
	padding: 8px 16px;
	font-size: 13px;
	color: #6b6b66;
	font-style: italic;
	background: #faf8f1;
	border-bottom: 1px solid #f1efe8;
}

/* ---------- Body ---------- */
.ibvst__body {
	padding: 14px 16px 12px;
}

.ibvst__lead {
	font-size: 14px;
	color: #5f5e5a;
	margin: 0 0 12px;
	line-height: 1.55;
}

/* ---------- Datenzeilen ---------- */
.ibvst__data {
	border-top: 1px solid #f1efe8;
	padding-top: 8px;
	margin-top: 4px;
}
.ibvst__row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 7px 0;
	border-bottom: 1px solid #f7f5ee;
}
.ibvst__row:last-child {
	border-bottom: none;
}
.ibvst__icon {
	flex: 0 0 22px;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	color: #888780;
	user-select: none;
}
.ibvst__field {
	flex: 1 1 auto;
	min-width: 0;
}
.ibvst__label {
	display: block;
	color: #888780;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 1px;
}
.ibvst__value {
	font-weight: 500;
	color: #2c2c2a;
	font-size: 15px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* ---------- Footer ---------- */
.ibvst__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;
}
.ibvst__footer a,
.ibvst__footer a:visited {
	color: #888780;
}

/* ---------- Responsive ---------- */
@media ( max-width: 720px ) {
	.ibvst {
		float: none;
		width: 100%;
		margin: 0 0 1em 0;
	}
}

/* ---------- Druckansicht ---------- */
@media print {
	.ibvst {
		box-shadow: none;
		border: 1px solid #ccc;
		break-inside: avoid;
	}
	.ibvst__footer {
		display: none;
	}
}

/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
	.ibvst {
		background: #2c2c2a;
		border-color: #444441;
		box-shadow: none;
	}
	.ibvst__header { background: #7a6320; color: #f5e8c4; }
	.ibvst__hero { background: #1f1f1d; }
	.ibvst__caption { background: #232321; color: #b4b2a9; border-color: #444441; }
	.ibvst__lead { color: #d3d1c7; }
	.ibvst__value { color: #f1efe8; }
	.ibvst__label { color: #b4b2a9; }
	.ibvst__data,
	.ibvst__footer { border-color: #444441; }
	.ibvst__row { border-bottom-color: #38383640; }
}