« MediaWiki:Common.css » : différence entre les versions
De wiki_pcwiki2
Aller à la navigationAller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 3 : | Ligne 3 : | ||
PCStreet MediaWiki — Common.css (10/06/2026) | PCStreet MediaWiki — Common.css (10/06/2026) | ||
Style documentation technique (inspiré du thème DOCX PCStreet) | Style documentation technique (inspiré du thème DOCX PCStreet) | ||
Couleurs : # | Couleurs foncées : #102A45 (bleu nuit), #1B4973 (bleu soutenu) | ||
À coller dans : MediaWiki:Common.css | À coller dans : MediaWiki:Common.css | ||
============================================================ */ | ============================================================ */ | ||
/* ── Bannière de titre de page ─────────────────────────────── */ | /* ── Bannière de titre de page ─────────────────────────────── */ | ||
.pcstreet-title-banner { | .pcstreet-title-banner { | ||
background: linear-gradient(135deg, # | background: linear-gradient(135deg, #102A45 0%, #1B4973 100%); | ||
color: #ffffff; | color: #ffffff; | ||
padding: 18px 24px 14px 24px; | padding: 18px 24px 14px 24px; | ||
| Ligne 23 : | Ligne 23 : | ||
} | } | ||
.pcstreet-title-banner .pcstreet-subtitle { | .pcstreet-title-banner .pcstreet-subtitle { | ||
color: # | color: #8EB2D4; | ||
font-size: 1em; | font-size: 1em; | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
.pcstreet-title-banner .pcstreet-meta { | .pcstreet-title-banner .pcstreet-meta { | ||
color: # | color: #8EB2D4; | ||
font-size: 0.85em; | font-size: 0.85em; | ||
margin-top: 6px; | margin-top: 6px; | ||
} | } | ||
/* ── Titres de section H2 (== ==) ──────────────────────────── */ | /* ── Titres de section H2 (== ==) ──────────────────────────── */ | ||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
color: # | color: #102A45; | ||
font-family: Arial, sans-serif; | font-family: Arial, sans-serif; | ||
font-size: 1.35em; | font-size: 1.35em; | ||
font-weight: bold; | font-weight: bold; | ||
border-bottom: 3px solid # | border-bottom: 3px solid #1B4973 !important; | ||
padding-bottom: 4px; | padding-bottom: 4px; | ||
margin-top: 28px; | margin-top: 28px; | ||
} | } | ||
/* ── Titres de section H3 (=== ===) ────────────────────────── */ | /* ── Titres de section H3 (=== ===) ────────────────────────── */ | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
color: # | color: #1B4973; | ||
font-family: Arial, sans-serif; | font-family: Arial, sans-serif; | ||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: bold; | font-weight: bold; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #8EB2D4 !important; | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
margin-top: 18px; | margin-top: 18px; | ||
} | } | ||
/* ── Titres de section H4 (==== ====) ──────────────────────── */ | /* ── Titres de section H4 (==== ====) ──────────────────────── */ | ||
.mw-parser-output h4 { | .mw-parser-output h4 { | ||
| Ligne 63 : | Ligne 63 : | ||
margin-top: 14px; | margin-top: 14px; | ||
} | } | ||
/* ── Tableaux wikitable PCStreet ────────────────────────────── */ | /* ── Tableaux wikitable PCStreet ────────────────────────────── */ | ||
.wikitable.pcstreet { | .wikitable.pcstreet { | ||
| Ligne 74 : | Ligne 74 : | ||
} | } | ||
.wikitable.pcstreet th { | .wikitable.pcstreet th { | ||
background-color: # | background-color: #102A45 !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
font-weight: bold; | font-weight: bold; | ||
| Ligne 95 : | Ligne 95 : | ||
background-color: #EBF3FB; | background-color: #EBF3FB; | ||
} | } | ||
/* ── Boîtes remarque / avertissement PCStreet ───────────────── */ | /* ── Boîtes remarque / avertissement PCStreet ───────────────── */ | ||
.pcstreet-notice { | .pcstreet-notice { | ||
background-color: #EBF3FB; | background-color: #EBF3FB; | ||
border-left: 4px solid # | border-left: 4px solid #1B4973; | ||
padding: 10px 14px; | padding: 10px 14px; | ||
margin: 12px 0; | margin: 12px 0; | ||
| Ligne 109 : | Ligne 109 : | ||
content: "ℹ "; | content: "ℹ "; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #1B4973; | ||
} | } | ||
.pcstreet-warning { | .pcstreet-warning { | ||
background-color: #FFF3CD; | background-color: #FFF3CD; | ||
| Ligne 126 : | Ligne 126 : | ||
color: #F0A500; | color: #F0A500; | ||
} | } | ||
.pcstreet-danger { | .pcstreet-danger { | ||
background-color: #FDECEA; | background-color: #FDECEA; | ||
| Ligne 141 : | Ligne 141 : | ||
color: #C0392B; | color: #C0392B; | ||
} | } | ||
/* ── Blocs de code <pre> ────────────────────────────────────── */ | /* ── Blocs de code <pre> ────────────────────────────────────── */ | ||
.mw-parser-output pre { | .mw-parser-output pre { | ||
background-color: #F0F4F8; | background-color: #F0F4F8; | ||
border: 1px solid # | border: 1px solid #8EB2D4; | ||
border-left: 4px solid # | border-left: 4px solid #1B4973; | ||
padding: 12px 16px; | padding: 12px 16px; | ||
font-family: "Courier New", monospace; | font-family: "Courier New", monospace; | ||
font-size: 0.88em; | font-size: 0.88em; | ||
color: # | color: #102A45; | ||
overflow-x: auto; | overflow-x: auto; | ||
border-radius: 0 4px 4px 0; | border-radius: 0 4px 4px 0; | ||
} | } | ||
/* ── SyntaxHighlight (bash, python, cpp) ────────────────────── */ | /* ── SyntaxHighlight (bash, python, cpp) ────────────────────── */ | ||
.mw-highlight { | .mw-highlight { | ||
border-left: 4px solid # | border-left: 4px solid #1B4973 !important; | ||
border-radius: 0 4px 4px 0; | border-radius: 0 4px 4px 0; | ||
font-size: 0.88em !important; | font-size: 0.88em !important; | ||
} | } | ||
/* ── Infobox récapitulatif ──────────────────────────────────── */ | /* ── Infobox récapitulatif ──────────────────────────────────── */ | ||
.pcstreet-infobox { | .pcstreet-infobox { | ||
background-color: #D6E4F0; | background-color: #D6E4F0; | ||
border: 1px solid # | border: 1px solid #1B4973; | ||
border-top: 4px solid # | border-top: 4px solid #102A45; | ||
padding: 14px 18px; | padding: 14px 18px; | ||
margin: 16px 0; | margin: 16px 0; | ||
| Ligne 174 : | Ligne 174 : | ||
} | } | ||
.pcstreet-infobox-title { | .pcstreet-infobox-title { | ||
color: # | color: #102A45; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 1.05em; | font-size: 1.05em; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #1B4973; | ||
padding-bottom: 4px; | padding-bottom: 4px; | ||
} | } | ||
/* ── Badge de statut inline ─────────────────────────────────── */ | /* ── Badge de statut inline ─────────────────────────────────── */ | ||
.badge-ok { | .badge-ok { | ||
| Ligne 207 : | Ligne 207 : | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/* ── TOC (table des matières) ───────────────────────────────── */ | /* ── TOC (table des matières) ───────────────────────────────── */ | ||
#toc { | #toc { | ||
background-color: #F0F4F8; | background-color: #F0F4F8; | ||
border: 1px solid # | border: 1px solid #8EB2D4; | ||
border-top: 3px solid # | border-top: 3px solid #102A45; | ||
padding: 12px 16px; | padding: 12px 16px; | ||
border-radius: 4px; | border-radius: 4px; | ||
| Ligne 218 : | Ligne 218 : | ||
} | } | ||
#toc .toctitle h2 { | #toc .toctitle h2 { | ||
color: # | color: #102A45 !important; | ||
font-size: 1.0em !important; | font-size: 1.0em !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
/* ── Pied de page de page PCStreet ─────────────────────────── */ | /* ── Pied de page de page PCStreet ─────────────────────────── */ | ||
.pcstreet-footer { | .pcstreet-footer { | ||
border-top: 2px solid # | border-top: 2px solid #1B4973; | ||
margin-top: 32px; | margin-top: 32px; | ||
padding-top: 8px; | padding-top: 8px; | ||
Version du 9 juillet 2026 à 14:02
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* ============================================================
PCStreet MediaWiki — Common.css (10/06/2026)
Style documentation technique (inspiré du thème DOCX PCStreet)
Couleurs foncées : #102A45 (bleu nuit), #1B4973 (bleu soutenu)
À coller dans : MediaWiki:Common.css
============================================================ */
/* ── Bannière de titre de page ─────────────────────────────── */
.pcstreet-title-banner {
background: linear-gradient(135deg, #102A45 0%, #1B4973 100%);
color: #ffffff;
padding: 18px 24px 14px 24px;
margin-bottom: 18px;
border-radius: 4px;
}
.pcstreet-title-banner h1 {
color: #ffffff !important;
font-size: 1.8em;
margin: 0 0 4px 0;
border: none !important;
font-family: Arial, sans-serif;
}
.pcstreet-title-banner .pcstreet-subtitle {
color: #8EB2D4;
font-size: 1em;
font-style: italic;
}
.pcstreet-title-banner .pcstreet-meta {
color: #8EB2D4;
font-size: 0.85em;
margin-top: 6px;
}
/* ── Titres de section H2 (== ==) ──────────────────────────── */
.mw-parser-output h2 {
color: #102A45;
font-family: Arial, sans-serif;
font-size: 1.35em;
font-weight: bold;
border-bottom: 3px solid #1B4973 !important;
padding-bottom: 4px;
margin-top: 28px;
}
/* ── Titres de section H3 (=== ===) ────────────────────────── */
.mw-parser-output h3 {
color: #1B4973;
font-family: Arial, sans-serif;
font-size: 1.1em;
font-weight: bold;
border-bottom: 1px solid #8EB2D4 !important;
padding-bottom: 2px;
margin-top: 18px;
}
/* ── Titres de section H4 (==== ====) ──────────────────────── */
.mw-parser-output h4 {
color: #444444;
font-family: Arial, sans-serif;
font-size: 1.0em;
font-weight: bold;
margin-top: 14px;
}
/* ── Tableaux wikitable PCStreet ────────────────────────────── */
.wikitable.pcstreet {
border-collapse: collapse;
width: 100%;
font-family: Arial, sans-serif;
font-size: 0.9em;
margin: 12px 0 16px 0;
box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.wikitable.pcstreet th {
background-color: #102A45 !important;
color: #ffffff !important;
font-weight: bold;
padding: 8px 12px;
text-align: left;
border: 1px solid #aaaaaa;
}
.wikitable.pcstreet td {
padding: 6px 12px;
border: 1px solid #cccccc;
vertical-align: top;
}
.wikitable.pcstreet tr:nth-child(even) td {
background-color: #f2f2f2;
}
.wikitable.pcstreet tr:nth-child(odd) td {
background-color: #ffffff;
}
.wikitable.pcstreet tr:hover td {
background-color: #EBF3FB;
}
/* ── Boîtes remarque / avertissement PCStreet ───────────────── */
.pcstreet-notice {
background-color: #EBF3FB;
border-left: 4px solid #1B4973;
padding: 10px 14px;
margin: 12px 0;
font-size: 0.92em;
border-radius: 0 4px 4px 0;
font-family: Arial, sans-serif;
}
.pcstreet-notice::before {
content: "ℹ ";
font-weight: bold;
color: #1B4973;
}
.pcstreet-warning {
background-color: #FFF3CD;
border-left: 4px solid #F0A500;
padding: 10px 14px;
margin: 12px 0;
font-size: 0.92em;
border-radius: 0 4px 4px 0;
font-family: Arial, sans-serif;
}
.pcstreet-warning::before {
content: "⚠ ";
font-weight: bold;
color: #F0A500;
}
.pcstreet-danger {
background-color: #FDECEA;
border-left: 4px solid #C0392B;
padding: 10px 14px;
margin: 12px 0;
font-size: 0.92em;
border-radius: 0 4px 4px 0;
font-family: Arial, sans-serif;
}
.pcstreet-danger::before {
content: "✖ ";
font-weight: bold;
color: #C0392B;
}
/* ── Blocs de code <pre> ────────────────────────────────────── */
.mw-parser-output pre {
background-color: #F0F4F8;
border: 1px solid #8EB2D4;
border-left: 4px solid #1B4973;
padding: 12px 16px;
font-family: "Courier New", monospace;
font-size: 0.88em;
color: #102A45;
overflow-x: auto;
border-radius: 0 4px 4px 0;
}
/* ── SyntaxHighlight (bash, python, cpp) ────────────────────── */
.mw-highlight {
border-left: 4px solid #1B4973 !important;
border-radius: 0 4px 4px 0;
font-size: 0.88em !important;
}
/* ── Infobox récapitulatif ──────────────────────────────────── */
.pcstreet-infobox {
background-color: #D6E4F0;
border: 1px solid #1B4973;
border-top: 4px solid #102A45;
padding: 14px 18px;
margin: 16px 0;
border-radius: 4px;
font-family: Arial, sans-serif;
font-size: 0.92em;
}
.pcstreet-infobox-title {
color: #102A45;
font-weight: bold;
font-size: 1.05em;
margin-bottom: 8px;
border-bottom: 1px solid #1B4973;
padding-bottom: 4px;
}
/* ── Badge de statut inline ─────────────────────────────────── */
.badge-ok {
background-color: #27AE60;
color: white;
padding: 2px 8px;
border-radius: 3px;
font-size: 0.82em;
font-weight: bold;
}
.badge-warn {
background-color: #F0A500;
color: white;
padding: 2px 8px;
border-radius: 3px;
font-size: 0.82em;
font-weight: bold;
}
.badge-ko {
background-color: #C0392B;
color: white;
padding: 2px 8px;
border-radius: 3px;
font-size: 0.82em;
font-weight: bold;
}
/* ── TOC (table des matières) ───────────────────────────────── */
#toc {
background-color: #F0F4F8;
border: 1px solid #8EB2D4;
border-top: 3px solid #102A45;
padding: 12px 16px;
border-radius: 4px;
font-size: 0.92em;
}
#toc .toctitle h2 {
color: #102A45 !important;
font-size: 1.0em !important;
border: none !important;
}
/* ── Pied de page de page PCStreet ─────────────────────────── */
.pcstreet-footer {
border-top: 2px solid #1B4973;
margin-top: 32px;
padding-top: 8px;
color: #888888;
font-size: 0.82em;
font-family: Arial, sans-serif;
}