Difference between revisions of "MediaWiki:Common.css"

From OG Wiki
Jump to navigation Jump to search
Line 1: Line 1:
/*  
+
/*
 +
This is the CSS for all skins (for all users) on MediaWiki.org.
  
'''Common [[Cascading Style Sheets|CSS]] for all skins'''
+
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
 +
*/
  
'''Notice to Administrators!'''
+
/***** 1. INDICATION OF NAMESPACES *****/
  
Any changes to [[Mediawiki:Monobook.css|Monobook.css]] or [[MediaWiki:Common.css|Common.css]] should be first proposed to [[Wikipedia:Village Pump]]. 
+
/* Pseudo NS Special (light grey) */
 +
.ns--2 #content { background: #f4f4f4; }
 +
.ns--2 div.thumb { border-color: #f4f4f4; }
  
Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&usermedium=all W3C CSS Validation Service] ([http://qa-dev.w3.org:8001/css-validator/validator?uri=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&warning=2&profile=css3&usermedium=all CVS version]) after any changes.
+
/* NS Project + Project_talk (light sky blue) */
 +
.ns-4 #content, .ns-5 #content { background: #f8fcff; }
 +
.ns-4 div.thumb, .ns-5 div.thumb { border-color: #f8fcff; }
  
Thank you.
+
/* NS MediaWiki + MediaWiki_talk (light grey) */
 +
.ns-8 #content, .ns-9 #content { background: #f4f4f4; }
 +
.ns-8 div.thumb, .ns-9 div.thumb { border-color: #f4f4f4; }
  
(In [[Mozilla]] and [[Opera (web browser)|Opera]], you can 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.)
+
/* NS Manual + Manual_talk (light bluish violet) */
 +
.ns-100 #content, .ns-101 #content { background: #f3f3ff; }
 +
.ns-100 div.thumb, .ns-101 div.thumb { border-color: #f3f3ff; }
  
See also the [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
+
/* NS Help (but NOT Help_talk) (blue border and Public Domain icon)  */
{{interwiki-all}}
+
.ns-12 #content {
<pre><nowiki>*/
+
  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;
 +
}
  
/* Main page fixes */
+
/***** 2. COLOR CLASSES FOR CONTENT  *****/
.interwiki-completelist {
 
    font-weight: bold;
 
}
 
  
/* make the list of references look smaller */
+
/* Border colors */
ol.references {
+
.borderc1 { border-color: #e9e9e9; border-width: thin; }  /* light grey */
  font-size: 100%;
+
.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 */
  
.references-small { font-size: 90%;}
+
/* 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 */
  
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
+
/***** 3. SPECIAL PAGES *****/
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
 
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
 
/* Please ignore any validator errors caused by these two lines */
 
.references-2column {
 
  font-size: 90%;
 
  -moz-column-count:2;
 
  column-count:2;
 
}
 
  
.same-bg { background: none }
+
/* Marking redirects  */
 +
.allpagesredirect, .watchlistredir, .redirect-in-category { font-style: italic; }
  
/* Highlight clicked reference in blue to help navigation */
+
/* Coloured edit size numbers on watchlist/recentchanges */
 +
.mw-plusminus-pos { color: #006400; } /* darkgreen */
 +
.mw-plusminus-neg { color: #8b0000; } /* darkred */
  
ol.references > li:target {
+
/* Consistent special page navigation */
background-color: #DEF;
+
.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;
 
}
 
}
  
/* wikitable/prettytable class for skinning normal tables */
+
#searchresulttext {
 +
  background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Exquisite-kfind.png/45px-Exquisite-kfind.png);
 +
}
  
table.wikitable,
+
.mw-viewprevnext {
table.prettytable {
+
   display: block;
   margin: 1em 1em 1em 0;
+
   border: 1px solid #cccccc;
   background: #f9f9f9;
+
   background-color: #f9f9f2;
   border: 1px #aaa solid;
+
   padding: 0.2em 0.4em;
   border-collapse: collapse;
 
 
}
 
}
  
table.wikitable th, table.wikitable td,
+
/* Special:Statistics */
table.prettytable th, table.prettytable td {
+
.StatsTable {
   border: 1px #aaa solid;
+
   background: transparent;
   padding: 0.2em;
+
   width: 75%;
 
}
 
}
 
+
.StatsTable th {
table.wikitable th,
+
   vertical-align: middle;
table.prettytable th {
 
   background: #f2f2f2;
 
 
   text-align: center;
 
   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 {
table.wikitable caption,
+
   background-color: #ffffff;
table.prettytable caption {
 
   margin-left: inherit;
 
  margin-right: inherit;
 
  font-weight: bold;
 
 
}
 
}
  
/* default skin for navigation boxes */
+
/* Special:Search (more whitespace) */
table.navbox {
+
.page-Special_Search #search {
    background-color: #f9f9f9;
+
  padding: 1em 0 2em 0;
    border: 1px solid #aaa;
 
    clear: both;
 
    font-size: 90%;
 
    margin: 1em 0em 0em;
 
    padding: 5px;
 
    text-align: center;
 
    width: 100%;
 
 
}
 
}
 
+
.page-Special_Search #powersearch {
table.navbox th {
+
  border: 1px solid #cccccc;
    background-color: #ccf;
+
  padding: 0.5em 0.5em;
    padding-left: 1em;
 
    padding-right: 1em;
 
 
}
 
}
 
+
.page-Special_Search #powersearch-namespaces {
table.navbox tr:not(:first-child) th {
+
  padding-left: 1em;
    background-color: #ddf;
+
  margin: 0.7em 0;
 
}
 
}
 
+
.page-Special_Search #powersearch-namespaces label {
@media print {
+
  white-space: nowrap;
    .navbox {
+
  min-width: 8.4em;
        display: none;
+
  display: block;
    }
+
  float: left;
 
}
 
}
 +
.page-Special_Search br { clear: left; } /* Clear search button, but not check-boxes */
  
/* Infobox template style */
+
/***** 4. MAIN PAGE STYLING *****/
  
.infobox {
+
#mainpage_topbox {
  border: 1px solid #aaa;
+
  background: #f9f9f9;  
  background-color: #f9f9f9;
+
  padding: 0px;  
  color: black;
+
  border: 1px solid #aaaaaa;  
  margin-bottom: 0.5em;
+
  margin: 0.2em 10px 10px;
  margin-left: 1em;
+
}
  padding: 0.2em;
+
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
  float: right;
+
  font-size: 105%;  
  clear: right;
+
  padding: 0.4em;  
 +
  background-color: #eeeeee;  
 +
  border-bottom: 1px solid #aaaaaa;  
 
}
 
}
.infobox td,
+
.mainpage_boxtitle {
.infobox th {
+
  line-height: 120%;
  vertical-align: top;
 
 
 
}
 
}
.infobox caption {
+
#mainpage_pagetitle {
  font-size: larger;
+
  color: #cf7606;  
  margin-left: inherit;
+
  font-size: 200% !important;
 
}
 
}
.infobox.bordered {
+
#mainpage_sitelinks {
  border-collapse: collapse;
+
  padding: 0.2em;
 +
  text-align: center;
 +
  background-color: white;
 
}
 
}
.infobox.bordered td,
+
.mainpage_hubtitle {
.infobox.bordered th {
+
  text-align: center;
  border: 1px solid #aaa;
 
 
}
 
}
.infobox.bordered .borderless td,
+
.mainpage_boxcontents, .mainpage_boxcontents_small {
.infobox.bordered .borderless th {
+
  background: #ffffff;
  border: 0;
+
  padding:0.2em 0.4em;
 
}
 
}
 
+
.mainpage_boxcontents_small {
.infobox.sisterproject {
+
  font-size: 95%;
  width: 20em;
 
  font-size: 90%;
 
 
}
 
}
 
+
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
@media print {
+
  padding: 0;
    .infobox.sisterproject {
+
  border: 1px solid #aaaaaa;
        display: none;
 
    }
 
 
}
 
}
 
+
.mainpage_hubbox {
/* styles for bordered infobox with merged rows */
+
  margin-bottom: 0;
.infobox.bordered .mergedtoprow td,
 
.infobox.bordered .mergedtoprow th {
 
  border: 0;
 
  border-top: 1px solid #aaa;
 
  border-right: 1px solid #aaa;
 
 
}
 
}
 
+
#mainpage_newscell {
.infobox.bordered .mergedrow td,
+
  margin-bottom: 15px;
.infobox.bordered .mergedrow th {
+
  margin-top: 0 !important;
  border: 0;
 
  border-right: 1px solid #aaa;
 
 
}
 
}
 
+
#mainpage_newscell .mainpage_boxtitle {
 
+
  background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
+
  background-repeat: no-repeat;
 
+
  background-position: 99% 0.3em;
.infobox.geography {
+
  padding-right: 25px;
  text-align: left;
 
  border-collapse: collapse;
 
  line-height: 1.2em;  
 
  font-size: 90%;
 
 
}
 
}
 
+
#mainpage_downloadcell {
.infobox.geography  td,
+
  width: 17em;  
.infobox.geography  th {
+
  margin-bottom: 5px;  
  border-top: solid 1px #aaa;
 
  padding: 0.4em 0.2em 0.4em 0.8em;
 
 
}
 
}
.infobox.geography .mergedtoprow td,
+
#mainpage_downloadcell .mainpage_boxtitle {
.infobox.geography .mergedtoprow th {
+
  background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
  border-top: solid 1px #aaa;
+
  background-repeat: no-repeat;
  padding: 0.4em 0.2em 0.2em 0.8em;
+
  background-position: 96% 0.33em;
 +
  padding-right: 25px;
 
}
 
}
 +
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */
  
.infobox.geography .mergedrow td,
+
/*The "mainpage" class is added to the body with javascript for the main page in all */
.infobox.geography .mergedrow th {
+
/*languages, so we can style things that apppear on the main page and also elsewhere.*/
      border: 0;
+
.mainpage #lastmod,
      padding: 0 0.2em 0.2em 0.8em;
+
.mainpage #siteSub,  
 +
.mainpage h1.firstHeading {  
 +
    display: none !important;  
 +
}
 +
.mainpage #content {
 +
    padding-top: 1em;  
 
}
 
}
  
.infobox.geography .mergedbottomrow td,
+
/***** 5. SIDEBAR EXTERNAL LINKS *****/
.infobox.geography .mergedbottomrow th {
+
 
  border-top: 0;
+
#n-browse-cvs a, #n-phpdoc a, #n-Mailing-list a {
  border-bottom: solid 1px #aaa;
+
  background: url(/skins-1.5/monobook/external.png) center right no-repeat;
  padding: 0 0.2em 0.4em 0.8em;
+
  padding-right: 13px;
 +
  color: #3366bb;
 
}
 
}
  
.infobox.geography .maptable td,
+
/***** 6. PRETTIFY [[Extension Matrix]] *****/ 
.infobox.geography .maptable th {
 
      border: 0;
 
      padding: 0 0 0 0;
 
}
 
  
/* Style for "notices" */
+
.xm-table {
.notice {
+
  border: 1px solid #666666;
    margin: 1em;
+
  background-color: white;
    padding: 0.2em;
 
 
}
 
}
 
+
.xm-table td, .xm-table th {
#disambig {
+
  vertical-align: top;
    border-top: 1px solid #ccc;  
+
  text-align: left;
    border-bottom: 1px solid #ccc;
+
  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; }
  
#spoiler {
+
th.xm-blank,
    border-top: 2px solid #ddd;
+
th.xm-updated,
    border-bottom:2px solid #ddd;
+
th.xm-description {  
}
+
  background-color: inherit;
 +
  padding-bottom: 0.6ex;
 +
  border-bottom: 1px solid #666666;
 +
}
  
/* Standard talk template style */
+
/***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/
  
.Talk-Notice  {
+
/* Wikitable (Prettytable) class for skinning normal tables */
    border: 1px solid #C0C090;
+
table.wikitable,
    background-color: #F8EABA;
+
table.prettytable {
    margin-bottom: 3px;
+
  margin: 1em 1em 1em 0;
    width: 85%;
+
  background: #f9f9f9;
    border-spacing: 3px;
+
  border: 1px #aaaaaa solid;
    margin-left: auto;
+
  border-collapse: collapse;
    margin-right: auto;
+
  empty-cells: show;
 
}
 
}
 
+
table.wikitable th, table.wikitable td,
.Talk-Notice:after {
+
table.prettytable th, table.prettytable td {
   content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
+
  border: 1px #aaaaaa solid;
 +
   padding: 0.2em 0.4em;
 
}
 
}
 
+
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
/* Make template background appear correctly on all browsers */
+
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
.Talk-Notice td {
+
  background: #8da7d6;
    background: inherit;
+
  text-align: center;
 
}
 
}
 
+
table.wikitable td.hl1, table.wikitable th.hl1,
/* Persondata */
+
table.prettytable td.hl1, table.wikitable th.hl1 {
table.persondata {
+
  background: #c5d8fc;
    border: 1px solid #aaa;
+
  text-align: center;
    display: none;
 
    speak: none;
 
 
}
 
}
.persondata-label {
+
table.wikitable td.hl2, table.wikitable th.hl2,
    color: #aaa;
+
table.prettytable td.hl2, table.wikitable th.hl2 {
 +
  background: #a7c1f2;
 +
  text-align: center;
 
}
 
}
 
+
table.wikitable caption,
/* Makes redirects appear in italics on [[Special:Allpages]] */
+
table.prettytable caption {
.allpagesredirect {
+
  margin-left: inherit;
    font-style: italic;
+
  margin-right: inherit;
 +
  font-weight: bold;
 
}
 
}
  
/* Choose whether to have AD/BC dates or CE/BCE dates*/
+
/* 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; }
  
/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
+
/* SideBox styling */
.Use_Default_Date_Convention { display: inline; }
+
div.sideBox {
.Use_AD_and_BC { display: none; }
+
  position: relative;
.Use_BCE_and_CE { display: none; }
+
  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; }
  
/* If you want to display AD and BC add the following to User:You/monobook.css page */
+
/* Extension infobox styling */
/*
+
.ext-infobox {
.Use_Default_Date_Convention { display: none; }
+
  border: 2px solid #aaaaaa;
.Use_AD_and_BC { display:inline; }
+
  width: 272px;  
.Use_BCE_and_CE { display:none; }
+
  float: right;  
*/
+
  margin: 0 0 0.5em 0.5em;  
 
+
  border-collapse: collapse;  
/*If you want to display CE and BCE add the following to User:You/monobook.css page */
+
  background-color: white;
/*
+
}
.Use_Default_Date_Convention { display: none; }
+
.ext-infobox td {
.Use_AD_and_BC { display:none; }
+
  border: 2px none #aaaaaa;
.Use_BCE_and_CE {display:inline; }
+
  padding: 0.2em 0.5em;
*/
+
  border-bottom: 1px solid #f0f0f0 !important;
 
 
/* Class for links with loudspeaker icon next to them */
 
 
 
.audiolink a{
 
    background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important;
 
    padding-left: 16px !important;
 
    padding-right: 0 !important;
 
 
}
 
}
 
+
.ext-header {
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
+
  background-color: #aaaaaa;
 
+
  color: white;
div.listenlist {
+
  text-align: left;
    background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
 
    padding-left: 40px;
 
 
}
 
}
 +
.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; }
  
div.videolist, div.multivideolist {
+
/* Cute little "tip" boxes */
    background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
+
div.tip {
    padding-left: 50px;
+
  padding: 4px;
 +
  margin-top: 4px;
 +
  margin-bottom: 4px;
 +
  min-height: 30px; /* IE users will hate this... */
 
}
 
}
 
+
div.tip-info {
/* Style rules for media list templates */
+
  border: 1px solid #cc9933;
 
+
  background-color: #cccc99;
div.medialist {
 
    min-height: 50px;
 
    margin: 1em;
 
    background-position: top left;
 
    background-repeat: no-repeat;
 
 
}
 
}
 
+
div.tip-gotcha {
div.medialist ul {
+
  border: 1px solid #cc0000;
    list-style-type: none;  
+
  background-color: #cc6666;
    list-style-image: none;
 
    margin: 0;
 
 
}
 
}
  
div.medialist ul li {
+
/* Language template */
    padding-bottom: 0.5em;
+
.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; }
  
div.medialist ul li li {
+
/* Version box on [[Manual:Downloading MediaWiki]] */
    font-size: 91%;
+
#DownloadVersionBox {
    padding-bottom: 0;
+
  border: 2px solid black;
 +
  border-collapse: collapse;
 +
  margin: auto;
 +
  width: 50%;
 +
  color: black;
 
}
 
}
 
+
#DownloadVersionBox td {
/* Change the external link icon to an Adobe icon for all PDF files */
+
  border: 2px solid black;
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
+
  padding: 20px;
#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 {
 
    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 */
+
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
+
.majorwarning {
span.PDFlink a {
+
  background: yellow;
    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;
+
  padding: 0.3em;
    padding-right: 17px !important;
+
  text-align: center;
 +
  font-size: 125%;  
 +
  border: 2px solid red;
 
}
 
}
  
/* Content in columns with CSS instead of tables [[Template:Columns]] */
+
/* Page headings used throughout the wiki (though not very much at the time of writing…) */  
div.columns-2 div.column {
+
.page-notice, .page-warning {
    float: left;
+
  border-width: 1px;
    width: 50%;
+
  border-style: solid;
    min-width: 300px;
+
  padding: 0.3em 0.5em;
 +
  margin-bottom: 1em;
 +
  width: 95%;  
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  text-align: center;
 
}
 
}
  
div.columns-3 div.column {
+
/* Informative notices at the top of pages (blue) */
    float: left;
+
.page-notice {
    width: 33.3%;
+
  background-color: #f9f9f9;
    min-width: 200px;
+
  border-color: #025e9d;  
 +
  text-align: left;
 
}
 
}
  
div.columns-4 div.column {
+
/* Warning information at the top of pages  (red) */
    float: left;
+
.page-warning {
    width: 25%;
+
  background-color: #ffffff;
    min-width: 150px;
+
  border-color: #c51919;
 +
  border-width: 2px;
 
}
 
}
 +
.pw-head { color: #c51919; font-weight: bold; }
  
div.columns-5 div.column {
+
/* Used in Template:Notice */
     float: left;
+
.block-note {
     width: 20%;
+
     background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
     min-width: 120px;
+
     background-position: top left;
 +
     background-repeat: no-repeat;
 
}
 
}
 
+
/*
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
+
  Using block-contents in the hope that it can apply to all block-level warning templates,
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
+
  with different images applied as backgrounds to the wrapping DIV.
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
 
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
 
  "print". The rules below ensure (a) that there is no extra padding to the right of
 
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
 
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
 
  ~~~~
 
 
*/
 
*/
 +
.block-contents {
 +
    display: block;
 +
    padding-left: 20px;
 +
}
  
.plainlinksneverexpand {
+
/* Template documentation ([[Template:Documentation]]) */
  background: none ! important;
+
.template-documentation {
  padding: 0 ! important;
+
    clear: both;
 +
    margin: 1em 0 0 0;
 +
    border: 1px solid #aaa;
 +
    background-color: #ecfcf4;  
 +
    padding: 5px;
 
}
 
}
  
.plainlinksneverexpand .urlexpansion {
+
/***** 8. SOME OTHER SMALL THINGS *****/
  display: none ! important;
+
 
}
+
/* Give a bit of space to the TOC */
 +
#toc { margin: 1em 0; }
  
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
+
/* make the list of references look smaller and highlight clicked reference in blue */
  the arrow...
+
ol.references { font-size: 100%; }
*/
+
.references-small { font-size: 90%;}
.plainlinksneverexpand a {
+
ol.references > li:target { background-color: #ddeeff; }
  background: none !important;
+
sup.reference:target { background-color: #ddeeff; }
  padding: 0 !important;
 
}
 
  
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
+
/* Printing of thumbnails (bug 1583) */
  following the anchor A, the anchor itself now has class "external autonumber" and the
+
div.tright { clear: right; }
  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 */
+
/* 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;
 +
}
  
.messagebox {
+
/* from [[User:Splarka/Help:Linked images]] */
  border: 1px solid #aaa;
+
.imagelink_wikilogo a {
  background-color: #f9f9f9;
+
  width: 135px;
  width: 80%;
+
  height: 135px;
  margin: 0 auto 1em auto;
+
  display: block;
  padding: .2em;
+
  text-decoration: none;
 +
  background-image: url("http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png")
 
}
 
}
.messagebox.merge {
+
 
  border: 1px solid #c0b8cc;
+
/* Begin copy-paste from the English Wikipedia, 2008-09-15 */
  background-color: #f0e5ff;
+
/* 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: 88%;
 +
  text-align: center;
 +
  padding: 1px;
 
}
 
}
.messagebox.cleanup {
+
table.navbox + table.navbox {
  border: 1px solid #9f9fff;
+
  margin-top: -1px;       /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
  background-color: #efefff;
 
  text-align: center;
 
 
}
 
}
.messagebox.standard-talk {
+
.navbox-title, .navbox-abovebelow, table.navbox th {
  border: 1px solid #c0c090;
+
  text-align:center;      /* title and above/below styles */
  background-color: #f8eaba;
+
  padding-left:1em;
 +
  padding-right:1em;
 
}
 
}
.messagebox.nested-talk {
+
.navbox-group {           /* group style */
  border: 1px solid #c0c090;
+
  white-space: nowrap;
  background-color: #f8eaba;
+
  text-align: right;
  width: 100%;
+
  font-weight: bold;
  margin: 2px 4px 2px 4px;
+
  padding-left: 1em;
 +
  padding-right: 1em;
 
}
 
}
 
+
.navbox, .navbox-subgroup {
/* 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]]. */
+
  background: #fdfdfd;     /* Background color */
.IPA {
 
        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 {
+
.navbox-list {
        font-family: Code2000, "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
+
  border-color: #fdfdfd;   /* Must match background color */
        font-family /**/:inherit;
 
 
}
 
}
.latinx {
+
.navbox-title, table.navbox th {
        font-family: Code2000, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
+
  background: #ccccff;     /* Level 1 color */
        font-family /**/:inherit;
 
 
}
 
}
.polytonic {
+
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
        font-family: Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;  
+
  background: #ddddff;     /* Level 2 color */
        font-family /**/:inherit;
 
 
}
 
}
.mufi {
+
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
        font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
+
  background: #e6e6ff;     /* Level 3 color */
 
}
 
}
 
+
.navbox-even {
#wpSave {
+
   background: #f7f7f7;     /* Even row striping */
   font-weight: bold;
 
 
}
 
}
 
+
.navbox-odd {
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
+
  background: transparent; /* Odd row striping */
.hiddenStructure {
 
  display: inline ! important;
 
  color: #f00;
 
  background-color: #0f0;
 
 
}
 
}
 
+
/* Removes underlines from links */
 
.nounderlines a {
 
  text-decoration: none;
 
}
 
 
 
/* Remove underline from IPA links */
 
.IPA a:link, .IPA a:visited {
 
  text-decoration: none;
 
}
 
 
 
/* Removes useless links from printout */
 
 
@media print {
 
@media print {
     #privacy, #about, #disclaimer {display:none;}
+
     .navbox {
}
+
        display: none;
 
+
    }
#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); }
 
 
 
.messagebox.small-talk {
 
  width: 238px;
 
  font-size: 85%;
 
  float: right;
 
  clear: both;
 
  margin: 0 0 1em 1em;
 
  line-height: 1.25em;
 
  background: #F8EABA;
 
 
}
 
}
  
 
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
+
 
div.Boxmerge,
 
div.Boxmerge,
 
div.NavFrame {
 
div.NavFrame {
        margin: 0px;
+
    margin: 0;
        padding: 2px;
+
    padding: 4px;
        border: 1px solid #aaa;
+
    border: 1px solid #aaa;
        text-align: center;
+
    text-align: center;
        border-collapse: collapse;
+
    border-collapse: collapse;
        font-size: 95%;
+
    font-size: 95%;
 
}
 
}
 
div.Boxmerge div.NavFrame {
 
div.Boxmerge div.NavFrame {
        border-style: none;
+
    border-style: none;
        border-style: hidden;
+
    border-style: hidden;
 
}
 
}
 
div.NavFrame + div.NavFrame {
 
div.NavFrame + div.NavFrame {
        border-top-style: none;
+
    border-top-style: none;
        border-top-style: hidden;
+
    border-top-style: hidden;
 
}
 
}
 
div.NavPic {
 
div.NavPic {
        background-color: #fff;
+
    background-color: #fff;
        margin: 0px;
+
    margin: 0;
        padding: 2px;
+
    padding: 2px;
        float: left;
+
    float: left;
 
}
 
}
 
div.NavFrame div.NavHead {
 
div.NavFrame div.NavHead {
        height: 1.6em;
+
    height: 1.6em;
        font-weight: bold;
+
    font-weight: bold;
        font-size: 100%;
+
    background-color: #ccf;
        background-color: #efefef;
+
    position: relative;
        position:relative;
 
 
}
 
}
 
div.NavFrame p {
 
div.NavFrame p {
        font-size: 100%;
+
    font-size: 100%;
 
}
 
}
 
div.NavFrame div.NavContent {
 
div.NavFrame div.NavContent {
        font-size: 100%;
+
    font-size: 100%;
 
}
 
}
 
div.NavFrame div.NavContent p {
 
div.NavFrame div.NavContent p {
        font-size: 100%;
+
    font-size: 100%;
 
}
 
}
 
div.NavEnd {
 
div.NavEnd {
        margin: 0px;
+
    margin: 0;
        padding: 0px;
+
    padding: 0;
        line-height: 1px;
+
    line-height: 1px;
        clear: both;
+
    clear: both;
 
}
 
}
 
a.NavToggle {
 
a.NavToggle {
        position:absolute;
+
    position: absolute;
        top:0px;
+
    top: 0;
        right:3px;
+
    right: 3px;
        font-weight:normal;
+
    font-weight: normal;
        font-size:smaller;
+
    font-size: 90%;
}
 
 
 
/* Coloured watchlist numbers */
 
.mw-plusminus-pos {
 
  color:darkgreen;
 
}
 
 
 
/* .mw-plusminus-null currently at developer default */
 
 
 
.mw-plusminus-neg {
 
  color:darkred;
 
}
 
 
 
.dablink {
 
  font-style:italic;
 
  padding-left:2em;
 
 
}
 
}
  
/*</nowiki></pre>*/
+
/* End copy-paste from English Wikipedia */

Revision as of 05:59, 30 March 2009

/*
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: #f4f4f4; }
.ns--2 div.thumb { border-color: #f4f4f4; } 

/* NS Project + Project_talk (light sky blue) */
.ns-4 #content, .ns-5 #content { background: #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: #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: #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") 
}

/* Begin copy-paste from the English Wikipedia, 2008-09-15 */
/* default skin for navigation boxes */
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 {
  margin-top: -1px;        /* single pixel border between adjacent navboxes (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 */
}
 
@media print {
    .navbox {
        display: none;
    }
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}

/* End copy-paste from English Wikipedia */