MediaWiki:Common.css: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 341: | Zeile 341: | ||
font-size: .95rem; | font-size: .95rem; | ||
line-height: 1.2; | line-height: 1.2; | ||
} | |||
/* Tabelle für Whisky-Bewertungen */ | |||
.whisky-summary__table { | |||
border-collapse: collapse; | |||
margin-top: 0.5em; | |||
width: auto; /* oder 100% */ | |||
} | |||
.whisky-summary__table th, | |||
.whisky-summary__table td { | |||
padding: 0.4em 0.8em; | |||
text-align: left; | |||
} | |||
.whisky-summary__table th { | |||
background: #f5f5f5; | |||
font-weight: 600; | |||
} | |||
.whisky-summary__table tr:nth-child(even) td { | |||
background: #fafafa; | |||
} | |||
/* Letzte Zeile (Gesamt) hervorheben */ | |||
.whisky-summary__table tr:last-child td { | |||
padding-top: 0.6em; | |||
padding-bottom: 0.6em; | |||
border-top: 2px solid #333; | |||
font-weight: bold; | |||
background: #fff9e6; | |||
} | } | ||