Module:Track listing/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 68: | Line 68: | ||
padding: 0 10px; | padding: 0 10px; | ||
background-color: #C14424; | background-color: #C14424; | ||
color: #fff; | |||
} | } | ||
Line 74: | Line 75: | ||
font-weight: bold; | font-weight: bold; | ||
padding: 0 10px 0 0; | padding: 0 10px 0 0; | ||
color: #fff; | |||
} | } |
Revision as of 22:20, 3 April 2024
/* {{pp|small=y}} */
.tracklist {
border-spacing: 0;
}
.tracklist tbody {
color: #000; /* [[mw:Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis#Always_define_color_when_defining_background]] */
}
/* set on all rows we can set the total length row to transparent */
.tracklist tr {
background-color: #FFEBD8;
}
.tracklist tr:nth-child(2n-1) {
background-color: #FFD7B2;
}
.tracklist caption {
text-align: left;
font-weight: bold;
}
.tracklist td,
.tracklist th[scope="row"] {
vertical-align: top;
}
.tracklist th[scope="col"] {
text-align: left;
background-color: #C14424;
color: #fff;
}
.tracklist th.tracklist-length-header,
.tracklist th.tracklist-number-header,
.tracklist th[scope="row"],
.tracklist-length,
.tracklist-total-length td {
padding-right: 10px;
text-align: right;
}
.tracklist th[scope="row"] {
font-weight: normal;
}
.tracklist-number-header {
width: 2em;
padding-left: 10px;
}
.tracklist-length-header {
width: 4em;
}
.tracklist tr.tracklist-total-length {
background-color: transparent;
}
.tracklist .tracklist-total-length th {
padding: 0;
font-weight: bold;
}
.tracklist-total-length th > span {
float: right;
padding: 0 10px;
background-color: #C14424;
color: #fff;
}
.tracklist-total-length td {
background-color: #C14424;
font-weight: bold;
padding: 0 10px 0 0;
color: #fff;
}