Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/styles.css

Template page
/* TemplateStyles for Template:Infobox — Fable Wiki dark/gold infobox.
   Loaded automatically wherever {{Infobox}} is transcluded.
   Consumes CSS variables from MediaWiki:Citizen.css with safe fallbacks. */

.fable-infobox {
	float: right;
	clear: right;
	width: 320px;
	max-width: 100%;
	margin: 0 0 1.25em 1.25em;
	padding: 14px 14px 12px;
	background-color: var( --fable-bg-2, #14121a );
	border: 1px solid var( --fable-gold, #d4af37 );
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.45 ),
	            inset 0 0 0 1px var( --fable-gold-faint, rgba( 212, 175, 55, 0.18 ) );
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.9em;
	line-height: 1.45;
	color: var( --fable-text, #e8e3d6 );
	box-sizing: border-box;
}

.fable-infobox__chip {
	display: inline-block;
	margin-bottom: 0.4em;
	padding: 2px 8px;
	background-color: var( --fable-gold-faint, rgba( 212, 175, 55, 0.15 ) );
	border: 1px solid var( --fable-gold-dim, rgba( 212, 175, 55, 0.5 ) );
	border-radius: 999px;
	font-family: Cinzel, Georgia, serif;
	font-size: 0.72em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --fable-gold-bright, #f4d572 );
}

.fable-infobox__title {
	font-family: Cinzel, "Trajan Pro", Georgia, serif;
	font-size: 1.35em;
	font-weight: 700;
	color: var( --fable-gold-bright, #f4d572 );
	line-height: 1.15;
	padding-bottom: 0.35em;
	border-bottom: 1px solid var( --fable-gold-dim, rgba( 212, 175, 55, 0.5 ) );
}

.fable-infobox__subtitle {
	margin-top: 0.2em;
	font-style: italic;
	font-size: 0.92em;
	color: var( --fable-text-muted, #a59f8f );
}

.fable-infobox__image {
	margin: 0.8em -2px 0.6em;
	text-align: center;
}

.fable-infobox__image img {
	max-width: 100%;
	height: auto;
	border-radius: 3px;
	border: 1px solid var( --fable-gold-faint, rgba( 212, 175, 55, 0.18 ) );
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.5 );
}

.fable-infobox__caption {
	margin-top: 0.4em;
	font-style: italic;
	font-size: 0.85em;
	color: var( --fable-text-muted, #a59f8f );
}

.fable-infobox__rows {
	margin-top: 0.4em;
	border-top: 1px solid var( --fable-gold-faint, rgba( 212, 175, 55, 0.18 ) );
}

.fable-infobox__row {
	display: grid;
	grid-template-columns: 42% 58%;
	gap: 0.6em;
	padding: 6px 2px;
	border-bottom: 1px dashed var( --fable-gold-faint, rgba( 212, 175, 55, 0.10 ) );
}

.fable-infobox__row:last-child {
	border-bottom: none;
}

.fable-infobox__label {
	font-family: Cinzel, Georgia, serif;
	font-size: 0.78em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --fable-gold, #d4af37 );
	align-self: center;
}

.fable-infobox__value {
	color: var( --fable-text, #e8e3d6 );
}

/* Mobile / narrow viewport — stack full-width above lead paragraph. */
@media ( max-width: 720px ) {
	.fable-infobox {
		float: none;
		width: 100%;
		margin: 0 0 1em 0;
	}
}