« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révocation manuelle |
||
| Ligne 1 : | Ligne 1 : | ||
:root { | :root { | ||
--pti-bleu-nuit: #111827; | --pti-bleu-nuit: #111827; | ||
Version du 4 juillet 2026 à 11:39
:root {
--pti-bleu-nuit: #111827;
--pti-bleu-profond: #1f2937;
--pti-or: #b08d57;
--pti-or-clair: #d7bf8f;
--pti-fond: #f7f8fb;
--pti-fond-carte: #ffffff;
--pti-texte: #1f2933;
--pti-texte-secondaire: #5f6b7a;
--pti-bordure: #d8dde6;
}
/* Ambiance générale */
body {
background: var(--pti-fond);
color: var(--pti-texte);
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
/* Zone principale de contenu */
.mw-body,
.vector-body {
background: #ffffff;
}
/* Titres */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.vector-body h1,
.vector-body h2,
.vector-body h3 {
color: var(--pti-bleu-nuit);
letter-spacing: -0.015em;
}
/* Titres de niveau 2 */
.mw-parser-output h2 {
border-bottom: 1px solid var(--pti-bordure);
padding-bottom: 0.25em;
margin-top: 1.8em;
}
/* Liens */
a {
color: #245c9c;
}
a:visited {
color: #4b4f9c;
}
/* Bandeau institutionnel */
.pti-bandeau {
border: 1px solid var(--pti-bordure);
border-left: 6px solid var(--pti-or);
background: linear-gradient(135deg, #ffffff 0%, #f8f4ec 100%);
padding: 1.4rem 1.6rem;
margin: 1rem 0 1.5rem 0;
border-radius: 10px;
}
/* Titre du bandeau */
.pti-bandeau-titre {
font-size: 1.8rem;
font-weight: 700;
color: var(--pti-bleu-nuit);
margin-bottom: 0.4rem;
}
/* Sous-titre du bandeau */
.pti-bandeau-soustitre {
font-size: 1.05rem;
color: var(--pti-texte-secondaire);
line-height: 1.5;
}
/* Grille de cartes */
.pti-grille {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 1rem;
margin: 1.2rem 0;
}
/* Carte */
.pti-carte {
border: 1px solid var(--pti-bordure);
background: var(--pti-fond-carte);
padding: 1rem;
border-radius: 10px;
box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}
/* Titre de carte */
.pti-carte-titre {
font-size: 1.05rem;
font-weight: 700;
color: var(--pti-bleu-nuit);
margin-bottom: 0.35rem;
}
/* Texte de carte */
.pti-carte-texte {
color: var(--pti-texte-secondaire);
line-height: 1.45;
}
/* Encarts de statut ou de méthode */
.pti-encart {
border: 1px solid var(--pti-bordure);
border-left: 5px solid var(--pti-or);
background: #fbfcfe;
padding: 1rem;
margin: 1rem 0;
border-radius: 8px;
}
/* Tableaux */
.wikitable {
border: 1px solid var(--pti-bordure);
background: #ffffff;
}
.wikitable th {
background: var(--pti-bleu-nuit);
color: #ffffff;
}
.wikitable td,
.wikitable th {
padding: 0.55rem 0.7rem;
}
/* Code et éléments techniques */
code,
pre {
font-family: "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
}