MediaWiki:Common.css

Version datée du 25 octobre 2026 à 16:54 par LevelKro (discussion | contributions) (Page créée avec « →Le CSS placé ici sera appliqué à tous les habillages. : →--- Style de l'Infobox --- : .infobox { float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em; border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 300px; font-size: 90%; line-height: 1.5em; box-sizing: border-box; } .infobox-title { text-align: center; font-weight: bold; font-size: 110%; background-color: #eaecf0; padd... »)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* --- Style de l'Infobox --- */
.infobox {
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    padding: 0.5em;
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    width: 300px;
    font-size: 90%;
    line-height: 1.5em;
    box-sizing: border-box;
}

.infobox-title {
    text-align: center;
    font-weight: bold;
    font-size: 110%;
    background-color: #eaecf0;
    padding: 0.4em;
    margin-bottom: 0.5em;
}

.infobox-image {
    text-align: center;
    margin-bottom: 0.5em;
}

.infobox-image img {
    max-width: 100%;
    height: auto;
}

.infobox table {
    width: 100%;
    background: transparent;
    border-collapse: collapse;
}

.infobox th, .infobox td {
    padding: 0.3em 0.4em;
    vertical-align: top;
}

.infobox th {
    text-align: left;
    width: 35%;
    font-weight: bold;
}