« MediaWiki:Common.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 69 : | Ligne 69 : | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Tableau Test de Connaissance */ | |||
.mw-parser-output table.connaissance { | |||
border: 1px solid #4b3124; | |||
border-collapse: collapse; | |||
width: 100%; | |||
margin: 1em 0; | |||
font-size: 95%; | |||
} | |||
/* Titre du tableau */ | |||
.mw-parser-output table.connaissance caption { | |||
background-color: #4b3124; | |||
color: #ffffff; | |||
font-weight: bold; | |||
padding: 6px 10px; | |||
text-align: left; | |||
font-size: 110%; | |||
} | |||
/* En-têtes */ | |||
.mw-parser-output table.connaissance th { | |||
background-color: #e8e0d4; | |||
color: #4b3124; | |||
font-weight: bold; | |||
padding: 6px; | |||
border-bottom: 2px solid #4b3124; | |||
} | |||
/* Cellules */ | |||
.mw-parser-output table.test-connaissance td { | |||
padding: 6px; | |||
border-bottom: 1px solid #d6cfc4; | |||
} | |||
/* Zébrage (hérité de ton style bestiaire) */ | |||
.mw-parser-output table.connaissance tr:nth-child(even) td { | |||
background-color: #ffffff; | |||
} | |||
.mw-parser-output table.connaissance tr:nth-child(odd) td { | |||
background-color: #f3efe2; | |||
} | } | ||
Version du 18 février 2026 à 22:30
/* 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 th {
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;
}
.mw-parser-output table.bestiaire tr:nth-child(odd) td {
background-color: #f3efe2;
font-weight: bold;
}
/* Tableau Test de Connaissance */
.mw-parser-output table.connaissance {
border: 1px solid #4b3124;
border-collapse: collapse;
width: 100%;
margin: 1em 0;
font-size: 95%;
}
/* Titre du tableau */
.mw-parser-output table.connaissance caption {
background-color: #4b3124;
color: #ffffff;
font-weight: bold;
padding: 6px 10px;
text-align: left;
font-size: 110%;
}
/* En-têtes */
.mw-parser-output table.connaissance th {
background-color: #e8e0d4;
color: #4b3124;
font-weight: bold;
padding: 6px;
border-bottom: 2px solid #4b3124;
}
/* Cellules */
.mw-parser-output table.test-connaissance td {
padding: 6px;
border-bottom: 1px solid #d6cfc4;
}
/* Zébrage (hérité de ton style bestiaire) */
.mw-parser-output table.connaissance tr:nth-child(even) td {
background-color: #ffffff;
}
.mw-parser-output table.connaissance tr:nth-child(odd) td {
background-color: #f3efe2;
}