Aurora is on version 2.5.0 C#, available at the Aurora Forums.

Contact Erik on the forum for a wiki account.

Difference between revisions of "MediaWiki:Common.css"

From AuroraWiki
Jump to navigation Jump to search
(Created page with '→‎CSS placed here will be applied to all skins: →‎<source lang="css">: →‎Main page fixes: #interwiki-completelist { font-weight: bold; } body.page-Main_Page #ca-de...')
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
/*
/* <source lang="css"> */
+
This is the CSS for all skins (for all users) on MediaWiki.org.  
 
/* Main page fixes */
 
#interwiki-completelist {
 
    font-weight: bold;
 
}
 
body.page-Main_Page #ca-delete {
 
    display: none !important;
 
}
 
  
body.page-Main_Page #mp-topbanner {
+
SECTIONS:
  clear: both;
+
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
 +
*/
  
/* Edit window toolbar */
+
/***** 1. INDICATION OF NAMESPACES *****/
#toolbar {
 
    height: 22px;
 
    margin-bottom: 6px;
 
}
 
  
/* Margins for <ol> and <ul> */
+
/* Pseudo NS Special (light grey) */
#content ol, #content ul,
+
.ns--2 #content { background-color: #f4f4f4; }
#mw_content ol, #mw_content ul {
+
.ns--2 div.thumb { border-color: #f4f4f4; }  
  margin-bottom: 0.5em;
 
}
 
  
/* Make the list of references in [[Template:Reflist]] smaller */
+
/* NS Project + Project_talk (light sky blue) */
.references-small {  
+
.ns-4 #content, .ns-5 #content { background-color: #f8fcff; }
    font-size: 90%;
+
.ns-4 div.thumb, .ns-5 div.thumb { border-color: #f8fcff; }  
}
 
  
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
+
/* NS MediaWiki + MediaWiki_talk (light grey) */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
+
.ns-8 #content, .ns-9 #content { background-color: #f4f4f4; }
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
+
.ns-8 div.thumb, .ns-9 div.thumb { border-color: #f4f4f4; }  
/* Please ignore any validator errors caused by these two lines */
 
.references-2column {
 
    font-size: 90%;
 
    -moz-column-count: 2;
 
    column-count: 2;
 
}
 
  
/* Highlight clicked reference in blue to help navigation */
+
/* NS Manual + Manual_talk (light bluish violet) */
ol.references > li:target,
+
.ns-100 #content, .ns-101 #content { background-color: #f3f3ff; }
sup.reference:target,
+
.ns-100 div.thumb, .ns-101 div.thumb { border-color: #f3f3ff; }  
span.citation:target, cite:target {  
 
    background-color: #DEF;
 
}
 
  
/* Ensure refs in table headers and the like aren't bold or italic */
+
/* NS Help (but NOT Help_talk) (blue border and Public Domain icon)  */
sup.reference {
+
.ns-12 #content {
    font-weight: normal;
+
border: 2px solid #0000cc;
    font-style: normal;
+
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);
/* Styling for citations */
+
background-repeat: no-repeat;
span.citation, cite {
+
background-position: right 5em;
    font-style: normal;
 
    word-wrap: break-word;
 
 
}
 
}
  
/* For linked citation numbers and document IDs, where
+
/***** 2. COLOR CLASSES FOR CONTENT  *****/
  the number need not be shown on a screen or a handheld,
 
  but should be included in the printed version
 
*/
 
@media screen, handheld, projection {
 
    span.citation *.printonly, cite *.printonly {
 
        display: none;
 
    }
 
}
 
  
 +
/* Border colors */
 +
.borderc1 { border-color: #e9e9e9; border-width: thin; }  /* light grey */
 +
.borderc2 { border-color: #aaaaaa; border-width: thin; }  /* grey (as toc) */
 +
.borderc3 { border-color: #777777; border-width: thin; }  /* dark grey */
 +
.borderc4 { border-color: #000000; border-width: thin; }  /* black */
 +
.borderc5 { border-color: #c00000; border-width: thin; }  /* red */
 +
.borderc6 { border-color: #025e9d; border-width: thin; }  /* blue */
 +
.borderc7 { border-color: #008040; border-width: thin; }  /* green */
 +
.borderc8 { border-color: #ffcc00; border-width: thin; }  /* yellow */
  
/* wikitable/prettytable class for skinning normal tables */
+
/* Background colors */
table.wikitable,
+
.backgroundc1 { background-color: #ffffff; }  /* white */
table.prettytable {
+
.backgroundc2 { background-color: #f9f9f9; }  /* light grey (as toc)  */
    margin: 1em 1em 1em 0;
+
.backgroundc3 { background-color: #eeeeee; }  /* light grey (headers) */
    background: #f9f9f9;
+
.backgroundc4 { background-color: #e0e0e0; } /* more grey */
    border: 1px #aaa solid;
+
.backgroundc5 { background-color: #d2d2d2; } /* more grey */
    border-collapse: collapse;
+
.backgroundc6 { background-color: #b7b7b7; }  /* more grey */
}
+
.backgroundc7 { background-color: #a3a3a3; } /* darker grey */
.wikitable th, .wikitable td,
+
.backgroundc8 { background-color: #444455; } /* very dark grey */
.prettytable th, .prettytable td {
 
    border: 1px #aaa solid;
 
    padding: 0.2em;
 
}
 
.wikitable th,
 
.prettytable th {
 
    background: #f2f2f2;
 
    text-align: center;
 
}
 
.wikitable caption,
 
.prettytable caption {
 
    font-weight: bold;
 
}
 
  
/* Default skin for navigation boxes */
+
/***** 3. SPECIAL PAGES *****/
table.navbox {            /* Navbox container style */
 
  border: 1px solid #aaa;
 
  width: 100%;
 
  margin: auto;
 
  clear: both;
 
  font-size: 88%;
 
  text-align: center;
 
  padding: 1px;
 
}
 
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
 
  margin-top: -1px;            /* (doesn't work for IE6, but that's okay)      */
 
}
 
.navbox-title,
 
.navbox-abovebelow,
 
table.navbox th {
 
  text-align: center;      /* Title and above/below styles */
 
  padding-left: 1em;
 
  padding-right: 1em;
 
}
 
.navbox-group {            /* Group style */
 
  white-space: nowrap;
 
  text-align: right;
 
  font-weight: bold;
 
  padding-left: 1em;
 
  padding-right: 1em;
 
}
 
.navbox, .navbox-subgroup {
 
  background: #fdfdfd;    /* Background color */
 
}
 
.navbox-list {
 
  border-color: #fdfdfd;  /* Must match background color */
 
}
 
.navbox-title,
 
table.navbox th {
 
  background: #ccccff;    /* Level 1 color */
 
}
 
.navbox-abovebelow,
 
.navbox-group,
 
.navbox-subgroup .navbox-title {
 
  background: #ddddff;    /* Level 2 color */
 
}
 
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
 
  background: #e6e6ff;    /* Level 3 color */
 
}
 
.navbox-even {
 
  background: #f7f7f7;    /* Even row striping */
 
}
 
.navbox-odd {
 
  background: transparent; /* Odd row striping */
 
}
 
  
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
+
/* Marking redirects  */
    float: right;          /* by the CollapsibleTables javascript in    */
+
.allpagesredirect, .watchlistredir, .redirect-in-category { font-style: italic; }
    font-weight: normal;  /* [[MediaWiki:Common.js]]are styled here    */
 
    text-align: right;    /* so they can be customised.               */
 
    width: auto;
 
}
 
.navbox .collapseButton { /* In navboxes, the show/hide button balances */
 
    width: 6em;           /* the vde links from [[Template:Tnavbar]],  */
 
}                         /* so they need to be the same width.        */
 
  
 +
/* Coloured edit size numbers on watchlist/recentchanges */
 +
.mw-plusminus-pos { color: #006400; } /* darkgreen */
 +
.mw-plusminus-neg { color: #8b0000; } /* darkred */
  
/* Infobox template style */
+
/* Consistent special page navigation */
.infobox {
+
.sp-cached {
    border: 1px solid #aaa;
+
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Clock%20and%20warning.svg/20px-Clock%20and%20warning.svg);
    background-color: #f9f9f9;
+
background-position: 5px 3px;
    color: black;
+
background-repeat: no-repeat;
    margin: 0.5em 0 0.5em 1em;
+
padding: 4px 0 4px 30px;
    padding: 0.2em;
+
font-style: italic;
    float: right;
+
color: #606000;
    clear: right;
+
margin: 0.3em 0;
 +
border: 1px solid #eeee80;
 +
background-color: #ffffe0;
 
}
 
}
.infobox td,
+
.SpecialPageInfo {
.infobox th {
+
background-color: #f9f9f9;
    vertical-align: top;
+
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;
.infobox caption {
+
background-repeat: no-repeat;
    font-size: larger;
+
padding: 0.3em 0.5em 0.3em 5.0em;
}
+
border-color: #025e9d;  
.infobox.bordered {
+
border-width: 1px;
    border-collapse: collapse;
+
border-style: solid;
}
+
border-bottom-width: medium;
.infobox.bordered td,
+
margin-bottom: 1em;
.infobox.bordered th {
 
    border: 1px solid #aaa;
 
}
 
.infobox.bordered .borderless td,
 
.infobox.bordered .borderless th {
 
    border: 0;
 
 
}
 
}
  
.infobox.sisterproject {
+
#searchresulttext {
    width: 20em;
+
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Exquisite-kfind.png/45px-Exquisite-kfind.png);
    font-size: 90%;
 
 
}
 
}
  
.infobox.standard-talk {
+
.mw-viewprevnext {
    border: 1px solid #c0c090;
+
display: block;
    background-color: #f8eaba;
+
border: 1px solid #cccccc;
}
+
background-color: #f9f9f2;
.infobox.standard-talk.bordered td,
+
padding: 0.2em 0.4em;
.infobox.standard-talk.bordered th {
 
    border: 1px solid #c0c090;
 
 
}
 
}
  
/* styles for bordered infobox with merged rows */
+
/* Special:Statistics */
.infobox.bordered .mergedtoprow td,
+
.StatsTable {
.infobox.bordered .mergedtoprow th {
+
background: transparent;
    border: 0;
+
width: 75%;
    border-top: 1px solid #aaa;
 
    border-right: 1px solid #aaa;
 
 
}
 
}
 
+
.StatsTable th {
.infobox.bordered .mergedrow td,
+
vertical-align: middle;
.infobox.bordered .mergedrow th {
+
text-align: center;
    border: 0;
+
width: 50px;
    border-right: 1px solid #aaa;
 
 
}
 
}
 
+
.StatsTable th, .StatsTable td {
/* Styles for geography infoboxes, eg countries,
+
background-color: #ffffff;
  country subdivisions, cities, etc.            */
+
padding: 0.5em 1em;
.infobox.geography {
+
border: 1px solid #ccccdd;
    text-align: left;
+
margin: 0.4em;
    border-collapse: collapse;
 
    line-height: 1.2em;  
 
    font-size: 90%;
 
 
}
 
}
 
+
.StatsTable tr {
.infobox.geography  td,
+
background-color: #ffffff;
.infobox.geography  th {
 
    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,
+
/* Special:Search (more whitespace) */
.infobox.geography .mergedrow th {
+
.page-Special_Search #search {
    border: 0;
+
padding: 1em 0 2em 0;
    padding: 0 0.6em 0.2em 0.6em;
 
 
}
 
}
 
+
.page-Special_Search #powersearch {
.infobox.geography .mergedbottomrow td,
+
border: 1px solid #cccccc;
.infobox.geography .mergedbottomrow th {
+
padding: 0.5em 0.5em;
    border-top: 0;
 
    border-bottom: solid 1px #aaa;
 
    padding: 0 0.6em 0.4em 0.6em;
 
 
}
 
}
 
+
.page-Special_Search #powersearch-namespaces {
.infobox.geography .maptable td,
+
padding-left: 1em;
.infobox.geography .maptable th {
+
margin: 0.7em 0;
    border: 0;
 
    padding: 0;
 
 
}
 
}
 
+
.page-Special_Search #powersearch-namespaces label {
/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
+
white-space: nowrap;
.redirect-in-category, .allpagesredirect {
+
min-width: 8.4em;
    font-style: italic;
+
display: block;
 +
float: left;
 
}
 
}
 +
.page-Special_Search br { clear: left; } /* Clear search button, but not check-boxes */
  
/* Icons for medialist templates [[Template:Listen]],
+
/***** 4. MAIN PAGE STYLING *****/
  [[Template:Multi-listen_start]], [[Template:Video]],
 
  [[Template:Multi-video_start]]
 
*/
 
div.listenlist {
 
    background:
 
        url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
 
    padding-left: 40px;
 
}
 
  
/* Style rules for media list templates */
+
#mainpage_topbox {
div.medialist {
+
background: #f9f9f9;
    min-height: 50px;
+
padding: 0px;
    margin: 1em;
+
border: 1px solid #aaaaaa;
    background-position: top left;
+
margin: 0.2em 10px 10px;
    background-repeat: no-repeat;
 
 
}
 
}
div.medialist ul {
+
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
    list-style-type: none;  
+
font-size: 105%;
    list-style-image: none;
+
padding: 0.4em;
    margin: 0;
+
background-color: #eeeeee;
 +
border-bottom: 1px solid #aaaaaa;
 
}
 
}
div.medialist ul li {
+
.mainpage_boxtitle {
    padding-bottom: 0.5em;
+
line-height: 120%;
 
}
 
}
div.medialist ul li li {
+
#mainpage_pagetitle {
    font-size: 91%;
+
color: #cf7606;
    padding-bottom: 0;
+
font-size: 200% !important;
 
}
 
}
 
+
#mainpage_sitelinks {
/* Change the external link icon to an Adobe icon for all PDF files
+
padding: 0.2em;
  in browsers that support these CSS selectors, like Mozilla and Opera */
+
text-align: center;
#content a[href$=".pdf"].external,
+
background-color: white;
#content a[href*=".pdf?"].external,
 
#content a[href*=".pdf#"].external,
 
#content a[href$=".PDF"].external,
 
#content a[href*=".PDF?"].external,
 
#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,
 
#mw_content  a[href*=".PDF#"].external {
 
    background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center right no-repeat;
 
    padding-right: 16px;
 
 
}
 
}
 
+
.mainpage_hubtitle {
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
+
text-align: center;
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
 
#content span.PDFlink a,
 
#mw_content span.PDFlink a {
 
    background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center right no-repeat;
 
    padding-right: 17px;
 
 
}
 
}
 
+
.mainpage_boxcontents, .mainpage_boxcontents_small {
/* Content in columns with CSS instead of tables [[Template:Columns]] */
+
background: #ffffff;
div.columns-2 div.column {
+
padding: 0.2em 0.4em;
    float: left;
 
    width: 50%;
 
    min-width: 300px;
 
 
}
 
}
div.columns-3 div.column {
+
.mainpage_boxcontents_small {
    float: left;
+
font-size: 95%;
    width: 33.3%;
 
    min-width: 200px;
 
 
}
 
}
div.columns-4 div.column {
+
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
    float: left;
+
padding: 0;
    width: 25%;
+
border: 1px solid #aaaaaa;
    min-width: 150px;
 
 
}
 
}
div.columns-5 div.column {
+
.mainpage_hubbox {
    float: left;
+
margin-bottom: 0;
    width: 20%;
 
    min-width: 120px;
 
 
}
 
}
 
+
#mainpage_newscell {
/* Messagebox templates */
+
margin-bottom: 15px;
.messagebox {
+
margin-top: 0 !important;
    border: 1px solid #aaa;
 
    background-color: #f9f9f9;
 
    width: 80%;
 
    margin: 0 auto 1em auto;
 
    padding: .2em;
 
 
}
 
}
.messagebox.merge {
+
#mainpage_newscell .mainpage_boxtitle {
    border: 1px solid #c0b8cc;
+
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
    background-color: #f0e5ff;
+
background-repeat: no-repeat;
    text-align: center;
+
background-position: 99% 0.3em;
 +
padding-right: 25px;
 
}
 
}
.messagebox.cleanup {
+
#mainpage_downloadcell {
    border: 1px solid #9f9fff;
+
width: 17em;
    background-color: #efefff;
+
margin-bottom: 5px;
    text-align: center;
 
 
}
 
}
.messagebox.standard-talk {
+
#mainpage_downloadcell .mainpage_boxtitle {
    border: 1px solid #c0c090;
+
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
    background-color: #f8eaba;
+
background-repeat: no-repeat;
    margin: 4px auto;
+
background-position: 96% 0.33em;
 +
padding-right: 25px;
 
}
 
}
/* For old WikiProject banners inside banner shells. */
+
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */
.mbox-inside .standard-talk,
+
 
.messagebox.nested-talk {
+
/* The "mainpage" class is added to the body with javascript for the main page in all */
    border: 1px solid #c0c090;
+
/* languages, so we can style things that apppear on the main page and also elsewhere. */
    background-color: #f8eaba;
+
.mainpage #lastmod,  
    width: 100%;
+
.mainpage #siteSub,
    margin: 2px 0;
+
.mainpage h1.firstHeading {
    padding: 2px;
+
display: none !important;
}
+
}  
.messagebox.small {
+
.mainpage #content {
    width: 238px;
+
padding-top: 1em;
    font-size: 85%;
 
    float: right;
 
    clear: both;
 
    margin: 0 0 1em 1em;
 
    line-height: 1.25em;  
 
}
 
.messagebox.small-talk {
 
    width: 238px;
 
    font-size: 85%;
 
    float: right;
 
    clear: both;
 
    margin: 0 0 1em 1em;
 
    line-height: 1.25em;
 
    background: #F8EABA;
 
 
}
 
}
  
 +
/***** 5. SIDEBAR EXTERNAL LINKS *****/
  
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
+
#n-browse-cvs a, #n-phpdoc a, #n-Mailing-list a {
th.mbox-text, td.mbox-text {    /* The message body cell(s) */
+
background: url(/skins-1.5/monobook/external.png) center right no-repeat;
    border: none;
+
padding-right: 13px;
    padding: 0.25em 0.9em;      /* 0.9em left/right */
+
color: #3366bb;
    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;
 
 
}
 
}
  
/* Article message box styles */
+
/***** 6. PRETTIFY [[Extension Matrix]] *****/
table.ambox {
 
    margin: 0px 10%;  /* 10% = Will not overlap with other elements */
 
    border: 1px solid #aaa;
 
    border-left: 10px solid #1e90ff;    /* Default "notice" blue */
 
    background: #fbfbfb;
 
}
 
table.ambox + table.ambox {  /* Single border between stacked boxes. */
 
    margin-top: -1px;
 
}
 
.ambox th.mbox-text,
 
.ambox td.mbox-text {            /* The message body cell(s) */
 
    padding: 0.25em 0.5em;      /* 0.5em left/right */
 
}
 
.ambox td.mbox-image {          /* The left image cell */
 
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
 
}
 
.ambox td.mbox-imageright {      /* The right image cell */
 
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
 
}
 
  
table.ambox-notice {
+
.xm-table {
    border-left: 10px solid #1e90ff;   /* Blue */
+
border: 1px solid #666666;
 +
background-color: white;
 
}
 
}
table.ambox-speedy {
+
.xm-table td, .xm-table th {
    border-left: 10px solid #b22222;   /* Red */
+
vertical-align: top;
    background: #fee;                   /* Pink */
+
text-align: left;
 +
border: none;
 +
background-color: #EEEEEE;
 
}
 
}
table.ambox-delete {
+
.xm-table th, .xm-name { font-weight: bold; }
    border-left: 10px solid #b22222;   /* Red */
+
.xm-status-unknown,
 +
.xm-type-unknown {
 +
color: #888888;
 
}
 
}
table.ambox-content {
+
.xm-status-experimental { color: red; }
    border-left: 10px solid #f28500;   /* Orange */
+
.xm-status-beta { color: blue; }
}
+
.xm-status-stable { color: green; }
table.ambox-style {
+
.xm-name, .xm-status,
    border-left: 10px solid #f4c430;   /* Yellow */
+
.xm-type, .xm-version,
}
+
.xm-updated {
table.ambox-move {
+
white-space: nowrap;
    border-left: 10px solid #9932cc;    /* Purple */
 
}
 
table.ambox-protection {
 
    border-left: 10px solid #bba;       /* Gray-gold */
 
 
}
 
}
 +
.xm-updated { font-size:80%; }
 +
.xm-alert { background-color: yellow; }
 +
td.xm-blank { background-color: inherit; }
 +
td.xm-updated { background-color: inherit; }
 +
td.xm-description { background-color: inherit; font-style: italic; }
  
/* Image message box styles */
+
th.xm-blank,
table.imbox {
+
th.xm-updated,
    margin: 4px 10%;
+
th.xm-description {
    border-collapse: collapse;
+
background-color: inherit;
    border: 3px solid #1e90ff;    /* Default "notice" blue */
+
padding-bottom: 0.6ex;
    background: #fbfbfb;
+
border-bottom: 1px solid #666666;
}
+
}
.imbox .mbox-text .imbox {    /* For imboxes inside imbox-text cells. */
 
    margin: 0 -0.5em;   /* 0.9 - 0.5 = 0.4em left/right. */
 
}
 
.mbox-inside .imbox {    /* For imboxes inside other templates. */
 
    margin: 4px;
 
}
 
  
table.imbox-notice {
+
/***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/
    border: 3px solid #1e90ff;    /* Blue */
 
}
 
table.imbox-speedy {
 
    border: 3px solid #b22222;    /* Red */
 
    background: #fee;            /* Pink */
 
}
 
table.imbox-delete {
 
    border: 3px solid #b22222;    /* Red */
 
}
 
table.imbox-content {
 
    border: 3px solid #f28500;    /* Orange */
 
}
 
table.imbox-style {
 
    border: 3px solid #f4c430;    /* Yellow */
 
}
 
table.imbox-move {
 
    border: 3px solid #9932cc;    /* Purple */
 
}
 
table.imbox-protection {
 
    border: 3px solid #bba;      /* Gray-gold */
 
}
 
table.imbox-license {
 
    border: 3px solid #88a;      /* Dark gray */
 
    background: #f7f8ff;          /* Light gray */
 
}
 
table.imbox-featured {
 
    border: 3px solid #cba135;    /* Brown-gold */
 
}
 
  
/* Category message box styles */
+
/* Wikitable (Prettytable) class for skinning normal tables */
table.cmbox {
+
table.wikitable,
    margin: 3px 10%;
+
table.prettytable {
    border-collapse: collapse;
+
margin: 1em 1em 1em 0;
    border: 1px solid #aaa;  
+
background: #f9f9f9;
    background: #DFE8FF;   /* Default "notice" blue */
+
border: 1px #aaaaaa solid;
}
+
border-collapse: collapse;
 
+
empty-cells: show;
table.cmbox-notice {
 
    background: #D8E8FF;   /* Blue */
 
 
}
 
}
table.cmbox-speedy {
+
table.wikitable th, table.wikitable td,
    margin-top: 4px;
+
table.prettytable th, table.prettytable td {
    margin-bottom: 4px;
+
border: 1px #aaaaaa solid;
    border: 4px solid #b22222;   /* Red */
+
padding: 0.2em 0.4em;
    background: #FFDBDB;         /* Pink */
 
 
}
 
}
table.cmbox-delete {
+
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
    background: #FFDBDB;   /* Red */
+
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
 +
background: #8da7d6;
 +
text-align: center;
 
}
 
}
table.cmbox-content {
+
table.wikitable td.hl1, table.wikitable th.hl1,
    background: #FFE7CE;   /* Orange */
+
table.prettytable td.hl1, table.wikitable th.hl1 {
 +
background: #c5d8fc;
 +
text-align: center;
 
}
 
}
table.cmbox-style {
+
table.wikitable td.hl2, table.wikitable th.hl2,
    background: #FFF9DB;   /* Yellow */
+
table.prettytable td.hl2, table.wikitable th.hl2 {
 +
background: #a7c1f2;
 +
text-align: center;
 
}
 
}
table.cmbox-move {
+
table.wikitable caption,
    background: #E4D8FF;   /* Purple */
+
table.prettytable caption {
}
+
margin-left: inherit;
table.cmbox-protection {
+
margin-right: inherit;
    background: #EFEFE1;   /* Gray-gold */
+
font-weight: bold;
 
}
 
}
  
/* Other pages message box styles */
+
/* General purpose "pretty (data) tables" */
table.ombox {
+
table.datatable { background-color: transparent; }
    margin: 4px 10%;  
+
table.datatable th, table.datatable td { padding: 4px; }
    border-collapse: collapse;  
+
table.datatable th { text-align: left; background-color: #999999; }
    border: 1px solid #aaa;       /* Default "notice" gray */
+
table.datatable tr { background-color: #cccccc; }
    background: #f9f9f9;
+
table.datatable tr:hover { background-color: #ffffcc; }
}
 
  
table.ombox-notice {
+
/* SideBox styling */
    border: 1px solid #aaa;       /* Gray */
+
div.sideBox {
 +
position: relative;
 +
float: right;
 +
background: white;
 +
margin-left: 1em;
 +
border: 1px solid gray;
 +
padding: 0.3em;
 +
width: 200px;
 +
overflow: hidden;
 +
clear: right;
 
}
 
}
table.ombox-speedy {
+
div.sideBox dl {
    border: 2px solid #b22222;   /* Red */
+
padding: 0;
    background: #fee;             /* Pink */
+
margin: 0 0 0.3em 0;
 +
font-size: 96%;
 
}
 
}
table.ombox-delete {
+
div.sideBox dl dt {
    border: 2px solid #b22222;   /* Red */
+
background: none;
 +
margin: 0.4em 0 0 0;
 
}
 
}
table.ombox-content {
+
div.sideBox dl dd {
    border: 1px solid #f28500;    /* Orange */
+
margin: 0.1em 0 0 1.1em;
}
+
background-color: #f3f3f3;
table.ombox-style {
 
    border: 1px solid #f4c430;    /* Yellow */
 
}
 
table.ombox-move {
 
    border: 1px solid #9932cc;    /* Purple */
 
}
 
table.ombox-protection {
 
    border: 2px solid #bba;      /* Gray-gold */
 
}
 
 
/* Talk page message box styles */
 
table.tmbox {
 
    margin: 4px 10%;
 
    border-collapse: collapse;
 
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
 
    background: #f8eaba;
 
}
 
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
 
    margin: 2px 0;              /* class ensures that this declaration overrides other */
 
    width: 100%;  /* For Safari and Opera */    /* styles (including mbox-small above) */
 
}
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
 
    line-height: 1.5em;         /* also "nested", so reset styles that are  */ 
 
    font-size: 100%;             /* set in "mbox-small" above.                */
 
 
}
 
}
  
table.tmbox-speedy {
+
/* Extension infobox styling */
    border: 2px solid #b22222;   /* Red */
+
.ext-infobox {
    background: #fee;             /* Pink */
+
border: 2px solid #aaaaaa;
 +
width: 272px;
 +
float: right;
 +
margin: 0 0 0.5em 0.5em;
 +
border-collapse: collapse;
 +
background-color: white;
 
}
 
}
table.tmbox-delete {
+
.ext-infobox td {
    border: 2px solid #b22222;   /* Red */
+
border: 2px none #aaaaaa;
 +
padding: 0.2em 0.5em;
 +
border-bottom: 1px solid #f0f0f0 !important;
 
}
 
}
table.tmbox-content {
+
.ext-header {
    border: 2px solid #f28500;    /* Orange */
+
background-color: #aaaaaa;
}
+
color: white;
table.tmbox-style {
+
text-align: left;
    border: 2px solid #f4c430;   /* Yellow */
 
}
 
table.tmbox-move {
 
    border: 2px solid #9932cc;   /* Purple */
 
}
 
table.tmbox-protection,
 
table.tmbox-notice {
 
    border: 1px solid #c0c090;   /* Gray-brown */
 
 
}
 
}
 +
.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: #cc6600; }
 +
.ext-status-experimental .ext-header { background-color: #cc6600; }
 +
.ext-status-beta, .ext-status-beta td { border-color: #000099; }
 +
.ext-status-beta .ext-header { background-color: #000099; }
 +
.ext-status-stable, .ext-status-stable td { border-color: #009900; }
 +
.ext-status-stable .ext-header { background-color: #009900; }
  
/* Disambig and set index box styles */
+
/* Cute little "tip" boxes */
table.dmbox {
+
div.tip {
    clear: both;  
+
padding: 4px;
    margin: 0.9em 1em;
+
margin-top: 4px;
    border-top: 1px solid #ccc;  
+
margin-bottom: 4px;
    border-bottom: 1px solid #ccc;  
+
min-height: 30px; /* IE users will hate this... */
    background: transparent;
 
}
 
 
/* Footer and header message box styles */
 
table.fmbox {
 
    clear: both;
 
    margin: 0.2em 0;
 
    width: 100%;
 
    border: 1px solid #aaa;
 
    background: #f9f9f9;    /* Default "system" gray */
 
}
 
table.fmbox-system {
 
    background: #f9f9f9;
 
}
 
table.fmbox-warning {
 
    border: 1px solid #bb7070;  /* Dark pink */
 
    background: #ffdbdb;        /* Pink */
 
 
}
 
}
table.fmbox-editnotice {
+
div.tip-info {
    background: transparent;
+
border: 1px solid #cc9933;
 +
background-color: #cccc99;
 
}
 
}
/* Div based "warning" style fmbox messages. */
+
div.tip-gotcha {
div.mw-warning-with-logexcerpt,
+
border: 1px solid #cc0000;
div.mw-lag-warn-high,
+
background-color: #cc6666;
div.mw-cascadeprotectedwarning,
 
div#mw-protect-cascadeon {
 
    clear: both;
 
    margin: 0.2em 0;
 
    border: 1px solid #bb7070;
 
    background: #ffdbdb;
 
    padding: 0.25em 0.9em;
 
}
 
/* Div based "system" style fmbox messages. Used in
 
  [[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
 
div.mw-lag-warn-normal,
 
div.noarticletext,
 
div.fmbox-system {
 
    clear: both;
 
    margin: 0.2em 0;
 
    border: 1px solid #aaa;
 
    background: #f9f9f9;
 
    padding: 0.25em 0.9em;
 
 
}
 
}
  
/* These mbox-small classes must be placed after all other
+
/* Language template */
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
+
.LanguageLinks { margin-top: 0.5em; }
  they override "table.ambox + table.ambox" above. */
+
.LanguageLinks table {
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
+
clear: both;
    clear: right;
+
border: 1px solid #aaaaaa;
    float: right;
+
border-collapse: collapse;
    margin: 4px 0 4px 1em;
+
padding: 0.2em;
    width: 238px;
+
margin: 0;
    font-size: 88%;
+
font-size: 85%;
    line-height: 1.25em;
+
margin: 0 1px;
}
 
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;
 
 
}
 
}
 +
.LanguageLinks span { white-space: nowrap; }
  
 
+
/* Version box on [[Manual:Downloading MediaWiki]] */
/* Support for Template:IPA, Template:Unicode and Template:Polytonic.
+
#DownloadVersionBox {
  The second declarations reset the styles for all browsers except
+
border: 2px solid black;
  IE6, which chokes on the empty comment tags. Please copy any changes
+
border-collapse: collapse;
  to [[Template:IPA fonts]] and [[Template:Unicode fonts]].
+
margin: auto;
*/
+
width: 50%;
.IPA {
+
color: black;
    font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt,
 
                "DejaVu Sans", Code2000, "TITUS Cyberbit Basic",
 
                "Arial Unicode MS", "Lucida Sans Unicode",
 
                "Chrysanthi Unicode";
 
    font-family /**/: inherit;
 
 
}
 
}
.Unicode {
+
#DownloadVersionBox td {
    font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic",
+
border: 2px solid black;
                "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit",
+
padding: 20px;
                "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt,
 
                "Lucida Grande", "Free Sans", "Arial Unicode MS",
 
                "Microsoft Sans Serif", "Lucida Sans Unicode";
 
    font-family /**/: inherit;
 
}
 
.latinx {
 
    font-family: Code2000, Code2001, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
 
    font-family /**/: inherit;
 
}
 
.polytonic {
 
    font-family: "Athena Unicode", Gentium, "Palatino Linotype",
 
                "Arial Unicode MS", "Lucida Sans Unicode",
 
                "Lucida Grande", Code2000;  
 
    font-family /**/: inherit;
 
 
}
 
}
  
#wpSave {
+
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
    font-weight: bold;
+
.majorwarning {
 +
background: yellow;
 +
padding: 0.3em;
 +
text-align: center;
 +
font-size: 125%;
 +
border: 2px solid red;
 
}
 
}
  
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
+
/* Page headings used throughout the wiki (though not very much at the time of writing…) */  
.hiddenStructure {
+
.page-notice, .page-warning {
    display: inline ! important;
+
border-width: 1px;
    color: #f00;  
+
border-style: solid;
    background-color: #0f0;
+
padding: 0.3em 0.5em;
 +
margin-bottom: 1em;
 +
width: 95%;
 +
margin-left: auto;
 +
margin-right: auto;  
 +
text-align: center;
 
}
 
}
  
/* suppress missing interwiki image links where #ifexist cannot
+
/* Informative notices at the top of pages (blue) */
  be used due to high number of requests see .hidden-redlink on
+
.page-notice {
  http://meta.wikimedia.org/wiki/MediaWiki:Common.css
+
background-color: #f9f9f9;
*/
+
border-color: #025e9d;  
.check-icon a.new {
+
text-align: left;
    display: none;  
 
    speak: none;
 
 
}
 
}
  
/* Removes underlines from links */
+
/* Warning information at the top of pages (red) */
.nounderlines a {  
+
.page-warning {
    text-decoration: none;
+
background-color: #ffffff;
 +
border-color: #c51919;
 +
border-width: 2px;
 
}
 
}
 
+
.pw-head {
/* Remove underline from IPA links */
+
color: #c51919;
.IPA a:link, .IPA a:visited {
+
font-weight: bold;
    text-decoration: none;
 
 
}
 
}
  
/* Standard Navigationsleisten, aka box hiding thingy
+
/* Used in Template:Notice */
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
+
.block-note {
div.NavFrame {
+
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
    margin: 0;
+
background-position: top left;
    padding: 4px;
+
background-repeat: no-repeat;
    border: 1px solid #aaa;
 
    text-align: center;
 
    border-collapse: collapse;
 
    font-size: 95%;
 
 
}
 
}
div.NavFrame + div.NavFrame {
+
/*
    border-top-style: none;
+
  Using block-contents in the hope that it can apply to all block-level warning templates,
    border-top-style: hidden;
+
  with different images applied as backgrounds to the wrapping DIV.
}
+
*/
div.NavPic {
+
.block-contents {
    background-color: #fff;
+
display: block;
    margin: 0;
+
padding-left: 20px;
    padding: 2px;
 
    float: left;
 
}
 
div.NavFrame div.NavHead {
 
    height: 1.6em;
 
    font-weight: bold;
 
    background-color: #ccf;
 
    position: relative;
 
}
 
div.NavFrame p,
 
div.NavFrame div.NavContent,
 
div.NavFrame div.NavContent p {
 
    font-size: 100%;
 
}
 
div.NavEnd {
 
    margin: 0;
 
    padding: 0;
 
    line-height: 1px;
 
    clear: both;
 
}
 
a.NavToggle {
 
    position: absolute;
 
    top: 0;
 
    right: 3px;
 
    font-weight: normal;
 
    font-size: 90%;
 
 
}
 
}
  
/* Hatnotes and disambiguation notices */
+
/* Template documentation ([[Template:Documentation]]) */
.rellink,
+
.template-documentation {
.dablink {
+
clear: both;
    font-style: italic;
+
margin: 1em 0 0 0;
    padding-left: 2em;
+
border: 1px solid #aaa;  
    margin-bottom: 0.5em;
+
background-color: #ecfcf4;  
}
+
padding: 5px;
.rellink i,
 
.dablink i {
 
    font-style: normal;
 
}
 
 
 
/* Style for horizontal UL lists */
 
.horizontal ul {
 
    padding: 0;
 
    margin: 0;
 
}
 
.horizontal li {
 
    padding: 0 0.6em 0 0.4em;
 
    display: inline;
 
    border-right: 1px solid;
 
}
 
.horizontal li:last-child {
 
    border-right: none;
 
    padding-right: 0;
 
 
}
 
}
  
/* Allow transcluded pages to display in lists rather than a table.
+
/***** 8. SOME OTHER SMALL THINGS *****/
  Compatible in Firefox; incompatible in IE6. */
 
.listify td    { display: list-item; }
 
.listify tr    { display: block; }
 
.listify table { display: block; }
 
  
/* Geographical coordinates defaults. See [[Template:Coord/link]]
+
/* Give a bit of space to the TOC */
  for how these are used. The classes "geo", "longitude", and
+
#toc { margin: 1em 0; }
  "latitude" are used by the [[Geo microformat]].
 
*/
 
.geo-default, .geo-dms, .geo-dec  { display: inline; }
 
.geo-nondefault, .geo-multi-punct { display: none; }
 
.longitude, .latitude            { white-space: nowrap; }
 
  
/* When <div class="nonumtoc"> is used on the table of contents,
+
/* make the list of references look smaller and highlight clicked reference in blue */
  the ToC will display without numbers */
+
ol.references { font-size: 100%; }
.nonumtoc .tocnumber { display: none; }
+
.references-small { font-size: 90%;}
.nonumtoc #toc ul,
+
ol.references > li:target { background-color: #ddeeff; }
.nonumtoc .toc ul {
+
sup.reference:target { background-color: #ddeeff; }
    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;
+
/* Printing of thumbnails (bug 1583) */
  <div class="toclimit-3">, for instance, will limit to
+
div.tright { clear: right; }
  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,
 
.toclimit-3 .toclevel-3,
 
.toclimit-4 .toclevel-4,
 
.toclimit-5 .toclevel-5,
 
.toclimit-6 .toclevel-6,
 
.toclimit-7 .toclevel-7 { display: none; }
 
  
/* Styling for Template:Quote */
+
/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
blockquote.templatequote {  
+
.my-buttons { padding: 0.5em; }
    margin-top: 0;  
+
.my-buttons a {
 +
color: black;
 +
background-color: #ccddee !important;
 +
font-weight: bold;
 +
font-size: 0.9em;
 +
text-decoration: none;
 +
border: thin #006699 outset;
 +
padding: 0 0.1em 0.1em 0.1em;
 
}
 
}
blockquote.templatequote div.templatequotecite {
+
.my-buttons a:hover, .my-buttons a:active {
    line-height: 1em;
+
background-color: #bbccdd;
    text-align: left;
+
border-style: inset;
    padding-left: 2em;
 
    margin-top: 0;
 
}
 
blockquote.templatequote div.templatequotecite cite {
 
    font-size: 85%;
 
 
}
 
}
  
div.user-block {
+
/* from [[User:Splarka/Help:Linked images]] */
    padding: 5px;
+
.imagelink_wikilogo a {
    border: 1px solid #A9A9A9;
+
width: 135px;
    background-color: #FFEFD5;
+
height: 135px;
 +
display: block;
 +
text-decoration: none;
 +
background-image: url("http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png");
 
}
 
}
  
/* Prevent line breaks in silly places:
+
/**** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow ****/
  1) links when we don't want them to
+
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
  2) HTML formulae
+
border: none;
  3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
+
padding: 0.25em 0.9em;      /* 0.9em left/right */
*/
+
width: 100%;   /* Make all mboxes the same width regardless of text length */
.nowraplinks a,
 
span.texhtml,
 
sup.reference a { white-space: nowrap; }
 
 
 
/* For template documentation */
 
.template-documentation {
 
    clear: both;
 
    margin: 1em 0 0 0;
 
    border: 1px solid #aaa;
 
    background-color: #ecfcf4;
 
    padding: 1em;
 
 
}
 
}
 
+
td.mbox-image {                  /* The left image cell */
.thumbinner {
+
border: none;
    min-width: 100px;
+
padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
 +
text-align: center;
 
}
 
}
 
+
td.mbox-imageright {            /* The right image cell */
/* Inline divs in ImageMaps (code borrowed from de.wiki) */
+
border: none;
.imagemap-inline div {
+
padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
    display: inline;
+
text-align: center;
 
}
 
}
 
+
td.mbox-empty-cell {        /* An empty narrow cell */
/* Increase the height of the image upload box */
+
border: none;
#wpUploadDescription {
+
padding: 0px;
    height: 13em;
+
width: 1px;
 
}
 
}
  
/* Reduce line-height for <sup> and <sub> */
+
/* These mbox-small classes must be placed after all other
sup, sub {
+
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
    line-height: 1em;
+
  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;
/* The backgrounds for galleries. */
+
width: 238px;
#content .gallerybox div.thumb {
+
border-collapse: collapse;
    background-color: #F9F9F9;   /* Light gray padding */
+
font-size: 88%;
 +
line-height: 1.25em;
 
}
 
}
/* Put a chequered background behind images, only visible if they have transparency */
 
.gallerybox .thumb img,
 
#file img {
 
    background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
 
}
 
/* But not on articles, user pages, portals or with opt-out. */
 
.ns-0 .gallerybox .thumb img,
 
.ns-2 .gallerybox .thumb img,
 
.ns-100 .gallerybox .thumb img,
 
.nochecker .gallerybox .thumb img {
 
    background: white;
 
}
 
 
/* Prevent floating boxes from overlapping any category listings,
 
  file histories, edit previews, and edit [Show changes] views */
 
#mw-subcategories, #mw-pages, #mw-category-media,
 
#filehistory, #wikiPreview, #wikiDiff {
 
    clear: both;
 
}
 
 
/* Selectively hide headers in WikiProject banners */
 
.wpb .wpb-header            { display: none; }
 
.wpbs-inner .wpb .wpb-header { display: block; }    /* for IE */
 
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
 
.wpbs-inner .wpb-outside    { display: none; }      /* hide things that should only display outside shells */
 
 
/* Styling for Abuse Filter tags */
 
.mw-tag-markers {
 
font-family:sans-serif;
 
font-style:italic;
 
font-size:90%;
 
}
 
 
/* Fix so <tt>, <code> and <pre> tags get normal text size also in
 
  some versions of Firefox, Safari, Konqueror, Chrome etc. */
 
tt, code, pre {
 
    font-family: monospace, sans-serif;
 
}
 
 
 
/* </source> */
 

Revision as of 09:40, 2 January 2010

/*
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; }  /* light grey */
.borderc2 { border-color: #aaaaaa; border-width: thin; }  /* grey (as toc) */
.borderc3 { border-color: #777777; border-width: thin; }  /* dark grey */
.borderc4 { border-color: #000000; border-width: thin; }  /* black */
.borderc5 { border-color: #c00000; border-width: thin; }  /* red */
.borderc6 { border-color: #025e9d; border-width: thin; }  /* blue */
.borderc7 { border-color: #008040; border-width: thin; }  /* green */
.borderc8 { border-color: #ffcc00; border-width: thin; }  /* yellow */

/* Background colors */
.backgroundc1 { background-color: #ffffff; }  /* white */
.backgroundc2 { background-color: #f9f9f9; }  /* light grey (as toc)  */
.backgroundc3 { background-color: #eeeeee; }  /* light grey (headers) */ 
.backgroundc4 { background-color: #e0e0e0; }  /* more grey */
.backgroundc5 { background-color: #d2d2d2; }  /* more grey */
.backgroundc6 { background-color: #b7b7b7; }  /* more grey */
.backgroundc7 { background-color: #a3a3a3; }  /* darker grey */
.backgroundc8 { background-color: #444455; }  /* very dark grey */

/***** 3. SPECIAL PAGES *****/

/* Marking redirects  */
.allpagesredirect, .watchlistredir, .redirect-in-category { font-style: italic; }

/* Coloured edit size numbers on watchlist/recentchanges */
.mw-plusminus-pos { color: #006400; } /* darkgreen */
.mw-plusminus-neg { color: #8b0000; } /* darkred */

/* Consistent special page navigation */
.sp-cached {
	background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Clock%20and%20warning.svg/20px-Clock%20and%20warning.svg);
	background-position: 5px 3px;
	background-repeat: no-repeat;
	padding: 4px 0 4px 30px;
	font-style: italic;
	color: #606000;
	margin: 0.3em 0;
	border: 1px solid #eeee80;
	background-color: #ffffe0;
}
.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;
}

#searchresulttext {
	background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Exquisite-kfind.png/45px-Exquisite-kfind.png);
}

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

/* Special:Statistics */
.StatsTable {
	background: transparent;
	width: 75%;
}
.StatsTable th {
	vertical-align: middle;
	text-align: center;
	width: 50px;
}
.StatsTable th, .StatsTable td {
	background-color: #ffffff;
	padding: 0.5em 1em;
	border: 1px solid #ccccdd;
	margin: 0.4em;
}
.StatsTable tr {
	background-color: #ffffff;
}

/* Special:Search (more whitespace) */
.page-Special_Search #search {
	padding: 1em 0 2em 0;
}
.page-Special_Search #powersearch {
	border: 1px solid #cccccc;
	padding: 0.5em 0.5em;
}
.page-Special_Search #powersearch-namespaces {
	padding-left: 1em;
	margin: 0.7em 0;
}
.page-Special_Search #powersearch-namespaces label {
	white-space: nowrap;
	min-width: 8.4em;
	display: block;
	float: left;
}
.page-Special_Search br { clear: left; } /* Clear search button, but not check-boxes */

/***** 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-browse-cvs a, #n-phpdoc a, #n-Mailing-list a {
	background: url(/skins-1.5/monobook/external.png) center right no-repeat;
	padding-right: 13px;
	color: #3366bb;
}

/***** 6. PRETTIFY [[Extension Matrix]] *****/  

.xm-table {
	border: 1px solid #666666;
	background-color: white;
}
.xm-table td, .xm-table th {
	vertical-align: top;
	text-align: left;
	border: none;
	background-color: #EEEEEE;
}
.xm-table th, .xm-name { font-weight: bold; }
.xm-status-unknown, 
.xm-type-unknown {
	color: #888888;
}
.xm-status-experimental { color: red; }
.xm-status-beta { color: blue; }
.xm-status-stable { color: green; }
.xm-name, .xm-status,
.xm-type, .xm-version,
.xm-updated {
	white-space: nowrap;
}
.xm-updated { font-size:80%; }
.xm-alert { background-color: yellow; }
td.xm-blank { background-color: inherit; }
td.xm-updated { background-color: inherit; }
td.xm-description { background-color: inherit; font-style: italic; }

th.xm-blank,
th.xm-updated,
th.xm-description {
	background-color: inherit;
	padding-bottom: 0.6ex;
	border-bottom: 1px solid #666666;
}  

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

/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
	empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: center;
}
table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}

/* 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: #cc6600; }
.ext-status-experimental .ext-header { background-color: #cc6600; }
.ext-status-beta, .ext-status-beta td { border-color: #000099; }
.ext-status-beta .ext-header { background-color: #000099; }
.ext-status-stable, .ext-status-stable td { border-color: #009900; }
.ext-status-stable .ext-header { background-color: #009900; }

/* Cute little "tip" boxes */
div.tip {
	padding: 4px;
	margin-top: 4px;
	margin-bottom: 4px;
	min-height: 30px; /* IE users will hate this... */
}
div.tip-info {
	border: 1px solid #cc9933;
	background-color: #cccc99;
}
div.tip-gotcha {
	border: 1px solid #cc0000;
	background-color: #cc6666;
}

/* Language template */
.LanguageLinks { margin-top: 0.5em; }
.LanguageLinks table {
	clear: both;
	border: 1px solid #aaaaaa;
	border-collapse: collapse;
	padding: 0.2em;
	margin: 0;
	font-size: 85%;
	margin: 0 1px;
}
.LanguageLinks span { white-space: nowrap; }

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

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

/* Printing of thumbnails (bug 1583) */
div.tright { clear: right; }

/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
.my-buttons { padding: 0.5em; }
.my-buttons a {
	color: black;
	background-color: #ccddee !important;
	font-weight: bold;
	font-size: 0.9em;
	text-decoration: none;
	border: thin #006699 outset;
	padding: 0 0.1em 0.1em 0.1em;
}
.my-buttons a:hover, .my-buttons a:active {
	background-color: #bbccdd;
	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 ****/
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;
}