MediaWiki:Common.css
Révision datée du 12 septembre 2015 à 21:22 par Arthur (discussion | contributions)
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
- Opera : appuyez sur Ctrl + F5.
/* Boîtes déroulantes */
.NavFrame {
background: #F9F9F9;
border: 1px #AAA solid;
padding: 5px;
}
.NavFrame .NavHead {
background: #EFEFEF;
border: 1px #AAA solid;
text-align: center;
font-weight: bold;
}
.NavFrame .NavContent { padding: 5px 0 }
.collapseButton {
font-weight: normal;
float: right;
textAlign: right;
width: 6em;
marginLeft: -100%;
}
/* Classes permettant d'alterner les couleurs de ligne dans les
tableaux selon le nombre de lignes d'en-tête :
* .alternance si nombre impair ou .alternance2 si nombre pair.
* .sortable : les tableaux triables nécessitent d'inverser
l'alternance. */
.alternance,
.alternance2 {
border-collapse: collapse;
}
table.alternance > * > tr > th,
table.alternance2 > * > tr > th {
background: #e6e6e6;
}
.alternance tr,
.alternance th[scope="row"] {
background: #fcfcfc;
}
.alternance:not(.sortable) tr:nth-child(odd),
.alternance.sortable tr:nth-child(even),
.alternance:not(.sortable) tr:nth-child(odd) th[scope="row"],
.alternance.sortable tr:nth-child(even) th[scope="row"] {
background: #eee;
}
.alternance2 tr,
.alternance2 th[scope="row"] {
background: #eee;
}
.alternance2 tr:nth-child(odd),
.alternance2 tr:nth-child(odd) th[scope="row"] {
background: #fcfcfc;
}