MediaWiki:Vaulttec.css

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.
/*
 * MediaWiki:Vaulttec.css
 * Chargé uniquement pour les utilisateurs du skin VaultTec.
 * Neutralise les conflits avec Common.css sans toucher à Vector.
 *
 * À coller dans : https://fallout-wiki.com/wiki/MediaWiki:Vaulttec.css
 */

/* ============================================================
   1. VARIABLES — remplacement de la palette bleue par phosphore
   ============================================================ */
:root {
  --background-color-dp-00: #06100b;
  --background-color-dp-01: #0a1a0f;
  --background-color-dp-02: #0f2015;
  --background-color-dp-03: #11251a;
  --background-color-dp-04: #142b1e;
  --background-color-dp-06: #173122;
  --background-color-dp-08: #1a3727;
  --background-color-dp-12: #1e3f2c;
  --background-color-dp-16: #214531;
  --background-color-dp-24: #254c36;

  --background-img:   none;          /* supprime le fond Mojave */
  --background-main:  transparent;   /* supprime le fond blanc */

  --box-background-color: rgba(12, 24, 18, 0.85);
  --box-shadow:       0 0 10px rgba(125, 255, 156, 0.12);

  --color-base:       #cce8d4;
  --color-warning:    #f5c84a;
  --color-link:       #4ab06a;
  --color-link-visited: #357a4d;

  --border-color-base: rgba(125, 255, 156, 0.15);
}

/* ============================================================
   2. BODY & CONTAINERS — fond sombre, pas d'image
   ============================================================ */
body {
  background: #06100b !important;
  background-image: none !important;
}

.mw-page-container {
  background: transparent !important;
  border-left: 1px solid rgba(125, 255, 156, 0.13) !important;
  border-right: 1px solid rgba(125, 255, 156, 0.13) !important;
}

/* ============================================================
   3. INFOBOX — harmonisation avec le thème sombre
   ============================================================ */
.avt-infobox {
  background-color: rgba(12, 24, 18, 0.9) !important;
  border-color: rgba(125, 255, 156, 0.2) !important;
  box-shadow: 0 0 10px rgba(125, 255, 156, 0.12) !important;
  color: #cce8d4 !important;
}

.avt-infobox-header {
  background-color: #142b1e !important;
  border-color: rgba(125, 255, 156, 0.2) !important;
  color: #7dff9c !important;
}

.avt-infobox p.bloc,
.avt-infobox caption {
  background-color: #142b1e !important;
  color: #7dff9c !important;
}

.avt-infobox th[scope="row"] {
  color: #4ab06a !important;
}

.avt-infobox td {
  color: #cce8d4 !important;
}

/* Image par défaut en mode VaultTec */
.infobox-default-image {
  background-image: url("/images/1/11/Logo_wiki_LAVT_vert.png") !important;
}

/* ============================================================
   4. WIKITABLE — palette sombre
   ============================================================ */
.wikitable,
.va-table,
.mw-datatable {
  background-color: rgba(12, 24, 18, 0.85) !important;
  border-color: rgba(125, 255, 156, 0.15) !important;
  box-shadow: 0 0 10px rgba(125, 255, 156, 0.08) !important;
  color: #cce8d4 !important;
}

.wikitable > tr > th,
.wikitable > * > tr > th,
.va-table > tr > th,
.va-table > * > tr > th {
  background-color: #0f2015 !important;
  color: #7dff9c !important;
  border-color: rgba(125, 255, 156, 0.15) !important;
}

.wikitable > tr > td,
.wikitable > * > tr > td,
.va-table > tr > td,
.va-table > * > tr > td {
  border-color: rgba(125, 255, 156, 0.1) !important;
  color: #cce8d4 !important;
}

.mw-datatable tr:hover td,
.wikitable tr:hover td {
  background-color: rgba(125, 255, 156, 0.06) !important;
}

/* ============================================================
   5. PALETTES & NAVBOXES
   ============================================================ */
.palette {
  background-color: rgba(12, 24, 18, 0.85) !important;
  border-color: rgba(125, 255, 156, 0.15) !important;
  color: #cce8d4 !important;
}

.palette-titre,
.palette-banniere,
.palette-section,
.palette-groupe {
  background-color: #0f2015 !important;
  color: #7dff9c !important;
  border-color: rgba(125, 255, 156, 0.1) !important;
}

.palette-pair {
  background-color: transparent !important;
}

.va-infobox-title,
.va-navbox-title {
  background: #0f2015 !important;
  color: #7dff9c !important;
}

/* ============================================================
   6. BOÎTES GÉNÉRIQUES (bandeau, dropdown, etc.)
   ============================================================ */
.avt-warn-banner,
.avt-note-banner,
.avt-section-banner,
.avt-dropdown-box,
.avt-genericbox,
.homepage-box,
.spinoff-box,
.avt-content-game-box {
  background-color: rgba(12, 24, 18, 0.85) !important;
  border-color: rgba(125, 255, 156, 0.15) !important;
  color: #cce8d4 !important;
}

.avt-dropdown-box-title {
  background-color: #0f2015 !important;
  color: #7dff9c !important;
}

/* ============================================================
   7. LIENS
   ============================================================ */
.mw-parser-output a,
a {
  color: #4ab06a;
}

.mw-parser-output a:visited,
a:visited {
  color: #357a4d;
}

.mw-parser-output a:hover,
a:hover {
  color: #7dff9c;
}

/* Liens rouges (articles manquants) */
.new,
a.new {
  color: #ff5e5e !important;
}

/* ============================================================
   8. TOC (Sommaire)
   ============================================================ */
.sidebar-toc,
.vector-toc {
  background-color: rgba(12, 24, 18, 0.85) !important;
  border-color: rgba(125, 255, 156, 0.15) !important;
}

.vector-toc .vector-toc-link,
.sidebar-toc .sidebar-toc-link {
  color: #4ab06a !important;
}

.vector-toc .vector-toc-link:hover,
.sidebar-toc .sidebar-toc-link:hover {
  color: #7dff9c !important;
}

/* ============================================================
   9. PORTAILS & PAGE D'ACCUEIL
   ============================================================ */
.homepage-welcome-title,
.homepage-box-title,
.portal-box-title,
.spinoff-box-title,
.canceled-box-title,
.fangame-box-title {
  color: #7dff9c !important;
  text-shadow: 0 0 8px rgba(125, 255, 156, 0.4) !important;
  border-color: rgba(125, 255, 156, 0.15) !important;
}

.homepage-presentation-title,
.homepage-participation-title,
.homepage-articleday-title {
  color: #7dff9c !important;
  text-shadow: 0 0 8px rgba(125, 255, 156, 0.4) !important;
}

/* ============================================================
   10. SITENOTICE
   ============================================================ */
.avt-sitenotice {
  background-color: rgba(12, 24, 18, 0.9) !important;
  border-color: rgba(125, 255, 156, 0.2) !important;
  box-shadow: 0 0 10px rgba(125, 255, 156, 0.1) !important;
  color: #cce8d4 !important;
}