User:Jasper van Loenen/vector.css

From XPUB & Lens-Based wiki

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.
/* make the background behind the content area and the tabs a light grey */
#content, #content table
#p-cactions ul li a { background: #f5f5f5; }
 
/* stop background image from scrolling with content area */
body { background-attachment: fixed; }
 
/* replace the book in the background with something else */
body { background: Purple; }
 
/* changes the background of pre areas  */
pre { background: White }
 
/* change the logo */
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat !important; }
 
/* don't use any logo, move the boxes onto that area instead */
#p-logo { display: none }
#column-one { padding-top: 0; }
 
/* suppress the person icon by your username */
li#pt-userpage { background: none }
 
/* use browser prefs for text size and font */
body, #globalWrapper { font: inherit !important; }
 
/* always underline links */
:link { text-decoration: underline; }
 
/*Display body content in a narrower column for easier reading*/
/*adjust percentages as desired*/
div#bodyContent {
  width: 50%;
  line-height: 105%;
}
 
/* change background of unselected tabs */
#p-cactions ul li a { background: #C7FDC7; }
 
/* change background of selected tabs */
#p-cactions ul li.selected a { background: white; }
 
/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }
 
/* tab bottom not removed on hover */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }
 
/* style the search box and the buttons below it */
input.searchButton {
    background-color: #efefef !important;
    border: 1px outset !important;  
}
#searchInput { border: 1px inset !important; }
 
/* standard link colors */
:link { color: #0000FF; }
:link:visited { color: #7F007F; }
:link:active, :link.new { color: #FF0000; }
:link.interwiki, :link.external { color: #3366BB; }
:link.stub { color: #772233; }
 
/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }
 
/* strikeout Upload File link as a reminder to upload to Commons instead */
li#t-upload { text-decoration: line-through; }