Difference between revisions of "MediaWiki:Common.css"

From OG Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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:
+
'''Notice to Administrators!'''
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 *****/
+
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) */
+
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--2 #content { background: #f4f4f4; }
 
.ns--2 div.thumb { border-color: #f4f4f4; }
 
  
/* NS Project + Project_talk (light sky blue) */
+
Thank you.
.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) */
+
(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-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) */
+
See also the [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
.ns-100 #content, .ns-101 #content { background: #f3f3ff; }
+
{{interwiki-all}}
.ns-100 div.thumb, .ns-101 div.thumb { border-color: #f3f3ff; }  
+
<pre><nowiki>*/
  
/* NS Help (but NOT Help_talk) (blue border and Public Domain icon)  */
+
/* Main page fixes */
.ns-12 #content {  
+
.interwiki-completelist {
  border: 2px solid #0000cc; border-right: none;
+
    font-weight: bold;
  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);
+
/* make the list of references look smaller */
  background-repeat: no-repeat;
+
ol.references {
  background-position: right 5em;
+
  font-size: 100%;
 
}
 
}
  
/***** 2. COLOR CLASSES FOR CONTENT  *****/
+
.references-small { font-size: 90%;}
  
/* Border colors */
+
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
.borderc1 { border-color: #e9e9e9; border-width: thin; }  /* light grey */
+
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
.borderc2 { border-color: #aaaaaa; border-width: thin; }  /* grey (as toc) */
+
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
.borderc3 { border-color: #777777; border-width: thin; }  /* dark grey */
+
/* Please ignore any validator errors caused by these two lines */
.borderc4 { border-color: #000000; border-width: thin; }  /* black */
+
.references-2column {
.borderc5 { border-color: #c00000; border-width: thin; }  /* red */
+
  font-size: 90%;
.borderc6 { border-color: #025e9d; border-width: thin; }  /* blue */
+
  -moz-column-count:2;
.borderc7 { border-color: #008040; border-width: thin; }  /* green */
+
  column-count:2;
.borderc8 { border-color: #ffcc00; border-width: thin; } /* yellow */
+
}
  
/* Background colors */
+
.same-bg { background: none }
.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 *****/
+
/* Highlight clicked reference in blue to help navigation */
  
/* Marking redirects  */
+
ol.references > li:target {
.allpagesredirect, .watchlistredir, .redirect-in-category { font-style: italic; }
+
background-color: #DEF;
 +
}
  
/* Coloured edit size numbers on watchlist/recentchanges */
+
/* wikitable/prettytable class for skinning normal tables */
.mw-plusminus-pos { color: #006400; } /* darkgreen */
 
.mw-plusminus-neg { color: #8b0000; } /* darkred */
 
  
/* Consistent special page navigation */
+
table.wikitable,
.sp-cached {
+
table.prettytable {
   background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Clock%20and%20warning.svg/20px-Clock%20and%20warning.svg);
+
   margin: 1em 1em 1em 0;
  background-position: 5px 3px;
+
   background: #f9f9f9;
   background-repeat: no-repeat;
+
   border: 1px #aaa solid;
  padding: 4px 0 4px 30px;
+
   border-collapse: collapse;
  font-style: italic;
 
  color: #606000;
 
  margin: 0.3em 0;
 
   border: 1px solid #eeee80;
 
   background-color: #ffffe0;
 
 
}
 
}
.SpecialPageInfo {
+
 
  background-color: #f9f9f9;
+
table.wikitable th, table.wikitable td,
  background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png);
+
table.prettytable th, table.prettytable td {
  background-position: 0.8em 0.5em;
+
   border: 1px #aaa solid;
   background-repeat: no-repeat;
+
   padding: 0.2em;
   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 {
+
table.wikitable th,
   background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Exquisite-kfind.png/45px-Exquisite-kfind.png);
+
table.prettytable th {
 +
   background: #f2f2f2;
 +
  text-align: center;
 
}
 
}
  
.mw-viewprevnext {
+
table.wikitable caption,
   display: block;
+
table.prettytable caption {
   border: 1px solid #cccccc;
+
   margin-left: inherit;
   background-color: #f9f9f2;
+
   margin-right: inherit;
  padding: 0.2em 0.4em;
+
   font-weight: bold;
 
}
 
}
  
/* Special:Statistics */
+
/* default skin for navigation boxes */
.StatsTable {
+
table.navbox {
  background: transparent;
+
    background-color: #f9f9f9;
  width: 75%;
+
    border: 1px solid #aaa;
 +
    clear: both;
 +
    font-size: 90%;
 +
    margin: 1em 0em 0em;
 +
    padding: 5px;
 +
    text-align: center;
 +
    width: 100%;
 
}
 
}
.StatsTable th {
+
 
  vertical-align: middle;
+
table.navbox th {
  text-align: center;
+
    background-color: #ccf;
  width: 50px;
+
    padding-left: 1em;
 +
    padding-right: 1em;
 
}
 
}
.StatsTable th, .StatsTable td {
+
 
  background-color: #ffffff;
+
table.navbox tr:not(:first-child) th {
  padding: 0.5em 1em;
+
    background-color: #ddf;
  border: 1px solid #ccccdd;
 
  margin: 0.4em;
 
}
 
.StatsTable tr {
 
  background-color: #ffffff;
 
 
}
 
}
  
/* Special:Search (more whitespace) */
+
@media print {
.page-Special_Search #search {
+
    .navbox {
  padding: 1em 0 2em 0;
+
        display: none;
}
+
    }
.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 *****/
+
/* Infobox template style */
  
#mainpage_topbox {
+
.infobox {
  background: #f9f9f9;  
+
  border: 1px solid #aaa;
  padding: 0px;  
+
  background-color: #f9f9f9;
  border: 1px solid #aaaaaa;  
+
  color: black;
  margin: 0.2em 10px 10px;
+
  margin-bottom: 0.5em;
 +
  margin-left: 1em;
 +
  padding: 0.2em;
 +
  float: right;
 +
  clear: right;
 
}
 
}
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
+
.infobox td,
  font-size: 105%;  
+
.infobox th {
  padding: 0.4em;
+
  vertical-align: top;
  background-color: #eeeeee;
+
  border-bottom: 1px solid #aaaaaa;
 
 
}
 
}
.mainpage_boxtitle {
+
.infobox caption {
  line-height: 120%;
+
  font-size: larger;
 +
  margin-left: inherit;
 
}
 
}
#mainpage_pagetitle {
+
.infobox.bordered {
  color: #cf7606;
+
  border-collapse: collapse;
  font-size: 200% !important;
 
}
 
#mainpage_sitelinks {
 
  padding: 0.2em;
 
  text-align: center;
 
  background-color: white;
 
 
}
 
}
.mainpage_hubtitle {
+
.infobox.bordered td,
  text-align: center;
+
.infobox.bordered th {
 +
  border: 1px solid #aaa;
 
}
 
}
.mainpage_boxcontents, .mainpage_boxcontents_small {
+
.infobox.bordered .borderless td,
  background: #ffffff;
+
.infobox.bordered .borderless th {
  padding:0.2em 0.4em;
+
  border: 0;
 
}
 
}
.mainpage_boxcontents_small {
+
 
  font-size: 95%;
+
.infobox.sisterproject {
 +
  width: 20em;
 +
  font-size: 90%;
 
}
 
}
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
+
 
  padding: 0;
+
@media print {
  border: 1px solid #aaaaaa;
+
    .infobox.sisterproject {
 +
        display: none;
 +
    }
 
}
 
}
.mainpage_hubbox {
+
 
  margin-bottom: 0;
+
/* styles for bordered infobox with merged rows */
 +
.infobox.bordered .mergedtoprow td,
 +
.infobox.bordered .mergedtoprow th {
 +
  border: 0;
 +
  border-top: 1px solid #aaa;
 +
  border-right: 1px solid #aaa;
 
}
 
}
#mainpage_newscell {
+
 
  margin-bottom: 15px;
+
.infobox.bordered .mergedrow td,
  margin-top: 0 !important;
+
.infobox.bordered .mergedrow th {
 +
  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);
+
 
  background-repeat: no-repeat;
+
/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
  background-position: 99% 0.3em;
+
 
  padding-right: 25px;
+
.infobox.geography {
 +
  text-align: left;
 +
  border-collapse: collapse;
 +
  line-height: 1.2em;  
 +
  font-size: 90%;
 
}
 
}
#mainpage_downloadcell {
+
 
  width: 17em;  
+
.infobox.geography  td,
  margin-bottom: 5px;  
+
.infobox.geography  th {
 +
  border-top: solid 1px #aaa;
 +
  padding: 0.4em 0.2em 0.4em 0.8em;
 
}
 
}
#mainpage_downloadcell .mainpage_boxtitle {
+
.infobox.geography .mergedtoprow td,
  background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
+
.infobox.geography .mergedtoprow th {
  background-repeat: no-repeat;
+
  border-top: solid 1px #aaa;
  background-position: 96% 0.33em;
+
  padding: 0.4em 0.2em 0.2em 0.8em;
  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 */
+
.infobox.geography .mergedrow td,
/*languages, so we can style things that apppear on the main page and also elsewhere.*/
+
.infobox.geography .mergedrow th {
.mainpage #lastmod,  
+
      border: 0;
.mainpage #siteSub,
+
      padding: 0 0.2em 0.2em 0.8em;
.mainpage h1.firstHeading {  
 
    display: none !important;  
 
}
 
.mainpage #content {
 
    padding-top: 1em;  
 
 
}
 
}
  
/***** 5. SIDEBAR EXTERNAL LINKS *****/
+
.infobox.geography .mergedbottomrow td,
 +
.infobox.geography .mergedbottomrow th {
 +
  border-top: 0;
 +
  border-bottom: solid 1px #aaa;
 +
  padding: 0 0.2em 0.4em 0.8em;
 +
}
  
#n-browse-cvs a, #n-phpdoc a, #n-Mailing-list a {
+
.infobox.geography .maptable td,
  background: url(/skins-1.5/monobook/external.png) center right no-repeat;
+
.infobox.geography .maptable th {
  padding-right: 13px;
+
      border: 0;
  color: #3366bb;
+
      padding: 0 0 0 0;
 
}
 
}
  
/***** 6. PRETTIFY [[Extension Matrix]] *****/ 
+
/* Style for "notices" */
 +
.notice {
 +
    margin: 1em;
 +
    padding: 0.2em;
 +
}
  
.xm-table {
+
#disambig {
  border: 1px solid #666666;
+
    border-top: 1px solid #ccc;  
  background-color: white;
+
    border-bottom: 1px solid #ccc;
 
}
 
}
.xm-table td, .xm-table th {
+
 
  vertical-align: top;
+
#spoiler {
  text-align: left;
+
    border-top: 2px solid #ddd;
  border: none;
+
    border-bottom:2px solid #ddd;
  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,
+
/* Standard talk template style */
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 *****/
+
.Talk-Notice  {
 +
    border: 1px solid #C0C090;
 +
    background-color: #F8EABA;
 +
    margin-bottom: 3px;
 +
    width: 85%;
 +
    border-spacing: 3px;
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
}
  
/* Wikitable (Prettytable) class for skinning normal tables */
+
.Talk-Notice:after {
table.wikitable,
+
   content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
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 {
+
/* Make template background appear correctly on all browsers */
  border: 1px #aaaaaa solid;
+
.Talk-Notice td {
  padding: 0.2em 0.4em;
+
    background: inherit;
 
}
 
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
+
 
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
+
/* Persondata */
  background: #8da7d6;
+
table.persondata {
  text-align: center;
+
    border: 1px solid #aaa;
 +
    display: none;
 +
    speak: none;
 
}
 
}
table.wikitable td.hl1, table.wikitable th.hl1,
+
.persondata-label {
table.prettytable td.hl1, table.wikitable th.hl1 {
+
    color: #aaa;
  background: #c5d8fc;
 
  text-align: center;
 
 
}
 
}
table.wikitable td.hl2, table.wikitable th.hl2,
+
 
table.prettytable td.hl2, table.wikitable th.hl2 {
+
/* Makes redirects appear in italics on [[Special:Allpages]] */
  background: #a7c1f2;
+
.allpagesredirect {
  text-align: center;
+
    font-style: italic;
 
}
 
}
table.wikitable caption,
+
 
table.prettytable caption {
+
/* Choose whether to have AD/BC dates or CE/BCE dates*/
  margin-left: inherit;
+
 
  margin-right: inherit;
+
/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
  font-weight: bold;
+
.Use_Default_Date_Convention { display: inline; }
 +
.Use_AD_and_BC { display: none; }
 +
.Use_BCE_and_CE { display: none; }
 +
 
 +
/* If you want to display AD and BC add the following to User:You/monobook.css page */
 +
/*
 +
.Use_Default_Date_Convention { display: none; }
 +
.Use_AD_and_BC { display:inline; }
 +
.Use_BCE_and_CE { display:none; }
 +
*/
 +
 
 +
/*If you want to display CE and BCE add the following to User:You/monobook.css page */
 +
/*
 +
.Use_Default_Date_Convention { display: none; }
 +
.Use_AD_and_BC { display:none; }
 +
.Use_BCE_and_CE {display:inline; }
 +
*/
 +
 
 +
/* 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;
 
}
 
}
  
/* General purpose "pretty (data) tables" */
+
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
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.listenlist {
div.sideBox {
+
    background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
  position: relative;
+
    padding-left: 40px;
  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 */
+
div.videolist, div.multivideolist {
.ext-infobox {
+
    background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
  border: 2px solid #aaaaaa;
+
    padding-left: 50px;
  width: 272px;
 
  float: right;
 
  margin: 0 0 0.5em 0.5em;
 
  border-collapse: collapse;  
 
  background-color: white;
 
 
}
 
}
.ext-infobox td {
+
 
  border: 2px none #aaaaaa;
+
/* Style rules for media list templates */
  padding: 0.2em 0.5em;
+
 
  border-bottom: 1px solid #f0f0f0 !important;
+
div.medialist {
 +
    min-height: 50px;
 +
    margin: 1em;
 +
    background-position: top left;
 +
    background-repeat: no-repeat;
 
}
 
}
.ext-header {
+
 
  background-color: #aaaaaa;
+
div.medialist ul {
  color: white;
+
    list-style-type: none;  
  text-align: left;
+
    list-style-image: none;
 +
    margin: 0;
 
}
 
}
.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.medialist ul li {
div.tip {
+
    padding-bottom: 0.5em;
  padding: 4px;
 
  margin-top: 4px;
 
  margin-bottom: 4px;
 
  min-height: 30px; /* IE users will hate this... */
 
 
}
 
}
div.tip-info {
+
 
  border: 1px solid #cc9933;
+
div.medialist ul li li {
  background-color: #cccc99;
+
    font-size: 91%;
 +
    padding-bottom: 0;
 
}
 
}
div.tip-gotcha {
+
 
  border: 1px solid #cc0000;
+
/* Change the external link icon to an Adobe icon for all PDF files */
  background-color: #cc6666;
+
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
 +
#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;
 
}
 
}
  
/* Language template */
+
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
.LanguageLinks { margin-top: 0.5em; }
+
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
.LanguageLinks table {
+
span.PDFlink a {
  clear: both;
+
    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;
  border: 1px solid #aaaaaa;
+
    padding-right: 17px !important;
  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]] */
+
/* Content in columns with CSS instead of tables [[Template:Columns]] */
#DownloadVersionBox {
+
div.columns-2 div.column {
  border: 2px solid black;
+
    float: left;
  border-collapse: collapse;
+
    width: 50%;
  margin: auto;
+
    min-width: 300px;
  width: 50%;
 
  color: black;
 
 
}
 
}
#DownloadVersionBox td {
+
 
  border: 2px solid black;
+
div.columns-3 div.column {
  padding: 20px;
+
    float: left;
 +
    width: 33.3%;
 +
    min-width: 200px;
 
}
 
}
  
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
+
div.columns-4 div.column {
.majorwarning {
+
    float: left;
  background: yellow;  
+
    width: 25%;
  padding: 0.3em;
+
    min-width: 150px;
  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…) */
+
div.columns-5 div.column {
.page-notice, .page-warning {
+
    float: left;
  border-width: 1px;
+
    width: 20%;
  border-style: solid;
+
    min-width: 120px;
  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) */
+
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
.page-notice {
+
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
   background-color: #f9f9f9;
+
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
  border-color: #025e9d;  
+
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
   text-align: left;
+
  "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.
 +
  ~~~~
 +
*/
 +
 
 +
.plainlinksneverexpand {
 +
   background: none ! important;
 +
   padding: 0 ! important;
 
}
 
}
  
/* Warning information at the top of pages  (red) */
+
.plainlinksneverexpand .urlexpansion {
.page-warning {
+
   display: none ! important;
   background-color: #ffffff;
 
  border-color: #c51919;
 
  border-width: 2px;
 
 
}
 
}
.pw-head { color: #c51919; font-weight: bold; }
 
  
/* Used in Template:Notice */
+
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
.block-note {
+
  the arrow...
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
+
*/
    background-position: top left;
+
.plainlinksneverexpand a {
    background-repeat: no-repeat;
+
  background: none !important;
 +
  padding: 0 !important;
 
}
 
}
/*
+
 
   Using block-contents in the hope that it can apply to all block-level warning templates,
+
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   with different images applied as backgrounds to the wrapping DIV.
+
   following the anchor A, the anchor itself now has class "external autonumber" and the
 +
  expansion is inserted when printing (see the common printing style sheet at
 +
  http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
 +
   element of CSS. We have to switch this off for links due to Template:Ref!
 +
  ~~~~
 
*/
 
*/
.block-contents {
+
.plainlinksneverexpand a.external.text:after {
    display: block;
+
  display: none !important;
    padding-left: 20px;
 
 
}
 
}
 
+
.plainlinksneverexpand a.external.autonumber:after {
/* Template documentation ([[Template:Documentation]]) */
+
  display: none !important;
.template-documentation {
 
    clear: both;
 
    margin: 1em 0 0 0;
 
    border: 1px solid #aaa;
 
    background-color: #ecfcf4;
 
    padding: 5px;
 
 
}
 
}
  
/***** 8. SOME OTHER SMALL THINGS *****/
+
/* Messagebox templates */
  
/* Give a bit of space to the TOC */
+
.messagebox {
#toc { margin: 1em 0; }
+
  border: 1px solid #aaa;
 
+
  background-color: #f9f9f9;
/* make the list of references look smaller and highlight clicked reference in blue */
+
  width: 80%;
ol.references { font-size: 100%; }
+
  margin: 0 auto 1em auto;
.references-small { font-size: 90%;}
+
  padding: .2em;
ol.references > li:target { background-color: #ddeeff; }
+
}
sup.reference:target { background-color: #ddeeff; }
+
.messagebox.merge {
 
+
  border: 1px solid #c0b8cc;
/* Printing of thumbnails (bug 1583) */
+
  background-color: #f0e5ff;
div.tright { clear: right; }
+
  text-align: center;
 
+
}
/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */
+
.messagebox.cleanup {
.my-buttons { padding: 0.5em; }
+
  border: 1px solid #9f9fff;
.my-buttons a {
+
  background-color: #efefff;
  color: black;
+
  text-align: center;
  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")
 
 
}
 
}
 
+
.messagebox.standard-talk {
/* Begin copy-paste from the English Wikipedia, 2008-09-15 */
+
  border: 1px solid #c0c090;
/* default skin for navigation boxes */
+
  background-color: #f8eaba;
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 {
+
.messagebox.nested-talk {
  margin-top: -1px;       /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
+
  border: 1px solid #c0c090;
 +
  background-color: #f8eaba;
 +
  width: 100%;
 +
  margin: 2px 4px 2px 4px;
 
}
 
}
.navbox-title, .navbox-abovebelow, table.navbox th {
+
 
  text-align:center;      /* title and above/below styles */
+
/* 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]]. */
  padding-left:1em;
+
.IPA {
  padding-right:1em;
+
        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;
 
}
 
}
.navbox-group {           /* group style */
+
.Unicode {
  white-space: nowrap;
+
        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";
  text-align: right;
+
        font-family /**/:inherit;
  font-weight: bold;
 
  padding-left: 1em;
 
  padding-right: 1em;
 
 
}
 
}
.navbox, .navbox-subgroup {
+
.latinx {
  background: #fdfdfd;     /* Background color */
+
        font-family: Code2000, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
 +
        font-family /**/:inherit;
 
}
 
}
.navbox-list {
+
.polytonic {
  border-color: #fdfdfd;   /* Must match background color */
+
        font-family: Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;  
 +
        font-family /**/:inherit;
 
}
 
}
.navbox-title, table.navbox th {
+
.mufi {
  background: #ccccff;     /* Level 1 color */
+
        font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
 
}
 
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
+
 
   background: #ddddff;     /* Level 2 color */
+
#wpSave {
 +
   font-weight: bold;
 
}
 
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
+
 
  background: #e6e6ff;     /* Level 3 color */
+
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
 +
.hiddenStructure {
 +
  display: inline ! important;
 +
  color: #f00;
 +
  background-color: #0f0;
 
}
 
}
.navbox-even {
+
 
   background: #f7f7f7;     /* Even row striping */
+
/* Removes underlines from links */
 +
.nounderlines a {  
 +
   text-decoration: none;
 
}
 
}
.navbox-odd {
+
 
   background: transparent; /* Odd row striping */
+
/* Remove underline from IPA links */
 +
.IPA a:link, .IPA a:visited {
 +
   text-decoration: none;
 
}
 
}
+
 
 +
/* Removes useless links from printout */
 
@media print {
 
@media print {
     .navbox {
+
     #privacy, #about, #disclaimer {display:none;}
        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: 0;
+
        margin: 0px;
    padding: 4px;
+
        padding: 2px;
    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: 0;
+
        margin: 0px;
    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;
    background-color: #ccf;
+
        font-size: 100%;
    position: relative;
+
        background-color: #efefef;
 +
        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: 0;
+
        margin: 0px;
    padding: 0;
+
        padding: 0px;
    line-height: 1px;
+
        line-height: 1px;
    clear: both;
+
        clear: both;
 
}
 
}
 
a.NavToggle {
 
a.NavToggle {
    position: absolute;
+
        position:absolute;
    top: 0;
+
        top:0px;
    right: 3px;
+
        right:3px;
     font-weight: normal;
+
        font-weight:normal;
     font-size: 90%;
+
        font-size:smaller;
 +
}
 +
 
 +
/* 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;
 +
}
 +
 
 +
.collapseButton {        /* 'show'/'hide' buttons created dynamically by the        */
 +
    float: right;        /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
 +
     font-weight: normal; /* are styled here so they can be customised.              */
 +
     text-align: right;
 +
    width: auto;
 
}
 
}
  
/* End copy-paste from English Wikipedia */
+
 
 +
/*</nowiki></pre>*/

Latest revision as of 06:13, 30 March 2009

/* 

'''Common [[Cascading Style Sheets|CSS]] for all skins''' 

'''Notice to Administrators!'''

Any changes to [[Mediawiki:Monobook.css|Monobook.css]] or [[MediaWiki:Common.css|Common.css]] should be first proposed to [[Wikipedia:Village Pump]].  

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.

Thank you.

(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.)

See also the [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
{{interwiki-all}}
<pre><nowiki>*/

/* Main page fixes */
.interwiki-completelist {
    font-weight: bold;
}

/* make the list of references look smaller */
ol.references {
   font-size: 100%;
}

.references-small { font-size: 90%;}

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -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 }

/* Highlight clicked reference in blue to help navigation */

ol.references > li:target {
 background-color: #DEF;
}

/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 5px;
    text-align: center;
    width: 100%;
}

table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}

table.navbox tr:not(:first-child) th {
    background-color: #ddf;
}

@media print {
    .navbox {
        display: none;
    }
}

/* Infobox template style */

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

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}

@media print {
    .infobox.sisterproject {
        display: none;
    }
}

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

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaa;
}


/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */

.infobox.geography {
   text-align: left;
   border-collapse: collapse;
   line-height: 1.2em; 
   font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
   border-top: solid 1px #aaa;
   padding: 0.4em 0.2em 0.4em 0.8em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
   border-top: solid 1px #aaa;
   padding: 0.4em 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
      border: 0;
      padding: 0 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
   border-top: 0;
   border-bottom: solid 1px #aaa;
   padding: 0 0.2em 0.4em 0.8em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
      border: 0;
      padding: 0 0 0 0;
}

/* Style for "notices" */
.notice {
    margin: 1em;
    padding: 0.2em;
}

#disambig {
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc;
}

#spoiler {
    border-top: 2px solid #ddd;
    border-bottom:2px solid #ddd;
}

/* Standard talk template style */

.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

.Talk-Notice:after {
  content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
}

/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
}

/* Persondata */
table.persondata {
    border: 1px solid #aaa;
    display: none;
    speak: none;
}
.persondata-label {
    color: #aaa;
}

/* Makes redirects appear in italics on [[Special:Allpages]] */
.allpagesredirect {
    font-style: italic;
}

/* Choose whether to have AD/BC dates or CE/BCE dates*/

/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }

/* If you want to display AD and BC add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:inline; }
.Use_BCE_and_CE { display:none; }
*/

/*If you want to display CE and BCE add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:none; }
.Use_BCE_and_CE {display:inline; }
*/

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

/* Icons for medialist templates [[Template:Listen]], [[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;
}

div.videolist, div.multivideolist {
    background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
    padding-left: 50px;
}

/* Style rules for media list templates */

div.medialist {
    min-height: 50px;
    margin: 1em;
    background-position: top left;
    background-repeat: no-repeat;
}

div.medialist ul {
    list-style-type: none; 
    list-style-image: none;
    margin: 0;
}

div.medialist ul li {
    padding-bottom: 0.5em;
}

div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}

/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#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 */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
    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-right: 17px !important;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
    float: left;
    width: 50%;
    min-width: 300px;
}

div.columns-3 div.column {
    float: left;
    width: 33.3%;
    min-width: 200px;
}

div.columns-4 div.column {
    float: left;
    width: 25%;
    min-width: 150px;
}

div.columns-5 div.column {
    float: left;
    width: 20%;
    min-width: 120px;
}

/*Add formatting to make sure that "external references" from [[Template:Ref]] do
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
  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.
  ~~~~
*/

.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
  display: none ! important;
}

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
.plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important;
}

/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   following the anchor A, the anchor itself now has class "external autonumber" and the
   expansion is inserted when printing (see the common printing style sheet at
   http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
   element of CSS. We have to switch this off for links due to Template:Ref!
   ~~~~
*/
.plainlinksneverexpand a.external.text:after {
  display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
  display: none !important;
}

/* Messagebox templates */

.messagebox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
}
.messagebox.merge {
   border: 1px solid #c0b8cc;
   background-color: #f0e5ff;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}
.messagebox.nested-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
   width: 100%;
   margin: 2px 4px 2px 4px;
}

/* 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]]. */
.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 {
        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";
        font-family /**/:inherit;
}
.latinx {
        font-family: Code2000, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
        font-family /**/:inherit;
}
.polytonic {
        font-family: Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000; 
        font-family /**/:inherit;
}
.mufi {
        font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
}

#wpSave {
  font-weight: bold;
}

/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.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 {
    #privacy, #about, #disclaimer {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]]. */

div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        font-size: 100%;
        background-color: #efefef;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}

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

.collapseButton {         /* 'show'/'hide' buttons created dynamically by the        */
    float: right;         /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* are styled here so they can be customised.              */
    text-align: right;
    width: auto;
}


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