MediaWiki:Common.css: Difference between revisions

From SikhiWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/*
/*
ATTENTION ADMINISTRATORS:
This is the CSS for all skins (for all users) on MediaWiki.org.  
This is the CSS for all skins. Any major changes to this page or
[[MediaWiki:Monobook.css|Monobook.css]] should be first proposed on
the [[Wikipedia:Village pump (technical)|Village pump]]. 
Testing can be done on your own user Monobook.css. In [[Mozilla]] and
[[Opera (web browser)|Opera]], you can also test style changes dynamically
with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles]
bookmarklet from squarefree.com. It pops up a window for adding style rules,
and updates the page as you type.
Always check with the [http://tinyurl.com/28y334 W3C CSS Validation Service]
([http://tinyurl.com/2g8bsk CVS version]) after any changes.


See also: [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
SECTIONS:
1. Indication of namespaces
Thank you.
2. Color classes for content
3. Special pages
4. Main page styling
5. Sidebar external links
6. Extension:Matrix stuff
7. Wikitables, infobox templates, warnings, and other such stylings
8. Some other small things
*/
*/
/* <pre><nowiki> */
/* Main page fixes */
#interwiki-completelist {
    font-weight: bold;
}


/** 1. INDICATION OF NAMESPACES **/


body.page-Main_Page #ca-delete {
/* Pseudo NS Special (light grey) */
    display: none !important;
.ns--2 #content { background-color: #f4f4f4; }
}
.ns--2 div.thumb { border-color: #f4f4f4; }  
 
/* Add space below the navigation */
#navigation {
    margin-bottom: 10px;
}


/* Add space below the toolbar */
/* NS Project + Project_talk (light sky blue) */
#toolbar {
.ns-4 #content, .ns-5 #content { background-color: #f8fcff; }
    margin-bottom: 6px;
.ns-4 div.thumb, .ns-5 div.thumb { border-color: #f8fcff; }  
}


/* make the list of references look smaller */
/* NS MediaWiki + MediaWiki_talk (light grey) */
ol.references {
.ns-8 #content, .ns-9 #content { background-color: #f4f4f4; }
    font-size: 100%;
.ns-8 div.thumb, .ns-9 div.thumb { border-color: #f4f4f4; }  
}


.references-small { font-size: 90%;}
/* NS Manual + Manual_talk (light bluish violet) */
.ns-100 #content, .ns-101 #content { background-color: #f3f3ff; }
.ns-100 div.thumb, .ns-101 div.thumb { border-color: #f3f3ff; }  


/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* NS Help (but NOT Help_talk) (blue border and Public Domain icon) */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
.ns-12 #content {
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
     border: 2px solid #0000cc;
/* Please ignore any validator errors caused by these two lines */
     border-right: none;
.references-2column {
     background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
     font-size: 90%;
    background-repeat: no-repeat;
     -moz-column-count: 2;
     background-position: right top;
     -webkit-column-count: 2;
     column-count: 2;
}
}
 
.ns-12 #bodyContent {
.same-bg { background: none; }
    background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
 
    background-repeat: no-repeat;
/* Highlight clicked reference in blue to help navigation */
     background-position: right 5em;
ol.references > li:target {
     background-color: #DEF;
}
}


sup.reference:target {  
/***** 2. COLOR CLASSES FOR CONTENT  *****/
    background-color: #DEF;
}
/* Border colors */
.borderc1 { border-color: #e9e9e9; border-width: thin; }
.borderc2 { border-color: #aaaaaa; border-width: thin; }
.borderc3 { border-color: #777777; border-width: thin; }
.borderc4 { border-color: #000000; border-width: thin; }
.borderc5 { border-color: #c00000; border-width: thin; }
.borderc6 { border-color: #025e9d; border-width: thin; }
.borderc7 { border-color: #008040; border-width: thin; }
.borderc8 { border-color: #ffcc00; border-width: thin; } /* Used by: [[Template:Welcome]]. */
/* Background colors */
.backgroundc1 { background-color: #ffffff; } /* Used by: [[Template:Welcome]]. */
.backgroundc2 { background-color: #f9f9f9; }
.backgroundc3 { background-color: #eeeeee; }
.backgroundc4 { background-color: #e0e0e0; }
.backgroundc5 { background-color: #d2d2d2; }
.backgroundc6 { background-color: #b7b7b7; }
.backgroundc7 { background-color: #a3a3a3; }
.backgroundc8 { background-color: #444455; }


/* Styling for citations */
/** 3. SPECIAL PAGES **/
cite {
    font-style: normal;
    word-wrap: break-word;
}


/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
/* Consistent special page navigation */
cite:target {
.SpecialPageInfo {
     background-color: #DEF;
    background-color: #f9f9f9;
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png);
    background-position: 0.8em 0.5em;
     background-repeat: no-repeat;
    padding: 0.3em 0.5em 0.3em 5.0em;
    border-color: #025e9d;
    border-width: 1px;
    border-style: solid;
    border-bottom-width: medium;
    margin-bottom: 1em;
}
}


/* Do not expand URLs within citations for printing. The URLs should be included explicitly, to avoid confusion */
.mw-viewprevnext {
 
    display: block;
@media print {
     border: 1px solid #cccccc;
     #content cite a.external.text:after {
    background-color: #f9f9f2;
        display: none;
     padding: 0.2em 0.4em;
     }
}
}


/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
/** 4. MAIN PAGE STYLING **/


@media screen, handheld, projection {
#mainpage_topbox {
    cite *.printonly {
        display: none;
    }
}
 
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
     background: #f9f9f9;
     background: #f9f9f9;
     border: 1px #aaa solid;
    padding: 0px;
     border-collapse: collapse;
     border: 1px solid #aaaaaa;
     margin: 0.2em 10px 10px;
}
}
 
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
table.wikitable th, table.wikitable td,
     font-size: 105%;
table.prettytable th, table.prettytable td {
     padding: 0.4em;
     border: 1px #aaa solid;
    background-color: #eeeeee;
     padding: 0.2em;
    border-bottom: 1px solid #aaaaaa;
}
}
 
.mainpage_boxtitle {
table.wikitable th,
     line-height: 120%;
table.prettytable th {
     background: #f2f2f2;
    text-align: center;
}
}
 
#mainpage_pagetitle {
table.wikitable caption,
     color: #cf7606;
table.prettytable caption {
     font-size: 200% !important;
     margin-left: inherit;
    margin-right: inherit;
     font-weight: bold;
}
}
 
#mainpage_sitelinks {
table.prettytable code,
    padding: 0.2em;
table.wikitable code {
    text-align: center;
     background-color: transparent;
     background-color: white;
}
}
 
.mainpage_hubtitle {
/* default skin for navigation boxes */
    text-align: center;
table.navbox {           /* navbox container style */
  border:1px solid #aaa;
  width:100%;
  margin:auto;
  clear:both;
  font-size:100%;
  text-align:center;
  padding:2px;
}
}
table.navbox + table.navbox {
.mainpage_boxcontents, .mainpage_boxcontents_small {
  margin-top:-1px;       /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
    background: #ffffff;
    padding: 0.2em 0.4em;
}
}
.navbox-title, .navbox-abovebelow, table.navbox th {
.mainpage_boxcontents_small {
  text-align:center;      /* title and above/below styles */
    font-size: 95%;
  padding-left:1em;
  padding-right:1em;
}
}
.navbox-group {           /* group style */
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
  white-space:nowrap;
    padding: 0;
  text-align:right;
    border: 1px solid #aaaaaa;
  font-weight:bold;
  padding-left:1em;
  padding-right:1em;
}
}
.navbox, .navbox-subgroup {
.mainpage_hubbox {
  background:#fdfdfd;     /* Background color */
    margin-bottom: 0;
}
}
.navbox-title, table.navbox th {
#mainpage_newscell {
  background:#ccccff;    /* Level 1 color */
    margin-bottom: 15px;
     margin-top: 0 !important;
}
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
#mainpage_newscell .mainpage_boxtitle {
  background:#ddddff;    /* Level 2 color */
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
    background-repeat: no-repeat;
    background-position: 99% 0.3em;
     padding-right: 25px;
}
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
#mainpage_downloadcell {
  background:#e6e6ff;    /* Level 3 color */
    width: 17em;
     margin-bottom: 5px;
}
}
.navbox-even {
#mainpage_downloadcell .mainpage_boxtitle {
  background:#f7f7f7;    /* Even row striping */
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
    background-repeat: no-repeat;
    background-position: 96% 0.33em;
     padding-right: 25px;
}
}
.navbox-odd {
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */
  background:transparent; /* Odd row striping */
 
/* The "mainpage" class is added to the body with JavaScript for the main page in all */
/* languages, so we can style things that apppear on the main page and also elsewhere. */
.mainpage #lastmod,
.mainpage #siteSub,
.mainpage h1.firstHeading {
    display: none !important;
}
.mainpage #content {
    padding-top: 1em;
}
}
 
@media print {
/** 5. SIDEBAR EXTERNAL LINKS **/
     .navbox {
 
        display: none;
#n-blog-text a, #n-browse-svn a, #n-Statistics-for-SVN a, #n-phpdoc a, #n-svn-statistics a {
     }
     background: url(/skins-1.5/monobook/external.png) center right no-repeat;
    padding-right: 13px;
     color: #3366bb;
}
}


/* Infobox template style */
/** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS **/
.infobox {
 
    border: 1px solid #aaa;
/* Give wikitables blue headings */
    background-color: #f9f9f9;
.wikitable th, .wikitable td.hl3, .wikitable th.hl3 {
    color: black;
     background: #8da7d6;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
     vertical-align: top;
}
}
.infobox caption {
.wikitable td.hl1, .wikitable th.hl1 {
     font-size: larger;
     background: #c5d8fc;
    margin-left: inherit;
}
}
.infobox.bordered {
.wikitable td.hl2, .wikitable th.hl2 {
    border-collapse: collapse;
     background: #a7c1f2;
}
.infobox.bordered td,
.infobox.bordered th {
     border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
}


.infobox.sisterproject {
/**
     width: 20em;
* Make entire table valign=top,
    font-size: 90%;
* To replace the |valign=top| on every cell.
*/
.vatop tr, tr.vatop, .vatop td, .vatop th {
     vertical-align: top;
}
}


@media print {
/* General purpose "pretty (data) tables" */
    .infobox.sisterproject {
table.datatable {
        display: none;
    background-color: transparent;
    }
}
}


/* styles for bordered infobox with merged rows */
table.datatable th, table.datatable td {
.infobox.bordered .mergedtoprow td,
     padding: 4px;
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
     border: 0;
    border-right: 1px solid #aaa;
}
}


/* Styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
table.datatable th {
.infobox.geography {
     text-align: left;
     text-align: left;
     border-collapse: collapse;
     background-color: #999999;
    line-height: 1.2em;
    font-size: 90%;
}
}


.infobox.geography  td,
table.datatable tr {
.infobox.geography  th {
     background-color: #cccccc;
     border-top: solid 1px #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: solid 1px #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
}


.infobox.geography .mergedrow td,
table.datatable tr:hover {
.infobox.geography .mergedrow th {
     background-color: #ffffcc;
     border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
}


.infobox.geography .mergedbottomrow td,
/* SideBox styling */
.infobox.geography .mergedbottomrow th {
div.sideBox {
     border-top: 0;
     position: relative;
     border-bottom: solid 1px #aaa;
    float: right;
     padding: 0 0.6em 0.4em 0.6em;
    background: white;
    margin-left: 1em;
     border: 1px solid gray;
     padding: 0.3em;
    width: 200px;
    overflow: hidden;
    clear: right;
}
}
 
div.sideBox dl {
.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
     padding: 0;
     padding: 0;
    margin: 0 0 0.3em 0;
    font-size: 96%;
}
}
 
div.sideBox dl dt {
/* Style for "notices" */
    background: none;
.notice {
    margin: 0.4em 0 0 0;
     margin: 1em;
}
     padding: 0.2em;
div.sideBox dl dd {
     margin: 0.1em 0 0 1.1em;
     background-color: #f3f3f3;
}
}


#disambig {
/* Extension infobox styling */
     border-top: 1px solid #ccc;  
.ext-infobox {
     border-bottom: 1px solid #ccc;
     border: 2px solid #aaaaaa;
    width: 272px;
    float: right;
    margin: 0 0 0.5em 0.5em;
     border-collapse: collapse;
    background-color: white;
}
}
 
.ext-infobox td {
.spoiler {
     border: 2px none #aaaaaa;
     border-top: 2px solid #ddd;
    padding: 0.2em 0.5em;
     border-bottom: 2px solid #ddd;
     border-bottom: 1px solid #f0f0f0 !important;
}
}
 
.ext-header {
/* Standard talk template style */
     background-color: #aaaaaa;
 
     color: white;
.Talk-Notice  {
     text-align: left;
    border: 1px solid #C0C090;
     background-color: #F8EABA;
     margin-bottom: 3px;
    width: 85%;
     border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}
}
.ext-header td { padding-top: 0.5em; }
.ext-header img { padding: 0 0.2em 0 0.5em; }
.ext-status-unstable, .ext-status-unstable td { border-color: #990000; }
.ext-status-unstable .ext-header { background-color: #990000; color: #ffff00; }
.ext-status-experimental, .ext-status-experimental td { border-color: #ff4500; }
.ext-status-experimental .ext-header { background-color: #ff4500; }
.ext-status-beta, .ext-status-beta td { border-color: #ffba01; }
.ext-status-beta .ext-header { background-color: #ffba01; }
.ext-status-stable, .ext-status-stable td { border-color: #32cd32; }
.ext-status-stable .ext-header { background-color: #32cd32; }


.Talk-Notice:after {
/* Version box on [[Manual:Downloading MediaWiki]] */
  content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
#DownloadVersionBox {
    border: 2px solid black;
    border-collapse: collapse;
    margin: auto;
    width: 50%;
    color: black;
}
}
 
#DownloadVersionBox td {
/* Make template background appear correctly on all browsers */
     border: 2px solid black;
.Talk-Notice td {
    padding: 20px;
     background: inherit;
}
}


/* Persondata and other (future) metadata */
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
table.InChI, /* temporary */
.majorwarning {
table.persondata {
     background: yellow;  
     border: 1px solid #aaa;
     padding: 0.3em;  
     display: none;
     text-align: center;  
     speak: none;
    font-size: 125%;
}
     border: 2px solid red;
.InChI-label, /* temporary */
.persondata-label {
     color: #aaa;
}
}


/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
/* Page headings used throughout the wiki (though not very much at the time of writing…) */  
.redirect-in-category, .allpagesredirect {
.page-notice, .page-warning {
     font-style: italic;
     border-width: 1px;
    border-style: solid;
    padding: 0.3em 0.5em;
    margin-bottom: 1em;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
}


/* Class for links with loudspeaker icon next to them */
/* Informative notices at the top of pages (blue) */
/* (Used in [[Template:Audio]] and the like to make the speaker clickable) */
.page-notice {
 
     background-color: #f9f9f9;
.audiolink a {
     border-color: #025e9d;  
     background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important;
     text-align: left;
     padding-left: 16px !important;
     padding-right: 0 !important;
}
}


/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
/* Warning information at the top of pages (red) */
 
.page-warning {
div.listenlist {
     background-color: #ffffff;
     background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
    border-color: #c51919;
     padding-left: 40px;
     border-width: 2px;
}
}
 
.pw-head {
div.videolist, div.multivideolist {
     color: #c51919;
     background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
     font-weight: bold;
     padding-left: 50px;
}
}


/* Style rules for media list templates */
/* Used in Template:Notice */
div.medialist {
.block-note {
     min-height: 50px;
     background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
    margin: 1em;
     background-position: top left;
     background-position: top left;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
}
}
 
/*
div.medialist ul {
  Using block-contents in the hope that it can apply to all block-level warning templates,
     list-style-type: none;  
  with different images applied as backgrounds to the wrapping DIV.
     list-style-image: none;
*/
    margin: 0;
.block-contents {
     display: block;
     padding-left: 20px;
}
}


div.medialist ul li {
/* Template documentation ([[Template:Documentation]]) */
     padding-bottom: 0.5em;
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
     padding: 5px;
}
}


div.medialist ul li li {
/** 8. SOME OTHER SMALL THINGS **/
    font-size: 91%;
    padding-bottom: 0;
}


/* Change the external link icon to an Adobe icon for all PDF files */
/* Give a bit of space to the TOC */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#toc { margin: 1em 0; }
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external,
#mw_content a[href$=".pdf"].external,
#mw_content a[href*=".pdf?"].external,
#mw_content a[href*=".pdf#"].external,
#mw_content a[href$=".PDF"].external,
#mw_content a[href*=".PDF?"].external,
#mw_content a[href*=".PDF#"].external {
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
    padding-right: 16px;
}


/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* Allow limiting of which header levels are shown in a TOC;
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
  <div class="toclimit-3">, for instance, will limit to
span.PDFlink a {
  showing ==headings== and ===headings=== but no further.
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
  Used in [[Template:TOCright]]
     padding-right: 17px !important;
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
     display: none;
}
}


span.geolink a {
/* make the list of references look smaller and highlight clicked reference in blue */
    background: url(http://upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center right no-repeat !important;
ol.references { font-size: 100%; }
    padding-right: 11px !important;
.references-small { font-size: 90%; }
}
ol.references > li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }


/* Content in columns with CSS instead of tables [[Template:Columns]] */
/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
div.columns-2 div.column {
.my-buttons {
     float: left;
     padding: .5em;
    width: 50%;
    min-width: 300px;
}
}
 
.my-buttons a {
div.columns-3 div.column {
     color: black;
     float: left;
    background-color: #cde !important;
     width: 33.3%;
     font-weight: bold;
     min-width: 200px;
    font-size: .9em;
     text-decoration: none;
    border: thin #069 outset;
    padding: 0 .1em .1em;
}
}
 
.my-buttons a:hover, .my-buttons a:active {
div.columns-4 div.column {
     background-color: #bcd;
     float: left;
     border-style: inset;
    width: 25%;
     min-width: 150px;
}
}


div.columns-5 div.column {
/* from [[User:Splarka/Help:Linked images]] */
     float: left;
.imagelink_wikilogo a {
     width: 20%;
     width: 135px;
     min-width: 120px;
     height: 135px;
    display: block;
    text-decoration: none;
     background-image: url("http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png");
}
}


/*Add formatting to make sure that "external references" from [[Template:Ref]] do
/** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
table.mbox {
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
     margin: 4px 10%;
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
    border-collapse: collapse;
  "print". The rules below ensure (a) that there is no extra padding to the right of
    border: 1px solid #aaa; /* Default "notice" gray */
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
     background: #f9f9f9;
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
  ~~~~
*/
 
.plainlinksneverexpand {
     background: none ! important;
     padding: 0 ! important;
}
}
 
table.mbox-wide {
.plainlinksneverexpand .urlexpansion {
     margin: 4px 0;
     display: none ! important;
}
}


/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
th.mbox-text, td.mbox-text {    /* The message body cell(s) */
  the arrow...
     border: none;
*/
     padding: 0.25em 0.9em;       /* 0.9em left/right */
.plainlinksneverexpand a {
     width: 100%;   /* Make all mboxes the same width regardless of text length */
     background: none !important;
     padding: 0 !important;
}
 
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
  following the anchor A, the anchor itself now has class "external autonumber" and the
  expansion is inserted when printing (see the common printing style sheet at
  http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
  element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {
     display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}
 
/* Messagebox templates */
.messagebox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
}
.messagebox.merge {
td.mbox-image {                 /* The left image cell */
     border: 1px solid #c0b8cc;
     border: none;
     background-color: #f0e5ff;
     padding: 2px 0 2px 0.9em;   /* 0.9em left, 0px right */
     text-align: center;
     text-align: center;
}
}
.messagebox.cleanup {
td.mbox-imageright {             /* The right image cell */
     border: 1px solid #9f9fff;
     border: none;
     background-color: #efefff;
     padding: 2px 0.9em 2px 0;   /* 0px left, 0.9em right */
     text-align: center;
     text-align: center;
}
}
.messagebox.standard-talk {
td.mbox-empty-cell {         /* An empty narrow cell */
     border: 1px solid #c0c090;
     border: none;
     background-color: #f8eaba;
    padding: 0px;
     width: 1px;
}
}
.messagebox.nested-talk {
 
     border: 1px solid #c0c090;
/* These mbox-small classes must be placed after all other
    background-color: #f8eaba;
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
     width: 100%;
  they override "table.ambox + table.ambox" above. */
     margin: 2px 4px 2px 4px;
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
}
     clear: right;
.messagebox.small {
     float: right;
     margin: 4px 0 4px 1em;
     width: 238px;
     width: 238px;
     font-size: 85%;
     font-size: 88%;
    float: right;
     line-height: 1.25em;
    clear: both;
    margin: 0 0 1em 1em;
     line-height: 1.25em;  
}
}
.messagebox.small-talk {
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 1em 4px 0;
     width: 238px;
     width: 238px;
     font-size: 85%;
     border-collapse: collapse;
     float: right;
     font-size: 88%;
    clear: both;
     line-height: 1.25em;
    margin: 0 0 1em 1em;
     line-height: 1.25em;
    background: #F8EABA;
}
}


/* Article message box template styles */
/* These are the same colours as the enwiki
table.ambox {
  'cmbox' styles; just with different names. */
    margin: 0 10%;                      /* Will not overlap with other elements */
table.mbox-critical {
    border-collapse: collapse;
     border: 4px solid #b22222;   /* Red */
    background: #fbfbfb;
     background: #FFDBDB;          /* Pink */
    border: 1px solid #aaa;
     border-left: 10px solid #1e90ff;     /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
     padding: 0.25em 0.5em;            /* 0.5em left/right */
    width: 100%;                     /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {         /* The left image cell */
    padding: 2px 0px 2px 0.5em;      /* 0.5em left, 0px right */
    text-align: center;
}
}
table.ambox td.ambox-imageright {     /* The right image cell */
table.mbox-important {
     padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
     background: #FFDBDB;   /* Red */
    text-align: center;
}
}
table.ambox-notice {
table.mbox-warning {
     border-left: 10px solid #1e90ff;     /* Blue */
     background: #FFE7CE;   /* Orange */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
}
table.ambox-delete,
table.mbox-caution {
table.ambox-serious {
     background: #FFF9DB;   /* Yellow */
     border-left: 10px solid #b22222;     /* Red */
}
}
table.ambox-content {
table.mbox-notice {
     border-left: 10px solid #f28500;     /* Orange */
     background: #D8E8FF;   /* Blue */
}
}
table.ambox-style {
table.mbox-move {
     border-left: 10px solid #f4c430;     /* Yellow */
     background: #E4D8FF;   /* Purple */
}
}
table.ambox-merge {
table.mbox-protection {
     border-left: 10px solid #9932cc;     /* Purple */
     background: #EFEFE1;   /* Gray-gold */
}
}
table.ambox-protection {
 
    border-left: 10px solid #bba;        /* Gray */
/**
}
* Infoboxes
table.ambox.ambox-mini {                 /* Small floating box variant */
*/
.infobox {
     float: right;
     float: right;
     clear: right;
     clear: right;
     margin: 0 0 0 1em;
     margin-bottom: 0.5em;
     width: 25%;
    margin-left: 1em;
    padding: 0.2em;
    border: 1px solid #AAA;
    background: #F9F9F9;
     color: black;
}
}
@media print {                          /* Do not print article message box */
    .ambox {
.infobox td,
        display: none;
.infobox th {
    }
    vertical-align: top;
}
}
 
/* Put a checker background at the image description page only visible if the image has transparent background */
.infobox caption {
#file img {
     margin-left: inherit;
     background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
    font-size: larger;
}
}
 
/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. Please copy any changes to [[Template:IPA fonts]] and [[Template:Unicode fonts]]. */
.infobox.bordered {
.IPA {
     border-collapse: collapse;
     font-family: "Chrysanthi Unicode", "Doulos SIL", Gentium, GentiumAlt, Code2000, "TITUS Cyberbit Basic", "DejaVu Sans", "Bitstream Cyberbit", "Arial Unicode MS", "Lucida Sans Unicode", "Hiragino Kaku Gothic Pro", "Matrix Unicode";
    font-family /**/:inherit;
}
}
.Unicode {
     font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
.infobox.bordered td,
    font-family /**/:inherit;
.infobox.bordered th {
     border: 1px solid #AAA;
}
}
.latinx {
     font-family: Code2000, Code2001, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
.infobox.bordered .borderless td,
    font-family /**/:inherit;
.infobox.bordered .borderless th {
     border: 0;
}
}
.polytonic {
 
    font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
/* Apparently the namespaces parameter
     font-family /**/:inherit;
  for inputbox forces a checkbox.
  Let's hide it in the API sidebar */
.mw-inputbox-hideapicheck label[for=mw-inputbox-ns104],
#mw-inputbox-ns104 {
     display: none;
}
}
.mufi {
 
     font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
/** Testing for code review **/
div.mw-wordcloud {  
     width: 100%;
    text-align: justify;
}
}


/* Pseudo-classes in support of [[Template:lang]]. */
.mw-wordcloud-size-1 {
 
     color: #222;
:lang(he) {
     font-size: 2.4em;
     font-family: "SBL Hebrew", "Ezra SIL SR", "Ezra SIL", Cardo, "Chrysanthi Unicode", "TITUS Cyberbit Basic", "Arial Unicode MS", Narkisim, "Times New Roman";
     font-family /**/:inherit;
}
}
:lang(fa) {
.mw-wordcloud-size-2 {
     font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
     color: #333;
     font-family /**/:inherit;
     font-size:2.2em;
}
}
:lang(ps) {
.mw-wordcloud-size-3 {
     font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
     color: #444;
     font-family /**/:inherit;
     font-size: 2.0em;
}
}
:lang(ur) {
.mw-wordcloud-size-4 {
     font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
     color: #555;
     font-family /**/:inherit;
     font-size: 1.8em;
}
}
:lang(sux-Xsux) {
.mw-wordcloud-size-5 {
     font-family: Akkadian;
     color: #666;
     font-family /**/:inherit;
     font-size: 1.6em;
}
}
:lang(ja) {
.mw-wordcloud-size-6 {
      font-family: Code2000, "Arial Unicode MS", "Bitstream Cyberbit", "Bitstream CyberCJK", IPAGothic, IPAPGothic, IPAUIGothic, "Kochi Gothic", IPAMincho, IPAPMincho;
    color: #777;
     font-family /**/:inherit;
     font-size: 1.4em;
}
}
:lang(ko) {
.mw-wordcloud-size-7 {
     font-family: "Adobe Myungjo Std M", AppleMyungjo, "Baekmuk Batang", "Baekmuk Gulim", Batang, Dotum, DotumChe, Gulim, GulimChe, HYGothic-Extra, HYMyeongJo-Extra, "New Gulim", UnBatang, UnDotum, UnYetgul, UWKMJF;
     color: #888;
     font-family /**/:inherit;
     font-size: 1.2em;
}
}
:lang(zh-Hans) {
.mw-wordcloud-size-8 {
     font-family: "Adobe Song Std L", "AR PL ShanHeiSun Uni", "AR PL ShanHeiSun Uni MBE", "MS Hei", "MS Song", SimHei;
     color: #999;
     font-family /**/:inherit;
     font-size: 1em;
}
}
:lang(zh-Hant) {
.mw-wordcloud-size-9 {
     font-family: "Adobe Ming Std L", "AR PL New Sung", "AR PL ZenKai Uni", "AR PL ZenKai Uni MBE", MingLiU, PMingLiU;
    color: #aaa;
     font-family /**/:inherit;
     font-size: 0.8em;
     letter-spacing: 3px;
}
}
:lang(grc) {
.mw-wordcloud-size-10, .mw-wordcloud-size-0 {
     font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
     color: #bbb;
     font-family /**/:inherit;
     font-size: 0.8em;
}
}


#wpSave {
/* Styling for related links and disambiguation links */
     font-weight: bold;
.rellink, .dablink {
     font-style: italic;
    margin-bottom: 0.5em;
    padding-left: 2em;
}
}


/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
/* @todo FIXME: document me :) */
.hiddenStructure {
#signuptopbox li {
     display: inline ! important;
     float: left;
     color: #f00;  
     list-style: none;
     background-color: #0f0;
     font-family: sans-serif;
}
}
 
#signuptopbox li {
/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
    color: #3ca7d4;
/* use restricted to rail icon management pages */
    background: #c2e1f9;
/* see .hidden-redlink on http://meta.wikimedia.org/wiki/MediaWiki:Common.css */
    line-height: 2.8em;
.check-icon a.new {
    margin-right: .25em;
    display: none;  
     padding-right: .5em;
     speak:none;
}
}
 
#signuptopbox li.pr-active, #signuptopbox li.pr-active div {
/* Removes underlines from links */
    color: #67ca36;
.nounderlines a {
    background: #d4f9c2;
     text-decoration: none;
     border-color: #fff #fff #fff #67ca36;
}
}
 
#signuptopbox li div{
/* Remove underline from IPA links */
    width: 0;
.IPA a:link, .IPA a:visited {
    height: 0;
     text-decoration: none;
    border-color: #fff #fff #fff #3CA7D4;
    border-style: solid;
     border-width: 1.4em .3em 1.4em 1.4em;
    float: left;
}
}
 
#signuptopbox li span.pr-number{
/* Removes useless links from printout */
     display: block;
@media print {
    width: 1.8em;
     #privacy, #about, #disclaimer {display:none;}
    line-height: 1.8em;
}
     background: #3ca7d4;
 
     color: #c2e1f9;
#EnWpMpBook { background-image: url(http://upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
#EnWpMpSearch { background: url(http://upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; }
#EnWpMpSearchInner { float: right; width: 20em; text-align: center; }
#EnWpMpBook2 { background-image: url(http://upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }
 
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
    margin: 0px;
     padding: 4px;
     border: 1px solid #aaa;
     text-align: center;
     text-align: center;
     border-collapse: collapse;
     margin: .5em;
     font-size: 95%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
     font-weight: 600;
    float: left;
}
}
div.Boxmerge div.NavFrame {
#signuptopbox li.pr-active span.pr-number {
     border-style: none;
     background: #67ca36;
     border-style: hidden;
     color: #d4f9c2;
}
}
div.NavFrame + div.NavFrame {
#signuptopbox li span {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0px;
    padding: 2px;
     float: left;
     float: left;
}
}
div.NavFrame div.NavHead {
#signuptopbox li.pr-spacer {
     height: 1.6em;
     padding: 0;
    font-weight: bold;
    background-color: #ccf;
    position:relative;
}
}
div.NavFrame p {
 
    font-size: 100%;
/* BREADCRUMB CODE */
.breadcrumb {
        list-style: none;
        overflow: hidden;
        font: 14px Helvetica, Arial, Sans-Serif;
}
}
div.NavFrame div.NavContent {
.breadcrumb li {
    font-size: 100%;
        float: left;
        margin-bottom: 0;
}
}
div.NavFrame div.NavContent p {
.breadcrumb li a {
    font-size: 100%;
        color: white;
        text-decoration: none;
        padding: 10px 0 10px 45px;
        position: relative;
        display: block;
        float: left;
}
}
div.NavEnd {
    margin: 0px;
.breadcrumb li a:after {
    padding: 0px;
        content: " ";
    line-height: 1px;
        display: block;
    clear: both;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;          /* Go big on the size, and let overflow hide */
        border-bottom: 50px solid transparent;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 100%;
        z-index: 2;
}
}
a.NavToggle {
    position:absolute;
.breadcrumb li a:before {
    top:0px;
        content: " ";
    right:3px;
        display: block;
    font-weight:normal;
        width: 0;
    font-size:smaller;
        height: 0;
        border-top: 50px solid transparent;
        border-bottom: 50px solid transparent;
        border-left: 31px solid white;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        margin-left: 1px;
        left: 100%;
        z-index: 1;
}
}
 
/* Coloured watchlist numbers */
.breadcrumb li:first-child a {
.mw-plusminus-pos {
        padding-left: 20px;
    color: #006400; /* darkgreen */
}
}
 
/* .mw-plusminus-null currently at developer default */
.currentcrumb a {
 
        background: #069;
.mw-plusminus-neg {
    color: #8B0000; /* darkred */
}
}
 
.dablink {
.currentcrumb a:after {
    font-style: italic;
        border-left: 30px solid #069;
    padding-left: 2em;
}
}
 
.dablink i {
.currentcrumb a:hover, .prevcrumb a:hover, .nextcrumb a:hover {
    font-style: normal;
        background: #002d44;
}
}
 
/* Style for horizontal UL lists */
.currentcrumb a:hover:after, .prevcrumb a:hover:after, .nextcrumb a:hover:after { border-left-color: #002d44 !important; }
.horizontal ul {
    padding: 0;
.prevcrumb a {
    margin: 0;
        background: #396;
}
}
 
.horizontal li {  
.prevcrumb a:after {
    padding: 0 0.6em 0 0.4em;
        border-left: 30px solid #396;
    display: inline;
    border-right: 1px solid;
}
}
 
.horizontal li:last-child {
.nextcrumb a {
    border-right: none;
        background: #999;
    padding-right: 0;
}
}
 
/* Geographical coordinates
.nextcrumb a:after {
 
        border-left: 30px solid #999;
To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: none }
  .geo-dec { display: inline } .geo-dms { display: inline }
 
To display coordinates using decimal notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline } .geo-dms { display: none }
 
To display coordinates using DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: none }  .geo-dms { display: inline }
 
To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline }  .geo-dms { display: inline }
  .geo-multi-punct { display: inline }
 
See [[Template:Coor link]] for how these are used.
 
Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.
 
*/
 
.geo-default { display: inline; }
.geo-nondefault { display: none; }
.geo-dms { display: inline; }
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }
 
.longitude .latitude {
    white-space: nowrap;
}
 
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.geo { }
 
/***** end Geo-related */
 
/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
.nonumtoc .tocnumber { display:none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
}
.nonumtoc #toc ul ul,
.nonumtoc .toc ul ul {
    margin: 0 0 0 2em;
}
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
  instance, will limit to showing ==headings== and ===headings=== but no further (as long as
  there are no =headings= on the page, which there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
.listify td {display:list-item;}
.listify tr {display:block;}
.listify table {display:block;}
/* Styling for Template:Quote */


blockquote.templatequote { margin-top: 0; }
/* bug 27375, To go in ext.codereview */
 
.mw-codereview-diff ins {
blockquote.templatequote div.templatequotecite {
     background: #EDFFED;
    line-height: 1em;
    text-align: left;
    padding-left: 2em;
     margin-top: 0;
}
}
 
.mw-codereview-diff del {
blockquote.templatequote div.templatequotecite cite {
     background: #FFEDED;
     font-size: smaller;
}
}
 
/* bug 29307, awaiting deployment */
div.user-block {
pre {
     padding: 5px;
     line-height: 1.3em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}
}


/* Prevents line breaks in links; see docs at Template:Nowraplinks */
/* To facilitate rtl translations */
 
#bodyContent .table-RTL a{
.nowraplinks a {
background:none;
    white-space: nowrap;
padding-right:0;
}
 
/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 5px;
}
}


.thumbinner {
#bodyContent .table-RTL UL{
    min-width: 100px;
margin-right:10px;
display:table;
}
}


/* Inline div's in ImageMaps (code borrowed from de.wiki) */
.rtl {
.imagemap-inline div {
direction: rtl;
    display: inline;
font-family: Tahoma;
text-align: right;
}
}
 
/* Increase the height of the image upload box */
#bodyContent .rtl a, #bodyContent .rtl a.external {
#wpUploadDescription {
background:none;
    height: 13em;
padding-right:0;
}
}
 
/* Reduce line-height for <sup> and <sub> */
.rtl #toctitle  {
sup, sub {
direction:ltr;
    line-height: 1em;
}
}


/* Fix Firefox peculiarity */
.rtl .toclevel-1, .rtl .toclevel-2, .rtl .toclevel-3, .rtl .toclevel-4 {
li {
text-align:right;
    -moz-float-edge: content-box
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
   
   
div.Boxmerge,
.rtl .toclevel-2 {
div.NavFrame {
margin-right:10px;
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
        border-style: none;
.rtl .toclevel-3 {
        border-style: hidden;
margin-right:20px;
}
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
.rtl .toclevel-4 {
        border-top-style: hidden;
margin-right:30px;
}
}
div.NavPic {
        background-color: #fff;
.rtl .editsection {
        margin: 0px;
float:left;
        padding: 2px;
        float: left;
}
}
div.NavFrame div.NavHead {
        height: 1.6em;
.rtl UL {
        font-weight: bold;
margin-right:16px;
        background-color: #ccf;
display:table;
        position:relative;
}
}
div.NavFrame p {
        font-size: 100%;
.rtl OL {
margin-right:16px;
display:table;
}
}
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;
}
/* </nowiki></pre> */

Latest revision as of 11:04, 16 August 2011

/*
This is the CSS for all skins (for all users) on MediaWiki.org. 

SECTIONS:
1. Indication of namespaces
2. Color classes for content
3. Special pages
4. Main page styling
5. Sidebar external links
6. Extension:Matrix stuff
7. Wikitables, infobox templates, warnings, and other such stylings
8. Some other small things
*/

/** 1. INDICATION OF NAMESPACES **/

/* Pseudo NS Special (light grey) */
.ns--2 #content { background-color: #f4f4f4; }
.ns--2 div.thumb { border-color: #f4f4f4; } 

/* NS Project + Project_talk (light sky blue) */
.ns-4 #content, .ns-5 #content { background-color: #f8fcff; }
.ns-4 div.thumb, .ns-5 div.thumb { border-color: #f8fcff; } 

/* NS MediaWiki + MediaWiki_talk (light grey) */
.ns-8 #content, .ns-9 #content { background-color: #f4f4f4; }
.ns-8 div.thumb, .ns-9 div.thumb { border-color: #f4f4f4; } 

/* NS Manual + Manual_talk (light bluish violet) */
.ns-100 #content, .ns-101 #content { background-color: #f3f3ff; }
.ns-100 div.thumb, .ns-101 div.thumb { border-color: #f3f3ff; } 

/* NS Help (but NOT Help_talk) (blue border and Public Domain icon) */
.ns-12 #content {
    border: 2px solid #0000cc;
    border-right: none;
    background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
    background-repeat: no-repeat;
    background-position: right top;
}
.ns-12 #bodyContent {
    background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
    background-repeat: no-repeat;
    background-position: right 5em;
}

/***** 2. COLOR CLASSES FOR CONTENT  *****/
 
/* Border colors */
.borderc1 { border-color: #e9e9e9; border-width: thin; }
.borderc2 { border-color: #aaaaaa; border-width: thin; }
.borderc3 { border-color: #777777; border-width: thin; }
.borderc4 { border-color: #000000; border-width: thin; }
.borderc5 { border-color: #c00000; border-width: thin; }
.borderc6 { border-color: #025e9d; border-width: thin; }
.borderc7 { border-color: #008040; border-width: thin; }
.borderc8 { border-color: #ffcc00; border-width: thin; } /* Used by: [[Template:Welcome]]. */
 
/* Background colors */
.backgroundc1 { background-color: #ffffff; } /* Used by: [[Template:Welcome]]. */
.backgroundc2 { background-color: #f9f9f9; }
.backgroundc3 { background-color: #eeeeee; }
.backgroundc4 { background-color: #e0e0e0; }
.backgroundc5 { background-color: #d2d2d2; }
.backgroundc6 { background-color: #b7b7b7; }
.backgroundc7 { background-color: #a3a3a3; }
.backgroundc8 { background-color: #444455; }

/** 3. SPECIAL PAGES **/

/* Consistent special page navigation */
.SpecialPageInfo {
    background-color: #f9f9f9;
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png);
    background-position: 0.8em 0.5em;
    background-repeat: no-repeat;
    padding: 0.3em 0.5em 0.3em 5.0em;
    border-color: #025e9d; 
    border-width: 1px; 
    border-style: solid;
    border-bottom-width: medium;
    margin-bottom: 1em;
}

.mw-viewprevnext {
    display: block;
    border: 1px solid #cccccc;
    background-color: #f9f9f2;
    padding: 0.2em 0.4em;
}

/** 4. MAIN PAGE STYLING **/

#mainpage_topbox {
    background: #f9f9f9;
    padding: 0px;
    border: 1px solid #aaaaaa;
    margin: 0.2em 10px 10px;
}
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
    font-size: 105%;
    padding: 0.4em;
    background-color: #eeeeee;
    border-bottom: 1px solid #aaaaaa;
}
.mainpage_boxtitle {
    line-height: 120%;
}
#mainpage_pagetitle {
    color: #cf7606;
    font-size: 200% !important;
}
#mainpage_sitelinks {
    padding: 0.2em;
    text-align: center;
    background-color: white;
}
.mainpage_hubtitle {
    text-align: center;
}
.mainpage_boxcontents, .mainpage_boxcontents_small {
    background: #ffffff;
    padding: 0.2em 0.4em;
}
.mainpage_boxcontents_small {
    font-size: 95%;
}
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
    padding: 0;
    border: 1px solid #aaaaaa;
}
.mainpage_hubbox {
    margin-bottom: 0;
}
#mainpage_newscell {
    margin-bottom: 15px;
    margin-top: 0 !important;
}
#mainpage_newscell .mainpage_boxtitle {
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
    background-repeat: no-repeat;
    background-position: 99% 0.3em;
    padding-right: 25px;
}
#mainpage_downloadcell {
    width: 17em;
    margin-bottom: 5px;
}
#mainpage_downloadcell .mainpage_boxtitle {
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
    background-repeat: no-repeat;
    background-position: 96% 0.33em;
    padding-right: 25px;
}
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */

/* The "mainpage" class is added to the body with JavaScript for the main page in all */
/* languages, so we can style things that apppear on the main page and also elsewhere. */
.mainpage #lastmod, 
.mainpage #siteSub, 
.mainpage h1.firstHeading {
    display: none !important;
} 
.mainpage #content {
    padding-top: 1em;
}

/** 5. SIDEBAR EXTERNAL LINKS **/

#n-blog-text a, #n-browse-svn a, #n-Statistics-for-SVN a, #n-phpdoc a, #n-svn-statistics a {
    background: url(/skins-1.5/monobook/external.png) center right no-repeat;
    padding-right: 13px;
    color: #3366bb;
}

/** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS **/

/* Give wikitables blue headings */
.wikitable th, .wikitable td.hl3, .wikitable th.hl3 {
    background: #8da7d6;
}
.wikitable td.hl1, .wikitable th.hl1 {
    background: #c5d8fc;
}
.wikitable td.hl2, .wikitable th.hl2 {
    background: #a7c1f2;
}

/**
 * Make entire table valign=top,
 * To replace the |valign=top| on every cell.
 */
.vatop tr, tr.vatop, .vatop td, .vatop th {
    vertical-align: top;
}

/* General purpose "pretty (data) tables" */
table.datatable {
    background-color: transparent;
}

table.datatable th, table.datatable td {
    padding: 4px;
}

table.datatable th {
    text-align: left;
    background-color: #999999;
}

table.datatable tr {
    background-color: #cccccc;
}

table.datatable tr:hover {
    background-color: #ffffcc;
}

/* SideBox styling */
div.sideBox {
    position: relative;
    float: right;
    background: white;
    margin-left: 1em;
    border: 1px solid gray;
    padding: 0.3em;
    width: 200px;
    overflow: hidden; 
    clear: right;
}
div.sideBox dl {
    padding: 0;
    margin: 0 0 0.3em 0;
    font-size: 96%;
}
div.sideBox dl dt {
    background: none;
    margin: 0.4em 0 0 0;
}
div.sideBox dl dd {
    margin: 0.1em 0 0 1.1em;
    background-color: #f3f3f3;
}

/* Extension infobox styling */
.ext-infobox {
    border: 2px solid #aaaaaa;
    width: 272px;
    float: right;
    margin: 0 0 0.5em 0.5em;
    border-collapse: collapse;
    background-color: white;
}
.ext-infobox td {
    border: 2px none #aaaaaa;
    padding: 0.2em 0.5em;
    border-bottom: 1px solid #f0f0f0 !important;
}
.ext-header {
    background-color: #aaaaaa;
    color: white;
    text-align: left;
}
.ext-header td { padding-top: 0.5em; }
.ext-header img { padding: 0 0.2em 0 0.5em; }
.ext-status-unstable, .ext-status-unstable td { border-color: #990000; }
.ext-status-unstable .ext-header { background-color: #990000; color: #ffff00; }
.ext-status-experimental, .ext-status-experimental td { border-color: #ff4500; }
.ext-status-experimental .ext-header { background-color: #ff4500; }
.ext-status-beta, .ext-status-beta td { border-color: #ffba01; }
.ext-status-beta .ext-header { background-color: #ffba01; }
.ext-status-stable, .ext-status-stable td { border-color: #32cd32; }
.ext-status-stable .ext-header { background-color: #32cd32; }

/* Version box on [[Manual:Downloading MediaWiki]] */
#DownloadVersionBox {
    border: 2px solid black;
    border-collapse: collapse; 
    margin: auto;
    width: 50%;
    color: black;
}
#DownloadVersionBox td {
    border: 2px solid black;
    padding: 20px;
}

/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
.majorwarning {
    background: yellow; 
    padding: 0.3em; 
    text-align: center; 
    font-size: 125%; 
    border: 2px solid red;
}

/* Page headings used throughout the wiki (though not very much at the time of writing…) */ 
.page-notice, .page-warning {
    border-width: 1px; 
    border-style: solid;
    padding: 0.3em 0.5em;
    margin-bottom: 1em;
    width: 95%; 
    margin-left: auto; 
    margin-right: auto; 
    text-align: center;
}

/* Informative notices at the top of pages (blue) */
.page-notice {
    background-color: #f9f9f9;
    border-color: #025e9d; 
    text-align: left;
}

/* Warning information at the top of pages (red) */
.page-warning {
    background-color: #ffffff;
    border-color: #c51919;
    border-width: 2px;
}
.pw-head {
    color: #c51919;
    font-weight: bold;
}

/* Used in Template:Notice */
.block-note {
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
    background-position: top left;
    background-repeat: no-repeat;
}
/*
   Using block-contents in the hope that it can apply to all block-level warning templates, 
   with different images applied as backgrounds to the wrapping DIV.
*/
.block-contents {
    display: block;
    padding-left: 20px;
}

/* Template documentation ([[Template:Documentation]]) */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

/** 8. SOME OTHER SMALL THINGS **/

/* Give a bit of space to the TOC */
#toc { margin: 1em 0; }

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further.
   Used in [[Template:TOCright]]
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}

/* make the list of references look smaller and highlight clicked reference in blue */
ol.references { font-size: 100%; }
.references-small { font-size: 90%; }
ol.references > li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }

/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
.my-buttons {
    padding: .5em;
}
.my-buttons a {
    color: black;
    background-color: #cde !important;
    font-weight: bold;
    font-size: .9em;
    text-decoration: none;
    border: thin #069 outset;
    padding: 0 .1em .1em;
}
.my-buttons a:hover, .my-buttons a:active {
    background-color: #bcd;
    border-style: inset;
}

/* from [[User:Splarka/Help:Linked images]] */
.imagelink_wikilogo a {
    width: 135px;
    height: 135px;
    display: block;
    text-decoration: none;
    background-image: url("http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png");
}

/** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/
table.mbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa; /* Default "notice" gray */
    background: #f9f9f9;
}
table.mbox-wide {
    margin: 4px 0;
}

th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    border: none;
    padding: 0.25em 0.9em;       /* 0.9em left/right */
    width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
    border: none;
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
    text-align: center;
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
    text-align: center;
}
td.mbox-empty-cell {         /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}

/* These mbox-small classes must be placed after all other 
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so 
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}

/* These are the same colours as the enwiki
   'cmbox' styles; just with different names. */
table.mbox-critical {
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.mbox-important {
    background: #FFDBDB;    /* Red */
}
table.mbox-warning {
    background: #FFE7CE;    /* Orange */
}
table.mbox-caution {
    background: #FFF9DB;    /* Yellow */
}
table.mbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.mbox-move {
    background: #E4D8FF;    /* Purple */
}
table.mbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}

/**
 * Infoboxes
 */
.infobox {
    float: right;
    clear: right;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    border: 1px solid #AAA;
    background: #F9F9F9;
    color: black;
}
 
.infobox td,
.infobox th {
    vertical-align: top;
}
 
.infobox caption {
    margin-left: inherit;
    font-size: larger;
}
 
.infobox.bordered {
    border-collapse: collapse;
}
 
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #AAA;
}
 
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}

/* Apparently the namespaces parameter
  for inputbox forces a checkbox.
  Let's hide it in the API sidebar */
.mw-inputbox-hideapicheck label[for=mw-inputbox-ns104],
#mw-inputbox-ns104 {
    display: none;
}

/** Testing for code review **/
div.mw-wordcloud { 
    width: 100%;
    text-align: justify;
}

.mw-wordcloud-size-1 {
    color: #222;
    font-size: 2.4em;
}
.mw-wordcloud-size-2 {
    color: #333;
    font-size:2.2em;
}
.mw-wordcloud-size-3 {
    color: #444;
    font-size: 2.0em;
}
.mw-wordcloud-size-4 {
    color: #555;
    font-size: 1.8em;
}
.mw-wordcloud-size-5 {
    color: #666;
    font-size: 1.6em;
}
.mw-wordcloud-size-6 {
    color: #777;
    font-size: 1.4em;
}
.mw-wordcloud-size-7 {
    color: #888;
    font-size: 1.2em;
}
.mw-wordcloud-size-8 {
    color: #999;
    font-size: 1em;
}
.mw-wordcloud-size-9 {
    color: #aaa;
    font-size: 0.8em;
    letter-spacing: 3px;
}
.mw-wordcloud-size-10, .mw-wordcloud-size-0 {
    color: #bbb;
    font-size: 0.8em;
}

/* Styling for related links and disambiguation links */
.rellink, .dablink {
    font-style: italic;
    margin-bottom: 0.5em;
    padding-left: 2em;
}

/* @todo FIXME: document me :) */
#signuptopbox li {
    float: left;
    list-style: none;
    font-family: sans-serif;
}
#signuptopbox li {
    color: #3ca7d4;
    background: #c2e1f9;
    line-height: 2.8em;
    margin-right: .25em;
    padding-right: .5em;
}
#signuptopbox li.pr-active, #signuptopbox li.pr-active div {
    color: #67ca36;
    background: #d4f9c2;
    border-color: #fff #fff #fff #67ca36;
}
#signuptopbox li div{
    width: 0;
    height: 0;
    border-color: #fff #fff #fff #3CA7D4;
    border-style: solid;
    border-width: 1.4em .3em 1.4em 1.4em;
    float: left;
}
#signuptopbox li span.pr-number{
    display: block;
    width: 1.8em;
    line-height: 1.8em;
    background: #3ca7d4;
    color: #c2e1f9;
    text-align: center;
    margin: .5em;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    font-weight: 600;
    float: left;
}
#signuptopbox li.pr-active span.pr-number {
    background: #67ca36;
    color: #d4f9c2;
}
#signuptopbox li span {
    float: left;
}
#signuptopbox li.pr-spacer {
    padding: 0;
}

/* BREADCRUMB CODE */
 
.breadcrumb {
        list-style: none;
        overflow: hidden;
        font: 14px Helvetica, Arial, Sans-Serif;
}
.breadcrumb li {
        float: left;
        margin-bottom: 0;
}
.breadcrumb li a {
        color: white;
        text-decoration: none;
        padding: 10px 0 10px 45px;
        position: relative;
        display: block;
        float: left;
}
 
.breadcrumb li a:after {
        content: " ";
        display: block;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
        border-bottom: 50px solid transparent;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 100%;
        z-index: 2;
}
 
.breadcrumb li a:before {
        content: " ";
        display: block;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;
        border-bottom: 50px solid transparent;
        border-left: 31px solid white;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        margin-left: 1px;
        left: 100%;
        z-index: 1;
}
 
.breadcrumb li:first-child a {
        padding-left: 20px;
}
 
.currentcrumb a {
        background: #069;
}
 
.currentcrumb a:after {
        border-left: 30px solid #069;
}
 
.currentcrumb a:hover, .prevcrumb a:hover, .nextcrumb a:hover {
        background: #002d44;
}
 
.currentcrumb a:hover:after, .prevcrumb a:hover:after, .nextcrumb a:hover:after { border-left-color: #002d44 !important; }
 
.prevcrumb a {
        background: #396;
}
 
.prevcrumb a:after {
        border-left: 30px solid #396;
}
 
.nextcrumb a {
        background: #999;
}
 
.nextcrumb a:after {
        border-left: 30px solid #999;
}

/* bug 27375, To go in ext.codereview */
.mw-codereview-diff ins {
    background: #EDFFED;
}
.mw-codereview-diff del {
    background: #FFEDED;
}
/* bug 29307, awaiting deployment */
pre {
    line-height: 1.3em;
}

/* To facilitate rtl translations */
#bodyContent .table-RTL a{
background:none;
padding-right:0;
}

#bodyContent .table-RTL UL{
margin-right:10px;
display:table;
}

.rtl {
direction: rtl;
font-family: Tahoma;
text-align: right;
}
 
#bodyContent .rtl a, #bodyContent .rtl a.external {
background:none;
padding-right:0;
}
 
.rtl #toctitle  {
direction:ltr;
}

.rtl .toclevel-1, .rtl .toclevel-2, .rtl .toclevel-3, .rtl .toclevel-4 {
text-align:right;
}

 
.rtl .toclevel-2 {
margin-right:10px;
}
 
.rtl .toclevel-3 {
margin-right:20px;
}
 
.rtl .toclevel-4 {
margin-right:30px;
}
 
.rtl .editsection {
float:left;
}
 
.rtl UL {
margin-right:16px;
display:table;
}
 
.rtl OL {
margin-right:16px;
display:table;
}