Template:Vehicle infobox/styles.css

From Disney•Pixar CARS Wiki
Jump to navigation Jump to search
/* Elements */
.dc-table h3,
#toc,
#versions0, #versions1 {
	display: none;
}
/* Infobox */
#vehicle.infobox {
	background-color: #000;
}
/* format=template */
#first-release thead {
	display: none;
}
#first-release table {
	margin: 0;
}
#first-release tbody > tr > td {
	white-space: nowrap;
	padding: 0;
	border: 0;
	background: #eee;
}
#first-release .field_Series_string + td {
	padding-left: 5px;
	text-align: left;
}

#vehicle-versions .mw-collapsible-toggle {
	width: 100%;
	position: absolute;
}
#vehicle-versions > table {
	width: 100% !important;
}
.vehicle-verslist > span > p {
	margin: 0;
}
#versions-basename > p > a {
	position: relative;
	z-index: 5;
}

/* Related models */
.related-models {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
.rv-card {
	display: flex;
	border: 1px solid black;
}
.rv-photo {
	padding: 6px;
	border-right: 1px solid #bbb;
	width: auto;
	min-width: 114px;
	align-items: center;
	justify-content: center;
	display: flex;
}
.rv-photo,
.rv-photo img {
	max-width: 100px;
	max-height: 80px !important;
}
.rv-photo img {
	width: auto !important;
}
.rv-modelname {
	min-width: 180px;
	max-width: 180px;
	text-align: center;
	align-self: center;
}