Difference between revisions of "Template:Card table sets/styles.css"

From Yugipedia
Jump to: navigation, search
(Restoring revision 4444804 by User:Deltaneos on 2020-03-20 16:51:24. "These were setting the width inside the padding. The padding changes if the table-sorting JS doesn't run (i.e. no sorting icons). Updating to set the overall width, so columns ar...)
(The cell for the link to the set name shouldn't be completely italicized (some sets may display dab text, like for reprint sets of Legendary Collection: 25th Anniversary Edition.)
 
Line 7: Line 7:
 
}
 
}
  
.cts tbody td:nth-child(3),
 
 
.cts :lang(fr),
 
.cts :lang(fr),
 
.cts :lang(de),
 
.cts :lang(de),

Latest revision as of 01:21, 3 January 2024

.cts td[title] {
	white-space: nowrap;
}

.cts th {
	box-sizing: border-box;
}

.cts :lang(fr),
.cts :lang(de),
.cts :lang(it),
.cts :lang(pt),
.cts :lang(es) {
	font-style: italic;
}

.cts__header--release {
	width: 6.5em;
}

.cts__header--number {
	min-width: 8em;
}

.cts__header--rarity {
	min-width: 9em;
	max-width: 14em;
}

.cts tr td:nth-child(2) {
	white-space: nowrap;
}