Jump to content

Module:Track listing/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 07:45, 15 May 2022 (adjust to match specificity). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
.track-listing {
	overflow-x: hidden;
}

.track-listing table {
	width: 100%;
	border-spacing: 0;
	background-color: #fff;
}

.track-listing tr:nth-child(2n-1) {
	background-color: #f7f7f7
}

.track-listing caption {
	text-align: left;
	font-weight: bold;
	padding: 0.25em 0.9em;
}

.track-listing td,
.track-listing th[scope="row"] {
	vertical-align: top;
}

.track-listing th[scope="col"] {
	text-align: left;
	background-color: #eee;
}

.track-listing th.tracklist-length-header,
.tracklist-length,
.track-listing th.tracklist-number-header,
.track-listing th[scope="row"],
.tracklist-total-length td {
	padding-right: 10px;
	text-align: right;
}

.track-listing th[scope="row"] {
	font-weight: normal;
}

.track-listing .tracklist-length-header {
	width: 2em;
	padding-left: 10px;
}

.track-listing .tracklist-length-header {
	width: 4em;
}

.track-listing .tracklist-total-length th {
	padding: 0;
}

.tracklist-total-length th > span {
	min-width: 7.5em;
	float: right;
	padding-left: 10px;
	background-color: #eee;
	margin-right: 2px;
}

.tracklist-total-length td {
	background-color: #eee;
	font-weight: bold;
}