Différences entre les versions de « MediaWiki:Common.css »
De April MediaWiki
Aller à la navigationAller à la recherchem (test) |
m (revert) |
||
Ligne 40 : | Ligne 40 : | ||
dl:nth-child(odd) {background: #FFFFFF} | dl:nth-child(odd) {background: #FFFFFF} | ||
dl:nth-child(even) {background: #CCCCCC} | dl:nth-child(even) {background: #CCCCCC} | ||
− | |||
− |
Version du 25 janvier 2011 à 02:16
/** Le CSS placé ici sera appliqué à toutes les apparences. */
/* Classe de masquage, remplace display:none. Contenu non affiché mais lisible par les lecteurs d'écrans */
.hidden {
position: absolute;
left: 0;
top: -5000px;
width: 1px;
height: 1px;
overflow: hidden;
}
/* liens d'accès directs pour la navigation au clavier */
#jump-to-nav {
display: block;
text-align: right;
}
/* Amélioration du modèle boîte pour avoir une structure sémantique */
#bodyContent .boite h2, #bodyContent .boite h3 {
margin: 0;
padding: 0;
border: none;
font-size: inherit;
font-weight: inherit;
}
.boite #toc {
display: none;
}
/* Présentation plus agréable des commentaires */
dl {
border-left : 1px solid #A7D7F9;
border-top : 1px solid #A7D7F9;
margin-left : 1em
padding-left: 0.5em
padding-top : 0.5em
}
dl:nth-child(odd) {background: #FFFFFF}
dl:nth-child(even) {background: #CCCCCC}