Vorlage:Gegnerbox.css: Unterschied zwischen den Versionen
Die Seite wurde neu angelegt: „.infobox { font-size: 90%; } .infobox th, .infobox td { padding: 4px 6px; } .wikitable td, .wikitable th { padding: 6px 8px; text-align: center; }“ |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* Allgemeines Infobox-Design */ | |||
.infobox { | .infobox { | ||
width: 100%; | |||
max-width: 250px; | |||
background-color: #f9f9f9; | |||
border: 1px solid #ccc; | |||
font-size: 90%; | font-size: 90%; | ||
margin: 0 0 1em 1em; | |||
float: right; | |||
clear: right; | |||
} | } | ||
/* Tabellenzellen in der Infobox */ | |||
.infobox th, | .infobox th, | ||
.infobox td { | .infobox td { | ||
padding: 4px 6px; | padding: 4px 6px; | ||
text-align: left; | |||
vertical-align: middle; | |||
} | } | ||
.wikitable | |||
/* Kopfzeilen (Vereinsname + Historie) */ | |||
.infobox th { | |||
background-color: #444; | |||
color: #fff; | |||
text-align: center; | |||
font-weight: bold; | |||
} | |||
/* Historie-Einträge (Logos mit Text daneben) */ | |||
.infobox td img { | |||
vertical-align: middle; | |||
margin-right: 6px; | |||
} | |||
/* Statistik-Tabellen */ | |||
.wikitable { | |||
width: 100%; | |||
margin: 1em 0; | |||
font-size: 90%; | |||
border-collapse: collapse; | |||
} | |||
.wikitable th { | |||
background-color: #003777; | |||
color: white; | |||
text-align: center; | |||
font-weight: bold; | |||
padding: 6px; | |||
} | |||
.wikitable td { | |||
text-align: center; | |||
padding: 6px 8px; | padding: 6px 8px; | ||
text-align: | } | ||
/* Sekundäre Tabellenüberschriften (Playoffs etc.) */ | |||
.wikitable tr:nth-child(even) th[colspan] { | |||
background-color: #e0e0e0; | |||
color: #000; | |||
text-align: left; | |||
} | } | ||
Version vom 18. Juli 2025, 10:05 Uhr
/* Allgemeines Infobox-Design */ .infobox {
width: 100%; max-width: 250px; background-color: #f9f9f9; border: 1px solid #ccc; font-size: 90%; margin: 0 0 1em 1em; float: right; clear: right;
}
/* Tabellenzellen in der Infobox */ .infobox th, .infobox td {
padding: 4px 6px; text-align: left; vertical-align: middle;
}
/* Kopfzeilen (Vereinsname + Historie) */ .infobox th {
background-color: #444; color: #fff; text-align: center; font-weight: bold;
}
/* Historie-Einträge (Logos mit Text daneben) */ .infobox td img {
vertical-align: middle; margin-right: 6px;
}
/* Statistik-Tabellen */ .wikitable {
width: 100%; margin: 1em 0; font-size: 90%; border-collapse: collapse;
}
.wikitable th {
background-color: #003777; color: white; text-align: center; font-weight: bold; padding: 6px;
}
.wikitable td {
text-align: center; padding: 6px 8px;
}
/* Sekundäre Tabellenüberschriften (Playoffs etc.) */ .wikitable tr:nth-child(even) th[colspan] {
background-color: #e0e0e0; color: #000; text-align: left;
}