User:Polymorph-Ash/vector.css

From Foundation - Wiki
Revision as of 11:19, 19 January 2026 by Polymorph-Ash (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
:root {
  --maintext: #2a160f;
  --headertext: #3c3f44;
  --whitetextandbg: #fffff3;
  --bordercolour: #5f3529;
  --smallborders: #9c8668;
  --orange: 223, 156, 52;
  --mainfont: Verdana, Tahoma, sans-serif;
  --headerfont: Georgia, serif;
  --tableheaders: #eacf98;
  --tablecolour2: #f2e5c0;
  --tablecolour3: #ffeabd;
  --background-image: url('https://wiki.polymorph.games/found/images/0/05/Keyart02_Clean_noLogo_HD.png');
}

/*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: rgba(50,50,50,0.55);
  border-bottom: none;
  box-shadow: none;
  border-radius: none;
}

#p-personal ul { margin: 0; padding: 0.2em 0.5em; }

#p-personal li a {
  color: var(--whitetextandbg);
  padding: 0.2em 0.5em;
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
}

#p-personal li a:hover {
  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:5px;
}

#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-tabs,
.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:20px 20px 0px 0px;
  color:var(--whitetextandbg);
}

.vector-menu-tabs {
  background-image: linear-gradient(rgba(182,110,35,0),rgba(182,110,35,0.8));
  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);
}

.vector-menu-dropdown, .vector-menu-dropdown a, .vector-menu-dropdown li {
  background:transparent;
  border:none;
}

.vector-user-menu-legacy  {
  background:transparent;
  border:none;
}

#mw-head .vector-menu-content {
  background-color:rgba(42, 22, 15, 0.5);
  border-color:var(--smallborders);
  margin:0.2em;
  border-radius:5px;
}

#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)}

#searchInput, #searchInput a {
  color:var(--maintext);
  background-color:rgba(255, 255, 243, 0.9);
  border-radius:4px;
}

.vector-menu-portal  {
  background-color:var(--tablecolour3);
  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(--tablecolour3);
  border-radius:4px 4px 0px 0px;
  border-color:var(--bordercolour);
  border-style:solid;
  border-width:0.15em;
}

/*Page that's selected on the side menu*/
#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;
}

#left-navigation {margin-left:12em;}
#right-navigation {margin-right:5em;}

/* 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);

  /* bottom-left grey outline + drop shadow */
  text-shadow:
    /* subtle grey outline, bottom-left only */
     -2px 2px 0 #000,
    /* drop shadow for depth, bottom-left */
     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;
}

/*Welcome page/main page*/

.header-box {
  background-image:var(--background-image);
  background-repeat:no-repeat;
  background-clip:border-box;
  background-position:0% 75%;
  background-size:cover;
  background-attachment: fixed; 
  color:var(--whitetextandbg);
  font-size:150%;
  text-shadow:0px 0px 15px black;
  font-weight:bold;
  font-family:var(--headerfont);
  border-color:var(--bordercolour);
  border-radius:4px;
  border-style:groove;
  border-width:3px;
  box-shadow:none;
  outline:1px solid var(--whitetextandbg);
  outline-offset:-6px;
}


.mainpage-buttons ul li {
  background-color:var(--tableheaders);
  box-shadow: inset -0.05vw -0.05vw 0.1vw 0.1vw #d4b57e;
  border-color:var(--bordercolour);
  border-radius:4px;
}

/*main body*/

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