« MediaWiki:Common.css » : différence entre les versions
De Histo-Sport
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* ============================================================ | /* ============================================================ | ||
STYLE POUR LES PALETTES DE NAVIGATION (NAVBOX) | STYLE POUR LES PALETTES DE NAVIGATION (NAVBOX) | ||
| Ligne 14 : | Ligne 12 : | ||
border-radius: 5px; | border-radius: 5px; | ||
overflow: hidden; | overflow: hidden; | ||
border-collapse: collapse; /* | border-collapse: collapse; /* bordures nettes */ | ||
} | } | ||
/* | /* Corrige le style par défaut des <th> (souvent fond gris) */ | ||
.navbox th, | .navbox th, | ||
.navbox td { | .navbox td { | ||
background-color: transparent; | background-color: transparent; | ||
padding: 0; /* on gère le padding via les classes ci-dessous */ | |||
} | } | ||
.navbox-titre { | .navbox-titre { | ||
background-color: #B0C4DE; /* | background-color: #B0C4DE; /* bleu du titre */ | ||
padding: 0.4em; | padding: 0.4em 0.6em; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.navbox-groupe { | .navbox-groupe { | ||
background-color: #E1E1E1; | background-color: #E1E1E1; /* gris du bandeau de groupe */ | ||
padding: 0.35em 0. | padding: 0.35em 0.6em; | ||
font-weight: bold; | font-weight: bold; | ||
border-top: 1px solid #aaa; | border-top: 1px solid #aaa; | ||
} | } | ||
.navbox-liste { | .navbox-liste { | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
line-height: 1.5em; | padding: 0.5em 0.8em; | ||
line-height: 1.5em; | |||
} | } | ||
Version du 28 février 2026 à 11:01
/* ============================================================
STYLE POUR LES PALETTES DE NAVIGATION (NAVBOX)
============================================================ */
.navbox {
border: 1px solid #aaa;
width: 100%;
margin: 1em 0;
clear: both;
font-size: 88%;
text-align: center;
border-radius: 5px;
overflow: hidden;
border-collapse: collapse; /* bordures nettes */
}
/* Corrige le style par défaut des <th> (souvent fond gris) */
.navbox th,
.navbox td {
background-color: transparent;
padding: 0; /* on gère le padding via les classes ci-dessous */
}
.navbox-titre {
background-color: #B0C4DE; /* bleu du titre */
padding: 0.4em 0.6em;
font-weight: bold;
}
.navbox-groupe {
background-color: #E1E1E1; /* gris du bandeau de groupe */
padding: 0.35em 0.6em;
font-weight: bold;
border-top: 1px solid #aaa;
}
.navbox-liste {
background-color: #f9f9f9;
padding: 0.5em 0.8em;
line-height: 1.5em;
}
.navbox-separateur {
font-weight: bold;
color: #aaa;
padding: 0 0.5em;
}