Aller au contenu

MediaWiki:Common.css

De Athéna - Le wiki Prométhée T&I

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
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;
}