MediaWiki:Common.css

From Halopedia, the Halo wiki

Revision as of 22:56, August 21, 2007 by halowikia>RelentlessRecusant (defining CSS classes, I think.)

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

#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
span.mw-plusminus-pos {color: #006400;} 
span.mw-plusminus-neg {color: #8B0000;} 
span.mw-plusminus-neg { color: #FF0000; font-weight: bold;} 
 {
   background: #eee;
   border: 1px solid #aaa; 
   padding: 5px;
 }

/* 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:olivedrab}

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 }

    /* 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
{
    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>*/

/** Extra toolbar options ****************************************************** 
  *
  *  Description: UNDOCUMENTED
  *  Maintainers: [[User:MarkS]]?, [[User:Voice of All]], [[User:R. Koot]]
  */
 
 //This is a modified copy of a script by User:MarkS for extra features added by User:Voice of All.
 // This is based on the original code on Wikipedia:Tools/Editing tools
 // To disable this script, add <code>mwCustomEditButtons = [];<code> to [[Special:Mypage/monobook.js]]
 
 if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png",
     "speedTip": "Redirect",
     "tagOpen": "#REDIRECT [[",
     "tagClose": "]]",
     "sampleText": "Insert text"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png",
     "speedTip": "Strike",
     "tagOpen": "<s>",
     "tagClose": "</s>",
     "sampleText": "Strike-through text"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png",
     "speedTip": "Line break",
     "tagOpen": "<br />",
     "tagClose": "",
     "sampleText": ""};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png",
     "speedTip": "Superscript",
     "tagOpen": "<sup>",
     "tagClose": "</sup>",
     "sampleText": "Superscript text"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png",
     "speedTip": "Subscript",
     "tagOpen": "<sub>",
     "tagClose": "</sub>",
     "sampleText": "Subscript text"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/5/58/Button_small.png",
     "speedTip": "Small",
     "tagOpen": "<small>",
     "tagClose": "</small>",
     "sampleText": "Small Text"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png",
     "speedTip": "Insert hidden Comment",
     "tagOpen": "<!-- ",
     "tagClose": " -->",
     "sampleText": "Comment"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png",
     "speedTip": "Insert a picture gallery",
     "tagOpen": "\n<gallery>\n",
     "tagClose": "\n</gallery>",
     "sampleText": "Image:Example.jpg|Caption1\nImage:Example.jpg|Caption2"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
     "speedTip": "Insert block of quoted text",
     "tagOpen": "<blockquote>\n",
     "tagClose": "\n</blockquote>",
     "sampleText": "Block quote"};
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png",
     "speedTip": "Insert a table",
     "tagOpen": '{| class="wikitable"\n|-\n',
     "tagClose": "\n|}",
     "sampleText": "! header 1\n! header 2\n! header 3\n|-\n| row 1, cell 1\n| row 1, cell 2\n| row 1, cell 3\n|-\n| row 2, cell 1\n| row 2, cell 2\n| row 2, cell 3"};
 }

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

 /**/