Aller au contenu

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

1 014 octets ajoutés ,  8 janvier 2017
Ajout de la liste horizontale
Kharmitch (discussion | contributions)
m Modifications pour les infobox
Kharmitch (discussion | contributions)
Ajout de la liste horizontale
Ligne 1 789 : Ligne 1 789 :
.np-quote-snd-player-title span {
.np-quote-snd-player-title span {
   font-size: 18px;
   font-size: 18px;
}
/* ######################################################## */
/* ### LISTES (Modèle:Liste horizontale)                ### */
/* ######################################################## */
/* Classe pour les listes horizontales séparées par des puces.
  Adaptation de la classe 'hlist' de en:User:Edokter.
  (cf. [[mw:Snippets/Horizontal lists]]). */
.liste-horizontale ul,
.liste-horizontale li {
margin-left: 0;
display: inline;
white-space: nowrap;
*white-space: normal; /* be kind ie7 */
}
.liste-horizontale ul:after { /* be kind firefox (38) : cas ou le dernier élément est une sous-liste avec un seul élément */
white-space: normal;
}
.liste-horizontale li:after {
content: " "; /* au cas ou Mediawiki supprime les retours ligne */
}
.liste-horizontale li + li:before {
white-space: normal;
content: "· ";
font-weight: bold;
}
.liste-horizontale li li:first-child:before {
white-space: normal;
content: " (";
}
.liste-horizontale li ul:after {
content: ")";
margin-left: -0.28em;
}
}
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 734

modifications