.ts-wikidata-population-table {
padding-top: 2em;
margin-top: 1em;
margin-bottom: 1em;
column-width: 13em;
max-width: 60em;
}
.ts-wikidata-population-table.cols-1 {
max-width: 14em;
}
.ts-wikidata-population-table.cols-2 {
max-width: 28em;
}
.ts-wikidata-population-table.cols-3 {
max-width: 42em;
}
.ts-wikidata-population-table.cols-4 {
max-width: 56em;
}
.ts-wikidata-population-table table {
display: block;
margin-top: 0;
border: 0;
background: transparent;
}
.ts-wikidata-population-table caption {
white-space: nowrap;
margin-top: -2em;
}
.ts-wikidata-population-table tbody,
.ts-wikidata-population-table tr {
display: block;
}
.ts-wikidata-population-table tr {
margin-bottom: -1px;
}
.ts-wikidata-population-table tr:last-child {
margin-bottom: 0;
}
.ts-wikidata-population-table tr,
.ts-wikidata-population-table th,
.ts-wikidata-population-table td {
break-inside: avoid;
}
.ts-wikidata-population-table th {
width: 3em;
}
.ts-wikidata-population-table th + th {
width: 8em;
}
.ts-wikidata-population-table td {
background: #f8f9fa;
}
.ts-wikidata-population-table td:nth-child(2) {
width: 6em;
text-align: right;
border-right: none;
padding-right: 0;
}
.ts-wikidata-population-table td:nth-child(3) {
width: 2em;
text-align: left;
border-left: none;
padding-left: 0;
}
/* [[Категория:Шаблоны:Подстраницы CSS]] */