MediaWiki:Common.css

From WarWiki
Jump to navigationJump 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)
  • 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 – see also: [[MediaWiki:Monobook.css]] */
/* <pre><nowiki> */

/* Infobox template style */
.infobox {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	color: black;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: 0.2em;
	float: right;
	clear: right;
}

.infobox td,
.infobox th {
	vertical-align: top;
}

.infobox caption {
	font-size: larger;
	margin-left: inherit;
}

/* === Redirects in Special:AllPages and Special:Watchlist === */
.allpagesredirect, .watchlistredir {
	font-style: italic;
}

/* === Hilighting admin/staff by Splarka === */
ul.special li a[title="User:Jack Phoenix"] { font-weight: bold; font-style: italic; }

/* === Forum formatting -Algorithm & -Splarka === */
.forumheader {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin-top: 1em;
	padding: 12px;
}

.forumlist td.forum_edited a {
	color: black;
	text-decoration: none;
}

.forumlist td.forum_title a {
	padding-left: 20px;
}

.forumlist td.forum_title a.forum_new {
	font-weight: bold;
/*	background: url(Forum_new.gif) center left no-repeat;*/
	padding-left: 20px; 
}

.forumlist td.forum_title a.forum_new:visited { 
	font-weight: normal;
	background: none;
	padding-left: 20px;
}

.forumlist th.forum_title {
	padding-left: 20px;
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.Boxmerge,
div.NavFrame {
	margin: 0px;
	padding: 4px;
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.Boxmerge div.NavFrame {
	border-style: none;
	border-style: hidden;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0px;
	padding: 2px;
	float: left;
}
div.NavFrame div.NavHead {
	height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p {
	font-size: 100%;
}
div.NavFrame div.NavContent {
	font-size: 100%;
}
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0px;
	padding: 0px;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0px;
	right: 3px;
	font-weight: normal;
	font-size: smaller;
}

/* </pre></nowiki> */