Vorlage:Infobox Gegner Horizontal/styles.css: Unterschied zwischen den Versionen

Aus HuskyWiki
Die Seite wurde neu angelegt: „→‎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…“
 
K Hessentotal verschob die Seite Vorlage:Infobox Gegner Test/styles.css nach Vorlage:Infobox Gegner Horizontal/styles.css, ohne dabei eine Weiterleitung anzulegen
 
(kein Unterschied)

Aktuelle Version vom 18. Juli 2025, 11:52 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;
}