User:Iritscen/vector.css

From OniGalore
< User:Iritscen
Revision as of 14:46, 5 May 2012 by Iritscen (talk | contribs) (um, yeah; let's try adding CSS to a CSS page instead of Javascript; carrying over changes from my monobook.css)
Jump to navigation Jump to search

Note: After saving, 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)
  • Microsoft Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Fix the sidebar in place when scrolling */
div[id=column-one] /* using the attribute selector hides this from IE */
{
    position: fixed;
    height: 100%; /* if you shrink the browser too small, the side column will */
    overflow: auto; /* become scrollable, so stuff is always accessible, albeit ugly */
    z-index: 2;
}

/* Fix the footer so it looks nice and doesn't overlap the sidebar */
#footer
{
    margin-left: 13.6em;
    border-left: solid 1px rgb(250, 189, 35);
}