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

De Ghiblines
Aucun résumé des modifications
Aucun résumé des modifications
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-danger  { background:#d32f2f; }
  background-color: #43a047; /* vert */
.tag-bienfaiteur { background:#43a047; }
}
.tag-ambigu  { background:#ffb300; }
 
.tag-cbf3    { background:#3949ab; }
.tag-Ambigu {
.tag-confidentiel { background:#6a1b9a; }
  background-color: #ffb300; /* jaune */
}
 
.tag-Hostile {
  background-color: #3949ab; /* bleu */
}
 
.tag-Malveillant {
  background-color: #6a1b9a; /* violet */
}
 
.tag-Dangereux {
  background-color: #d32f2f; /* rouge */
}

Version du 16 octobre 2025 à 12:10

/* 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-danger   { background:#d32f2f; }
.tag-bienfaiteur { background:#43a047; }
.tag-ambigu   { background:#ffb300; }
.tag-cbf3     { background:#3949ab; }
.tag-confidentiel { background:#6a1b9a; }