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

De Ghiblines
Aucun résumé des modifications
Aucun résumé des modifications
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Le CSS placé ici sera appliqué à tous les habillages. */
.tag {
.tag {
   display: inline-block;
   display:inline-block; padding:.2em .6em; margin-right:.3em;
  padding: 0.2em 0.6em;
   border-radius:6px; font-size:.8em; font-weight:600; color:#fff;
  margin-right: 0.3em;
   border-radius: 6px;
  font-size: 0.8em;
  font-weight: 600;
  color: white;
}
}


 
/* Définis tes couleurs ici */
.tag-Bienfaiteur {
.tag-bienfaiteur { background:#49c94e; }
   background-color: #43a047; /* vert */
.tag-ambigu   { background:#42c4fc; }
}
.tag-hostile  { background:#faa141; }
 
.tag-malveillant  { background:#ed47ff; }
.tag-Ambigu {
.tag-dangereux  { background:#f54242; }
  background-color: #ffb300; /* jaune */
.tag-confidentiel { background:#6a1b9a; }
}
 
.tag-Hostile {
  background-color: #3949ab; /* bleu */
}
 
.tag-Malveillant {
  background-color: #6a1b9a; /* violet */
}
 
.tag-Dangereux {
  background-color: #d32f2f; /* rouge */
}

Version du 16 octobre 2025 à 12:14

/* Le CSS placé ici sera appliqué à tous les habillages. */
.tag {
  display:inline-block; padding:.2em .6em; margin-right:.3em;
  border-radius:6px; font-size:.8em; font-weight:600; color:#fff;
}

/* Définis tes couleurs ici */
.tag-bienfaiteur { background:#49c94e; }
.tag-ambigu   { background:#42c4fc; }
.tag-hostile   { background:#faa141; }
.tag-malveillant   { background:#ed47ff; }
.tag-dangereux   { background:#f54242; }
.tag-confidentiel { background:#6a1b9a; }