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

From Yugipedia
Jump to: navigation, search
(Card table sets styles.)
 
(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.)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
white-space: nowrap;
 
white-space: nowrap;
 
}
 
}
.cts tbody td:nth-child(3),
+
 
 +
.cts th {
 +
box-sizing: border-box;
 +
}
 +
 
 
.cts :lang(fr),
 
.cts :lang(fr),
 
.cts :lang(de),
 
.cts :lang(de),
Line 11: Line 15:
 
}
 
}
  
.cts__header--release { width: 4.5em; }
+
.cts__header--release {
.cts__header--number { width: 6em; }
+
width: 6.5em;
 +
}
 +
 
 +
.cts__header--number {
 +
min-width: 8em;
 +
}
 +
 
 
.cts__header--rarity {
 
.cts__header--rarity {
min-width: 7em;
+
min-width: 9em;
max-width: 12em;
+
max-width: 14em;
 +
}
 +
 
 +
.cts tr td:nth-child(2) {
 +
white-space: nowrap;
 
}
 
}

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;
}