Difference between pages "Master Guide 5 promotional cards" and "Template:Card table sets/styles.css"
(Difference between pages)
(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 1: | Line 1: | ||
− | { | + | .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; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
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;
}