Template:MetrocarInfobox/styles.css: Difference between revisions

From Tyne and Wear Metro wiki
Created page with ".infobox { float: right; width: min-content; background-color: #f8f9fa; border-collapse: collapse; text-align: center; font-size: .8em; } .infobox > tbody > tr > th, .infobox > tbody > tr > td { border: 1px solid #c8ccd1; padding: 0; } .unit-identifier { font-weight: bold; font-size: 1.3em; } .nickname { font-style: italic; color: #999; } .thumb { display: block; margin: auto; } .key-dates, .held-liveries { list-style: none; margin: 0; white-space:..."
(No difference)

Revision as of 14:28, 28 August 2025

.infobox {
	float: right;
	width: min-content;
	background-color: #f8f9fa;
	border-collapse: collapse;
	text-align: center;
	font-size: .8em;
}

.infobox > tbody > tr > th,
.infobox > tbody > tr > td {
	border: 1px solid #c8ccd1;
	padding: 0;
}

.unit-identifier {
	font-weight: bold;
	font-size: 1.3em;
}
	
.nickname {
	font-style: italic;
	color: #999;
}

.thumb {
	display: block;
	margin: auto;
}

.key-dates, .held-liveries {
	list-style: none;
	margin: 0;
	white-space: nowrap;
}

.key-dates {
	padding: .2em;
}

.held-liveries {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.held-liveries li {
	padding: .2em .4em;
}

.cab-moquettes {
	text-align: left;
}