« MediaWiki:Common.css » : différence entre les versions
Page créée avec « →Le CSS placé ici sera appliqué à tous les habillages. : .tag { display: inline-block; padding: 0.2em 0.6em; margin-right: 0.3em; border-radius: 6px; font-size: 0.8em; font-weight: 600; color: white; } .tag-Danger { background-color: #d32f2f; →rouge : } .tag-Bienfaiteur { background-color: #43a047; →vert : } .tag-Ambigu { background-color: #ffb300; →jaune : } .tag-CBF3 { background-color: #3949ab; →bleu : } .tag-Confid... » |
Aucun résumé des modifications |
||
| (3 versions intermédiaires par le même utilisateur non affichées) | |||
| 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; | ||
border-radius:6px; font-size:.8em; font-weight:600; color:#fff; | |||
border-radius: 6px; | |||
} | } | ||
.tag- | /* Définis tes couleurs ici */ | ||
background- | .tag-bienfaiteur { background:#49c94e; } | ||
} | .tag-ambigu { background:#42c4fc; } | ||
.tag-hostile { background:#faa141; } | |||
.tag- | .tag-malveillant { background:#ed47ff; } | ||
background | .tag-dangereux { background:#f54242; } | ||
} | .tag-confidentiel { background:#6a1b9a; } | ||
.tag-barredefer { background:#030806; } | |||
.tag- | .tag-barredeferdanger { background:#540000; } | ||
} | |||
.tag- | |||
} | |||
.tag- | |||
} | |||
Dernière version du 16 octobre 2025 à 12:24
/* 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; }
.tag-barredefer { background:#030806; }
.tag-barredeferdanger { background:#540000; }