MediaWiki:Vector.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).
- Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
- Opera : appuyez sur Ctrl + F5.
/* Page d'accueil */
.sf-homepage-welcome {
height: 320px;
background-image: url("https://starfield-wiki.com/images/webp/f/f5/Fond_A_Journey_Through_Space.webp");
background-size: cover;
border: 1px solid black;
display: grid;
place-content: center end;
color: rgb(245, 247, 247);
padding-right: 50px;
}
.sf-homepage-color-banner {
--number-of-stripes: 4;
--stripe-height: 6px;
height: calc(var(--stripe-height) * var(--number-of-stripes));
background-image: linear-gradient(
rgb(200, 35, 55) 0%,
rgb(200, 35, 55) 25%,
rgb(224, 98, 54) 25%,
rgb(224, 98, 54) 50%,
rgb(215, 171, 97) 50%,
rgb(215, 171, 97) 75%,
rgb(47, 76, 121) 75%,
rgb(47, 76, 121) 100%
);
}
.sf-homepage-welcome-title {
font-size: 50px;
font-weight: bold;
font-family: Helvetica;
}
.sf-homepage-welcome-subtitle {
text-align: center;
}
.sf-homepage-welcome-subtitle a {
color: #d7ab61;
}
/* Modèle:Bandeau */
.sf-banner {
border-width: 1px 1px 1px 10px;
font-size: 0.9em;
line-height: 1.25em;
padding: 0.5em 1em;
margin: 0.8em 10%;
}
.sf-banner-moderate {
border-color: #ff8822;
background-color: #ffeedd;
}
.sf-banner-simple,
.sf-banner-article,
.sf-banner-section {
border-style: solid;
overflow: hidden;
position: relative;
}
.sf-banner-cell {
display: table-cell;
vertical-align: middle;
}
.sf-banner-image {
vertical-align: middle;
text-align: center;
width: 45px;
padding-right: 1em;
}
.sf-homepage-social {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 5px;
margin-top: 5px;
}
.sf-homepage-social a.external {
border: 3px solid rgb(11, 25, 43);
height: 40px;
justify-content: center;
align-content: center;
text-align: center;
display: grid;
font-weight: bold;
box-shadow: inset 0 0 0 0 #31302B;
transition: all ease 0.8s;
background-image: none;/* Suppression du logo lien externe */
padding: 0.5em 80px;
background-color: #e2e7ed;
background-position: 20px center;
background-size: 50px;
line-height: 1.2em;
}
.sf-homepage-social a.external:hover {
box-shadow: inset 0 -80px 0 0 #2f4c79;
color: #fff;
}
.sf-homepage-social a.external:nth-child(1) {
background-image: url("https://starfield-france.com/uploads/default/original/1X/c0fb2de4d65242d7b6501bd432dbe6b79ee7d126.png");
}
.sf-homepage-social a.external:nth-child(2) {
background-image: url("https://assets-global.website-files.com/6257adef93867e50d84d30e2/62595384e89d1d54d704ece7_3437c10597c1526c3dbd98c737c2bcae.svg");
}
.sf-homepage-social a.external:nth-child(3) {
background-image: url("https://1000logos.net/wp-content/uploads/2020/09/Bethesda-emblem.png");
}
.sf-homepage-presentation {
background-color: #e2e7ed;
border: 3px solid rgb(11, 25, 43);
margin-top: 5px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 1em;
font-size: 0.9em;
padding: 0.5em 1em;
}
.sf-homepage-presentation div.thumb {
margin-bottom: 0;/* Margin ajouté par la vignette de EmbedVideo */
}
/* Modèle:Documentation */
/* Modèle:Documentation module */
.sf-doc {
border: 1px solid black;
}
.sf-doc-header,
.sf-doc-footer {
background-color: #ffffff;
padding: 0.5em;
}
.sf-doc-header {
border-bottom: 1px solid black;
}
.sf-doc-footer {
border-top: 1px solid black;
font-style: italic;
}
.sf-doc-title {
font-weight: bold;
font-size: 125%;
vertical-align: middle;
}
.sf-doc-body {
padding: 1em 0.8em;
}
.sf-doc-links {
vertical-align: middle;
margin-left: 1em;
margin-right: 0;
font-size: small;
line-height: 1em;
}
/* TODO: A trier */
/* Le reste du document provient de fallout-wiki.com */
/*
---------------------------------------------------
Variables
---------------------------------------------------
Ces variables définissent les couleurs utilisés par
le wiki.
---------------------------------------------------
*/
:root {
--background-color-dp-00: #a9ceea;
--background-color-dp-01: #b1d2ec;
--background-color-dp-02: #bad7ee;
--background-color-dp-03: #c2dcf0;
--background-color-dp-04: #cbe1f2;
--background-color-dp-06: #d4e6f4;
--background-color-dp-08: #dcebf6;
--background-color-dp-12: #e5f0f8;
--background-color-dp-16: #edf5fa;
--background-color-dp-24: #f6fafc;
--background-img: no-repeat url(avt-main-background.jpg);
--background-main: #fff;
--box-background-color: #f6fafc;
--box-shadow: 0 0 10px #e9f2f9;
--color-base: black;
--color-warning: #ffcc33;
--color-link: #0645ad;
--border-color-base: rgba(0, 0, 0, 0.1);
}
/*
---------------------------------------------------
Mode sombre
---------------------------------------------------
Partie régissant le mode sombre
---------------------------------------------------
*/
:root > .client-dark-mode {
--background-color-dp-00: #020601;
--background-color-dp-01: #040d02;
--background-color-dp-02: #e5f4e0;
--background-color-dp-03: #d4eccc;
--background-color-dp-04: #0c2205;
--background-color-dp-06: #0e2806;
--background-color-dp-08: #102f07;
--background-color-dp-12: #133608;
--background-color-dp-16: #153d09;
--background-color-dp-24: #18440b;
--background-img: no-repeat url(avt-necropolis-background.jpg);
--background-main: #fff;
--box-background-color: #fafffa;
--box-shadow: 0 0 10px #f1fff2;
--color-base: black;
--color-warning: #ffcc33;
--color-link: green;
--color-link-visited: #144905;
--border-color-base: rgba(0, 0, 0, 0.1);
}
.client-dark-mode a,
.client-dark-mode #mw-panel .portal .body li a,
.client-dark-mode .toctogglelabel,
.client-dark-mode .mw-parser-output a.external,
.client-dark-mode .mw-parser-output a.extiw,
.client-dark-mode .mw-parser-output a.extiw:active,
.client-dark-mode .vector-menu-portal .vector-menu-content li a,
.vector-menu-tabs li a {
color: var(--color-link);
}
.client-dark-mode a:visited,
.client-dark-mode #mw-panel .portal .body li a:visited,
.client-dark-mode .vector-menu-portal .vector-menu-content li a:visited {
color: var(--color-link-visited);
}
.client-dark-mode .infobox,
.client-dark-mode .toc,
.client-dark-mode .thumbinner,
.client-dark-mode #simpleSearch,
.client-dark-mode #searchInput,
.client-dark-mode #searchButton,
.client-dark-mode #searchGoButton,
.client-dark-mode table,
.client-dark-mode table.toccolours,
.client-dark-mode .wikitable,
.client-dark-mode .mw-notification {
background-color: var(--box-background-color);
border-color: var(--border-color-base);
}
/*
---------------------------------------------------
Legacy
---------------------------------------------------
le style ci-dessous doit être maintenu tant
que les modèles associés sont encore utilisés.
Ces classes doivent être supprimées.
---------------------------------------------------
*/
/* Arrière-plan partagé */
.va-infobox-title,.va-navbox-title{background-color:#383020;background-image:none;background:url(/skins/Vector/images/background/foggy.png)!important}
/* Modèle:Docparam */
.va-docparam{background:#678e6c;border:1px dotted #d9d9d9;margin-bottom:3px;overflow:auto;padding:0 2px 0 20px;text-indent:-20px}.va-docparam-icon{float:left;margin:0;padding:0;width:20px}.va-docparam-default{float:right;font-size:10px}.va-docparam-params{font-family:monospace;color:#000}.va-docparam-desc{margin:0;padding:0 0 5px 20px}
/* Modèle:Console */
.va-console{background-color:#cfc;color:#000;font-family:consolas;padding:2px}.va-console-cmd{color:#555}
/* Modèle:Introduction */
.va-intro-image{padding-left:2px;padding-right:2px}.va-intro td{padding-bottom:2px}.va-intro-header{font-size:16px;font-weight:700}.va-intro-bullets{font-size:11px;line-height:16px;vertical-align:top;font-family:sans-serif}
/* Modèle:Plus */
.va-more{margin-top:.5em}.va-more-link{font-size:10px;line-height:15px}
/* MediaWiki:Newarticle */
.mw-newarticletext,.mw-newarticletextanon{border:1px solid #383838;margin-bottom:10px;padding:10px;background-color:rgba(58,58,58,.2)}.mw-newarticletext h2,.mw-newarticletextanon h2{border:none;color:#51e527;padding:0;margin:10px 0 13px 0}.new-article-game{color:#51e527}
/*
---------------------------------------------------
Extension override
---------------------------------------------------
le style ci-dessous écrase les classes ajoutées
par les extensions MediaWiki
---------------------------------------------------
*/
/* ------------------------------ */
/* Extension:TabberNeue */
/* ------------------------------ */
.tabber__header {
box-shadow: none;
}
.tabber__tabs {
margin-bottom: 1em;
}
/*
---------------------------------------------------
Vector override
---------------------------------------------------
le style ci-dessous écrase les classes par défaut
de l'habillage Vector.
---------------------------------------------------
*/
/* Fond principal */
body {
background: var(--background-img);
background-size: cover;
background-attachment: fixed;
}
/* Cadre central */
.mw-page-container {
background: var(--background-main);
border-left: 1px solid var(--border-color-base);
border-right: 1px solid var(--border-color-base);
}
/* Cadre de la barre latéral gauche */
#mw-panel {
background: var(--background-main);
}
/* Barre latérale gauche + sommaire sticky */
.sidebar-toc,
.vector-toc-enabled .mw-sidebar {
background-color: var(--background-main);
border-width: 0px;
}
/* ------------------------------ */
/* MediaWiki:Sitenotice */
/* ------------------------------ */
.avt-sitenotice {
border: 1px solid var(--border-color-base);
background-color: var(--box-background-color);
box-shadow: var(--box-shadow);
padding: 5px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
/* ----------------------- */
/* Galerie pages-listes */
/* ----------------------- */
.avt-gallery-list-page {
text-align: center;
margin: 0.3em 0 0 0 !important;
}
.avt-gallery-list-page li.gallerybox div.thumb {
border: none;
background-color: transparent;
}
.avt-gallery-list-page li.gallerybox div.thumb img {
transition: transform 0.2s;
}
.avt-gallery-list-page li.gallerybox div.thumb img:hover {
transform: scale(1.5);
}
/* ----------------------- */
/* Tables MediaWiki */
/* ----------------------- */
.wikitable,
.mw-datatable,
.mw_metadata {
box-shadow: var(--box-shadow);
background-color: var(--box-background-color);
font-size: 12px;
line-height: 16px;
margin-bottom: 5px;
font-family: sans-serif;
overflow: auto;
color: var(--color-base);
}
.mw-datatable tr:hover td {
background-color: var(--background-color-dp-04);
}
.wikitable > tr > td,
.wikitable > * > tr > td,
.wikitable > tr > th,
.wikitable > * > tr > th,
.mw-datatable > tr > td,
.mw-datatable > * > tr > td,
.mw-datatable > tr > th,
.mw-datatable > * > tr > th,
.mw_metadata > tr > td,
.mw_metadata > * > tr > td,
.mw_metadata > tr > th,
.mw_metadata > * > tr > th {
border: 1px solid var(--border-color-base);
padding: 4px 8px;
}
.wikitable > tr > th,
.wikitable > * > tr > th,
.mw-datatable > tr > th,
.mw-datatable > * > tr > th,
.mw_metadata > tr > th,
.mw_metadata > * > tr > th {
background-color: var(--background-color-dp-02);
font-weight: bold;
text-align: center;
}
.mw-datatable td,
.mw_metadata td {
background-color: var(--box-background-color);
}
/* ----------------------- */
/* Tables personnalisées */
/* ----------------------- */
.avt-table-large {
table-layout: fixed;
width: 100%;
word-break: break-word;
}
.va-table {
box-shadow: var(--box-shadow);
background-color: var(--box-background-color);
border-collapse: collapse;
empty-cells: show;
font-size: 12px;
line-height: 16px;
margin-bottom: 5px;
font-family: sans-serif;
overflow: auto;
}
.va-table > tr > td,
.va-table > * > tr > td,
.va-table > tr > th,
.va-table > * > tr > th {
border: 1px solid var(--border-color-base);
padding: 4px 8px;
}
.va-table > tr > th,
.va-table > * > tr > th {
background-color: var(--background-color-dp-02);
font-weight: bold;
text-align: center;
}
/* Adapting lists & paragraphs */
.va-table ul,
.va-table ol,
.va-table p {
line-height: 16px;
margin-bottom: 0;
}
.va-table ul,
.va-table ol {
margin-left: 20px;
margin-top: 0;
}
.va-table p,
.va-table * + ul,
.va-table * + ol {
margin-top: 3px;
}
.va-table ul li,
.va-table ol li {
margin-bottom: 0;
}
/* Highlighted rows */
.va-table > tr.va-table-highlight,
.va-table > * > tr.va-table-highlight,
.va-table > tr.va-table-highlight > th,
.va-table > * > tr.va-table-highlight > th {
background-color: var(--background-color-dp-01);
}
/* Tables with specific vertical alignment for cells */
.va-table-top > tr > td,
.va-table-top > * > tr > td {
vertical-align: top;
}
.va-table-middle > tr > td,
.va-table-middle > * > tr > td {
vertical-align: middle;
}
.va-table-bottom > tr > td,
.va-table-bottom > * > tr > td {
vertical-align: bottom;
}
/* Tables with specific horizontal alignment for cells/columns */
.va-table-center > tr > td,
.va-table-center > * > tr > td,
.va-table-center-col1 > * > tr > td:first-child,
.va-table-center-col2 > * > tr > *:first-child + td,
.va-table-center-col3 > * > tr > *:first-child + * + td,
.va-table-center-col4 > * > tr > *:first-child + * + * + td,
.va-table-center-col5 > * > tr > *:first-child + * + * + * + td,
.va-table-center-col6 > * > tr > *:first-child + * + * + * + * + td,
.va-table-center-col7 > * > tr > *:first-child + * + * + * + * + * + td,
.va-table-center-col8 > * > tr > *:first-child + * + * + * + * + * + * + td,
.va-table-center-col9 > * > tr > *:first-child + * + * + * + * + * + * + * + td,
.va-table-center-col10
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-center-col11
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-center-col12
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-center-col13
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-center-col14
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-center-col15
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td {
text-align: center;
}
.va-table-left > tr > td,
.va-table-left > * > tr > td,
.va-table-left-col1 > * > tr > td:first-child,
.va-table-left-col2 > * > tr > *:first-child + td,
.va-table-left-col3 > * > tr > *:first-child + * + td,
.va-table-left-col4 > * > tr > *:first-child + * + * + td,
.va-table-left-col5 > * > tr > *:first-child + * + * + * + td,
.va-table-left-col6 > * > tr > *:first-child + * + * + * + * + td,
.va-table-left-col7 > * > tr > *:first-child + * + * + * + * + * + td,
.va-table-left-col8 > * > tr > *:first-child + * + * + * + * + * + * + td,
.va-table-left-col9 > * > tr > *:first-child + * + * + * + * + * + * + * + td,
.va-table-left-col10
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-left-col11
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-left-col12
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-left-col13
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-left-col14
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-left-col15
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td {
text-align: left;
}
.va-table-right > tr > td,
.va-table-right > * > tr > td,
.va-table-right-col1 > * > tr > td:first-child,
.va-table-right-col2 > * > tr > *:first-child + td,
.va-table-right-col3 > * > tr > *:first-child + * + td,
.va-table-right-col4 > * > tr > *:first-child + * + * + td,
.va-table-right-col5 > * > tr > *:first-child + * + * + * + td,
.va-table-right-col6 > * > tr > *:first-child + * + * + * + * + td,
.va-table-right-col7 > * > tr > *:first-child + * + * + * + * + * + td,
.va-table-right-col8 > * > tr > *:first-child + * + * + * + * + * + * + td,
.va-table-right-col9 > * > tr > *:first-child + * + * + * + * + * + * + * + td,
.va-table-right-col10
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-right-col11
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-right-col12
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-right-col13
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-right-col14
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td,
.va-table-right-col15
> *
> tr
> *:first-child
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ td {
text-align: right;
}
/* Tables which are full width */
.va-table-full {
width: 100%;
}
/* Tables which leave enough space for an infobox on the right */
.va-table-full-infobox {
width: 100%; /*960px;*/
}
/* Tables which are floated */
.va-table-float-left {
clear: left;
float: left;
margin: 0 10px 10px 0;
}
.va-table-float-right {
clear: right;
float: right;
margin: 0 0 10px 10px;
}
/* Tables in which the first column starts with an icon */
.va-table-icon > tr > td:first-child,
.va-table-icon > * > tr > td:first-child {
padding-left: 18px;
text-indent: -18px;
}
/*
---------------------------------------------------
Portals
---------------------------------------------------
Les classes ci-dessous sont utilisées par les
portails.
---------------------------------------------------
*/
/* On cache le titre des portails */
body.action-view.page-Accueil #firstHeading,
body.action-view.page-Portail_Fallout #firstHeading,
body.action-view.page-Portail_Fallout_2 #firstHeading,
body.action-view.page-Portail_Fallout_3 #firstHeading,
body.action-view.page-Portail_Fallout_4 #firstHeading,
body.action-view.page-Portail_Fallout_76 #firstHeading,
body.action-view.page-Portail_Fallout_New_Vegas #firstHeading,
body.action-view.page-Portail_Fallout_Shelter #firstHeading,
body.action-view.page-Portail_Fallout_Tactics #firstHeading {
position: absolute;
top: -5000px;
}
/* On cache l'en-tete fixe pour le moment sur l'accueil */
body.action-view.page-Accueil #vector-sticky-header {
display: none;
}
/* Cadre principale et structure */
.homepage {
display: grid;
grid-gap: 1rem;
grid-template-areas:
"welcome welcome welcome"
"games games games"
"fangames fangames theme"
"anecdotes anecdotes presentation"
"articleday articleday participation";
}
/* Définition des zones */
.homepage-welcome {
grid-area: welcome;
background: linear-gradient(to bottom, #fff, var(--box-background-color));
border-bottom: solid 1px var(--border-color-base);
}
.homepage-portal-games {
grid-area: games;
}
.homepage-portal-fangames {
grid-area: fangames;
}
.homepage-portal-theme {
grid-area: theme;
}
.homepage-presentation {
grid-area: presentation;
}
.homepage-participation {
grid-area: participation;
}
.homepage-articleday {
grid-area: articleday;
}
.homepage-anecdotes {
grid-area: anecdotes;
}
/* Boîte générique */
.homepage-box {
border: 1px solid var(--border-color-base);
background: var(--box-background-color);
box-shadow: var(--box-shadow);
padding: 1rem;
}
.homepage-welcome-subtitle,
.homepage-welcome-links,
.homepage-portal-theme .homepage-box-content {
text-align: center;
}
.homepage-welcome-fogen {
margin-bottom: 1rem;
text-align: center;
}
.homepage-welcome-title {
text-align: center;
font-size: 200%;
margin: 0 50px 5px 50px;
border-bottom: 1px solid var(--border-color-base);
text-shadow: 0 0 8px #829fce;
color: #425b84;
font-weight: bold;
}
.homepage-box-title {
text-align: center;
font-size: 150%;
border-bottom: 1px solid var(--border-color-base);
margin-bottom: 20px;
text-shadow: 0 0 8px #829fce;
color: #425b84;
}
.homepage-portal-fangames-list {
list-style: none;
margin: 0 !important;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 30px 0;
}
.homepage-portal-games-list {
list-style: none;
margin: 0 !important;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-gap: 30px 0;
}
.homepage-portal-games-item {
text-align: center;
font-size: 0.85em;
}
.homepage-portal-games-logo {
height: 60px;
}
.homepage-presentation-title,
.homepage-participation-title,
.homepage-articleday-title,
.homepage-imageday-title {
border-bottom: 1px solid var(--border-color-base);
margin-bottom: 20px;
text-shadow: 0 0 8px var(--color-link);
color: var(--color-link);
}
.homepage-presentation-content,
.homepage-participation-content,
.homepage-articleday-content,
.homepage-imageday-content {
font-size: 0.85em;
}
/*
---------------------------------------------------
Cross classes
---------------------------------------------------
Les classes ci-dessous sont utilisées par plusieurs
modèles ou modules
---------------------------------------------------
*/
/* Pour créer des listes simples, souvent appelées
dans des modèles ou des tables */
.avt-simple-list {
margin: 0 !important;
list-style: none;
}
/* Séparateur <hr/> */
.separator {
background-color: var(--border-color-base);
}
/* Boîte générique */
.avt-genericbox {
border: 1px solid var(--border-color-base);
background: var(--box-background-color);
}
/*
---------------------------------------------------
Templates & Modules
---------------------------------------------------
le style ci-dessous défini l'apparence des modèles
et des modules.
Les modèles doivent être rangés dans l'ordre
alphabétique.
---------------------------------------------------
*/
/* ------------------------------ */
/* Modèle:Bandeau d'avertissement */
/* ------------------------------ */
.avt-warn-banner {
margin: 0.5em 90px;
display: grid;
grid-template-columns: max-content auto;
gap: 8px;
padding: 0 10px;
border-style: solid;
border-width: 1px 1px 1px 12px;
background-color: var(--box-background-color);
}
.avt-warn-banner-header {
font-weight: bold;
}
.avt-warn-banner-img {
margin: auto;
}
.avt-warn-banner-text {
padding: 5px;
}
.avt-warn-banner-desc,
.avt-warn-banner-note {
font-size: 0.8em;
}
/* Types de bandeau */
.avt-warn-banner-maintenance {
border-color: var(--color-warning);
}
.avt-warn-banner-info {
border-color: #77ccff;
}
.avt-warn-banner-license {
border-color: #c0c0ff;
}
/* ------------------------------ */
/* Modèle:Bandeau de note */
/* ------------------------------ */
.avt-note-banner {
margin-top: 0.5em;
padding-left: 2em;
padding-bottom: 0.5em;
margin-bottom: 0.5em;
background: var(--background-main);
font-style: italic;
border-bottom: 1px solid var(--border-color-base);
display: flex;
align-items: center;
gap: 10px;
}
.avt-note-banner + .avt-note-banner {
margin-top: calc(-0.5em - 1.05px);
}
/* ------------------------------ */
/* Modèle:Bandeau de rubrique */
/* ------------------------------ */
.avt-section-banner {
padding: 0.25em 0.5em;
border-top: 1px solid var(--border-color-base);
border-bottom: 1px solid var(--border-color-base);
margin: 0.5em 0 0.5em 2em;
background-color: var(--box-background-color);
font-size: 0.9em;
overflow: hidden;
display: flex;
align-items: center;
gap: 10px;
}
/* ------------------------------ */
/* Modèle:Bandeau de source */
/* ------------------------------ */
.avt-source-banner {
margin: 0.5em 0;
display: flex;
gap: 8px;
align-items: center;
}
.avt-source-banner-text {
padding: 5px;
font-size: 0.9em;
border-top: 1px solid var(--border-color-base);
border-bottom: 1px solid var(--border-color-base);
}
/* ------------------------------ */
/* Modèle:Boîte de contenu de jeu */
/* ------------------------------ */
.avt-content-game-box {
border: 1px solid var(--border-color-base);
box-shadow: var(--box-shadow);
padding: 5px;
margin: 0.5em 0;
font-size: 0.85em;
background-color: var(--box-background-color);
overflow: hidden;
}
.avt-content-game-box span.mw-collapsible-toggle {
float: right;
padding: 0.25em 1em;
}
#avt-content-game-box-title {
text-align: center;
border: 1px solid var(--border-color-base);
background-color: var(--background-color-dp-02);
padding: 3px;
padding: 0.25em 8em;
font-weight: bold;
}
.avt-content-game-box-list {
margin: 0 !important;
padding: 5px !important;
list-style: none;
column-count: 2;
column-rule: 1px solid var(--border-color-base);
}
/* ------------------------------ */
/* Modèle:Boîte déroulante */
/* ------------------------------ */
.avt-dropdown-box {
margin: 0.5em 0;
padding: 3px;
border: 1px solid var(--border-color-base);
overflow: auto;
}
.avt-dropdown-box-title {
text-align: center;
background-color: var(--background-color-dp-02);
}
.avt-dropdown-box-content {
padding: 0 5px;
}
.avt-dropdown-box .mw-collapsible-toggle {
padding-right: 0.5em;
}
/* ------------------------------ */
/* Modèle:Citation */
/* ------------------------------ */
.mw-body-content blockquote {
border-left: none;
}
blockquote {
margin: 0 auto;
}
q::before,
q::after {
content: "";
}
blockquote small {
margin-bottom: 10px;
display: block;
padding-left: 150px;
}
blockquote small,
q small {
font-size: inherit;
}
blockquote .mediaContainer {
display: inline-block;
}
/* ------------------------------ */
/* Modèle:Citation ligne */
/* ------------------------------ */
.np-quote-snd-trigger {
display: inline-block;
position: relative;
top: auto;
left: auto;
padding: 0px 2px;
}
.np-quote-snd-trigger:hover .np-quote-snd-player {
display: block;
}
.np-quote-snd-player {
display: none;
position: absolute;
top: -30px;
left: 100%;
z-index: 100 !important;
width: 300px;
overflow-x: hidden;
margin: 0px;
padding: 5px 10px 10px 10px;
border: 1px solid var(--border-color-base);
box-shadow: var(--box-shadow);
background-color: var(--box-background-color);
text-align: left;
font-size: 0.85em;
}
.np-quote-snd-player-img {
float: left;
width: 55px;
}
.np-quote-snd-player-title {
width: 250px;
height: 50px;
display: table-cell;
vertical-align: middle;
}
.np-quote-snd-player-title span {
font-size: 18px;
}
/* ------------------------------ */
/* Modèle:Documentation */
/* ------------------------------ */
.va-documentation,
.va-documentation-bar-top,
.va-documentation-bar-bottom {
border-color: var(--border-color-base);
border-style: solid;
clear: both;
}
.va-documentation {
border-width: 1px;
margin: 10px 0;
box-shadow: var(--box-shadow);
background: var(--box-background-color);
}
.va-documentation-bar-top,
.va-documentation-bar-bottom {
background-color: var(--background-color-dp-02);
margin: 0;
padding: 10px;
}
.va-documentation-bar-top {
border-width: 0 0 1px 0;
}
.va-documentation-bar-bottom {
border-width: 1px 0 0 0;
text-align: right;
}
.va-documentation-links {
float: right;
text-align: right;
}
.va-documentation-content {
margin: 0;
padding: 20px;
}
.va-documentation-small {
font-size: 0.8em;
}
.va-documentation-bar-top .external {
background: none !important;
padding: 0 !important;
}
/* ---------------------------------- */
/* Modèle:En-tête Aide */
/* ---------------------------------- */
.avt-help-homepage-title {
color: var(--color-warning);
text-align: center;
}
.avt-help-header {
display: grid;
gap: 10px;
grid-template-columns: 1fr 1fr;
padding: 20px;
border: 1px solid var(--border-color-base);
background-color: var(--box-background-color);
box-shadow: var(--box-shadow);
justify-items: center;
align-items: center;
margin: 1em 0;
}
/* ---------------------------------- */
/* Modèle:Fiche de créatur */
/* ---------------------------------- */
.creature-card {
margin: 1em 0 1em 0;
display: grid;
grid-template-columns: 3fr 2fr;
padding: 1em;
background-color: var(--box-background-color);
border: 1px solid var(--border-color-base);
box-shadow: var(--box-shadow);
}
.creature-card-description {
padding-right: 1em;
}
.creature-card-data {
padding-left: 1em;
border-left: 1px solid var(--border-color-base);
}
.creature-card-table {
font-size: 12px;
width: 100%;
table-layout: fixed;
border-collapse: collapse;
display: table;
line-height: 1rem;
margin: 0 0 5px 0;
}
.creature-card-table caption,
.creature-card-list dt {
font-weight: bold;
line-height: 1.1;
margin: 0 0 5px 0;
padding: 4px;
background-color: var(--background-color-dp-02);
text-align: center;
border: 1px solid var(--border-color-base);
}
.creature-card-table th[scope="row"] {
text-align: left;
padding-right: 10px;
max-width: 140px;
word-wrap: normal;
}
.creature-card-table th[scope="row"],
.creature-card-table td {
padding-top: 4px;
vertical-align: super;
}
.creature-card-list {
font-size: 12px;
}
/* ---------------------------------- */
/* Modèle:Galerie de vidéos */
/* ---------------------------------- */
.avt-videogallery {
list-style: none;
margin: 0.5em 0 !important;
display: inline-flex;
flex-wrap: wrap;
gap: 0 20px;
}
/* ------------------------------ */
/* Modèle:Infobox */
/* ------------------------------ */
.avt-infobox {
box-shadow: var(--box-shadow);
padding: 5px;
background-color: var(--box-background-color);
border: 1px solid var(--border-color-base);
clear: right;
float: right;
font-size: 0.9em;
line-height: 1.4;
margin: 0 0 0.5em 1em;
word-wrap: break-word;
max-width: 400px;
}
.avt-infobox-header {
border: 1px solid var(--border-color-base);
padding: 3px;
text-align: center;
font-size: 1.4em;
line-height: 1.1;
margin-bottom: 10px;
background-color: var(--background-color-dp-02);
display: grid;
grid-template-columns: 1fr 1.7fr 0.3fr;
grid-template-rows: 1fr 1fr 1fr;
grid-auto-flow: row;
gap: 0 0;
}
.avt-infobox-header-icon,
.avt-infobox-header-title,
.avt-infobox-header-subhead {
justify-self: center;
align-self: center;
}
.avt-infobox-header-icon {
grid-area: 1 / 3 / 4 / 4;
}
.avt-infobox-header-title {
grid-area: 2 / 1 / 4 / 4;
font-weight: bold;
}
.avt-infobox-header-subhead {
grid-area: 1 / 1 / 2 / 4;
font-size: 0.6em;
}
.avt-infobox-images {
text-align: center;
display: flex;
justify-content: space-around;
align-items: center;
padding: 2px 0;
}
.avt-infobox-images a {
max-width: 100%;
flex: 0 0 auto;
}
.avt-infobox-images img {
height: auto;
width: auto;
max-width: 100%;
max-height: 250px;
}
.avt-infobox-images-legend {
text-align: center;
font-size: 0.9em;
}
.avt-infobox table {
width: 100%;
margin: 5px 0;
table-layout: fixed;
border-collapse: collapse;
display: table;
}
.avt-infobox caption {
text-align: center;
border: 1px solid var(--border-color-base);
}
.avt-infobox p.bloc,
.avt-infobox caption {
font-weight: bold;
line-height: 1.1;
margin: 0 0 5px 0;
padding: 4px;
background-color: var(--background-color-dp-02);
}
.avt-infobox th[scope="row"],
.avt-infobox td {
padding-top: 4px;
vertical-align: super;
}
.avt-infobox th[scope="row"] {
text-align: left;
padding-right: 10px;
width: 8em;
max-width: 140px;
word-wrap: normal;
}
.avt-infobox span.mw-collapsible-toggle {
float: right;
}
.avt-infobox span.mw-collapsible-toggle a {
color: var(--color-base);
}
.avt-infobox-armor-rdsd {
width: 3em;
display: inline-block;
}
/* ------------------------------ */
/* Modèle:Infobulle */
/* ------------------------------ */
.avt-tooltip {
border-bottom: 1px dotted;
cursor: help;
}
/* ---------------------------------- */
/* Modèle:Interactions */
/* ---------------------------------- */
.avt-interactions {
list-style: none;
margin: 0.5em 0 !important;
max-width: 32rem;
}
.avt-interactions-row {
display: grid;
grid-template-columns: 8rem auto;
border: 1px solid var(--border-color-base);
margin: 0.25em 0;
background-color: var(--box-background-color);
box-shadow: var(--box-shadow);
padding: 7px;
}
.avt-interactions-img {
margin: auto;
}
.avt-interactions-text {
align-self: center;
font-size: 0.85em;
}
/* ---------------------------------- */
/* Modèle:Introduction de page-liste */
/* ---------------------------------- */
.avt-introduction {
margin: 0.5em 0;
}
/* ------------------------------ */
/* Modèle:Liste de pages-listes */
/* ------------------------------ */
.avt-game-listpage {
float: right;
border: 1px solid var(--border-color-base);
box-shadow: var(--box-shadow);
padding: 5px;
margin: 0 0 0.5em 1em;
font-size: 0.85em;
background-color: var(--box-background-color);
width: 100%;
max-width: 20rem;
text-align: center;
}
.avt-game-listpage-title {
border: 1px solid var(--border-color-base);
background-color: var(--background-color-dp-02);
padding: 0.25em 8em;
margin-bottom: 0.5em;
font-weight: bold;
}
.avt-game-listpage-list {
margin: 0 !important;
list-style: none;
}
/* ------------------------ */
/* Modèle:Liste horizontale */
/* ------------------------ */
.liste-horizontale ul,
.liste-horizontale li {
margin-left: 0;
display: inline;
}
.liste-horizontale ul:after {
white-space: normal;
}
.liste-horizontale li:after {
content: " "; /* au cas ou Mediawiki supprime les retours ligne */
}
.liste-horizontale li + li:before {
white-space: normal;
content: "· ";
font-weight: bold;
}
.liste-horizontale li li:first-child:before {
white-space: normal;
content: " (";
}
.liste-horizontale li ul:after {
content: ")";
margin-left: -0.28em;
}
/* ------------------------ */
/* Modèle:Palette */
/* ------------------------ */
.palette .mw-collapsible-toggle a {
color: var(--color-base);
}
.palette-banniere {
border-top: 2px solid var(--box-background-color);
}
.palette-groupe {
border-top: 2px solid var(--box-background-color);
border-right: 2px solid var(--box-background-color);
font-weight: bold;
text-align: right;
white-space: normal;
}
.palette-banniere,
.palette-groupe,
.palette-section {
background: var(--background-color-dp-03);
}
.palette-listes .palette-groupe {
background: var(--background-color-dp-04);
}
.palette-pair {
background-color: var(--box-background-color);
border-top: 2px solid transparent;
}
.palette {
clear: both;
margin: 1em 0 1em 0;
padding: 3px;
font-size: 88%;
border: 1px solid var(--border-color-base);
}
.palette ul,
.palette li,
.palette p {
margin: 0 !important;
padding: 0 !important;
line-height: 1.6em;
list-style: none none;
}
.palette-liens {
float: left;
font-variant: small-caps;
}
.palette-liens a {
background: none !important;
padding: 0 !important;
}
.palette span.mw-collapsible-toggle {
float: right;
}
.palette-liens,
.palette .mw-collapsible-toggle,
.palette-groupe {
padding: 0.25em 1em;
}
.palette-titre {
background-color: var(--background-color-dp-02);
}
.palette-titre,
.palette-section {
font-size: 105%;
font-weight: bold;
padding: 0.25em 8em;
text-align: center;
}
.palette-ligne {
display: table-row;
}
.palette-groupe,
.palette-image,
.palette-liste,
.palette-listes {
display: table-cell;
vertical-align: middle;
}
.palette-banniere,
.palette-liste,
.palette-liste-simple {
padding: 0.25em;
}
.palette-liste,
.palette-listes {
width: 100%;
}
.palette-banniere,
.mw-collapsible-content > ul > li > .palette-liste-simple {
text-align: center;
}
div.palette-image {
padding: 0.25em 0 0.25em 0.25em;
width: 1%;
}
div.palette + div.palette {
margin-top: -1px;
}
/* ---------------------------------- */
/* Modèle:Portail de jeu */
/* ---------------------------------- */
.game-portal {
display: grid;
grid-gap: 1rem;
grid-template-areas: "welcome welcome" "talkto talkto" "content content" "articleday imageday";
}
.portal-welcome {
grid-area: welcome;
}
.portal-talkto {
grid-area: talkto;
text-align: center;
}
.portal-content {
grid-area: content;
}
.portal-box-title {
text-align: center;
font-size: 150%;
margin: 0 50px 5px 50px;
border-bottom: 1px solid var(--border-color-base);
text-shadow: 0 0 8px var(--color-link);
color: var(--color-link);
}
.portal-content-links {
display: grid;
grid-gap: 2rem;
grid-template-columns: 1fr 1fr;
padding: 1rem;
}
.portal-content-group-title {
border-bottom: 1px dotted var(--border-color-base);
font-size: 125%;
}
.portal-logo-fo1 {
background-image: url(/images/6/69/Fo1_portail_armure.png);
background-size: 123px;
background-repeat: no-repeat;
background-position: -3px -24px;
}
.portal-logo-fo2 {
background-image: url(/images/2/2b/Fo2_portail_armure.png);
background-size: 100px;
background-repeat: no-repeat;
background-position: -3px -30px;
}
.portal-logo-fot {
background-image: url(/images/3/31/Fot_portail_armure-min.png);
background-size: 123px;
background-repeat: no-repeat;
background-position: -3px -24px;
}
.portal-logo-fo3 {
background-image: url(/images/c/c7/Fo3_portail_armure.png);
background-size: 100px;
background-repeat: no-repeat;
background-position: -3px -24px;
}
.portal-logo-fnv {
background-image: url(/images/2/28/Fnv_portail_ranger.png);
background-size: 180px;
background-repeat: no-repeat;
background-position: -33px -24px;
}
.portal-logo-fo4 {
background-image: url(/images/f/f0/Fo4_portail_h%C3%A9ros_et_son_chien.png);
background-size: 80px;
background-repeat: no-repeat;
background-position: -3px -15px;
}
.portal-logo-fos {
background-image: url(/images/d/d4/Fos_portail_vaultboy.png);
background-size: 50px;
background-repeat: no-repeat;
background-position: -3px 0px;
}
/* ---------------------------------- */
/* Modèle:Références */
/* ---------------------------------- */
.avt-references {
font-size: 0.8em;
line-height: 1.6;
}
/* ---------------------------------- */
/* Modèle:Références nombreuses */
/* ---------------------------------- */
.avt-references-many {
height: 230px;
overflow: auto;
border: 1px solid var(--border-color-base);
scrollbar-width: thin;
}
/* ---------------------------------- */
/* Modèle:SPECIAL */
/* ---------------------------------- */
.avt-special-label {
width: 10rem;
display: inline-block;
}
/* -------------------------- */
/* Modèle:Tableau d'artisanat */
/* -------------------------- */
.artisanat {
font-size: 0.85em;
display: grid;
grid-template-columns: 1fr 50px 1fr 50px 1fr;
margin: 10px 0 10px 0;
}
.artisanat-colonne-titre {
text-align: center;
border: 1px solid var(--border-color-base);
margin-bottom: 3px;
background-color: var(--background-color-dp-02);
padding: 3px;
}
.artisanat-colonne-liste > ul {
list-style: none;
margin: 0;
}
.artisanat-colonne-liste > ul > li {
border: 1px solid var(--border-color-base);
padding: 5px;
margin-bottom: 3px;
background: var(--box-background-color);
}
.artisanat-separateur {
margin: auto;
}
/* ------------------------------ */
/* Modèle:Transcription */
/* ------------------------------ */
.va-transcript {
line-height: 18px;
padding: 10px 25px;
}
.va-transcript-icon {
width: 40px;
z-index: -1;
position: relative;
float: left;
left: -25px;
margin-right: -40px;
top: -5px;
}
.va-transcript-text {
font-family: monospace;
font-size: 13px;
}