MediaWiki:Common.css

From CrowdSociety
Revision as of 21:39, 24 November 2014 by Tmarian (Talk)

Jump to: navigation, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

/* To change the background colors of only the text areas of all the pages */

body{background-image:none}

#article {
background-color:#ff77aa;
}
 
#articleFooter {
background-color:#aaff77;
}

/* Lets the top menu float */

div#mw-head {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 11em;
    right: 0;
    width: auto;
    background-color: white;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAOklEQVR42lWNWwoAQAgCde9/59mgF30EOmgKeJLmUHjGpzbBdXnl6F5oV5/J9e/tr/czydmt7RT33floBCM5ZQLqdwAAAABJRU5ErkJggg=="); /*copy Vector skin background*/
    background-position: left bottom;
    background-size: auto;
    background-repeat: repeat-x;
    box-shadow: 15px 5px 20px 5px #FFF;
}
#mw-head:before {
     z-index: -1;
     content: ''; /*further hacks...*/
     position:absolute;
     top: -1px;
     left: 0;
     width: 100%;
     height: 100%;
     border-bottom: 1px solid #A7D7F9;
}
#left-navigation {
    margin-left: 0;
}