« 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 51 : Ligne 51 :


/* En-têtes */
/* En-têtes */
.mw-parser-output table.bestiaire caption{
.mw-parser-output table.bestiaire caption {
   background-color: #4b3124;
   background-color: #4b3124;
   color: #ffffff ;
   color: #ffffff ;
   font-weight: bold;
   font-weight: bold;
   padding: 6px;
   padding: 6px;
  text-align: left;
}
}


Ligne 62 : Ligne 63 :
.mw-parser-output table.bestiaire tr:nth-child(even) td {
.mw-parser-output table.bestiaire tr:nth-child(even) td {
   background-color: #ffffff;
   background-color: #ffffff;
  font-weight: bold;
}
}


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

Version du 18 février 2026 à 22:20

/* 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 caption{
  background-color: #4b3124 !important;
  color: #ffffff !important;
  font-weight: bold;
  padding: 6px;
  text-align: center;
}

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

/* 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;
}


/* TABLEAUX BESTIARE bestiaire*/

/* Style général */
.mw-parser-output table.bestiaire {
  border-collapse: collapse;
  width: 600px;
  background-color: #ffffff;
}

/* En-têtes */
.mw-parser-output table.bestiaire caption {
  background-color: #4b3124;
  color: #ffffff ;
  font-weight: bold;
  padding: 6px;
  text-align: left;
}


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

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