« MediaWiki:Common.css » : différence entre les versions

De Wiki Pathfinder Lacrypte
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 24 : Ligne 24 :
/* Zébrage automatique */
/* Zébrage automatique */
.mw-parser-output table.tablo tr:nth-child(even) td {
.mw-parser-output table.tablo tr:nth-child(even) td {
   background-color: #f3efe2;
   background-color: #ffffff;
}
}


.mw-parser-output table.tablo tr:nth-child(odd) td {
.mw-parser-output table.tablo tr:nth-child(odd) td {
   background-color: #ffffff;
   background-color: #f3efe2;
}
}

Version du 12 février 2026 à 21:11

/* TABLEAUX PERSONNALISÉS TABLO */

/* Style général */
.mw-parser-output table.tablo {
  border-collapse: collapse;
  width: auto;
}

/* En-têtes */
.mw-parser-output table.tablo th {
  background-color: #4b3124 !important;
  color: #ffffff !important;
  font-weight: bold;
  padding: 6px;
  text-align: center;
}

/* Cellules */
.mw-parser-output table.tablo td {
  padding: 4px 6px;
  border: 1px solid #e7dfc6;
}

/* Zébrage automatique */
.mw-parser-output table.tablo tr:nth-child(even) td {
  background-color: #ffffff;
}

.mw-parser-output table.tablo tr:nth-child(odd) td {
  background-color: #f3efe2;
}