« 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 { | .navbox { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
| Ligne 12 : | Ligne 9 : | ||
border-radius: 5px; | border-radius: 5px; | ||
overflow: hidden; | overflow: hidden; | ||
border-collapse: collapse; /* | border-collapse: collapse; /* améliore le rendu des bordures */ | ||
} | } | ||
.navbox-titre { | .navbox-titre { | ||
background-color: #B0C4DE; /* bleu | background-color: #B0C4DE; /* Même bleu que votre infobox */ | ||
padding: 0.4em | padding: 0.4em; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/* NOUVEAU : bandeau de groupe (ex: Football, Rugby, etc.) */ | |||
.navbox-groupe { | .navbox-groupe { | ||
background-color: #E1E1E1; | background-color: #E1E1E1; | ||
padding: 0.35em 0. | padding: 0.35em 0.5em; | ||
font-weight: bold; | font-weight: bold; | ||
border-top: 1px solid #aaa; | border-top: 1px solid #aaa; | ||
} | } | ||
/* contenu (liste de liens) */ | |||
.navbox-liste { | .navbox-liste { | ||
padding: 0.5em; | |||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
line-height: 1.5em; /* un peu plus lisible */ | |||
line-height: 1.5em; | |||
} | } | ||
Version du 28 février 2026 à 11:03
/* Style pour les Palettes de navigation */
.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; /* améliore le rendu des bordures */
}
.navbox-titre {
background-color: #B0C4DE; /* Même bleu que votre infobox */
padding: 0.4em;
font-weight: bold;
}
/* NOUVEAU : bandeau de groupe (ex: Football, Rugby, etc.) */
.navbox-groupe {
background-color: #E1E1E1;
padding: 0.35em 0.5em;
font-weight: bold;
border-top: 1px solid #aaa;
}
/* contenu (liste de liens) */
.navbox-liste {
padding: 0.5em;
background-color: #f9f9f9;
line-height: 1.5em; /* un peu plus lisible */
}
.navbox-separateur {
font-weight: bold;
color: #aaa;
padding: 0 0.5em;
}