« MediaWiki:Common.css » : différence entre les versions
De Histo-Sport
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (3 versions intermédiaires par le même utilisateur non affichées) | |||
| 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; | |||
} | } | ||
| Ligne 45 : | Ligne 37 : | ||
color: #aaa; | color: #aaa; | ||
padding: 0 0.5em; | 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: "Palatino Linotype", "Iowan Old Style", 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; | |||
} | } | ||
Dernière version du 28 février 2026 à 17:02
/* 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: "Palatino Linotype", "Iowan Old Style", 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;
}