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

Contenu supprimé Contenu ajouté
m retouche de la modification précédente
m mise à jour des styles pour les listes particulières depuis MediaWiki:Common.css
Ligne 63 :
 
/*\
* * MISES EN FORME PARTICULIÈRES DES LISTES
* * VUE ARBORESCENTE
\*/
 
/**
* Listes horizontales
*/
.liste-horizontale ul,
ul.liste-horizontale {
margin: 0;
padding: 0;
white-space: nowrap;
*white-space: normal; /* be kind ie7 */
}
 
.liste-horizontale li,
.liste-horizontale li ul {
display: inline;
*white-space: nowrap; /* be kind ie7 */
}
 
/* Puces et parenthèses */
.liste-horizontale li + li:before {
content: "· ";
font-weight: bold;
white-space: normal;
}
 
.liste-horizontale li li:first-child:before {
content: "(";
}
 
.liste-horizontale li ul:after {
content: ")";
position: relative;
left: -0.25em;
}
 
/* hack pour Chrome/Opera pour que le point médian ne puisse pas se retrouver à la ligne après une sous-liste */
.liste-horizontale li:after {
content: "\FEFF";
}
 
/* autres type de puce */
.liste-horizontale.boulet li + li:before,
.liste-horizontale .boulet li + li:before {
content: "• ";
font-weight: normal;
}
.liste-horizontale.tiret li + li:before,
.liste-horizontale .tiret li + li:before {
content: "\2013\20";
}
 
/**
* Listes sans puces
*/
 
.liste-simple ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.liste-simple ul li {
margin-bottom: 0;
}
 
/**
* Styles pour listes imbriquées formant une arborescence,
* en particulier utilisés dans le [[modèle : Arbre début]]
*/
 
.treeview ul {
padding: 0;
margin: 0;
}
 
.treeview li {
padding: 0;
margin: 0;
list-style-type: none;
list-style-image: none;
zoom: 1; /* BE KIND TO IE6 */
}
 
.treeview li li {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
padding-left: 20px;
text-indent: 0.3em;
}
 
.treeview li li.lastline {
background-position: 0 -5971px;
}
 
.treeview li.emptyline > ul {
margin-left: -1px;
}
 
.treeview li.emptyline > ul > li:first-child {
background-position: 0 9px;
}