« MediaWiki:Vaulttec.css » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 277 : | Ligne 277 : | ||
border-color: rgba(125, 255, 156, 0.2) !important; | border-color: rgba(125, 255, 156, 0.2) !important; | ||
color: #cce8d4 !important; | color: #cce8d4 !important; | ||
} | |||
/* ============================================================ | |||
13. RECHERCHE — dropdown avec miniatures | |||
============================================================ */ | |||
.vt-search { position: relative !important; } | |||
.vt-search-dropdown { | |||
display: none; | |||
position: absolute; | |||
top: calc(100% + 2px); | |||
left: 0; | |||
width: 100%; | |||
min-width: 340px; | |||
background: rgba(8, 18, 12, 0.98); | |||
border: 1px solid rgba(125, 255, 156, 0.2); | |||
border-top: none; | |||
z-index: 500; | |||
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7); | |||
backdrop-filter: blur(8px); | |||
} | |||
.vt-search-item { | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
padding: 9px 14px; | |||
color: #cce8d4; | |||
text-decoration: none !important; | |||
border-bottom: 1px solid rgba(125, 255, 156, 0.07); | |||
font-family: 'Crimson Pro', Georgia, serif; | |||
font-size: 15px; | |||
transition: background 0.1s; | |||
} | |||
.vt-search-item:hover { | |||
background: rgba(125, 255, 156, 0.07); | |||
color: #7dff9c !important; | |||
text-decoration: none !important; | |||
} | |||
.vt-search-thumb { | |||
width: 40px; | |||
height: 40px; | |||
flex-shrink: 0; | |||
background: rgba(125, 255, 156, 0.05); | |||
border: 1px solid rgba(125, 255, 156, 0.12); | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
overflow: hidden; | |||
} | |||
.vt-search-thumb img { | |||
width: 40px; | |||
height: 40px; | |||
object-fit: cover; | |||
display: block; | |||
} | |||
.vt-search-title { | |||
flex: 1; | |||
min-width: 0; | |||
overflow: hidden; | |||
text-overflow: ellipsis; | |||
white-space: nowrap; | |||
} | |||
.vt-search-title mark { | |||
background: none; | |||
color: #7dff9c; | |||
font-weight: 700; | |||
} | |||
.vt-search-footer { | |||
display: block; | |||
padding: 10px 14px; | |||
font-family: 'IBM Plex Mono', monospace; | |||
font-size: 10px; | |||
letter-spacing: 0.1em; | |||
color: rgba(125, 255, 156, 0.4); | |||
text-decoration: none !important; | |||
text-transform: uppercase; | |||
border-top: 1px dashed rgba(125, 255, 156, 0.1); | |||
background: rgba(125, 255, 156, 0.02); | |||
} | |||
.vt-search-footer:hover { | |||
color: #7dff9c !important; | |||
background: rgba(125, 255, 156, 0.06); | |||
text-decoration: none !important; | |||
} | } | ||
Version du 8 mai 2026 à 11:35
/*
* MediaWiki:Vaulttec.css — v2
* Chargé uniquement pour les utilisateurs du skin VaultTec.
*/
/* ============================================================
1. VARIABLES
============================================================ */
: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;
--background-main: transparent;
--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
============================================================ */
body {
background: #06100b !important;
background-image: none !important;
}
.mw-page-container {
background: transparent !important;
border: none !important;
max-width: 100% !important;
padding: 0 !important;
}
/* ============================================================
3. LAYOUT — sidebar + contenu pleine largeur
============================================================ */
.vt-page-container {
display: flex !important;
width: 100% !important;
align-items: flex-start !important;
min-height: calc(100vh - 54px) !important;
}
.vt-sidebar,
#mw-panel {
width: 220px !important;
flex-shrink: 0 !important;
}
.vt-content-container,
#content {
flex: 1 1 auto !important;
min-width: 0 !important;
width: 0 !important;
}
#bodyContent {
max-width: none !important;
width: 100% !important;
padding: 28px 36px 60px !important;
}
/* ============================================================
4. TOC — repositionné à droite, sticky
============================================================ */
#mw-content-text .toc,
#mw-content-text #toc {
float: right !important;
clear: right !important;
margin: 0 0 24px 28px !important;
min-width: 200px !important;
max-width: 240px !important;
position: sticky !important;
top: 74px !important;
max-height: calc(100vh - 100px) !important;
overflow-y: auto !important;
background: rgba(12, 24, 18, 0.9) !important;
border: 1px solid rgba(125, 255, 156, 0.15) !important;
padding: 14px 0 10px !important;
}
#mw-content-text .toctitle h2,
#mw-content-text .toc .toctitle {
font-family: 'IBM Plex Mono', monospace !important;
font-size: 9px !important;
letter-spacing: 0.28em !important;
text-transform: uppercase !important;
color: rgba(125, 255, 156, 0.5) !important;
padding: 0 16px 10px !important;
border-bottom: 1px dashed rgba(125, 255, 156, 0.13) !important;
margin-bottom: 6px !important;
}
#mw-content-text .toc ul {
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}
#mw-content-text .toc li a {
display: flex !important;
padding: 5px 16px !important;
font-size: 11px !important;
color: #7aaa88 !important;
font-family: 'IBM Plex Mono', monospace !important;
border-left: 2px solid transparent !important;
transition: all 0.15s !important;
text-decoration: none !important;
}
#mw-content-text .toc li a:hover {
color: #7dff9c !important;
background: rgba(125, 255, 156, 0.08) !important;
border-left-color: #4ab06a !important;
}
#mw-content-text .toc li li a {
padding-left: 28px !important;
font-size: 10px !important;
color: rgba(125, 255, 156, 0.4) !important;
}
.tocnumber {
color: rgba(125, 255, 156, 0.35) !important;
margin-right: 6px !important;
}
/* ============================================================
5. INFOBOX
============================================================ */
.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; }
.infobox-default-image {
background-image: url("/images/1/11/Logo_wiki_LAVT_vert.png") !important;
}
/* ============================================================
6. WIKITABLE
============================================================ */
.wikitable,
.va-table,
.mw-datatable {
background-color: rgba(12, 24, 18, 0.85) !important;
border-color: rgba(125, 255, 156, 0.15) !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;
}
.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;
}
.wikitable tr:hover td {
background-color: rgba(125, 255, 156, 0.06) !important;
}
/* ============================================================
7. 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;
}
.palette-pair { background-color: transparent !important; }
.va-infobox-title, .va-navbox-title {
background: #0f2015 !important;
color: #7dff9c !important;
}
/* ============================================================
8. BOÎTES GÉNÉRIQUES
============================================================ */
.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;
}
/* ============================================================
9. LIENS
============================================================ */
.mw-parser-output a { color: #4ab06a; }
.mw-parser-output a:visited { color: #357a4d; }
.mw-parser-output a:hover { color: #7dff9c; }
.new, a.new { color: #ff5e5e !important; }
/* ============================================================
10. TOC VECTOR 2022 (sidebar-toc)
============================================================ */
.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; }
/* ============================================================
11. PORTAILS & ACCUEIL
============================================================ */
.homepage-welcome-title,
.homepage-box-title,
.portal-box-title,
.spinoff-box-title,
.canceled-box-title,
.fangame-box-title,
.homepage-presentation-title,
.homepage-participation-title,
.homepage-articleday-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;
}
/* ============================================================
12. SITENOTICE
============================================================ */
.avt-sitenotice {
background-color: rgba(12, 24, 18, 0.9) !important;
border-color: rgba(125, 255, 156, 0.2) !important;
color: #cce8d4 !important;
}
/* ============================================================
13. RECHERCHE — dropdown avec miniatures
============================================================ */
.vt-search { position: relative !important; }
.vt-search-dropdown {
display: none;
position: absolute;
top: calc(100% + 2px);
left: 0;
width: 100%;
min-width: 340px;
background: rgba(8, 18, 12, 0.98);
border: 1px solid rgba(125, 255, 156, 0.2);
border-top: none;
z-index: 500;
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
backdrop-filter: blur(8px);
}
.vt-search-item {
display: flex;
align-items: center;
gap: 12px;
padding: 9px 14px;
color: #cce8d4;
text-decoration: none !important;
border-bottom: 1px solid rgba(125, 255, 156, 0.07);
font-family: 'Crimson Pro', Georgia, serif;
font-size: 15px;
transition: background 0.1s;
}
.vt-search-item:hover {
background: rgba(125, 255, 156, 0.07);
color: #7dff9c !important;
text-decoration: none !important;
}
.vt-search-thumb {
width: 40px;
height: 40px;
flex-shrink: 0;
background: rgba(125, 255, 156, 0.05);
border: 1px solid rgba(125, 255, 156, 0.12);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.vt-search-thumb img {
width: 40px;
height: 40px;
object-fit: cover;
display: block;
}
.vt-search-title {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.vt-search-title mark {
background: none;
color: #7dff9c;
font-weight: 700;
}
.vt-search-footer {
display: block;
padding: 10px 14px;
font-family: 'IBM Plex Mono', monospace;
font-size: 10px;
letter-spacing: 0.1em;
color: rgba(125, 255, 156, 0.4);
text-decoration: none !important;
text-transform: uppercase;
border-top: 1px dashed rgba(125, 255, 156, 0.1);
background: rgba(125, 255, 156, 0.02);
}
.vt-search-footer:hover {
color: #7dff9c !important;
background: rgba(125, 255, 156, 0.06);
text-decoration: none !important;
}