MediaWiki:Common.css
De Histo-Sport
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.
/* 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;
}
/* Corps de texte : sans-serif système (perf + accessibilité) */
.mw-parser-output {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell,
"Noto Sans", "Liberation Sans", Arial, sans-serif;
font-size: 16px;
line-height: 1.65;
}
/* Titres : serif (empattements) multi-plateforme, sans webfonts */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
font-family: "Iowan Old Style", "Palatino Linotype", Palatino,
"Georgia", "Times New Roman", Times,
"Noto Serif", "Liberation Serif", serif;
font-weight: 700;
line-height: 1.2;
}
/* Code : monospace système */
.mw-parser-output pre,
.mw-parser-output code,
.mw-parser-output kbd,
.mw-parser-output samp,
.mw-parser-output tt,
.mw-parser-output .mw-code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace;
font-size: 0.95em;
}
/* Titre principal de la page (souvent hors .mw-parser-output selon le skin) */
#firstHeading,
.firstHeading {
font-family: Georgia, "Palatino Linotype", Palatino,
"Iowan Old Style", "Times New Roman", Times,
"Noto Serif", "Liberation Serif", serif;
font-weight: 700;
}