User:Polymorph-Ash/vector.css
Revision as of 10:48, 19 January 2026 by Polymorph-Ash (talk | contribs)
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');
}
/*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;
}
/* parallax header effect */
.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: 10px;
border: 3px groove var(--bordercolour);
outline: 1px solid var(--whitetextandbg);
outline-offset: -6px;
}
/* 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: 1px solid #444;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
border-radius: 10px;
}
#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;
}
.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:0px 0px 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;
}