MediaWiki:Common.css

From Halopedia, the Halo wiki

Revision as of 10:17, May 15, 2011 by Jack Phoenix (talk | contribs) (hurr durr semicolons are your new best friend)

Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

#bodyContent {
	background: #fff url(images/pagebg.jpg) no-repeat center 65px !important;
}

.user-board-message {
	background: #fff;
}

table, div#profile-top, .profile-info {
	background-color: transparent;
}

.smalltoptext {
	font-size: 108%;
	float: right;
	position: relative;
	top: -45px;
	right: 5px;
	white-space: nowrap;
}

.spoiler {
	width: 70%;
	padding: 0.2em;
	margin: 10px;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
}

.easywrap {
	width: 100%;
	table-layout: fixed;
	word-wrap: break-word;
	overflow: hidden;
}

.catlinks {
	background: #f9f9f9 url(images/chiefcat.jpg) no-repeat top right;
}

pre { 
	overflow: auto;
}

#disambig {
	border-top: 3px double #cccccc; 
	border-bottom: 3px double #cccccc;
}

.sigbox {
	background: url(images/sigboxbg.png) no-repeat top left;
	min-height: 35px;
	min-width: 295px;
}

ol.references {
	font-size: 90%;
}

.references-small {
	font-size: 80%;
}

ol.references > li:target {
	background-color: #ddeeff;
}

sup.reference:target {
	background-color: #ddeeff;
}

.references {
	font-size: 92%;
}

/* Checkered background for transparent images. See also http://www.mediawiki.org/wiki/Special:Code/MediaWiki/20065 */
#file img {
	background: url(images/Checker-16x16.png) repeat;
}

html .thumbimage, .random-users-avatars img {
	background: white;
}

div.thumb {
	border-color: transparent;
}

.cleared {
	clear: both;
}

.IntroPageBox {
	background-color: #ffe;
	background-repeat: no-repeat;
	background-position: bottom right;
}

.IntroPageBox div.tright {
	border-color: transparent !important;
}

/* Main Page */
body.page-Main_Page h1.firstHeading {
	display: none;
}
body.page-Main_Page #bodyContent {
	margin-top: 16px;
}

/* Meet the Community */
.random-users-avatars {
	padding: 0px 0px 0px 10px;
}
 
.random-users-avatars h2 {
	border-bottom: none;
	margin: 0px 0px 0px 0px;
	padding: 7px 0px 8px 0px;
}
 
.random-users-avatars img {
	border: 1px solid #DCDCDC;
	display: block;
	float: left;
	height: 50px;
	margin: 0px 8px 8px 0px;
	width: 50px;
}

/* Remove the title (h1 element) for Special:UpdateProfile and Special:UploadAvatar */
body.page-Special_UpdateProfile_custom h1,
body.page-Special_UploadAvatar h1 {
	display: none;
}

.mp-welcome-points {
	width: 50%;
}

/*** Custom Wallpaper ***/
.odst { 
	background: url(images/4/46/ODSTbg4.jpg) no-repeat center top !important;
}

.odst a {
	color: #1AAAE7;
}

.opacity70 {
	background: url(images/c/ca/70opacity.png) repeat;
}

.rookie { 
	background: url(images/c/c2/BG_-_ODST.png) no-repeat center top !important;
}

.rookie a {
	color: #1AAAE7;
}

.reach { 
	background: url(images/5/5b/Halo_Reach_-_User_Wallpaper.jpg) no-repeat center top !important;
}

.reach a {
	color: #1AAAE7;
}

.noble { 
	background: url(images/d/df/Halo_Reach_-_Visual_ID.jpg) no-repeat center top !important;
}

.noble a {
	color: #1AAAE7;
}

.property {
	background: url(images/6/6c/ONI_Property.jpg) no-repeat center top !important;
}

.property a {
	color: #1AAAE7;
}

.censor {
	background: url(images/4/48/ONI_Censored.jpg) no-repeat center top !important;
}

.censor a {
	color: #1AAAE7;
}

/*** Reach portal ***/
.reachbg {
	background: url(images/8/8b/ReachBG.jpg) no-repeat center top !important;
}

.reachbg a {
	color: #0099D9 !important;
}

.doomed {
	background: url(images/0/09/Doomed.jpg) no-repeat center top !important;
}

.doomed a {
	color: #1AAAE7;
}

/* Administrator and bot highlights by Splarka */
table.diff a[title="User:CommanderTony"],
ul#pagehistory li a[title="User:CommanderTony"],
ul.special li a[title="User:CommanderTony"],
table.diff a[title="User:Dragonclaws"],
ul#pagehistory li a[title="User:Dragonclaws"],
ul.special li a[title="User:Dragonclaws"],
ul.special li a[title="User:Forerunner"],
table.diff a[title="User:Forerunner"],
ul#pagehistory li a[title="User:Forerunner"],
ul.special li a[title="User:Halo-343"],
table.diff a[title="User:Halo-343"],
ul#pagehistory li a[title="User:Halo-343"],
ul.special li a[title="User:Jack Phoenix"],
table.diff a[title="User:Jack Phoenix"],
ul#pagehistory li a[title="User:Jack Phoenix"],
ul.special li a[title="User:Jugus"],
table.diff a[title="User:Jugus"],
ul#pagehistory li a[title="User:Jugus"],
ul.special li a[title="User:Nicmavr"],
table.diff a[title="User:Nicmavr"],
ul#pagehistory li a[title="User:Nicmavr"],
table.diff a[title="User:Porplemontage"],
ul#pagehistory li a[title="User:Porplemontage"],
ul.special li a[title="User:Porplemontage"],
table.diff a[title="User:Smoke."],
ul#pagehistory li a[title="User:Smoke."],
ul.special li a[title="User:Smoke."] {
	color: #009900;
}

table.diff a[title="User:Nicbot"],
ul#pagehistory li a[title="User:Nicbot"],
ul.special li a[title="User:Nicbot"],
table.diff a[title="User:The 888th Bot"],
ul#pagehistory li a[title="User:The 888th Bot"],
ul.special li a[title="User:The 888th Bot"],
table.diff a[title="User:HalopediaBot"],
ul#pagehistory li a[title="User:HalopediaBot"],
ul.special li a[title="User:HalopediaBot"],
table.diff a[title="User:ForeBot"],
ul#pagehistory li a[title="User:ForeBot"],
ul.special li a[title="User:ForeBot"],
table.diff a[title="User:31stCenturyBot"],
ul#pagehistory li a[title="User:31stCenturyBot"],
ul.special li a[title="User:31stCenturyBot"] {
	color: #FF8C00;
}

/* Era icons */
#title-linktabs {
	float: right;
}

#title-linktabs img {
	padding: 0 1px;
}

/* Infobox template styling */
.infobox {
	float: right;
	clear: right;
	margin: 0 0 .5em 1em;
	width: 250px;
	background: none;
	border-collapse: collapse;
	border-width: 0px;
	font-size: 0.8em;
	line-height: 1.5;
}

.infobox table.infoboxtable {
	background: #f0f0f0;
	float: right;
	margin: 0;
	width: 100%;
	border-collapse: collapse;
}

.infobox td.infoboximage {
	padding: 0;
	text-align: center; 
}

.infobox th.infoboxheading {
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	font-size: larger;
}

.infobox th.infoboxsubheading {
	vertical-align: top;
	text-align: left;
	font-weight: normal; 
}

.infobox td.infoboxlabel, .infobox td.infoboxcell {
	vertical-align: middle;
/*	border-top: 1px solid #999;
	border-bottom: 1px solid #999; */
}

/* ugly hack to force normal height for infobox cells */
.infoboxcell p {
	margin-top: 0px;
	margin-bottom: 0px;
}
/* .infoboxcell ul { list-style-type: disc; } */

.infoboxcell ul {
	padding-left: 10px;
	margin-left: 10px;
}

.infoboxcell ul li {
	padding-left: 0;
	margin-left: 0;
	list-style-type: square;
}

.infobox div.plainlinks {
	color: #fff;
}

.infobox div.plainlinks a {
	color: #f0f0f0;
}

.foreground {
	background: url(images/pagebg.jpg) no-repeat center 65px !important;
}

.foreground a {
	color: #1AAAE7;
}

/* JS Tab System, Jacked and Hacked from the jsprefs in monobook/main.css -Dantman */
.tabtoc {
	margin: 0;
	padding: 0;
	width: 100%;
	clear: both;
}

.tabtoc li {
	background-color: #f0f0f0;
	color: #000;
}

.tabtoc li {
	margin: 1px -2px 1px 2px;
	float: left;
	padding: 2px 0 3px 0;
	border: 1px solid #fff;
	border-right-color: #716f64;
	border-bottom: 0;
	position: relative;
	white-space: nowrap;
	list-style-type: none;
	list-style-image: none;
	z-index: 3;
}

.tabtoc li.selected {
	font-weight: bold;
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	border-bottom: none;
	cursor: default;
	top: 1px;
	padding-top: 2px;
	margin-right: -3px;
}

.tabtoc >; li.selected {
	top: 2px;
}

.tabtoc a,
.tabtoc a:active {
	display: block;
	color: #000;
	padding: 0 .7em;
	position: relative;
	text-decoration: none;
}

.tabtoc li.selected a {
	cursor: default;
	text-decoration: none;
}

.tabcontainer {
	margin: 0;
	border: 1px solid #aaa;
	clear: both;
	padding: 1.5em;
	background-color: #F9F9F9;
}

.tabsection {
	border: none;
	padding: 0;
	margin: 0;
}

.tabsection .tabbox {
	border: 1px solid #aaa;
	float: left;
	margin-right: 2em;
}

.tabsection .tab {
	font-weight: bold;
}

.tabsection table, .tabsection .tab {
	background-color: #F9F9F9;
}
 
.mainTab {
	display: none;
}

/* Collapsible tables (see http://www.mediawiki.org/wiki/Manual:Collapsible_tables) */
table.collapsed tr.collapsable {
	display: none;
}

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the	    */
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.		  */
	text-align: right;
	width: auto;
}