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

De Wiki Pathfinder Lacrypte
Aller à la navigation Aller à la recherche
Page créée avec « ********** : TABLEAUX : ********** : #PageContentDiv table.tablo { border-collapse: collapse; Indispensable pour que les bordures soient "fusionnées" : } Titre du tableau : ---------------- : #PageContentDiv table.tablo caption { background-color: #4b3124; color: #fff; font-weight: bold; text-transform: uppercase; padding: 4px; margin-bottom: 6px; } Contenu : ------- : #PageContentDiv table.tablo tr { vertical-ali... »
 
Aucun résumé des modifications
Ligne 3 : Ligne 3 :
/************/
/************/


#PageContentDiv table.tablo {
#table.tablo {
   border-collapse: collapse; /* Indispensable pour que les bordures soient "fusionnées" */
   border-collapse: collapse; /* Indispensable pour que les bordures soient "fusionnées" */
}
}
Ligne 10 : Ligne 10 :
/* ---------------- */
/* ---------------- */


#PageContentDiv table.tablo caption {
#table.tablo caption {
   background-color: #4b3124;
   background-color: #4b3124;
   color: #fff;
   color: #fff;
Ligne 22 : Ligne 22 :
/* ------- */
/* ------- */


#PageContentDiv table.tablo tr {
#table.tablo tr {
   vertical-align: top;
   vertical-align: top;
}
}
#PageContentDiv table.tablo tr td {
#table.tablo tr td {
   border-top: 1px solid #e7dfc6;
   border-top: 1px solid #e7dfc6;
   text-align: center;
   text-align: center;
   padding: 4px;
   padding: 4px;
}
}
#PageContentDiv table.toutgauche tr td {
#table.toutgauche tr td {
   text-align: left;
   text-align: left;
}
}
#PageContentDiv table.tablo tr td:first-child {
#table.tablo tr td:first-child {
   text-align: left;
   text-align: left;
}
}
#PageContentDiv table.col1centre tr td:first-child {
#table.col1centre tr td:first-child {
   text-align: center;
   text-align: center;
}
}
Ligne 43 : Ligne 43 :
/* ------ */
/* ------ */


#PageContentDiv table.tablo tr.titre td {
#table.tablo tr.titre td {
   border-top: 0;
   border-top: 0;
   background-color: transparent;
   background-color: transparent;
Ligne 50 : Ligne 50 :
   text-align: center;
   text-align: center;
}
}
#PageContentDiv table.toutgauche tr.titre td {
#table.toutgauche tr.titre td {
   text-align: left;
   text-align: left;
}
}
#PageContentDiv table.tablo tr.titre td:first-child {
#table.tablo tr.titre td:first-child {
   text-align: left;
   text-align: left;
}
}
#PageContentDiv table.col1centre tr.titre td:first-child {
#table.col1centre tr.titre td:first-child {
   text-align: center;
   text-align: center;
}
}
#PageContentDiv table.tablo tr.titre td.avecsoustitre {
#table.tablo tr.titre td.avecsoustitre {
   padding: 0 4px 0px 4px;
   padding: 0 4px 0px 4px;
}
}
#PageContentDiv table.tablo tr.soustitre td {
#table.tablo tr.soustitre td {
   border-top: 0;
   border-top: 0;
   background-color: #FFFFFF;
   background-color: #FFFFFF;
Ligne 73 : Ligne 73 :
/* ---------- */
/* ---------- */


#PageContentDiv table.tablo tr td.gauche {
#table.tablo tr td.gauche {
   text-align: left;
   text-align: left;
}
}


#PageContentDiv table.tablo tr td.centre {
#table.tablo tr td.centre {
   text-align: center;
   text-align: center;
}
}


#PageContentDiv table.tablo tr.premier td {
#table.tablo tr.premier td {
   border-top: 2px solid black;
   border-top: 2px solid black;
}
}


#PageContentDiv table.tablo tr.lignesup td {
#table.tablo tr.lignesup td {
   border-top: 1px solid black;
   border-top: 1px solid black;
}
}


#PageContentDiv table.tablo tr.dernier td {
#table.tablo tr.dernier td {
   border-bottom: 2px solid black;
   border-bottom: 2px solid black;
}
}


#PageContentDiv table.tablo tr.alt {
#table.tablo tr.alt {
   background-color: #f3efe2;
   background-color: #f3efe2;
}
}


#PageContentDiv table.autoalt tr.alt {
#table.autoalt tr.alt {
   background-color: #fff;
   background-color: #fff;
}
}


#PageContentDiv table.autoalt tr:nth-child(odd) {
#table.autoalt tr:nth-child(odd) {
   background-color: #f3efe2;
   background-color: #f3efe2;
}
}


#PageContentDiv table.autoalt tr.titre td {
#table.autoalt tr.titre td {
   background-color: #fff;
   background-color: #fff;
}
}


#PageContentDiv table.tablo tr:hover {
#table.tablo tr:hover {
   background-color: #ffc;
   background-color: #ffc;
}
}
Ligne 116 : Ligne 116 :
/* ----- */
/* ----- */


#PageContentDiv table.tablo tr.note td, #PageContentDiv table.tablo td.note {
#table.tablo tr.note td, #table.tablo td.note {
   padding: 2px 20px 2px 20px;
   padding: 2px 20px 2px 20px;
   font-size: x-small;
   font-size: x-small;

Version du 12 février 2026 à 19:32

/************/
/* TABLEAUX */
/************/

#table.tablo {
  border-collapse: collapse; /* Indispensable pour que les bordures soient "fusionnées" */
}

/* Titre du tableau */
/* ---------------- */

#table.tablo caption {
  background-color: #4b3124;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px;
  margin-bottom: 6px;
}

/* Contenu */
/* ------- */

#table.tablo tr {
  vertical-align: top;
}
#table.tablo tr td {
  border-top: 1px solid #e7dfc6;
  text-align: center;
  padding: 4px;
}
#table.toutgauche tr td {
  text-align: left;
}
#table.tablo tr td:first-child {
  text-align: left;
}
#table.col1centre tr td:first-child {
  text-align: center;
}

/* Titres */
/* ------ */

#table.tablo tr.titre td {
  border-top: 0;
  background-color: transparent;
  font-weight: bold;
  padding: 0 4px 4px 4px;
  text-align: center;
}
#table.toutgauche tr.titre td {
  text-align: left;
}
#table.tablo tr.titre td:first-child {
  text-align: left;
}
#table.col1centre tr.titre td:first-child {
  text-align: center;
}
#table.tablo tr.titre td.avecsoustitre {
  padding: 0 4px 0px 4px;
}
#table.tablo tr.soustitre td {
  border-top: 0;
  background-color: #FFFFFF;
  font-weight: normal;
  text-align: center;
  font-size: 85%;
}

/* Exceptions */
/* ---------- */

#table.tablo tr td.gauche {
  text-align: left;
}

#table.tablo tr td.centre {
  text-align: center;
}

#table.tablo tr.premier td {
  border-top: 2px solid black;
}

#table.tablo tr.lignesup td {
  border-top: 1px solid black;
}

#table.tablo tr.dernier td {
  border-bottom: 2px solid black;
}

#table.tablo tr.alt {
  background-color: #f3efe2;
}

#table.autoalt tr.alt {
  background-color: #fff;
}

#table.autoalt tr:nth-child(odd) {
  background-color: #f3efe2;
}

#table.autoalt tr.titre td {
  background-color: #fff;
}

#table.tablo tr:hover {
  background-color: #ffc;
}

/* Notes */
/* ----- */

#table.tablo tr.note td, #table.tablo td.note {
  padding: 2px 20px 2px 20px;
  font-size: x-small;
  font-style: italic;
  text-align: left
}