User:Some bored kid at school/vector.js

//this is a basic theme for the "vector 2010" style, it will not work with any other styles. //it uses gradients to recolour the top, left sidebar, and main content. //if you really want to, replace the "backgroundImage="linear-gradient"" with "backgroundColor=" " or something like that to have it be a solid colour instead //this style has a light blue and pink sidebar that turns green around at the wikipedia logo, and the main content is a rainbow gradient

document.body.style.backgroundImage="linear-gradient(to bottom,#dfdfef 20%,#efdfe8 40%,#ffffff 60%,#efdfe8 80%,#dfdfef 100%)";//changes colour of side bar (the gradient repeats approx. every screen) //document.body.style.backgroundImage="linear-gradient(to bottom,#dfdfef 25%,#cfcfef 50%,#dfdfef 75%)"; //old sidebar document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom,#dfefdf 50%,#dfdfef 100%)"; //changes colour of top bar //document.getElementById("pr-userpage").style.backgroundImage="url(https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/225px-Tux.svg.png)"; //failed attempt to modify the profile photo thing document.getElementById("content").style.backgroundImage="linear-gradient(to top,#efdfdf 15%,#efefdf 30%,#dfefdf 45%,#dfefef 60%,#dfdfef 75%,#efdfef 90%,#ffffff 100%)"; //recolours main article, does not repeat //document.getElementById("content").style.backgroundImage="linear-gradient(to top,# 5%,#dfdfef 65%,#dfefdf 90%,#ffffff 100%)"; //kept for archival purposes, old gradient