« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* ============================= */ | |||
/* IMAGE DE FOND GLOBALE */ | /* IMAGE DE FOND GLOBALE */ | ||
/* ============================= */ | |||
body { | body { | ||
background-image: url("/wiki/index.php/Special:FilePath/Site-background-light.webp"); | background-image: url("/wiki/index.php/Special:FilePath/Site-background-light.webp"); | ||
| Ligne 8 : | Ligne 11 : | ||
/* | /* ============================= */ | ||
/* STRUCTURE VECTOR TRANSPARENTE */ | |||
/* ============================= */ | |||
#mw-page-base, | #mw-page-base, | ||
#mw-head-base, | #mw-head-base, | ||
| Ligne 18 : | Ligne 24 : | ||
/* ============================= */ | |||
/* MENU LATERAL */ | /* MENU LATERAL */ | ||
/* ============================= */ | |||
#mw-panel { | #mw-panel { | ||
background: transparent !important; | background: transparent !important; | ||
| Ligne 30 : | Ligne 39 : | ||
/* ============================= */ | |||
/* HEADER / NAVIGATION */ | /* HEADER / NAVIGATION */ | ||
.vector-page-toolbar a | /* ============================= */ | ||
.vector-page-toolbar a { | |||
color: white !important; | |||
} | |||
/* ============================= */ | |||
/* ONGLETS PAGE */ | |||
/* Page / Discussion / Lire / Modifier */ | |||
/* ============================= */ | |||
.vector-menu-tabs { | |||
background: white !important; | |||
} | |||
.vector-menu-tabs a { | .vector-menu-tabs a { | ||
color: | color: black !important; | ||
} | |||
.vector-menu-tabs .selected a { | |||
color: black !important; | |||
} | } | ||
/* CONTENU DES ARTICLES | /* ============================= */ | ||
/* CONTENU DES ARTICLES */ | |||
/* ============================= */ | |||
.mw-body, | .mw-body, | ||
#content, | #content, | ||
| Ligne 45 : | Ligne 77 : | ||
/* ============================= */ | |||
/* BARRE DE RECHERCHE */ | /* BARRE DE RECHERCHE */ | ||
/* ============================= */ | |||
.vector-search-box, | .vector-search-box, | ||
.vector-search-box-input { | .vector-search-box-input { | ||
| Ligne 53 : | Ligne 88 : | ||
/* ============================= */ | |||
/* CATEGORIES EN BAS DE PAGE */ | /* CATEGORIES EN BAS DE PAGE */ | ||
/* ============================= */ | |||
.catlinks { | .catlinks { | ||
background: white !important; | background: white !important; | ||
} | } | ||
Version du 9 mars 2026 à 05:27
/* ============================= */
/* IMAGE DE FOND GLOBALE */
/* ============================= */
body {
background-image: url("/wiki/index.php/Special:FilePath/Site-background-light.webp");
background-size: cover;
background-position: center;
background-attachment: fixed;
}
/* ============================= */
/* STRUCTURE VECTOR TRANSPARENTE */
/* ============================= */
#mw-page-base,
#mw-head-base,
.mw-page-container,
.vector-page-toolbar,
.vector-page-toolbar-container {
background: transparent !important;
}
/* ============================= */
/* MENU LATERAL */
/* ============================= */
#mw-panel {
background: transparent !important;
}
#mw-panel a,
.vector-menu-heading,
.vector-menu-content a {
color: white !important;
}
/* ============================= */
/* HEADER / NAVIGATION */
/* ============================= */
.vector-page-toolbar a {
color: white !important;
}
/* ============================= */
/* ONGLETS PAGE */
/* Page / Discussion / Lire / Modifier */
/* ============================= */
.vector-menu-tabs {
background: white !important;
}
.vector-menu-tabs a {
color: black !important;
}
.vector-menu-tabs .selected a {
color: black !important;
}
/* ============================= */
/* CONTENU DES ARTICLES */
/* ============================= */
.mw-body,
#content,
.mw-parser-output {
background: white !important;
}
/* ============================= */
/* BARRE DE RECHERCHE */
/* ============================= */
.vector-search-box,
.vector-search-box-input {
background: white !important;
color: black !important;
}
/* ============================= */
/* CATEGORIES EN BAS DE PAGE */
/* ============================= */
.catlinks {
background: white !important;
}
/* Centrage visuel définitif des images MediaWiki */
.mw-parser-output figure,
.mw-parser-output figure img,
.mw-parser-output .mw-file-element {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
text-align: center !important;
}
.mw-parser-output figure figcaption {
text-align: center;
}
/* Infobox Project : New Earth */
.infobox-pne {
float: right;
width: 280px;
margin: 0 0 1em 1em;
background: #f8f9fa;
border: 1px solid #aaa;
font-size: 0.9em;
}
.infobox-title {
background: #2c3e50;
color: #fff;
text-align: center;
font-weight: bold;
padding: 6px;
}
.infobox-image {
text-align: center;
padding: 6px;
}
.infobox-image img {
max-width: 100%;
height: auto;
}
.infobox-caption {
font-size: 0.8em;
color: #555;
}
.infobox-table {
width: 100%;
border-collapse: collapse;
}
.infobox-table th {
background: #ddd;
text-align: center;
padding: 4px;
}
.infobox-table td {
padding: 4px;
border-top: 1px solid #ccc;
}
/* Icônes inline dans infobox */
.infobox-inline-image img {
vertical-align: middle;
}
/* Correctif images dans infobox */
.infobox-pne figure,
.infobox-pne .mw-file-element {
margin-left: 0 !important;
margin-right: 0 !important;
display: block;
}
.infobox {
float: right;
clear: right;
width: 260px;
margin: 0 0 1em 1em;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border-spacing: 0;
font-size: 90%;
}
/* Titre des infobox (Crewmate) */
.infobox > tbody > tr:first-child > th {
font-size: 1.3em; /* augmente la taille */
font-weight: bold; /* met en gras */
text-align: center; /* centré comme Fandom */
background-color: #eaecf0;
padding: 8px;
}
/* Barre de titre des infobox (Crewmate) */
.infobox > tbody > tr:first-child > th {
font-size: 1.4em;
font-weight: bold;
text-align: center;
padding: 10px 6px;
/* Barre sombre */
background-color: #2c2f36;
color: #ffffff;
/* petit effet propre */
border-bottom: 2px solid #1f2228;
letter-spacing: 0.05em;
}