MediaWiki:Common.css

From ICPWiki
Revision as of 18:03, 25 September 2013 by Kai (talk | contribs)
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 / 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.
/* CSS placed here will be applied to all skins */

/* Turn off elements for anonymous users, so that it looks more like a web page */
body.anonymoususer #p-Internal { display:none; }
body.anonymoususer #p-tb { display:none; }
body.anonymoususer #p-views { display:none; }
body.anonymoususer #pt-anontalk { display:none; }
body.anonymoususer #pt-anonuserpage { display:none; }
body.anonymoususer #contentSub { display:none; }
body.anonymoususer .editsection { display:none; }

/* Style the box on top of a person page */
div.personbox {
  border: thin solid #D6D6D6; 
  padding: 10px; 
  background-color: #F6F6F6;
  font-size: small;
}

div.personbox table {
  background-color: transparent;
}

div.personbox table tr {
  vertical-align: top;
}

/* Style the boxes in the list on the staff page */
div.stafflistbox {
  float: left; 
  width: 350px; 
  height: 100px; 
  box-shadow: 0px 0px 15px #000000;
  -moz-box-shadow: 0px 0px 15px #000000;
  -webkit-box-shadow: 0px 0px 15px #000000;
  border: 1px solid gray;
  overflow: overflow;
  margin: 15px;
  padding: 0px;
}

div.stafflistbox span.image {
  float: left;
  margin: 0px;
  padding: 0px;
}

div.stafflistbox span.name {
  float: left;
  margin-left: 5px;
}

div.stafflistboxposter {
  float: left; 
  width: 410px; 
  height: 150px; 
  box-shadow: 0px 0px 15px #000000;
  -moz-box-shadow: 0px 0px 15px #000000;
  -webkit-box-shadow: 0px 0px 15px #000000;
  border: 1px solid gray;
  overflow: overflow;
  margin: 25px;
  padding: 0px;
}

div.stafflistboxposter span.image {
  float: left;
  margin: 0px;
  padding: 0px;
}

div.stafflistboxposter span.name {
  float: left;
  margin-left: 2px;
}

/* Add nifty icons for links to wikipedia */
#content a.extiw[href^="http://en.wikipedia.org"]
{
  background: url(../icons/wikipedia.png) top right no-repeat;
  padding-right: 12px;
}

#content a.extiw[href^="http://de.wikipedia.org"]
{
  background: url(../icons/wikipedia-de.png) top right no-repeat;
  padding-right: 26px;
}