819
edits
Tag: Reverted |
Tag: Manual revert |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
Purpose: Main Vector skin styling for the Foundation Wiki | Purpose: Main Vector skin styling for the Foundation Wiki | ||
*/ | */ | ||
:root { | |||
--maintext:#2a160f; | --maintext: #2a160f; | ||
--headertext:#3c3f44; | --headertext: #3c3f44; | ||
--whitetextandbg:#fffff3; | --whitetextandbg: #fffff3; | ||
--bordercolour:#5f3529; | --bordercolour: #5f3529; | ||
--smallborders:#9c8668; | --smallborders: #9c8668; | ||
--orange:223, 156, 52; | --orange: 223, 156, 52; | ||
--mainfont:Verdana,Tahoma,sans-serif; | --mainfont: Verdana, Tahoma, sans-serif; | ||
--headerfont:Georgia,serif; | --headerfont: Georgia, serif; | ||
--tableheaders:#eacf98; | --infoboxcolour2: #f2e5c0; | ||
--tablecolour2:# | --vectormenucolour3: #ffeabd; | ||
--tablecolour3:# | --tableheaders: #eacf98; | ||
--background-image:url(https://wiki.polymorph.games/found/images/ | --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); | |||
} | } | ||
/*adds a layer for background transparency*/ | /*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 { | body::before { | ||
content: ""; | content: ""; | ||
| Line 29: | Line 49: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
background-color: rgba(10, 10, 10, 0. | background-color: rgba(10, 10, 10, 0.5); | ||
backdrop-filter: blur(6px); | |||
-webkit-backdrop-filter: blur(12px); | |||
pointer-events: none; | pointer-events: none; | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
/*background | /* background layer */ | ||
body { | body { | ||
background-image:var(--background-image); | background-image:var(--background-image); | ||
| Line 43: | Line 65: | ||
background-size:cover; | background-size:cover; | ||
} | } | ||
/* | |||
# | /* Top menu & user tools */ | ||
color: | #mw-head, #mw-page-base { background: transparent; border: none; } | ||
#p-personal { | |||
background-color: transparent; | |||
border-bottom: none; | |||
box-shadow: none; | |||
border-radius: 0; | |||
} | } | ||
#p-personal ul { margin: 0; padding: 0; } | |||
#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); | |||
color: | background-color: rgba(255,255,255,0.1); | ||
border-radius: 4px; | |||
} | } | ||
. | #mw-head .vector-menu-content { | ||
background-color:rgba(42, 22, 15, 0.5); | |||
background-color:rgba( | |||
border-color:var(--smallborders); | border-color:var(--smallborders); | ||
border- | 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)} | |||
#mw-head, #mw- | |||
} | |||
.vector-menu, | .vector-menu, | ||
#left-navigation a, #right-navigation a, #left-navigation, #right-navigation, #left-navigation li, #right-navigation li { | #left-navigation a, #right-navigation a, #left-navigation, #right-navigation, #left-navigation li, #right-navigation li { | ||
background-color:rgba(var(--orange),0.85); | background-color:rgba(var(--orange),0.85); | ||
border-color:var(--bordercolour); | border-color:var(--bordercolour); | ||
border-radius: | border-radius:4px 4px 0px 0px; | ||
color:var(--whitetextandbg); | color:var(--whitetextandbg); | ||
} | } | ||
.vector-menu-tabs { | .vector-menu-tabs { | ||
background-image: linear-gradient(rgba(182,110,35,0),rgba(182,110,35,0.8)); | 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; | background-repeat: repeat; | ||
} | } | ||
| Line 108: | Line 123: | ||
.vector-menu-dropdown, .vector-menu-dropdown a, .vector-menu-dropdown li { | .vector-menu-dropdown, .vector-menu-dropdown a, .vector-menu-dropdown li { | ||
background: | background-color: rgba(var(--orange), 0.85); /* same as your tabs */ | ||
border: | border-color: var(--bordercolour); | ||
border-radius: 5px; | |||
color: var(--whitetextandbg); | |||
} | } | ||
| Line 116: | Line 133: | ||
border:none; | border:none; | ||
} | } | ||
#searchInput, #searchInput a { | #searchInput, #searchInput a { | ||
color:var(--maintext); | color:var(--maintext); | ||
background-color:rgba(255, 255, 243, 0.9); | background-color:rgba(255, 255, 243, 0.9); | ||
border-radius: | border-radius:4px; | ||
} | } | ||
.vector-menu-portal { | .vector-menu-portal { | ||
background-color:var(-- | background-color:var(--vectormenucolour3); | ||
box-shadow: inset 0 0 1.5vw 0.2vw #d4b57e; | box-shadow: inset 0 0 1.5vw 0.2vw #d4b57e; | ||
border-color:var(--bordercolour); | border-color:var(--bordercolour); | ||
border-style:solid; | border-style:solid; | ||
border-width:0.15em; | border-width:0.15em; | ||
border-radius: | border-radius:4px; | ||
} | } | ||
.vector-menu-heading { | .vector-menu-heading { | ||
box-shadow:none!important; | box-shadow:none!important; | ||
background-color:var(-- | background-color:var(--vectormenucolour3); | ||
border-radius: | border-radius:4px 4px 0px 0px; | ||
border-color:var(--bordercolour); | border-color:var(--bordercolour); | ||
border-style:solid; | border-style:solid; | ||
| Line 151: | Line 159: | ||
/*Page that's selected on the side menu*/ | /*Page that's selected on the side menu*/ | ||
#p-tb-label.vector-menu-heading { | #p-tb-label.vector-menu-heading { | ||
border-radius: | border-radius:4px; | ||
padding:4px; | padding:4px; | ||
border-left:4px solid rgba(var(--orange), 0.85); | border-left:4px solid rgba(var(--orange), 0.85); | ||
| Line 161: | Line 169: | ||
#left-navigation {margin-left:12em;} | #left-navigation {margin-left:12em;} | ||
#right-navigation {margin-right: | #right-navigation {margin-right:0.45%;} | ||
/* header */ | |||
.header-box { | .header-box { | ||
background-image:var(--background-image); | background-image: var(--background-image); | ||
background- | background-position: center 75%; | ||
background- | background-repeat: no-repeat; | ||
background-size: cover; | |||
background-size:cover; | background-attachment: fixed; | ||
background-attachment: fixed; | color: var(--whitetextandbg); | ||
color:var(--whitetextandbg); | font-size: 150%; | ||
font-size:150% | font-weight: bold; | ||
font-family: var(--headerfont); | |||
font-weight:bold; | text-shadow: | ||
font-family:var(--headerfont); | -2px 2px 0 #000, | ||
4px 4px 8px rgba(0,0,0,0.7); | |||
border-radius: | border-radius: 4px; | ||
border | border: 3px groove var(--bordercolour); | ||
outline: 1px solid var(--whitetextandbg); | |||
outline-offset: -6px; | |||
outline:1px solid var(--whitetextandbg); | |||
outline-offset:-6px; | |||
} | } | ||
.mainpage-buttons ul li { | .mainpage-buttons ul li { | ||
| Line 191: | Line 195: | ||
box-shadow: inset -0.05vw -0.05vw 0.1vw 0.1vw #d4b57e; | box-shadow: inset -0.05vw -0.05vw 0.1vw 0.1vw #d4b57e; | ||
border-color:var(--bordercolour); | border-color:var(--bordercolour); | ||
border-radius: | border-radius:4px; | ||
} | } | ||
/*main body*/ | /*main body*/ | ||
#content.mw-body { | #content.mw-body { | ||
background-color:rgba(255, 234, 189, 0.97); | background-color:rgba(255, 234, 189, 0.97); | ||
box-shadow: inset 0 0 10vw 1.5vw #d4b57e; | box-shadow: inset 0 0 10vw 1.5vw #d4b57e; | ||
border-color:var(--bordercolour); | border-color:var(--bordercolour); | ||
border-radius: | border-radius:4px; | ||
border-style:solid; | border-style:solid; | ||
border-width:0.15em; | border-width:0.15em; | ||
margin-right: | margin-right:1%; | ||
} | } | ||
| Line 211: | Line 214: | ||
border-color:var(--smallborders); | border-color:var(--smallborders); | ||
margin:0.2em; | margin:0.2em; | ||
border-radius: | border-radius:4px; | ||
} | } | ||
| Line 220: | Line 223: | ||
background-color:rgba(var(--orange), 0.85); | background-color:rgba(var(--orange), 0.85); | ||
border-color:rgba(132, 79, 61, 0.85); | border-color:rgba(132, 79, 61, 0.85); | ||
border-radius: | border-radius: 0; | ||
color:var(--whitetextandbg); | color:var(--whitetextandbg); | ||
padding:0.5em; | padding: 0.5em; | ||
} | |||
#catlinks li, { | |||
border-color:var(--whitetextandbg);background:transparent; | |||
} | } | ||
/*Tables*/ | /*Tables*/ | ||
| Line 248: | Line 254: | ||
} | } | ||
/* Right-align Price each columns in all wikitable tables | .wikitable tr:nth-child(even) > td { | ||
background-color: var(--tablecolour3); | |||
color: var(--maintext); | |||
} | |||
/* Right-align Price each columns in all wikitable tables (switched off for now) | |||
.wikitable td:nth-child(2), | .wikitable td:nth-child(2), | ||
.wikitable th:nth-child(2), | .wikitable th:nth-child(2), | ||
| Line 256: | Line 267: | ||
padding-right: 10px; /* optional: gives a little spacing from the border */ | padding-right: 10px; /* optional: gives a little spacing from the border */ | ||
} | } | ||
*/ | |||
/*this is a hover highlight but it's turned off because it looked a bit odd | /*this is a hover highlight but it's turned off because it looked a bit odd | ||
| Line 297: | Line 309: | ||
.infobox-title { | .infobox-title { | ||
background-color:var(-- | background-color:var(--vectormenucolour3); | ||
font-weight:bold; | font-weight:bold; | ||
padding:3px; | padding:3px; | ||
| Line 313: | Line 325: | ||
.infobox-label { | .infobox-label { | ||
background:var(-- | background:var(--infoboxcolour2); | ||
} | } | ||
| Line 348: | Line 360: | ||
background-color:rgba(var(--orange), 0.85); | background-color:rgba(var(--orange), 0.85); | ||
border-color:rgba(132, 79, 61, 0.85); | border-color:rgba(132, 79, 61, 0.85); | ||
border-radius: | border-radius:none; | ||
color:var(--whitetextandbg); | color:var(--whitetextandbg); | ||
padding:0.15em; | padding:0.15em; | ||
| Line 354: | Line 366: | ||
} | } | ||
#footer-places-about a, #footer-places-disclaimer a, #footer-places-mobileview a, #footer a, #footer {border-color:var(--whitetextandbg);background:transparent;} | #footer-places-about a, #footer-places-disclaimer a, #footer-places-mobileview a, #footer a, #footer {border-color:var(--whitetextandbg);background:transparent;} | ||
#footer {margin-right: | #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;} | #footer-poweredbyico, #footer-poweredbyico a, #footer-poweredbyico li, #footer-poweredbyico ul, #footer-poweredbyico img {background:none!important;margin-bottom:0.75em;} | ||
/*these just add some space to the Recent changes page interface and adjust the reading area colour, the buttons are left unstyled intentionally*/ | /*these just add some space to the Recent changes page interface and adjust the reading area colour, the buttons are left unstyled intentionally*/ | ||