MediaWiki:Common.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
(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)
Line 1: Line 1:
/** <pre><nowiki> CSS placed here will be applied to all skins */
/* <pre><nowiki> CSS placed here will be applied to all skins */


div.Boxmerge,
div.Boxmerge,
Line 65: Line 65:
.forumlist th.forum_title { padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }
/* class for forum navigation templates ([[Template:forumtop|forumtop]], [[Template:shtop|shtop]]) */
/* class for forum navigation templates ([[Template:forumtop|forumtop]], [[Template:shtop|shtop]]) */
  .forumheader
  .forumheader {
span.mw-plusminus-pos {color: #006400;}
span.mw-plusminus-neg {color: #8B0000;}
span.mw-plusminus-neg { color: #FF0000; font-weight: bold;}
{
   background-color: #eee;
   background-color: #eee;
   border: 1px solid #aaa;  
   border: 1px solid #aaa;  
   padding: 5px;
   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 */
/* MediaWiki:Sitenotice tests by Jack Phoenix */
Line 107: Line 107:
/* Help header tests by Catherine */
/* Help header tests by Catherine */


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


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


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


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


    .red {
.helpheader {
        background-image: url('http://images.wikia.com/halo/images/7/79/Redheader.png');
  background-repeat: repeat-y;
        color:#990000;  
  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; }


    .helpheader {
/* tweaks for title-messing templates */
        background-repeat: repeat-y;
#title-override { left: 0px!important; font-weight: bold!important; background: #f4f8ff!important; }
        font-size: 140%;  
#title-eraicons { display: none!important; visibility: hidden;!important }
        line-height: 150%;
        margin: 15px 0px 3px 0px;
        padding:0.4em;  
        text-align:left;  
        vertical-align:middle;  
        border-style: none;
    }


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


    /* tweaks for title-messing templates */
h1, h2, h3, h4, h5, h6, .firstHeading { background: inherit;!important }
    #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; }
#toc { background: inherit!important; border-width: 0px!important }
    div.tright { margin-left: 13px!important; }
    div.thumb { background: inherit!important; }


    h1, h2, h3, h4, h5, h6, .firstHeading { background: inherit;!important }
/* temporary hack; that div should be assigned class=noprint */
.infoboxfooter { display:none;!important }


    #toc { background: inherit!important; border-width: 0px!important }
.printfooter { background: inherit!important; }
#catlinks, #footer { display:none;!important }


    /* temporary hack; that div should be assigned class=noprint */
#search-icon-wrapper {
    .infoboxfooter { display:none;!important }
 
    .printfooter { background: inherit!important; }
    #catlinks, #footer { display:none;!important }
}
 
#search-icon-wrapper
{
     cursor: pointer;
     cursor: pointer;
}
}


#search-popup
#search-popup {
{
     position: absolute;
     position: absolute;
     background: #f2f5f9;
     background: #f2f5f9;
Line 256: Line 250:


/* </nowiki>*/
/* </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 */
/* message boxes */
   
   
.iumb table.hidable-content, .ooumb table.hidable-content
.iumb table.hidable-content, .ooumb table.hidable-content {
{
     padding: 0;
     padding: 0;
}
}


.iumb-hidable-button, .ooumb-hidable-button
.iumb-hidable-button, .ooumb-hidable-button {
{
     text-align: right;
     text-align: right;
     margin: 0;
     margin: 0;
Line 355: Line 265:
}
}


.nb2-end a, .nb2-end .hidable-button
.nb2-end a, .nb2-end .hidable-button {
{
     color: #f9f9f9;
     color: #f9f9f9;
     text-transform: lowercase;
     text-transform: lowercase;
Line 362: Line 271:
}
}


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


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


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

Revision as of 23:27, August 24, 2007

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

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