|
|
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
| Zeile 50: |
Zeile 50: |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| color: #262626; | | color: #262626; |
| }
| |
| /* Tabellen */
| |
| .mw-parser-output table.wikitable {
| |
| border-collapse: separate;
| |
| border-spacing: 0;
| |
| border-radius: 10px;
| |
| overflow: hidden;
| |
| }
| |
|
| |
| /* Zellen-Grundlayout (thead + tbody) */
| |
| .mw-parser-output table.wikitable > thead > tr > th,
| |
| .mw-parser-output table.wikitable > thead > tr > td,
| |
| .mw-parser-output table.wikitable > tbody > tr > th,
| |
| .mw-parser-output table.wikitable > tbody > tr > td {
| |
| vertical-align: middle;
| |
| }
| |
|
| |
| /* letzte Spalte ohne rechten Zellrand (thead + tbody) */
| |
| .mw-parser-output table.wikitable > thead > tr > th:last-child,
| |
| .mw-parser-output table.wikitable > thead > tr > td:last-child,
| |
| .mw-parser-output table.wikitable > tbody > tr > th:last-child,
| |
| .mw-parser-output table.wikitable > tbody > tr > td:last-child {
| |
| border-right: 0;
| |
| }
| |
|
| |
| /* Kopfzeile: thead (wenn vorhanden), sonst erste Zeile in tbody */
| |
| .mw-parser-output table.wikitable > thead > tr > th,
| |
| .mw-parser-output table.wikitable > tbody > tr:first-child > th {
| |
| font-weight: 700;
| |
| color: #1f2937;
| |
| }
| |
|
| |
| /* Runde Ecken oben: bevorzugt thead, sonst erste Zeile in tbody */
| |
| .mw-parser-output table.wikitable > thead > tr:first-child > *:first-child,
| |
| .mw-parser-output table.wikitable > tbody > tr:first-child > *:first-child {
| |
| border-top-left-radius: 10px;
| |
| }
| |
| .mw-parser-output table.wikitable > thead > tr:first-child > *:last-child,
| |
| .mw-parser-output table.wikitable > tbody > tr:first-child > *:last-child {
| |
| border-top-right-radius: 10px;
| |
| }
| |
|
| |
| /* Sticky-Kopf: overflow muss visible sein, sonst funktioniert sticky oft nicht */
| |
| .mw-parser-output table.wikitable.tabelle-kopf-fixiert {
| |
| overflow: visible;
| |
| }
| |
|
| |
| /* Unterkante: nur äußere Ecken runden (letzte Zeile in tbody) */
| |
| .mw-parser-output table.wikitable > tbody > tr:last-child > *:first-child {
| |
| border-bottom-left-radius: 10px;
| |
| }
| |
| .mw-parser-output table.wikitable > tbody > tr:last-child > *:last-child {
| |
| border-bottom-right-radius: 10px;
| |
| } | | } |