MediaWiki:Common.css: Difference between revisions

From Halopedia, the Halo wiki

(don't wrap tag/class/id identifiers in curley brackets without a @-definition, don't put javascript into css, don't do any of that. This should validate)
(meh, now it should validate, it is '''!important;''')
Line 1: Line 1:
/* :[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 */
/* <pre><nowiki> CSS placed here will be applied to all skins */


Line 99: Line 100:
table.diff a[title="User:Dragonclaws"],  
table.diff a[title="User:Dragonclaws"],  
ul#pagehistory li a[title="User:Dragonclaws"],  
ul#pagehistory li a[title="User:Dragonclaws"],  
ul.special li a[title="User:Dragonclaws"] { font-weight: bold;color:olivedrab}
ul.special li a[title="User:Dragonclaws"] { font-weight: bold;color:#6b8e23}


table.diff a[title="User:GPTBot"],  
table.diff a[title="User:GPTBot"],  
Line 142: Line 143:
/* tweaks for title-messing templates */
/* tweaks for title-messing templates */
#title-override { left: 0px!important; font-weight: bold!important; background: #f4f8ff!important; }
#title-override { left: 0px!important; font-weight: bold!important; background: #f4f8ff!important; }
#title-eraicons { display: none!important; visibility: hidden;!important }
#title-eraicons { display: none!important; visibility: hidden !important; }


div.tleft { border: none!important; }
div.tleft { border: none!important; }
Line 148: Line 149:
div.thumb { background: inherit!important; }
div.thumb { background: inherit!important; }


h1, h2, h3, h4, h5, h6, .firstHeading { background: inherit;!important }
h1, h2, h3, h4, h5, h6, .firstHeading { background: inherit !important; }


#toc { background: inherit!important; border-width: 0px!important }
#toc { background: inherit!important; border-width: 0px!important }
/* temporary hack; that div should be assigned class=noprint */
.infoboxfooter { display:none;!important }
.printfooter { background: inherit!important; }
#catlinks, #footer { display:none;!important }


#search-icon-wrapper {
#search-icon-wrapper {

Revision as of 23:34, August 24, 2007

/* :[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 */

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

/* MediaWiki:Sitenotice tests by Jack Phoenix */

#siteSub {

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

/* Administrator and bot Hilights by RelentlessRecusant and Guesty-Persony-Thingy */

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:Guesty-Persony-Thingy"], 
ul#pagehistory li a[title="User:Guesty-Persony-Thingy"], 
ul.special li a[title="User:Guesty-Persony-Thingy"],
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:ED"], 
table.diff a[title="User:Dragonclaws"], 
ul#pagehistory li a[title="User:Dragonclaws"], 
ul.special li a[title="User:Dragonclaws"] { font-weight: bold;color:#6b8e23}

table.diff a[title="User:GPTBot"], 
ul#pagehistory li a[title="User:GPTBot"],  
ul.special li a[title="User:GPTBot"] { font-weight: bold;color:red}

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

body, #content { background: white !important; }

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

h1, h2, h3, h4, h5, h6, .firstHeading { 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;
}

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