Vorlage:Person/styles.css: Unterschied zwischen den Versionen

Aus Hist. Verein Herne / Wanne-Eickel
Inhalt gelöscht Inhalt hinzugefügt
Die Seite wurde neu angelegt: „=========================================================== TemplateStyles für Vorlage:Person Speichern unter: Vorlage:Person/styles.css Aufgerufen aus: Vorlage:Person ===========================================================: .ibper { 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,…“
 
KKeine Bearbeitungszusammenfassung
 
Zeile 23: Zeile 23:
/* ---------- Kopfzeile in warmem Sepia ---------- */
/* ---------- Kopfzeile in warmem Sepia ---------- */
.ibper__header {
.ibper__header {
background: #7a5a48; /* Sepia/Mokka – Markenfarbe für Personen */
background: #AEA397; /* Sepia/Mokka – Markenfarbe für Personen */
color: #f5e8da;
color: #34302D;
font-weight: 500;
font-weight: 500;
text-align: center;
text-align: center;

Aktuelle Version vom 13. Mai 2026, 06:42 Uhr

/* ===========================================================
   TemplateStyles für Vorlage:Person
   Speichern unter:  Vorlage:Person/styles.css
   Aufgerufen aus:   Vorlage:Person
   =========================================================== */

.ibper {
	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 warmem Sepia ---------- */
.ibper__header {
	background: #AEA397;             /* Sepia/Mokka – Markenfarbe für Personen */
	color: #34302D;
	font-weight: 500;
	text-align: center;
	padding: 11px 12px;
	font-size: 16px;
	letter-spacing: 0.02em;
}

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

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

/* ---------- Badges (Beruf / Titel) ---------- */
.ibper__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}
.ibper__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;
}
.ibper__badge--beruf {
	background: #f5e8da;
	color: #5a3e2a;
}
.ibper__badge--titel {
	background: #f1efe8;
	color: #444441;
}

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

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

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

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

/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
	.ibper {
		background: #2c2c2a;
		border-color: #444441;
		box-shadow: none;
	}
	.ibper__header { background: #4a3327; color: #f5e8da; }
	.ibper__hero { background: #1f1f1d; }
	.ibper__caption { background: #232321; color: #b4b2a9; border-color: #444441; }
	.ibper__value { color: #f1efe8; }
	.ibper__hint,
	.ibper__label { color: #b4b2a9; }
	.ibper__data,
	.ibper__footer { border-color: #444441; }
	.ibper__row { border-bottom-color: #38383640; }
	.ibper__badge--beruf { background: #5a3e2a; color: #f5e8da; }
	.ibper__badge--titel { background: #444441; color: #f1efe8; }
}