Module:Track listing/styles.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
Template:Track listing>Jdlrobson
(Shouldn't apply to caption element which has no background.)
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:


.tracklist tbody {
.tracklist tbody {
     color: #333; /* [[mw:Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis#Always_define_color_when_defining_background]] */
     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 */
/* set on all rows we can set the total length row to transparent */
.tracklist tr {
.tracklist tr {
background-color: #fff;
background-color: #DDD7CC;
}
}


.tracklist tr:nth-child(2n-1) {
.tracklist tr:nth-child(2n-1) {
background-color: #f7f7f7;
background-color: #C1BCB4;
}
}


Line 29: Line 29:
.tracklist th[scope="col"] {
.tracklist th[scope="col"] {
text-align: left;
text-align: left;
background-color: #eee;
background-color: #D33328;
    color: #fff;
}
}


Line 66: Line 67:
float: right;
float: right;
padding: 0 10px;
padding: 0 10px;
background-color: #eee;
background-color: #D33328;
    color: #fff;
}
}


.tracklist-total-length td {
.tracklist-total-length td {
background-color: #eee;
background-color: #D33328;
font-weight: bold;
font-weight: bold;
padding: 0 10px 0 0;
padding: 0 10px 0 0;
    color: #fff;
}
}

Navigation menu