Vorlage:Urkunde/styles.css

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

.ibur {
	float: right;
	clear: right;
	width: 360px;
	max-width: 100%;
	margin: 0 0 1.2em 1.2em;
	background: #f5f0e0;
	border: 1px solid #c8b89a;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.10 );
	overflow: hidden;
	font-size: 15px;
	line-height: 1.55;
	font-family: sans-serif;
}

/* ---------- Pergament-Hintergrundtextur ---------- */
.ibur,
.ibur__hero,
.ibur__body {
	background-image:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 28px,
			rgba( 180, 150, 100, 0.07 ) 28px,
			rgba( 180, 150, 100, 0.07 ) 29px
		);
}

/* ---------- Kopfzeile in Urkundenbraun ---------- */
.ibur__header {
	background: #7a5c3a;             /* Dunkles Pergamentbraun – Markenfarbe für Urkunden */
	color: #fdf5e6;
	font-weight: 600;
	text-align: center;
	padding: 11px 12px;
	font-size: 16px;
	letter-spacing: 0.04em;
	font-variant: small-caps;
	background-image: none;
}

/* ---------- Datum-Pill ---------- */
.ibur__datumblock {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	padding: 10px 12px 6px;
	background: #ede4cc;
	border-bottom: 1px solid #c8b89a;
	background-image: none;
}
.ibur__datum-pill {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	background: #7a5c3a;
	color: #fdf5e6;
	border-radius: 8px;
	padding: 4px 14px;
	font-size: 13px;
	line-height: 1.3;
	min-width: 80px;
}
.ibur__datum-pill span:first-child {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.ibur__datum-pill span:last-child {
	font-size: 12px;
	opacity: 0.85;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* ---------- Foto-Hero ---------- */
.ibur__hero {
	padding: 0;
	margin: 0;
	text-align: center;
	background-color: #ede4cc;
	background-image: none;
}
.ibur__hero a,
.ibur__hero img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.ibur__caption {
	padding: 8px 16px;
	font-size: 13px;
	color: #6b5c40;
	font-style: italic;
	background: #f0e8d0;
	border-bottom: 1px solid #d4c4a0;
	background-image: none;
}

/* ---------- Siegel-Badge ---------- */
.ibur__siegel {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #ede4cc;
	border-bottom: 1px solid #c8b89a;
	font-size: 13px;
	color: #5a3e22;
	background-image: none;
}
.ibur__siegel-icon {
	font-size: 22px;
	line-height: 1;
}
.ibur__siegel-text {
	font-style: italic;
}

/* ---------- Body ---------- */
.ibur__body {
	padding: 14px 16px 12px;
	background-color: #f5f0e0;
}

/* ---------- Kurzinhalt ---------- */
.ibur__abstract {
	padding: 10px 12px;
	margin-bottom: 12px;
	background: #ede4cc;
	border-left: 3px solid #7a5c3a;
	border-radius: 0 6px 6px 0;
	font-size: 14px;
	color: #3d2f1a;
	line-height: 1.6;
	font-style: italic;
}

/* ---------- Datenzeilen ---------- */
.ibur__data {
	border-top: 1px solid #d4c4a0;
	padding-top: 8px;
	margin-top: 4px;
}
.ibur__row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 7px 0;
	border-bottom: 1px solid #e8dfc8;
}
.ibur__row:last-child {
	border-bottom: none;
}
.ibur__icon {
	flex: 0 0 22px;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	color: #9a7a52;
	user-select: none;
}
.ibur__field {
	flex: 1 1 auto;
	min-width: 0;
}
.ibur__label {
	display: block;
	color: #9a7a52;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 1px;
}
.ibur__value {
	font-weight: 500;
	color: #2c1f0e;
	font-size: 15px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
.ibur__hint {
	font-size: 13px;
	color: #9a7a52;
	margin-top: 2px;
	line-height: 1.45;
	font-weight: 400;
}

/* ---------- Original-Badge ---------- */
.ibur__badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 999px;
	line-height: 1.5;
	white-space: nowrap;
}
.ibur__badge--ja {
	background: #d4e8c8;
	color: #2a5018;
}
.ibur__badge--nein {
	background: #f0dcc8;
	color: #6b3a18;
}
.ibur__badge--unbekannt {
	background: #e8e0cc;
	color: #5a4a2a;
}

/* ---------- Footer ---------- */
.ibur__footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid #d4c4a0;
	font-size: 12px;
	color: #b4a482;
}
.ibur__footer a,
.ibur__footer a:visited {
	color: #7a5c3a;
}
.ibur__stand {
	color: #9a7a52;
}

/* ---------- Direktlink-Button ---------- */
.ibur__link {
	display: inline-block;
	font-size: 13px;
	padding: 3px 12px;
	border-radius: 6px;
	background: #7a5c3a;
	color: #fdf5e6 !important;
	text-decoration: none;
	margin-top: 4px;
	transition: background 0.15s;
}
.ibur__link:hover {
	background: #5a3e22;
	color: #fdf5e6 !important;
}

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

/* ---------- Druckansicht ---------- */
@media print {
	.ibur {
		box-shadow: none;
		border: 1px solid #c8b89a;
		break-inside: avoid;
	}
	.ibur__footer {
		display: none;
	}
	.ibur__link {
		display: none;
	}
}

/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
	.ibur {
		background: #2c2418;
		background-image: repeating-linear-gradient(
			0deg,
			transparent,
			transparent 28px,
			rgba( 200, 170, 110, 0.07 ) 28px,
			rgba( 200, 170, 110, 0.07 ) 29px
		);
		border-color: #5a4a2a;
		box-shadow: none;
	}
	.ibur__header         { background: #4a3218; color: #fdf5e6; background-image: none; }
	.ibur__datumblock     { background: #382810; border-color: #5a4a2a; background-image: none; }
	.ibur__datum-pill     { background: #5a3e22; color: #fdf5e6; }
	.ibur__hero           { background-color: #2c2418; background-image: none; }
	.ibur__caption        { background: #342a18; color: #c4a882; border-color: #5a4a2a; background-image: none; }
	.ibur__siegel         { background: #382810; border-color: #5a4a2a; color: #c4a882; background-image: none; }
	.ibur__body           { background-color: #2c2418; }
	.ibur__abstract       { background: #342a18; border-left-color: #9a7a52; color: #e0ccaa; }
	.ibur__value          { color: #f0e0c0; }
	.ibur__hint,
	.ibur__label          { color: #a89060; }
	.ibur__data,
	.ibur__footer         { border-color: #5a4a2a; }
	.ibur__row            { border-bottom-color: #3c3020; }
	.ibur__badge--ja      { background: #1e4012; color: #b8e890; }
	.ibur__badge--nein    { background: #4a2010; color: #f0b880; }
	.ibur__badge--unbekannt { background: #3a3020; color: #c4b890; }
	.ibur__link           { background: #5a3e22; color: #fdf5e6 !important; }
	.ibur__link:hover     { background: #7a5c3a; }
}