MediaWiki:Common.css: Difference between revisions

From Halopedia, the Halo wiki

(from wikia halp)
(colours)
Line 414: Line 414:
.yui-navset .yui-nav li
.yui-navset .yui-nav li
{
{
   background-color: #D4DEE8;
   background-color: #687F79;
   padding-left: 10px;
   padding-left: 10px;
   padding-right: 10px;
   padding-right: 10px;
Line 422: Line 422:
.yui-content, .yui-navset .yui-nav li.selected
.yui-content, .yui-navset .yui-nav li.selected
{
{
   background-color: #E7F2FF;
   background-color: #D4DfD7;
}
}


Line 430: Line 430:
border-style: solid;
border-style: solid;
border-width: 2px 0 0 0;
border-width: 2px 0 0 0;
border-top-color: #2F5DBA;
border-top-color: #A1ACA4;
}
}



Revision as of 09:02, January 10, 2009

/* :[http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fhalo.wikia.com%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26usemsgcache%3Dyes%26action%3Draw%26ctype%3Dtext%2Fcss%26smaxage%3D18000 validate!] ''(yah, funny)''
/* <pre><nowiki> CSS placed here will be applied to all skins */

@import "/index.php?title=MediaWiki:Social_blocks&action=raw&ctype=text/css";

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;
}

#column-content #content {position: relative; }

/* <pre><nowiki> */
/* Forum formatting -Algorithm & -Splaka */
.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(/images/4/4e/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; }
/* class for forum navigation templates ([[Template:forumtop|forumtop]], [[Template:shtop|shtop]]) */
 .forumheader {
   background-color: #eee;
   border: 1px solid #aaa; 
   padding: 5px;
 }

span.mw-plusminus-pos {color: #006400;} 
span.mw-plusminus-neg {color: #8B0000;} 
span.mw-plusminus-neg { color: #FF0000; font-weight: bold;} 

/* Stuff for the "From Halopedia, the Halo Wikia, [bleh]" */

#siteSub {

   display: inline;
   font-size: 90%;
   font-weight: normal;
   font-style: italic;
}

/* 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"],
table.diff a[title="User:ED"], 
ul#pagehistory li a[title="User:ED"], 
ul.special li a[title="User:ED"],
table.diff a[title="User:EwCDnaudee419"], 
ul#pagehistory li a[title="User:EwCDnaudee419"], 
ul.special li a[title="User:EwCDnaudee419"],
table.diff a[title="User:HaloDude"], 
ul#pagehistory li a[title="User:HaloDude"], 
ul.special li a[title="User:HaloDude"],
ul.special li a[title="User:Manticore"],
table.diff a[title="User:Manticore"], 
ul#pagehistory li a[title="User:Manticore"], 
table.diff a[title="User:RelentlessRecusant"], 
ul#pagehistory li a[title="User:RelentlessRecusant"], 
ul.special li a[title="User:RelentlessRecusant"],
table.diff a[title="User:Simon rjh"], 
ul#pagehistory li a[title="User:Simon rjh"], 
ul.special li a[title="User:Simon rjh"],
table.diff a[title="User:Specops306"], 
ul#pagehistory li a[title="User:Specops306"], 
ul.special li a[title="User:Specops306"],
table.diff a[title="User:Subtank"], 
ul#pagehistory li a[title="User:Subtank"], 
ul.special li a[title="User:Subtank"] { color: #009900; }

table.diff a[title="User:MantiBot"], 
ul#pagehistory li a[title="User:MantiBot"],  
ul.special li a[title="User:MantiBot"] { color: #FF8C00 }

/* Help header tests by Catherine */

.basic {
  background-image: url('http://images.wikia.com/communitytest/images/3/3b/Greenheader.png'); 
  color:#006600; 
}

.moderate {
  background-image: url('http://images.wikia.com/communitytest/images/7/7f/Blueheader.png');
  color:#333399; 
}

.expert {
background-image: url('http://images.wikia.com/communitytest/images/e/ed/Purpleheader.png');
color:#663399; 
}

.red {
  background-image: url('http://images.wikia.com/halo/images/7/79/Redheader.png');
  color:#990000; 
}

.helpheader {
  background-repeat: repeat-y;
  font-size: 140%; 
  line-height: 150%; 
  margin: 15px 0px 3px 0px; 
  padding:0.4em; 
  text-align:left; 
  vertical-align:middle; 
  border-style: none;
}

/* tweaks for title-messing templates */
#title-override { left: 0px!important; font-weight: bold!important; background: #f4f8ff!important; }
#title-eraicons { display: none!important; visibility: hidden !important; }

div.tleft { border: none!important; }
div.tright { margin-left: 13px!important; }
div.thumb { background: inherit!important; }

#toc { background: inherit!important; border-width: 0px!important }

#search-icon-wrapper {
    cursor: pointer;
}

#search-popup {
    position: absolute;
    background: #f2f5f9;
    text-align: left;
    z-index: 8;
}

/* 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;
}
/* @media screen, projection { */
	.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;
}
/* @media screen, projection { */
	.mainTab {
		display: none;
	}
/* } */

/* </nowiki>*/

/* message boxes */
 
.iumb table.hidable-content, .ooumb table.hidable-content {
    padding: 0;
}

.iumb-hidable-button, .ooumb-hidable-button {
    text-align: right;
    margin: 0;
    padding: 0 5px 0 0;
    font-size: 0.8em;
    vertical-align: bottom;
}

.nb2-end a, .nb2-end .hidable-button {
    color: #f9f9f9;
    text-transform: lowercase;
    text-decoration: none;
}

.hidable-button {
    color: #088;
    cursor: pointer;
}

.infobox .hidable-button {
    color: #f0f0f0;
}

/* 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;
 }

/* Removes signature button in article view */
body.ns-0 img#mw-editbutton-signature { display: none; }

/* wikitable/prettytable class for skinning normal tables - from Uncyclopedia -- Manticore */
table.wikitable, table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
table.wikitable th, table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
table.wikitable caption, table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

#title-linktabs {
  float: right;
}

.wikiaSkinMonaco .user-section-title {
	background-color: inherit !important;
}


/** put monaco logo here, so that it will affect ALL monaco skins, not just the custom one **/
.wikiaSkinMonaco #wiki_logo {
   background: transparent !important;
   background-image: url(http://images2.wikia.nocookie.net/halo/images/4/42/Monaco_accent.png) !important;
   height: 164px;
   top: 5px;
   width: 222px;
}

* html .wikiaSkinMonaco #wiki_logo {
   background-image: none;
   filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images2.wikia.nocookie.net/halo/images/4/42/Monaco_accent.png', sizingMethod='crop');
}

/* TabView */

/*set the base backcolor of the 'off' tabs */
.yui-navset .yui-nav li
{
  background-color: #687F79;
  padding-left: 10px;
  padding-right: 10px;
}

/*set the background color of the content and the 'on' tab the same*/
.yui-content, .yui-navset .yui-nav li.selected
{
  background-color: #D4DfD7;
}


/** style the 'on' tab **/
.yui-navset .yui-nav .selected {
border-style: solid;
border-width: 2px 0 0 0;
border-top-color: #A1ACA4;
}


/* keep the side padding, but enforce no gap between content area and tabs */
.yui-content {
margin-top: 0;
padding-top: 0.25em;
padding-left: 0.5em;
padding-right: 0.5em;
}

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