MediaWiki:Wikia.css

From MegaGlest
Revision as of 06:27, 10 August 2011 by Hofmic (talk) (Header colours)
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;
}

/* Stop margins in code blocks */
.syntax_div p
{
	margin: 0 !important;
	line-height: 10pt !important;
}

/* Header on edit pages */
#EditPageHeader
{
	background-color: #eee !important;
	background-image: none !important;
}

/* Admin center header */
.AdminDashboardHeader
{
	background-color: #eee !important;
	background-image: none !important;
}

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

/* Make our <tt> tags our one line code tags */
tt
{
	background-color: #ddd; padding: 1px 5px;
}

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

/* Hides picture attribution */
.picture-attribution
{
	display: none !important;
}

/* Hides related pages */
.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;
	background-image: url(http://images4.wikia.nocookie.net/glest/images/c/c2/Alpha_background.png);
}

/* Main box */
table.navbox
{
	border: 1px solid #aaa;
	background: #EEF;
}
/* 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 .navbox-group
{
	background: #E0E0FF;
	border-right: 0;
	padding-left: 5px;
}
/* Content area */
.navbox-list
{
	padding-left: 10px; 
	background-color: #EEF;
}

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

/* Special classes that are placed when using the {{TOC limit}} template */
.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul
{
	display: none;
}

/* Don't make tabs 8 spaces, make them 4 spaces */
body
{
	-moz-tab-size: 4; /* Firefox */
	-o-tab-size: 4; /* Opera */
	tab-size: 4; /* Generic */
}