Aller au contenu

« MediaWiki:Common.css » : différence entre les versions

De Athéna - Le wiki Prométhée T&I
Aucun résumé des modifications
Balise : Révocation manuelle
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
: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 {
body {
   background: var(--pti-fond);
   background: #f7f8fb !important;
   color: var(--pti-texte);
   color: #1f2933;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
}


/* Zone principale de contenu */
.mw-body,
.mw-body,
.vector-body {
.vector-body,
   background: #ffffff;
#content {
   background: #ffffff !important;
}
}


/* Titres */
.mw-body h1,
.mw-body h1,
.mw-body h2,
.mw-body h2,
Ligne 30 : Ligne 16 :
.vector-body h1,
.vector-body h1,
.vector-body h2,
.vector-body h2,
.vector-body h3 {
.vector-body h3,
   color: var(--pti-bleu-nuit);
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
   color: #111827 !important;
   letter-spacing: -0.015em;
   letter-spacing: -0.015em;
}
}


/* Titres de niveau 2 */
.mw-parser-output h2 {
.mw-parser-output h2 {
   border-bottom: 1px solid var(--pti-bordure);
   border-bottom: 1px solid #d8dde6 !important;
   padding-bottom: 0.25em;
   padding-bottom: 0.25em;
   margin-top: 1.8em;
   margin-top: 1.8em;
}
}


/* Liens */
.mw-parser-output a {
a {
   color: #245c9c !important;
   color: #245c9c;
}
}


a:visited {
.mw-parser-output a:visited {
   color: #4b4f9c;
   color: #4b4f9c !important;
}
}


/* Bandeau institutionnel */
.pti-bandeau {
.pti-bandeau {
   border: 1px solid var(--pti-bordure);
   border: 1px solid #d8dde6 !important;
   border-left: 6px solid var(--pti-or);
   border-left: 6px solid #b08d57 !important;
   background: linear-gradient(135deg, #ffffff 0%, #f8f4ec 100%);
   background: linear-gradient(135deg, #ffffff 0%, #f8f4ec 100%) !important;
   padding: 1.4rem 1.6rem;
   padding: 1.4rem 1.6rem !important;
   margin: 1rem 0 1.5rem 0;
   margin: 1rem 0 1.5rem 0 !important;
   border-radius: 10px;
   border-radius: 10px !important;
}
}


/* Titre du bandeau */
.pti-bandeau-titre {
.pti-bandeau-titre {
   font-size: 1.8rem;
   font-size: 1.8rem !important;
   font-weight: 700;
   font-weight: 700 !important;
   color: var(--pti-bleu-nuit);
   color: #111827 !important;
   margin-bottom: 0.4rem;
   margin-bottom: 0.4rem !important;
}
}


/* Sous-titre du bandeau */
.pti-bandeau-soustitre {
.pti-bandeau-soustitre {
   font-size: 1.05rem;
   font-size: 1.05rem !important;
   color: var(--pti-texte-secondaire);
   color: #5f6b7a !important;
   line-height: 1.5;
   line-height: 1.5 !important;
}
}


/* Grille de cartes */
.pti-grille {
.pti-grille {
   display: grid;
   display: grid !important;
   grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
   grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
   gap: 1rem;
   gap: 1rem !important;
   margin: 1.2rem 0;
   margin: 1.2rem 0 !important;
}
}


/* Carte */
.pti-carte {
.pti-carte {
   border: 1px solid var(--pti-bordure);
   border: 1px solid #d8dde6 !important;
   background: var(--pti-fond-carte);
   background: #ffffff !important;
   padding: 1rem;
   padding: 1rem !important;
   border-radius: 10px;
   border-radius: 10px !important;
   box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
   box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08) !important;
}
}


/* Titre de carte */
.pti-carte-titre {
.pti-carte-titre {
   font-size: 1.05rem;
   font-size: 1.05rem !important;
   font-weight: 700;
   font-weight: 700 !important;
   color: var(--pti-bleu-nuit);
   color: #111827 !important;
   margin-bottom: 0.35rem;
   margin-bottom: 0.35rem !important;
}
}


/* Texte de carte */
.pti-carte-texte {
.pti-carte-texte {
   color: var(--pti-texte-secondaire);
   color: #5f6b7a !important;
   line-height: 1.45;
   line-height: 1.45 !important;
}
}


/* Encarts de statut ou de méthode */
.pti-encart {
.pti-encart {
   border: 1px solid var(--pti-bordure);
   border: 1px solid #d8dde6 !important;
   border-left: 5px solid var(--pti-or);
   border-left: 5px solid #b08d57 !important;
   background: #fbfcfe;
   background: #fbfcfe !important;
   padding: 1rem;
   padding: 1rem !important;
   margin: 1rem 0;
   margin: 1rem 0 !important;
   border-radius: 8px;
   border-radius: 8px !important;
}
}


/* Tableaux */
.wikitable {
.wikitable {
   border: 1px solid var(--pti-bordure);
   border: 1px solid #d8dde6 !important;
   background: #ffffff;
   background: #ffffff !important;
}
}


.wikitable th {
.wikitable th {
   background: var(--pti-bleu-nuit);
   background: #111827 !important;
   color: #ffffff;
   color: #ffffff !important;
}
}


.wikitable td,
.wikitable td,
.wikitable th {
.wikitable th {
   padding: 0.55rem 0.7rem;
   padding: 0.55rem 0.7rem !important;
}
}


/* Code et éléments techniques */
code,
code,
pre {
pre {
   font-family: "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
   font-family: "Cascadia Mono", "Consolas", "Liberation Mono", monospace !important;
}
}

Version du 4 juillet 2026 à 11:39

body {
  background: #f7f8fb !important;
  color: #1f2933;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.mw-body,
.vector-body,
#content {
  background: #ffffff !important;
}

.mw-body h1,
.mw-body h2,
.mw-body h3,
.vector-body h1,
.vector-body h2,
.vector-body h3,
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
  color: #111827 !important;
  letter-spacing: -0.015em;
}

.mw-parser-output h2 {
  border-bottom: 1px solid #d8dde6 !important;
  padding-bottom: 0.25em;
  margin-top: 1.8em;
}

.mw-parser-output a {
  color: #245c9c !important;
}

.mw-parser-output a:visited {
  color: #4b4f9c !important;
}

.pti-bandeau {
  border: 1px solid #d8dde6 !important;
  border-left: 6px solid #b08d57 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f4ec 100%) !important;
  padding: 1.4rem 1.6rem !important;
  margin: 1rem 0 1.5rem 0 !important;
  border-radius: 10px !important;
}

.pti-bandeau-titre {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin-bottom: 0.4rem !important;
}

.pti-bandeau-soustitre {
  font-size: 1.05rem !important;
  color: #5f6b7a !important;
  line-height: 1.5 !important;
}

.pti-grille {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 1rem !important;
  margin: 1.2rem 0 !important;
}

.pti-carte {
  border: 1px solid #d8dde6 !important;
  background: #ffffff !important;
  padding: 1rem !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08) !important;
}

.pti-carte-titre {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin-bottom: 0.35rem !important;
}

.pti-carte-texte {
  color: #5f6b7a !important;
  line-height: 1.45 !important;
}

.pti-encart {
  border: 1px solid #d8dde6 !important;
  border-left: 5px solid #b08d57 !important;
  background: #fbfcfe !important;
  padding: 1rem !important;
  margin: 1rem 0 !important;
  border-radius: 8px !important;
}

.wikitable {
  border: 1px solid #d8dde6 !important;
  background: #ffffff !important;
}

.wikitable th {
  background: #111827 !important;
  color: #ffffff !important;
}

.wikitable td,
.wikitable th {
  padding: 0.55rem 0.7rem !important;
}

code,
pre {
  font-family: "Cascadia Mono", "Consolas", "Liberation Mono", monospace !important;
}