Benutzer:Hgzh/rownumbers.css
Zur Navigation springen
Zur Suche springen
table.wikitable.tabelle-zaehler {
counter-reset: tabZaehler;
}
table.wikitable.tabelle-zaehler tr::before {
display: table-cell;
padding-right: 0.5em;
padding-left: 0.5em;
text-align: right;
vertical-align: inherit;
background-color: #eaecf0;
content: "";
}
table.wikitable.tabelle-zaehler tr:not(.tabelle-zaehler-kein)::before {
border-top: 1px solid #a2a9b1;
}
table.wikitable.tabelle-zaehler:not(.sortable) tbody tr:not(:first-child):not(.tabelle-zaehler-auslassen):not(.tabelle-zaehler-kein),
table.wikitable.tabelle-zaehler.sortable tbody tr:not(.tabelle-zaehler-auslassen):not(.tabelle-zaehler-kein) {
counter-increment: tabZaehler;
}
table.wikitable.tabelle-zaehler:not(.sortable) tbody tr:not(:first-child):not(.tabelle-zaehler-versteckt):not(.tabelle-zaehler-kein)::before,
table.wikitable.tabelle-zaehler.sortable tbody tr:not(.tabelle-zaehler-versteckt):not(.tabelle-zaehler-kein)::before {
content: attr(data-zaehler-vor) counter(tabZaehler) attr(data-zaehler-nach);
}
table.wikitable.tabelle-zaehler:not(.sortable) tbody tr:first-child::before,
table.wikitable.tabelle-zaehler.sortable thead tr:first-child::before {
font-weight: bold;
content: attr(data-zaehler-spalte);
}