« 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 1 : | Ligne 1 : | ||
/* TABLEAUX PERSONNALISÉS */ | |||
/* TABLEAUX */ | |||
.mw-parser-output table.tablo { | .mw-parser-output table.tablo { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| Ligne 59 : | Ligne 56 : | ||
.mw-parser-output table.col1centre tr.titre td:first-child { | .mw-parser-output table.col1centre tr.titre td:first-child { | ||
text-align: center; | text-align: center; | ||
} | } | ||
| Ligne 90 : | Ligne 83 : | ||
} | } | ||
table.tablo tr.dernier td { | .mw-parser-output table.tablo tr.dernier td { | ||
border-bottom: 2px solid black; | border-bottom: 2px solid black; | ||
} | } | ||
| Ligne 96 : | Ligne 89 : | ||
.mw-parser-output table.tablo tr.alt { | .mw-parser-output table.tablo tr.alt { | ||
background-color: #f3efe2; | background-color: #f3efe2; | ||
} | } | ||
.mw-parser-output table.autoalt tr:nth-child(odd) { | .mw-parser-output table.autoalt tr:nth-child(odd) { | ||
background-color: #f3efe2; | background-color: #f3efe2; | ||
} | } | ||
| Ligne 115 : | Ligne 100 : | ||
/* Notes */ | /* Notes */ | ||
.mw-parser-output table.tablo tr.note td, table.tablo td.note { | .mw-parser-output table.tablo tr.note td, | ||
.mw-parser-output table.tablo td.note { | |||
padding: 2px 20px; | padding: 2px 20px; | ||
font-size: x-small; | font-size: x-small; | ||
Version du 12 février 2026 à 20:31
/* TABLEAUX PERSONNALISÉS */
.mw-parser-output table.tablo {
border-collapse: collapse;
}
/* Titre du tableau */
.mw-parser-output table.tablo caption {
background-color: #4b3124;
color: #fff;
font-weight: bold;
text-transform: uppercase;
padding: 4px;
margin-bottom: 6px;
}
/* Contenu */
.mw-parser-output table.tablo tr {
vertical-align: top;
}
.mw-parser-output table.tablo td {
border-top: 1px solid #e7dfc6;
text-align: center;
padding: 4px;
}
.mw-parser-output table.toutgauche td {
text-align: left;
}
.mw-parser-output table.tablo td:first-child {
text-align: left;
}
.mw-parser-output table.col1centre td:first-child {
text-align: center;
}
/* Titres */
.mw-parser-output table.tablo tr.titre td {
border-top: 0;
background-color: transparent;
font-weight: bold;
padding: 0 4px 4px 4px;
text-align: center;
}
.mw-parser-output table.toutgauche tr.titre td {
text-align: left;
}
.mw-parser-output table.tablo tr.titre td:first-child {
text-align: left;
}
.mw-parser-output table.col1centre tr.titre td:first-child {
text-align: center;
}
.mw-parser-output table.tablo tr.soustitre td {
border-top: 0;
background-color: #FFFFFF;
font-weight: normal;
text-align: center;
font-size: 85%;
}
/* Exceptions */
.mw-parser-output table.tablo td.gauche {
text-align: left;
}
.mw-parser-output table.tablo td.centre {
text-align: center;
}
.mw-parser-output table.tablo tr.premier td {
border-top: 2px solid black;
}
.mw-parser-output table.tablo tr.lignesup td {
border-top: 1px solid black;
}
.mw-parser-output table.tablo tr.dernier td {
border-bottom: 2px solid black;
}
.mw-parser-output table.tablo tr.alt {
background-color: #f3efe2;
}
.mw-parser-output table.autoalt tr:nth-child(odd) {
background-color: #f3efe2;
}
.mw-parser-output table.tablo tr:hover {
background-color: #ffc;
}
/* Notes */
.mw-parser-output table.tablo tr.note td,
.mw-parser-output table.tablo td.note {
padding: 2px 20px;
font-size: x-small;
font-style: italic;
text-align: left;
}