« 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 1 : Ligne 1 :
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* ============================================================
/* ============================================================
   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 foncées : #102A45 (bleu nuit), #1B4973 (bleu soutenu)
   Couleurs encore plus foncées : #0B1B2B (bleu nuit profond), #123252 (bleu marine)
   À coller dans : MediaWiki:Common.css
   À coller dans : MediaWiki:Common.css
   ============================================================ */
   ============================================================ */
Ligne 9 : Ligne 10 :
/* ── Bannière de titre de page ─────────────────────────────── */
/* ── Bannière de titre de page ─────────────────────────────── */
.pcstreet-title-banner {
.pcstreet-title-banner {
     background: linear-gradient(135deg, #102A45 0%, #1B4973 100%);
     background: linear-gradient(135deg, #0B1B2B 0%, #123252 100%);
     color: #ffffff;
     color: #ffffff;
     padding: 18px 24px 14px 24px;
     padding: 18px 24px 14px 24px;
Ligne 23 : Ligne 24 :
}
}
.pcstreet-title-banner .pcstreet-subtitle {
.pcstreet-title-banner .pcstreet-subtitle {
     color: #8EB2D4;
     color: #6A8CAF;
     font-size: 1em;
     font-size: 1em;
     font-style: italic;
     font-style: italic;
}
}
.pcstreet-title-banner .pcstreet-meta {
.pcstreet-title-banner .pcstreet-meta {
     color: #8EB2D4;
     color: #6A8CAF;
     font-size: 0.85em;
     font-size: 0.85em;
     margin-top: 6px;
     margin-top: 6px;
Ligne 35 : Ligne 36 :
/* ── Titres de section H2 (== ==) ──────────────────────────── */
/* ── Titres de section H2 (== ==) ──────────────────────────── */
.mw-parser-output h2 {
.mw-parser-output h2 {
     color: #102A45;
     color: #0B1B2B;
     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 #1B4973 !important;
     border-bottom: 3px solid #123252 !important;
     padding-bottom: 4px;
     padding-bottom: 4px;
     margin-top: 28px;
     margin-top: 28px;
Ligne 46 : Ligne 47 :
/* ── Titres de section H3 (=== ===) ────────────────────────── */
/* ── Titres de section H3 (=== ===) ────────────────────────── */
.mw-parser-output h3 {
.mw-parser-output h3 {
     color: #1B4973;
     color: #123252;
     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 #8EB2D4 !important;
     border-bottom: 1px solid #6A8CAF !important;
     padding-bottom: 2px;
     padding-bottom: 2px;
     margin-top: 18px;
     margin-top: 18px;
Ligne 74 : Ligne 75 :
}
}
.wikitable.pcstreet th {
.wikitable.pcstreet th {
     background-color: #102A45 !important;
     background-color: #0B1B2B !important;
     color: #ffffff !important;
     color: #ffffff !important;
     font-weight: bold;
     font-weight: bold;
Ligne 99 : Ligne 100 :
.pcstreet-notice {
.pcstreet-notice {
     background-color: #EBF3FB;
     background-color: #EBF3FB;
     border-left: 4px solid #1B4973;
     border-left: 4px solid #123252;
     padding: 10px 14px;
     padding: 10px 14px;
     margin: 12px 0;
     margin: 12px 0;
Ligne 109 : Ligne 110 :
     content: "ℹ ";
     content: "ℹ ";
     font-weight: bold;
     font-weight: bold;
     color: #1B4973;
     color: #123252;
}
}
   
   
Ligne 145 : Ligne 146 :
.mw-parser-output pre {
.mw-parser-output pre {
     background-color: #F0F4F8;
     background-color: #F0F4F8;
     border: 1px solid #8EB2D4;
     border: 1px solid #6A8CAF;
     border-left: 4px solid #1B4973;
     border-left: 4px solid #123252;
     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: #102A45;
     color: #0B1B2B;
     overflow-x: auto;
     overflow-x: auto;
     border-radius: 0 4px 4px 0;
     border-radius: 0 4px 4px 0;
Ligne 157 : Ligne 158 :
/* ── SyntaxHighlight (bash, python, cpp) ────────────────────── */
/* ── SyntaxHighlight (bash, python, cpp) ────────────────────── */
.mw-highlight {
.mw-highlight {
     border-left: 4px solid #1B4973 !important;
     border-left: 4px solid #123252 !important;
     border-radius: 0 4px 4px 0;
     border-radius: 0 4px 4px 0;
     font-size: 0.88em !important;
     font-size: 0.88em !important;
Ligne 165 : Ligne 166 :
.pcstreet-infobox {
.pcstreet-infobox {
     background-color: #D6E4F0;
     background-color: #D6E4F0;
     border: 1px solid #1B4973;
     border: 1px solid #123252;
     border-top: 4px solid #102A45;
     border-top: 4px solid #0B1B2B;
     padding: 14px 18px;
     padding: 14px 18px;
     margin: 16px 0;
     margin: 16px 0;
Ligne 174 : Ligne 175 :
}
}
.pcstreet-infobox-title {
.pcstreet-infobox-title {
     color: #102A45;
     color: #0B1B2B;
     font-weight: bold;
     font-weight: bold;
     font-size: 1.05em;
     font-size: 1.05em;
     margin-bottom: 8px;
     margin-bottom: 8px;
     border-bottom: 1px solid #1B4973;
     border-bottom: 1px solid #123252;
     padding-bottom: 4px;
     padding-bottom: 4px;
}
}
Ligne 211 : Ligne 212 :
#toc {
#toc {
     background-color: #F0F4F8;
     background-color: #F0F4F8;
     border: 1px solid #8EB2D4;
     border: 1px solid #6A8CAF;
     border-top: 3px solid #102A45;
     border-top: 3px solid #0B1B2B;
     padding: 12px 16px;
     padding: 12px 16px;
     border-radius: 4px;
     border-radius: 4px;
Ligne 218 : Ligne 219 :
}
}
#toc .toctitle h2 {
#toc .toctitle h2 {
     color: #102A45 !important;
     color: #0B1B2B !important;
     font-size: 1.0em !important;
     font-size: 1.0em !important;
     border: none !important;
     border: none !important;
Ligne 225 : Ligne 226 :
/* ── Pied de page de page PCStreet ─────────────────────────── */
/* ── Pied de page de page PCStreet ─────────────────────────── */
.pcstreet-footer {
.pcstreet-footer {
     border-top: 2px solid #1B4973;
     border-top: 2px solid #123252;
     margin-top: 32px;
     margin-top: 32px;
     padding-top: 8px;
     padding-top: 8px;

Version du 9 juillet 2026 à 14:04

/* 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 encore plus foncées : #0B1B2B (bleu nuit profond), #123252 (bleu marine)
   À coller dans : MediaWiki:Common.css
   ============================================================ */
 
/* ── Bannière de titre de page ─────────────────────────────── */
.pcstreet-title-banner {
    background: linear-gradient(135deg, #0B1B2B 0%, #123252 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: #6A8CAF;
    font-size: 1em;
    font-style: italic;
}
.pcstreet-title-banner .pcstreet-meta {
    color: #6A8CAF;
    font-size: 0.85em;
    margin-top: 6px;
}
 
/* ── Titres de section H2 (== ==) ──────────────────────────── */
.mw-parser-output h2 {
    color: #0B1B2B;
    font-family: Arial, sans-serif;
    font-size: 1.35em;
    font-weight: bold;
    border-bottom: 3px solid #123252 !important;
    padding-bottom: 4px;
    margin-top: 28px;
}
 
/* ── Titres de section H3 (=== ===) ────────────────────────── */
.mw-parser-output h3 {
    color: #123252;
    font-family: Arial, sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 1px solid #6A8CAF !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: #0B1B2B !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 #123252;
    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: #123252;
}
 
.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 #6A8CAF;
    border-left: 4px solid #123252;
    padding: 12px 16px;
    font-family: "Courier New", monospace;
    font-size: 0.88em;
    color: #0B1B2B;
    overflow-x: auto;
    border-radius: 0 4px 4px 0;
}
 
/* ── SyntaxHighlight (bash, python, cpp) ────────────────────── */
.mw-highlight {
    border-left: 4px solid #123252 !important;
    border-radius: 0 4px 4px 0;
    font-size: 0.88em !important;
}
 
/* ── Infobox récapitulatif ──────────────────────────────────── */
.pcstreet-infobox {
    background-color: #D6E4F0;
    border: 1px solid #123252;
    border-top: 4px solid #0B1B2B;
    padding: 14px 18px;
    margin: 16px 0;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 0.92em;
}
.pcstreet-infobox-title {
    color: #0B1B2B;
    font-weight: bold;
    font-size: 1.05em;
    margin-bottom: 8px;
    border-bottom: 1px solid #123252;
    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 #6A8CAF;
    border-top: 3px solid #0B1B2B;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.92em;
}
#toc .toctitle h2 {
    color: #0B1B2B !important;
    font-size: 1.0em !important;
    border: none !important;
}
 
/* ── Pied de page de page PCStreet ─────────────────────────── */
.pcstreet-footer {
    border-top: 2px solid #123252;
    margin-top: 32px;
    padding-top: 8px;
    color: #888888;
    font-size: 0.82em;
    font-family: Arial, sans-serif;
}