Différences entre les versions de « Utilisateur:Polymorph-Ash/vector.css »

Aller à la navigation Aller à la recherche
aucun résumé de modification
Balise : Révoqué
Balise : Révocation manuelle
Ligne 1 : Ligne 1 :
/* All CSS here will be loaded for users of the Vector skin */
/*Foundation Wiki – Vector Skin CSS
 
Based on an original vector CSS edit by: Olessan
Modified and maintained by: Polymorph-Ash
Purpose: Main Vector skin styling for the Foundation Wiki
*/


:root {
:root {
--header: #dddddd;
  --maintext: #2a160f;
--content-header: #fca349;
  --headertext: #3c3f44;
--secondary-header: #fca349;
  --whitetextandbg: #fffff3;
--label-color: #ffd28f;
  --bordercolour: #5f3529;
--line-color: #777777;
  --smallborders: #9c8668;
--dark-mode-background: #3e3e3e;
  --orange: 223, 156, 52;
--dark-mode-secondary-background: darkgrey;
  --mainfont: Verdana, Tahoma, sans-serif;
--dark-mode-alt-link: #2d456c;
  --headerfont: Georgia, serif;
--dark-mode-alt-link-new: #9d0303;
  --infoboxcolour2: #f2e5c0;
--dark-mode-text: white;
  --vectormenucolour3: #ffeabd;
  --tableheaders: #eacf98;
  --tablecolour2: #edd8a0; /* muted warm beige */
  --tablecolour3: #f9ebc4;  /* soft cream, only slightly lighter */
  --background-image: url(https://wiki.polymorph.games/found/images/6/6c/Keyart02_Clean_noLogo_HD.jpg);
}
 
/*overarching fonts*/
#content {
  color:var(--maintext);
  font-family:var(--mainfont);
 
}
  #content h1,
  #content h2,
  #content h3,
  #content h4,
  #content h5,
  #content h6 {
  color:var(--headertext);
  font-weight:normal;
  font-family:var(--headerfont);
    border-color:var(--smallborders);
  }
 
/*adds a layer for background transparency and blur*/
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}
 
/* background layer */
body {
  background-image:var(--background-image);
  background-repeat:no-repeat;
  background-clip:border-box;
  background-attachment:fixed;
  background-position:center;
  background-size:cover;
}
 
/* Top menu & user tools */
#mw-head, #mw-page-base { background: transparent; border: none; }
 
#p-personal {
  background-color: transparent;
  border-bottom: none;
  box-shadow: none;
  border-radius: 0;
}
}


.wikitable > * > tr > th {
#p-personal ul { margin: 0; padding: 0; }
    background: var(--header);
 
#p-personal li a {
  color: var(--whitetextandbg);
  padding: 0.2em 0.5em;
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
}
}


.infobox-title {
#p-personal li a:hover {
background: var(--header);
  color: var(--orange);
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
}
 
#mw-head .vector-menu-content {
  background-color:rgba(42, 22, 15, 0.5);
  border-color:var(--smallborders);
  margin:0.2em;
  border-radius:4px;
}
 
#mw-head .vector-menu-content, #mw-head .vector-menu-content a, #mw-head .vector-menu-content ul, #mw-head .vector-menu-content li {color:var(--whitetextandbg)}
 
.vector-menu,
#left-navigation a, #right-navigation a, #left-navigation, #right-navigation, #left-navigation li, #right-navigation li {
  background-color:rgba(var(--orange),0.85);
  border-color:var(--bordercolour);
  border-radius:4px 4px 0px 0px;
  color:var(--whitetextandbg);
}
 
.vector-menu-tabs {  
  background-image: linear-gradient(rgba(182,110,35,0) 25%,rgba(182,110,35,0.8) 10%);
  background-color:transparent;
  border-color:var(--bordercolour);
  border-radius:4px 4px 0px 0px;
  color:var(--whitetextandbg);
  background-repeat: repeat;
}
 
#left-navigation a, #right-navigation a, #left-navigation, #right-navigation, #left-navigation li, #right-navigation li {
  background:transparent;
  border-color:var(--bordercolour);
}
}


.infobox-header {
.vector-menu-dropdown, .vector-menu-dropdown a, .vector-menu-dropdown li {
background: var(--secondary-header);
  background-color: rgba(var(--orange), 0.85); /* same as your tabs */
  border-color: var(--bordercolour);
  border-radius: 5px;
  color: var(--whitetextandbg);
}
}


.header-box {
.vector-user-menu-legacy  {
background: var(--header);
  background:transparent;
box-shadow: 2px 2px var(--line-color);
  border:none;
}
}


.mainpage-buttons ul li {
#searchInput, #searchInput a {
background: #dddddd;
  color:var(--maintext);
box-shadow: 2px 2px var(--line-color);
  background-color:rgba(255, 255, 243, 0.9);
  border-radius:4px;
}
}


.infobox {
.vector-menu-portal  {
box-shadow: 2px 2px var(--line-color);
  background-color:var(--vectormenucolour3);
border: 1px solid var(--line-color);
  box-shadow: inset 0 0 1.5vw 0.2vw #d4b57e;
  border-color:var(--bordercolour);
  border-style:solid;
  border-width:0.15em;
  border-radius:4px;
}
.vector-menu-heading {
  box-shadow:none!important;
  background-color:var(--vectormenucolour3);
  border-radius:4px 4px 0px 0px;
  border-color:var(--bordercolour);
  border-style:solid;
  border-width:0.15em;
}
}


.infobox-label {
/*Page that's selected on the side menu*/
background: var(--label-color);
#p-tb-label.vector-menu-heading {
  border-radius:4px;
  padding:4px;
  border-left:4px solid rgba(var(--orange), 0.85);
  background:transparent;
  background-image:linear-gradient(to right,rgba(var(--orange), 0.85),rgba(var(--orange), 0.85),transparent);
  color:var(--whitetextandbg);
  font-weight:bold;
}
}


.wikitable {
#left-navigation {margin-left:12em;}
border:none;
#right-navigation {margin-right:0.45%;}
 
/* header */
.header-box {
  background-image: var(--background-image);
  background-position: center 75%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--whitetextandbg);
  font-size: 150%;
  font-weight: bold;
  font-family: var(--headerfont);
  text-shadow:
    -2px 2px 0 #000,
    4px 4px 8px rgba(0,0,0,0.7);
  border-radius: 4px;
  border: 3px groove var(--bordercolour);
  outline: 1px solid var(--whitetextandbg);
  outline-offset: -6px;
}
}


.wikitable > tr, .wikitable > * > tr {
.mainpage-buttons ul li {
border: none;
  background-color:var(--tableheaders);
    border-bottom: 1px solid var(--line-color);
  box-shadow: inset -0.05vw -0.05vw 0.1vw 0.1vw #d4b57e;
  border-color:var(--bordercolour);
  border-radius:4px;
}
}


.wikitable > tr > th,  
/*main body*/
.wikitable > tr > td,
#content.mw-body {
.wikitable > * > tr > th,
  background-color:rgba(255, 234, 189, 0.97);
.wikitable > * > tr > td {
  box-shadow: inset 0 0 10vw 1.5vw #d4b57e;
border: none;
  border-color:var(--bordercolour);
  border-radius:4px;
  border-style:solid;
  border-width:0.15em;
  margin-right:1%;
}
}


.wikitable > tr > td,
/*thumbnails*/
.wikitable > * > tr:nth-child(odd) > td {
.toc, li.gallerybox div.thumb, div.thumbinner {
background: var(--label-color);
  background-color:rgba(42, 22, 15, 0.1);
  border-color:var(--smallborders);
  margin:0.2em;
  border-radius:4px;
}
}


/* ################################## */
.toc {margin-top:1em;margin-bottom:1em;margin-left:0.1em;margin-right:0.1em;}
/* Dark Mode                          */
/* ################################## */


.mw-dark-mode, .mw-dark-mode .mw-page-base, .mw-dark-mode .mw-body,  
/*category links*/
.mw-dark-mode #mw-panel, .mw-dark-mode #mw-head
#catlinks, #catlinks a, #footer-places-privacy, #footer-places-about, #footer-places-disclaimer, #footer-places-mobileview, #footer {
{
  background-color:rgba(var(--orange), 0.85);
    background: var(--dark-mode-background);
  border-color:rgba(132, 79, 61, 0.85);
  border-radius: 0;
  color:var(--whitetextandbg);
  padding: 0.5em;
}
}


.mw-dark-mode #catlinks, .mw-dark-mode .vector-menu-portal {
#catlinks li, {
    background: var(--dark-mode-secondary-background);
border-color:var(--whitetextandbg);background:transparent;
}
}


.mw-dark-mode #catlinks a:link, .mw-dark-mode #catlinks a:hover,
/*Tables*/
.mw-dark-mode #catlinks a:visited {
.wikitable {
    color: var(--dark-mode-alt-link);
  background-color:var(--whitetextandbg);
  border: 2px solid;
  border-color:var(--smallborders);
  overflow:clip;
  max-width:80%;
  width:fit-content;
}
}


.mw-dark-mode #catlinks a.new:link, .mw-dark-mode #catlinks a.new:hover,
.wikitable tr > th {
.mw-dark-mode #catlinks a.new:visited {
  background-color:var(--tableheaders);
    color: var(--dark-mode-alt-link-new);
  font-weight:bold;
  padding:5px;
  text-align:center;
  }
 
.wikitable tr:nth-child(odd) > td {
background:var(--tablecolour2);
  color:var(--maintext);
}
}


.mw-dark-mode #content, .mw-dark-mode #footer, .mw-dark-mode .vector-menu-heading,
.wikitable tr:nth-child(even) > td {
.mw-dark-mode .mw-headline {
background-color: var(--tablecolour3);
    color: var(--dark-mode-text);
  color: var(--maintext);
}
}


.mw-dark-mode #mw-content-text, .mw-dark-mode #mw-content-text h2,
/* Right-align Price each columns in all wikitable tables (switched off for now)
.mw-dark-mode #firstHeading, .mw-dark-mode #footer-info-lastmod {
.wikitable td:nth-child(2),
     color: inherit;
.wikitable th:nth-child(2),
.wikitable td:nth-child(4),
.wikitable th:nth-child(4) {
    text-align: right;
     padding-right: 10px; /* optional: gives a little spacing from the border */
}
}
*/


.mw-dark-mode .mw-body ul {
/*this is a hover highlight but it's turned off because it looked a bit odd
    list-style: none;
!.wikitable tr:hover, .wikitable tr:nth-child(odd):hover td {
  background:rgba(250,220,160, 0.5);
}
}
*/


.mw-dark-mode .mw-body #catlinks ul li::before,
.wikitable tr {
.mw-dark-mode .mw-body #toc ul li::before,
  border-bottom:1px solid;
.mw-dark-mode .mw-body .redirectMsg ul li::before,
  border-color:var(--smallborders);
.mw-dark-mode .mw-body .mainpage-buttons ul li::before,
.mw-dark-mode .mw-body .mw-body-content .gallery li::before {
    display: none;
}
}


.mw-dark-mode .mw-body ul li::before {
.wikitable tr > td, .wikitable tr > td[rowspan] {
    content: "\2022";
  border-right:1px dotted;
    color: white;
  border-color:var(--smallborders);
    display: inline-block;
    width: 0.75em;
    font-size: 1.5em;
    line-height: 1em;
    margin-left: -1em;
}
}


.mw-dark-mode .mw-changeslist-legend, .mw-dark-mode .mw-body #catlinks {
.wikitable tr td {padding:5px;padding-left:10px;padding-right:10px;}
    color: black;
 
/*Infoboxes*/
 
.infobox {
  background-color:var(--whitetextandbg);
  border: 2px solid;
  border-color:var(--smallborders);
  overflow:clip;
  box-shadow:none;
  border-bottom:5px solid var(--smallborders);
  border-right:5px solid var(--smallborders);
  width:260px;
  max-width:50%;
  line-height:1.8;
  font-size:0.95rem;
  float:right;
  margin-left:50px;
}
}


.mw-dark-mode a {
.infobox {color:var(--maintext)}
    color: #3782ff;
.infobox-title, .infobox-header, .infobox-label {color:var(--headertext);}
 
.infobox-title {
  background-color:var(--vectormenucolour3);
  font-weight:bold;
  padding:3px;
  text-align:center;
  font-family:var(--headerfont);
  }
 
.infobox-header {
  background-color:var(--tableheaders);
  font-weight:bold;
  padding:3px;
  text-align:center;
  font-size:0.98rem;
  }
 
.infobox-label {
  background:var(--infoboxcolour2);
}
}


.mw-dark-mode a.new {
.infobox-title, .infobox-header {
    color: red;
  border-top:1px solid var(--smallborders);
  border-bottom:1px solid var(--smallborders);
}
}


.mw-dark-mode .mainpage-buttons a:link, .mw-dark-mode .mainpage-buttons a:hover,
.infobox-image {
.mw-dark-mode .mainpage-buttons a:visited {
  justify-content: center;
color: var(--dark-mode-alt-link);
  display:flex;
  outline:1px solid var(--whitetextandbg);
  outline-offset:-3px;
}
}


.mw-dark-mode .mainpage-buttons a.new:link, .mw-dark-mode .mainpage-buttons a.new:hover,
.infobox-row, .infobox-label {
.mw-dark-mode .mainpage-buttons a.new:visited {
  text-align:center;}
color: var(--dark-mode-alt-link-new);
 
.infobox-data, .infobox-data-section, .infobox-row {font-weight:normal;}
.infobox-label, .infobox-header, .infobox-title {font-weight:bold;}
 
/*Editor stuff*/
.oo-ui-toolbar-bar, .oo-ui-toolbar-popups, .oo-ui-tool-link, .oo-ui-widget-enabled, .oo-ui-window-content {
  background-color:var(--whitetextandbg);
  color:var(--maintext);
}
.oo-ui-widget-disabled {
  background-color:#eaeaea;
  color:#e3e3e3;
}
}


/* Recent Changes */
/*footer*/
.mw-dark-mode .mw-changeslist h4 {
#footer-places-about a, #footer-places-disclaimer a, #footer-places-mobileview a, #footer a, #footer li, #footer {
    color: var(--dark-mode-text);
  background-color:rgba(var(--orange), 0.85);
  border-color:rgba(132, 79, 61, 0.85);
  border-radius:none;
  color:var(--whitetextandbg);
  padding:0.15em;
  margin-bottom:3px;
}
}
#footer-places-about a, #footer-places-disclaimer a, #footer-places-mobileview a, #footer a, #footer {border-color:var(--whitetextandbg);background:transparent;}
#footer {margin-right:1%;;}
#footer-poweredbyico, #footer-poweredbyico a, #footer-poweredbyico li, #footer-poweredbyico ul, #footer-poweredbyico img {background:none!important;margin-bottom:0.75em;}


.mw-dark-mode ins.diffchange {
/*these just add some space to the Recent changes page interface and adjust the reading area colour, the buttons are left unstyled intentionally*/
background: #51a2ef;
.mw-rcfilters-ui-filterWrapperWidget {
  padding:10px;
  padding-left:20px;
  padding-right:20px;
  max-width:97.5%;
}
}


.mw-dark-mode del.diffchange {
.mw-changeslist.mw-rcfilters-ui-changesListWrapperWidget {
background: #a58843;
  padding:10px;
  padding-left:20px;
  padding-right:20px;
  max-width:97.5%;
}
}


.mw-dark-mode .mw-plusminus-pos {
.mw-changeslist.mw-rcfilters-ui-changesListWrapperWidget, .mw-rcfilters-ui-filterWrapperWidget {background-color:rgba(255, 255, 243,0.5)!important;color:var(--maintext);}
color: #18ab18;
 
/*This allows you to spoiler tag stuff with a blur*/
.spoilercell  {
  filter: blur(6px);
  -webkit-filter: blur(6px);
  overflow:hidden;
}
}


.mw-dark-mode .mw-plusminus-neg {
.spoilercell:active  {
color: #ff0101;
  filter: blur(0px);
  -webkit-filter: blur(0px);
}
}


.mw-datatable, .ext-replacetext-searchoptions, .ext-replacetext-searchoptions {
/*resizes the visual editor window*/
color: black;
.oo-ui-textInputWidget-autosized {
resize: both !important;
}
.oo-ui-window-frame {
width: 45% !important;
height:50%!important;
min-width:480px;
}
/*fixes a problem with the popup widget*/
.oo-ui-popupWidget-anchored-top {
  min-height: 300px;
}
}


.mw-dark-mode .oo-ui-labelWidget.oo-ui-inline-help {
.oo-ui-popupWidget-anchored-top > .oo-ui-popupWidget-content {
color: var(--dark-mode-text);
  min-height:300px;
  overflow:scroll;
}
}


.mw-dark-mode .oo-ui-fieldLayout-disabled > .oo-ui-fieldLayout-body >
.oo-ui-popupWidget-popup {
.oo-ui-fieldLayout-header > .oo-ui-labelElement-label {
  min-height:300px;
color: var(--dark-mode-text);
  height:300px;
}
}
/*fin*/

Menu de navigation