Difference between revisions of "Template:Card table sets/styles.css"
(Card table sets styles.) |
(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...) |
||
Line 2: | Line 2: | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
+ | |||
+ | .cts th { | ||
+ | box-sizing: border-box; | ||
+ | } | ||
+ | |||
.cts tbody td:nth-child(3), | .cts tbody td:nth-child(3), | ||
.cts :lang(fr), | .cts :lang(fr), | ||
Line 11: | Line 16: | ||
} | } | ||
− | .cts__header--release { width: | + | .cts__header--release { |
− | .cts__header--number { width: | + | width: 6.5em; |
+ | } | ||
+ | |||
+ | .cts__header--number { | ||
+ | min-width: 8em; | ||
+ | } | ||
+ | |||
.cts__header--rarity { | .cts__header--rarity { | ||
− | min-width: | + | min-width: 9em; |
− | max-width: | + | max-width: 14em; |
+ | } | ||
+ | |||
+ | .cts tr td:nth-child(2) { | ||
+ | white-space: nowrap; | ||
} | } |
Revision as of 02:34, 15 March 2023
.cts td[title] {
white-space: nowrap;
}
.cts th {
box-sizing: border-box;
}
.cts tbody td:nth-child(3),
.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;
}