MediaWiki:Wikia.css

From MegaGlest
Revision as of 07:34, 26 March 2011 by Hofmic (talk) (colors)
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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/*
This is the Global CSS. Please DO NOT edit this file unless you
know what you're doing! Unsure? Leave a post on Hofmic's user talk.
Changes to this will affect all viewers. Bear in mind the new ToS
that wikia has outlined.

Some changes copied from the runescape wiki. http://runescape.wikia.com
*/

/* Background image */
.skin-oasis {
  background-image: url("http://images2.wikia.nocookie.net/glest/images/5/51/Wiki-background.png") !important;
  background-position: top middle !important;
  background-repeat: none !important;
  background-attachment: fixed !important;
}

/* Formatting for code blocks */
#WikiaArticle pre{
  background-color: #DDD !important;
  border: 1px dashed #777 !important;
}

/* Prevents the activity sidebar from being overlapped by other content */
.activity-heading{
  z-index: 10;
}

/* Hides picture attribution (now allowed in the TOS) */
.picture-attribution{
  display: none !important;
}

/* Hides related pages (now allowed in the TOS) */
.RelatedPagesModule{
  display: none !important;
}

/* Resize images on their image page if they are too big (stops overlapping of elements) */
.fullImageLink img{
  max-width: 660px;
  height: auto;
  overflow: scroll;
}

/* Main box */
table.navbox{
  border: 1px solid #aaa;
  background: white;
}
/* Title */
.navbox-title{
  background: #CCCCFF;
  border-bottom: 1px solid #aaa;
}
/* Sidebar */
.navbox-group{
  background: #DDDDFF;
  border-right: 1px solid #aaa;
}
/* Level two sidebar */
.navbox-subgroup{
  background: #E0E0FF;
}
/* Content area */
.navbox-list{
  padding-left: 10px; 
  background-color: white;
}

/* Bold headers */
h3 .mw-headline, h4 .mw-headline, h5 .mw-headline, h6 .mw-headline{
  font-weight: bold !important;
}