“MediaWiki:Common.css”的版本间的差异

来自汉服百科
跳转至: 导航搜索
第1行: 第1行:
/*  所有皮肤的公共CSS */
+
/* Default styling for HTML elements */
 +
dfn {
 +
    font-style: inherit; /* Reset default styling for <dfn> */
 +
}
 +
sup, sub {
 +
    line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
 +
}
 +
 
 +
/* Main page fixes */
 +
#interwiki-completelist {
 +
    font-weight: bold;
 +
}
 +
body.page-Main_Page #ca-delete {
 +
    display: none !important;
 +
}
 +
body.page-Main_Page #mp-topbanner {
 +
    clear: both;
 +
}
 +
body.page-Main_Page .wbc-editpage {
 +
    display: none;
 +
}
  
/* 管理员注意!任何对Common.css的改变必须先在技术客栈讨论,谢谢。 */
+
/* Edit window toolbar */
 +
#toolbar {
 +
    height: 22px;
 +
    margin-bottom: 6px;
 +
}
  
/* 用于首页 */
+
/* Make the list of references smaller */
/* 首页不显示红链 */
+
ol.references,
body.ns-4.page-Wikipedia_首页 a.new {
+
div.reflist,
     color: inherit;
+
div.refbegin {
 +
    font-size: 90%;            /* Default font-size */
 +
    margin-bottom: 0.5em;
 +
}
 +
div.refbegin-100 {
 +
    font-size: 100%;          /* Option for normal fontsize in {{refbegin}} */
 +
}
 +
div.reflist ol.references {
 +
    font-size: 100%;          /* Reset font-size when nested in div.reflist */
 +
     list-style-type: inherit; /* Enable custom list style types */
 
}
 
}
  
#interwiki-completelist {
+
/* Highlight clicked reference in blue to help navigation */
     font-weight: bold;
+
ol.references li:target,
 +
sup.reference:target,
 +
span.citation:target {
 +
    background-color: #DEF;
 +
}
 +
 
 +
/* Ensure refs in table headers and the like aren't bold or italic */
 +
sup.reference {
 +
     font-weight: normal;
 +
    font-style: normal;
 
}
 
}
  
/* 用于一些特殊的不需要标题栏的页面 */
+
/* Allow hidden ref errors to be shown by user CSS */
body.ns-4.page-Wikipedia_頁面存廢討論_疑似侵權 #wpSummaryLabel,
+
span.brokenref {
body.ns-4.page-Wikipedia_頁面存廢討論_疑似侵權 #wpSummary,
+
     display: none;
body.ns-4.page-Wikipedia_关注度_提报 #wpSummaryLabel,
 
body.ns-4.page-Wikipedia_关注度_提报 #wpSummary {
 
     display: none !important;
 
 
}
 
}
  
/*
+
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
== 参考区 ==
+
.citation {
*/
+
    word-wrap: break-word;
 +
}
  
/* make the list of references look smaller */
+
/* Styling for the title of any work within a citation,
ol.references {
+
  or specifically the title of a periodical. */
  font-size: 100%;
+
.citation cite,
 +
.citation cite.periodical {
 +
    font-style: italic;
 
}
 
}
  
.references-small { font-size: 90%;}
+
/* For linked citation numbers and document IDs, where
 +
  the number need not be shown on a screen or a handheld,
 +
  but should be included in the printed version */
 +
@media screen, handheld {
 +
    .citation *.printonly {
 +
        display: none;
 +
    }
 +
}
  
/* Prevent line breaks in silly places:
+
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
  1) Where desired
+
.flowlist ul {
  2) Links when we don't want them to
+
    overflow-x: hidden;
  3) Bold "links" to the page itself
+
    margin-left: 0em;
  4) HTML formulae
+
    padding-left: 1.6em;
  5) Ref tags with group names <ref group="Note"> --> "[Note 1]"
+
}
*/
+
.flowlist ol {
.nowrap,
+
    overflow-x: hidden;
.nowraplinks a,
+
    margin-left: 0em;
.nowraplinks .selflink,
+
    padding-left: 3.2em;
span.texhtml,
+
}
sup.reference a {
+
.flowlist dl {
     white-space: nowrap;
+
     overflow-x: hidden;
 
}
 
}
  
/* Style for horizontal lists (separator following item) */
+
/* Style for horizontal lists (separator following item).
 +
  Note: hlist formatting will break if the resulting HTML lacks a breakable character
 +
  between list items. This happens when the following conditions are true:
 +
  1) The list is made using wiki markup (where HTML is built by parser.php)
 +
  2) HTMLTidy is disabled or unavailable (such as on Special: pages)
 +
  In such cases, building lists with .hlist using HTML instead of wiki markup
 +
  will work around this problem. See also [[Bugzilla:39617]].
 +
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
 +
  Last updated: January 24, 2013
 +
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
 +
  @maintainer: [[User:Edokter]]
 +
  @revision: 3.1
 +
*/
 
.skin-monobook .hlist dl,
 
.skin-monobook .hlist dl,
 
.skin-modern .hlist dl,
 
.skin-modern .hlist dl,
第57行: 第118行:
 
.hlist ul {
 
.hlist ul {
 
     margin: 0;
 
     margin: 0;
 +
    padding: 0;
 
}
 
}
 +
/* Display list items inline and make them nowrap */
 
.hlist dd,
 
.hlist dd,
 
.hlist dt,
 
.hlist dt,
 
.hlist li {
 
.hlist li {
 +
    margin: 0;
 
     display: inline;
 
     display: inline;
     margin: 0;
+
     white-space: nowrap;
 +
}
 +
/* Allow wrapping for list items (in tight spaces) */
 +
.hlist.hwrap dd,
 +
.hlist.hwrap dt,
 +
.hlist.hwrap li {
 +
    white-space: normal;
 
}
 
}
/* Display nested lists inline */
+
/* Display nested lists inline and allow them to wrap */
.hlist dl dl,
+
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol ol,
+
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul ul {
+
.hlist ul dl, .hlist ul ol, .hlist ul ul {
 
     display: inline;
 
     display: inline;
 +
    white-space: normal;
 
}
 
}
 
/* Generate interpuncts */
 
/* Generate interpuncts */
 
.hlist dt:after {
 
.hlist dt:after {
     content: " :";
+
     content: ":";
 
}
 
}
 
.hlist dd:after,
 
.hlist dd:after,
第84行: 第155行:
 
     content: none;
 
     content: none;
 
}
 
}
/* for IE 8 */
+
/* For IE8 */
.hlist dd.nopunct:after,
+
.hlist dd.hlist-last-child:after,
.hlist dt.nopunct:after,
+
.hlist dt.hlist-last-child:after,
.hlist li.nopunct:after {
+
.hlist li.hlist-last-child:after {
 
     content: none;
 
     content: none;
 
}
 
}
/* Add parens around nested lists */
+
/* Add parentheses around nested lists */
.hlist dl dl:before,
+
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist ol ol:before,
+
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist ul ul:before {
+
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
 
     content: "(";
 
     content: "(";
 +
    font-weight: normal;
 
}
 
}
.hlist dl dl:after,
+
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist ol ol:after,
+
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist ul ul:after {
+
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
 
     content: ")";
 
     content: ")";
 +
    font-weight: normal;
 
}
 
}
/* Put numbers in ordered lists */
+
/* For IE8 */
.hlist.hnum ol li {
+
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
     counter-increment: level1;
+
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
 +
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
 +
     content: ")";
 +
    font-weight: normal;
 
}
 
}
.hlist.hnum ol li:before {
+
/* Put numbers in front of ordered list items */
     content: counter(level1) " ";
+
.hlist.hnum ol {
 +
     counter-reset: list-item;
 
}
 
}
.hlist.hnum ol ol li {
+
.hlist.hnum ol > li {
     counter-increment: level2;
+
     counter-increment: list-item;
 
}
 
}
.hlist.hnum ol ol li:before {
+
.hlist.hnum ol > li:before {
     content: counter(level2) " ";
+
    content: counter(list-item) " ";
 +
}
 +
.hlist.hnum dd ol > li:first-child:before,
 +
.hlist.hnum dt ol > li:first-child:before,
 +
.hlist.hnum li ol > li:first-child:before {
 +
     content: "(" counter(list-item) " ";
 
}
 
}
  
第123行: 第205行:
 
.plainlist ul li {
 
.plainlist ul li {
 
     margin-bottom: 0;
 
     margin-bottom: 0;
}
 
 
/* 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 }
 
 
ol.references > li:target,
 
sup.reference:target,
 
cite:target {
 
  background-color: #DDEEFF;
 
}
 
/*
 
 
== 提示 ==
 
 
*/
 
/* Style for "notices" */
 
.notice {
 
    text-align: justify;
 
    margin: 1em;
 
    padding: 0.2em;
 
}
 
 
#disambig {
 
    border-top: 3px double #cccccc;
 
    border-bottom: 3px double #cccccc;
 
}
 
 
#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: 80%;
 
    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;
 
}
 
 
/*
 
== 未归类 ==
 
 
*/
 
 
/* 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("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.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("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
 
    padding-left: 40px;
 
}
 
 
div.videolist {
 
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Video.svg/40px-Video.svg.png");
 
    padding-left: 50px;
 
}
 
 
div.multivideolist {
 
    background: url("//upload.wikimedia.org/wikipedia/en/thumb/7/7a/FilmRoll-small.png/40px-FilmRoll-small.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;
 
}
 
 
/*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;
 
}
 
 
/* Infobox template style */
 
 
.infobox {
 
  border: 1px solid #aaaaaa;
 
  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;
 
}
 
.infobox.bordered {
 
  border-collapse: collapse;
 
}
 
.infobox.bordered td,
 
.infobox.bordered th {
 
  border: 1px solid #aaaaaa;
 
}
 
.infobox.bordered .borderless td,
 
.infobox.bordered .borderless th {
 
  border: 0;
 
}
 
 
.infobox.sisterproject {
 
  width: 20em;
 
  font-size: 90%;
 
}
 
 
/* styles for bordered infobox with merged rows */
 
.infobox.bordered .mergedtoprow td,
 
.infobox.bordered .mergedtoprow th {
 
  border: 0;
 
  border-top: 1px solid #aaaaaa;
 
  border-right: 1px solid #aaaaaa;
 
}
 
 
.infobox.bordered .mergedrow td,
 
.infobox.bordered .mergedrow th {
 
  border: 0;
 
  border-right: 1px solid #aaaaaa;
 
}
 
 
 
/* 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 #aaaaaa;
 
  padding: 0.4em 0.6em 0.4em 0.6em;
 
}
 
.infobox.geography .mergedtoprow td,
 
.infobox.geography .mergedtoprow th {
 
  border-top: solid 1px #aaaaaa;
 
  padding: 0.4em 0.6em 0.2em 0.6em;
 
}
 
 
.infobox.geography .mergedrow td,
 
.infobox.geography .mergedrow th {
 
      border: 0;
 
      padding: 0 0.6em 0.2em 0.6em;
 
}
 
 
.infobox.geography .mergedbottomrow td,
 
.infobox.geography .mergedbottomrow th {
 
  border-top: 0;
 
  border-bottom: solid 1px #aaaaaa;
 
  padding: 0 0.6em 0.4em 0.6em;
 
}
 
 
.infobox.geography .maptable td,
 
.infobox.geography .maptable th {
 
      border: 0;
 
      padding: 0;
 
}
 
 
#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;
 
}
 
 
/* CSS for testing a new Main Page design, see [[Wikipedia:WikiProject Usability/Main Page]] */
 
 
#EnWpMainPage { width: 100%; margin-top: 1em; }
 
#EnWpMpMargin { margin-right: 13.8em; }
 
#EnWpMpCol1 { float: left; clear: left; width: 50%; }
 
#EnWpMpCol2 { width: 49.9%; float: left; }
 
#EnWpMpBrowse { background: #f8fcff url(//upload.wikimedia.org/wikipedia/en/9/9f/MP-three-books.png) no-repeat 180% 9%; border: 1px solid #c7c7c7; }
 
#EnWpMpBrowseCats li { font-size: 85%; margin-left: 1em; line-height: 1.5; }
 
#EnWpMpBrowseCats h3 { font-size: 120%; margin: .2em 0 .1em -.8em; padding: 0; font-weight: normal; }
 
#EnWpMpBrowseCats h3 a { font-weight: bold; }
 
#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
 
#EnWpMpFeaturedPic { text-align: center; margin: 0 0 .5em; font-size: 85%; font-weight: bold; }
 
.EnWpMpBrowseRight { float: right; width: 12.7em; }
 
.EnWpMpBrowseBottom { margin: 1em 0; }
 
.EnWpMpBrowseBottom #EnWpMpBrowseCats li, .EnWpMpBrowseBottom #EnWpMpUsefulLinks, .EnWpMpBrowseBottom #EnWpMpFeaturedPic { float: left; width: 24%; margin: 0; line-height: normal; }
 
.EnWpMpBrowseBottom #EnWpMpBrowseCats h3 { margin-left: 0; }
 
#EnWpMpUsefulLinks { clear: left; }
 
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; }
 
#EnWpMpSearch input { vertical-align: middle; }
 
#EnWpMpSearchInner { float: right; width: 20em; text-align: center; }
 
#bodySearchMP { margin: 0; padding: 0; }
 
#bodySearchMP .bodySearchWrap { float: right; width: 17.5em; text-align: left; padding: .8em 0; }
 
#bodySearchMP label { display: block; font-size: 95%; font-weight: bold; margin-bottom: -.2em; }
 
#bodySearchMP .bodySearchBtnGo { font-weight: bold; padding-left: .3em; padding-right: .3em; margin-left: .5em; }
 
.EnWpMpContentBox { border: 1px solid; margin-bottom: .9em; }
 
#EnWpMpCol2 .EnWpMpContentBox { margin-left: .9em; }
 
.EnWpMpImage { float: right; margin: 0 0 .2em .2em; }
 
.EnWpMpImage img { position: relative; z-index: 3; }
 
#EnWpMpSisterProjects { float: left; width: 49%; }
 
.EnWpMpSisterProject { float: left; width: 17em; margin: 0; height: 5.5em; margin: 0; }
 
.EnWpMpSisterImg { float: left; width: 40px; height: 100%; }
 
#EnWpMpOtherLangs { margin-left: 50%; }
 
#EnWpMainPageNoCSS { display: none; }
 
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }
 
#EnWpMpSearch2 { background: url(//upload.wikimedia.org/wikipedia/en/3/3a/MP-magnifying-glass2.png) no-repeat top right; }
 
 
/* Custom link colors for use in [[MediaWiki:Edittools]] */
 
.charboxblack a:link, .charboxblack a:hover, .charboxblack a:visited, .charboxblack a:active { color: black; }
 
.charboxsilver a:link, .charboxsilver a:hover, .charboxsilver a:visited, .charboxsilver a:active { color: silver; }
 
.charboxgray a:link, .charboxgray a:hover, .charboxgray a:visited, .charboxgray a:active { color: gray; }
 
.charboxwhite a:link, .charboxwhite a:hover, .charboxwhite a:visited, .charboxwhite a:active { color: white; }
 
.charboxmaroon a:link, .charboxmaroon a:hover, .charboxmaroon a:visited, .charboxmaroon a:active { color: maroon; }
 
.charboxred a:link, .charboxred a:hover, .charboxred a:visited, .charboxred a:active { color: red; }
 
.charboxpurple a:link, .charboxpurple a:hover, .charboxpurple a:visited, .charboxpurple a:active { color: purple; }
 
.charboxfuchsia a:link, .charboxfuchsia a:hover, .charboxfuchsia a:visited, .charboxfuchsia a:active { color: fuchsia; }
 
 
.charboxgreen a:link, .charboxgreen a:hover, .charboxgreen a:visited, .charboxgreen a:active { color: green; }
 
.charboxlime a:link, .charboxlime a:hover, .charboxlime a:visited, .charboxlime a:active { color: lime; }
 
.charboxolive a:link, .charboxolive a:hover, .charboxolive a:visited, .charboxolive a:active { color: olive; }
 
.charboxyellow a:link, .charboxyellow a:hover, .charboxyellow a:visited, .charboxyellow a:active { color: yellow; }
 
 
.charboxnavy a:link, .charboxnavy a:hover, .charboxnavy a:visited, .charboxnavy a:active { color: navy; }
 
.charboxblue a:link, .charboxblue a:hover, .charboxblue a:visited, .charboxblue a:active { color: blue; }
 
.charboxteal a:link, .charboxteal a:hover, .charboxteal a:visited, .charboxteal a:active { color: teal; }
 
.charboxaqua a:link, .charboxaqua a:hover, .charboxaqua a:visited, .charboxaqua a:active { color: aqua; }
 
 
/* custom edits */
 
.allpagesredirect a:link { color:#0066ff;}
 
 
/* 维基共享资源图像巡视格式 */
 
 
  /* 链接 */
 
  .tickerDiffLink { } /* diff links in ticker */
 
  .tickerMiscLink { } /* misc links in ticker */
 
 
  /* 去除引点 */
 
  .tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;  text-align:left; }
 
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }
 
 
  /* 各种记录格式 */
 
  .tickerEntry_deleted    { }  /* 图像删除记录 */
 
  .tickerEntry_replaced    { }  /* 图像替换记录 */
 
  .tickerEntry_tagged      { }  /* 加上或删去问题模板的图像记录 */
 
  .tickerEntry_redir      { }  /* 图像重新定向记录 */
 
  .tickerEntry_recat      { }  /* 图像重新分类记录 */
 
  .tickerEntry_notify      { }  /* 全界的更改记录 */
 
  .tickerEntry_changed    { }  /* 一般的更改记录 */
 
 
  /* 各种行为格式 */
 
  .tickerAction_deleted:before    { content:"(×)"; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; background: pink; }
 
  .tickerAction_replaced:before    { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }
 
  .tickerAction_addedBad:before    { content:" +VfD "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
 
  .tickerAction_removedBad:before  { content:" -VfD "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
 
  .tickerAction_addedGood:before  { content:" +OK  "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
 
  .tickerAction_removedGood:before { content:" -OK  "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
 
 
  /* 巡视功能使用列表 */
 
  .tickerUsage  { font-size:80%; }
 
 
  /* 每次记录应用用于多数图像的模板 */
 
  .tickerTemplateEntry    { font-weight: bold; }
 
 
  /* 每次记录应用次要记录---应用模板的某图像 */
 
  .tickerSubEntry        { }
 
 
  /* 次要记录格式 */
 
  .tickerMinorEntry  { color:#666; }    /* minor entry */
 
  .tickerMinorEntry a,
 
  .tickerMinorEntry a:link,
 
  .tickerMinorEntry a:visited { color:#669; }
 
  #bodyContent .tickerMinorEntry a.extiw,
 
  #bodyContent .tickerMinorEntry a.extiw:link,
 
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }
 
 
/*
 
 
== 未归类 ==
 
 
*/
 
 
/* Class styles */
 
 
/* .toccolours added here because version in
 
  monobook/main.css wasn't being used by the print style */
 
.toccolours {
 
  border:1px solid #aaaaaa;
 
  background-color:#f9f9f9;
 
  padding:5px;
 
  font-size: 95%;
 
}
 
 
/* Remove padding from external links displayed without icon */
 
#bodyContent .plainlinks a {padding: 0 !important}
 
 
#p-nav h5 {
 
  display: none;
 
}
 
 
.portlet a {
 
  text-decoration: none;
 
}
 
 
.portlet a:hover {
 
  text-decoration: underline;
 
}
 
 
#p-nav .pBody {
 
  padding-right: 0;
 
}
 
 
#p-nav a {
 
  display: block;
 
  width: 100%;
 
}
 
 
/* Special characters list below edit window works better without underlining */
 
#editpage-specialchars a { text-decoration: none; }
 
#editpage-specialchars a:hover { text-decoration: underline; }
 
 
/* If you don't want to see special characters list at all,
 
  put the following line in your User:You/monobook.css file
 
  (and remove the slash-asterisk comments) */
 
/* #editpage-specialchars { display: none; } */
 
 
/* Makes the background of a framed image white instead of gray. */
 
/* Only visible with transparent images. */
 
/* See #Framed_image_background_color */
 
div.thumb div a img {
 
    background-color:#f9f9f9;
 
}
 
 
/* Put a checker background at the image description page only visible if the image has transparent background */
 
 
#file img {background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}
 
 
/* To position the spoken article link at the top of page
 
Commented out while sitenotice present */
 
 
#spoken {
 
  position: absolute;
 
  float: right;
 
  text-align: right;
 
  font-size: 90%;
 
  right: 0;
 
  z-index: 1;
 
  background: none;
 
  border-bottom-style: none;
 
  top: -2.2em;
 
  display: block !important;
 
}
 
 
/* try adding here, this had no effect in [[MediaWiki:Common.css]] */
 
.plainlinksneverexpand a.external.text:after {
 
display: none !important
 
}
 
 
/*
 
 
== 折叠效果 ==
 
 
*/
 
/* Standard Navigationsleisten.*/
 
 
div.Boxmerge,
 
div.NavFrame {
 
        margin: 0px;
 
        padding: 2px;
 
        border: 1px solid #aaaaaa;
 
        border-collapse: collapse;
 
        font-size: 95%;
 
}
 
div.Boxmerge div.NavFrame {
 
        border-style: none;
 
        border-style: hidden;
 
}
 
div.NavFrame + div.NavFrame,
 
div.NavFrame + table.collapsible,
 
table.collapsible + div.NavFrame,
 
table.collapsible + table.collapsible {
 
        border-top-style: none;
 
        border-top-style: hidden;
 
}
 
div.NavPic {
 
        background-color: #ffffff;
 
        margin: 0px;
 
        padding: 2px;
 
        float: left;
 
}
 
div.NavFrame div.NavHead {
 
        min-height: 1.6em;
 
        font-weight: bold;
 
        font-size: 100%;
 
        text-align: center;
 
        background-color: #efefef;
 
        cursor:pointer;
 
}
 
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;
 
}
 
span.NavToggle {
 
        float: right;
 
        /*保证在禁用JS状态下不显示提示,使用hidden以保证在navbox标题能占有宽度*/
 
        visibility: hidden;
 
        text-align: right;
 
        font-weight: normal;
 
        font-size: 80%;
 
}
 
 
/* Hatnotes and disambiguation notices */
 
.rellink /*,
 
.dablink */ {
 
    /* font-style: italic; */
 
    /* @noflip */
 
    padding-left: 1.6em;
 
    margin-bottom: 0.5em;
 
}
 
.rellink i /*,
 
.dablink i */ {
 
    font-style: normal;
 
}
 
 
/*
 
==地理坐标==
 
 
Geographical coordinates defaults. See [[Template:Coord/link]]
 
  for how these are used. The classes "geo", "longitude", and
 
  "latitude" are used by the [[Geo microformat]].
 
*/
 
.geo-default, .geo-dms, .geo-dec  { display: inline; }
 
.geo-nondefault, .geo-multi-punct { display: none; }
 
.longitude, .latitude            { white-space: nowrap; }
 
 
 
/*
 
 
== 未归类 ==
 
 
*/
 
/* Do not expand kvaleberg.com-URLs for printing
 
#content span.coordinates a.external.text:after, #content span.coordinates a.external.autonumber:after {
 
    content: "";
 
}
 
*/
 
 
/* Formatierung betrifft Vorlagen: Geokoordinate, Koordinate2 & Koordinate3
 
#coordinates {
 
    font-size: 10.5px;
 
}
 
*/
 
 
/* kleines Globus-Symbol neben der Geookordinate anzeigen
 
#coordinates a[href ^="http://"] {
 
    background: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Gnome-globe.png) center right no-repeat; padding-right: 18px !important;
 
}
 
*/
 
 
/* custom edits */
 
/* 分类框高度 */
 
#catlinks {
 
border: 1px solid #aaa;
 
background-color: #f9f9f9;
 
padding: 5px;
 
margin-top: 1em;
 
clear: both;
 
 
}
 
}
  
第721行: 第210行:
 
.navbox {                    /* Navbox container style */
 
.navbox {                    /* Navbox container style */
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
     width: 100%;  
+
     width: 100%;
 
     margin: auto;
 
     margin: auto;
 
     clear: both;
 
     clear: both;
第732行: 第221行:
 
     width: 100%;
 
     width: 100%;
 
}
 
}
.navbox th,
+
.navbox-group,
 
.navbox-title,
 
.navbox-title,
 
.navbox-abovebelow {
 
.navbox-abovebelow {
     text-align: center;       /* Title and above/below styles */
+
     padding: 0.25em 1em;     /* Title, group and above/below styles */
     padding-left: 1em;
+
     line-height: 1.5em;
     padding-right: 1em;
+
     text-align: center;
 
}
 
}
 
th.navbox-group {            /* Group style */
 
th.navbox-group {            /* Group style */
第749行: 第238行:
 
}
 
}
 
.navbox-list {
 
.navbox-list {
 +
    line-height: 1.8em;
 
     border-color: #fdfdfd;    /* Must match background color */
 
     border-color: #fdfdfd;    /* Must match background color */
 
}
 
}
第780行: 第270行:
 
.navbox td.hlist ul {
 
.navbox td.hlist ul {
 
     padding: 0.125em 0;      /* Adjust hlist padding in navboxes */
 
     padding: 0.125em 0;      /* Adjust hlist padding in navboxes */
}
 
.navbox .hlist dd,
 
.navbox .hlist dt,
 
.navbox .hlist li {
 
    white-space: nowrap;      /* Nowrap list items in navboxes */
 
    white-space: normal !ie;  /* IE < 8 no-wraps entire list, so disable it */
 
}
 
.navbox .hlist dd dl,
 
.navbox .hlist dt dl,
 
.navbox .hlist li ol,
 
.navbox .hlist li ul {
 
    white-space: normal;      /* But allow parent list items to be wrapped */
 
 
}
 
}
 
ol + table.navbox,
 
ol + table.navbox,
第801行: 第279行:
 
.navbar {
 
.navbar {
 
     display: inline;
 
     display: inline;
     font-size: 80%;
+
     font-size: 88%;
 
     font-weight: normal;
 
     font-weight: normal;
 
}
 
}
第811行: 第289行:
 
     word-spacing: -0.125em;
 
     word-spacing: -0.125em;
 
}
 
}
/* Navbar styling when nested in navbox */
+
.navbar.mini li span {
 +
  font-variant: small-caps;
 +
}
 +
/* Navbar styling when nested in infobox and navbox */
 +
.infobox .navbar {
 +
    font-size: 100%;
 +
}
 
.navbox .navbar {
 
.navbox .navbar {
 
     display: block;
 
     display: block;
     font-size: 80%;
+
     font-size: 100%;
 
}
 
}
 
.navbox-title .navbar {
 
.navbox-title .navbar {
第823行: 第307行:
 
     /* @noflip */
 
     /* @noflip */
 
     margin-right: 0.5em;
 
     margin-right: 0.5em;
     width: 8em;
+
     width: 6em;
 
}
 
}
  
 
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
 
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
 
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
 
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {      
+
.collapseButton {
 
     /* @noflip */
 
     /* @noflip */
 
     float: right;
 
     float: right;
第836行: 第320行:
 
     /* @noflip */
 
     /* @noflip */
 
     text-align: right;
 
     text-align: right;
     width: 6em;
+
     width: auto;
 
}
 
}
 
/* In navboxes, the show/hide button balances the v·d·e links
 
/* In navboxes, the show/hide button balances the v·d·e links
 
   from [[Template:Navbar]], so they need to be the same width. */
 
   from [[Template:Navbar]], so they need to be the same width. */
 
.navbox .collapseButton {
 
.navbox .collapseButton {
     width: 8em;
+
     width: 6em;
 
}
 
}
  
/*
+
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
== headline edit ==
+
.mw-collapsible-toggle {
*/
+
    font-weight: normal;
 +
    /* @noflip */
 +
    text-align: right;
 +
}
 +
.navbox .mw-collapsible-toggle {
 +
    width: 6em;
 +
}
  
.editsection {
+
/* Infobox template style */
font-weight: normal !important;
+
.infobox {
margin-left: 1em;
+
    border: 1px solid #aaa;
 +
    background-color: #f9f9f9;
 +
    color: black;
 +
    /* @noflip */
 +
    margin: 0.5em 0 0.5em 1em;
 +
    padding: 0.2em;
 +
    /* @noflip */
 +
    float: right;
 +
    /* @noflip */
 +
    clear: right;
 +
    /* @noflip */
 +
    text-align: left;
 +
    font-size: 88%;
 +
    line-height: 1.5em;
 +
}
 +
.infobox caption {
 +
    font-size: 125%;
 +
    font-weight: bold;
 +
}
 +
.infobox td,
 +
.infobox th {
 +
    vertical-align: top;
 +
}
 +
.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;
 
}
 
}
  
/*修正IE的渲染bug*/
+
.infobox.sisterproject {
.noedit {
+
    width: 20em;
padding-top: 1px;
+
    font-size: 90%;
 
}
 
}
  
.noedit .editsection
+
.infobox.standard-talk {
{
+
    border: 1px solid #c0c090;
display: none;
+
    background-color: #f8eaba;
 +
}
 +
.infobox.standard-talk.bordered td,
 +
.infobox.standard-talk.bordered th {
 +
    border: 1px solid #c0c090;
 
}
 
}
  
.nosecnum .mw-headline-number
+
/* styles for bordered infobox with merged rows */
{
+
.infobox.bordered .mergedtoprow td,
display: none;
+
.infobox.bordered .mergedtoprow th {
 +
    border: 0;
 +
    border-top: 1px solid #aaa;
 +
    /* @noflip */
 +
    border-right: 1px solid #aaa;
 
}
 
}
  
/*  
+
.infobox.bordered .mergedrow td,
== for some templates ==
+
.infobox.bordered .mergedrow th {
 +
    border: 0;
 +
    /* @noflip */
 +
    border-right: 1px solid #aaa;
 +
}
 +
 
 +
/* Styles for geography infoboxes, eg countries,
 +
  country subdivisions, cities, etc.            */
 +
.infobox.geography {
 +
    /* @noflip */
 +
    text-align: left;
 +
    border-collapse: collapse;
 +
    line-height: 1.2em;
 +
    font-size: 90%;
 +
}
  
Messagebox templates
+
.infobox.geography  td,
*/
+
.infobox.geography  th {
.messagebox {
+
    border-top: 1px solid #aaa;
  border: 1px solid #aaa;
+
    padding: 0.4em 0.6em 0.4em 0.6em;
  background-color: #f9f9f9;
 
  width: 80%;
 
  margin: 0 auto 1em auto;
 
  padding: .2em;
 
 
}
 
}
.messagebox.merge {
+
.infobox.geography .mergedtoprow td,
  border: 1px solid #c0b8cc;
+
.infobox.geography .mergedtoprow th {
  background-color: #f0e5ff;
+
    border-top: 1px solid #aaa;
  text-align: center;
+
    padding: 0.4em 0.6em 0.2em 0.6em;
 
}
 
}
.messagebox.cleanup {
+
 
  border: 1px solid #9f9fff;
+
.infobox.geography .mergedrow td,
  background-color: #efefff;
+
.infobox.geography .mergedrow th {
  text-align: center;
+
    border: 0;
 +
    padding: 0 0.6em 0.2em 0.6em;
 
}
 
}
.messagebox.standard-talk {
+
 
  border: 1px solid #c0c090;
+
.infobox.geography .mergedbottomrow td,
  background-color: #f8eaba;
+
.infobox.geography .mergedbottomrow th {
 +
    border-top: 0;
 +
    border-bottom: 1px solid #aaa;
 +
    padding: 0 0.6em 0.4em 0.6em;
 
}
 
}
.messagebox.nested-talk {
+
 
  border: 1px solid #c0c090;
+
.infobox.geography .maptable td,
  background-color: #f8eaba;
+
.infobox.geography .maptable th {
  width: 100%;
+
    border: 0;
  margin: 2px 4px 2px 4px;
+
    padding: 0;
 
}
 
}
.messagebox.small {
+
 
  width: 238px;
+
/* Normal font styling for table row headers with scope="row" tag */
  font-size: 85%;
+
.wikitable.plainrowheaders th[scope=row] {
  float: right;
+
    font-weight: normal;
  clear: both;
+
    /* @noflip */
  margin: 0 0 1em 1em;
+
    text-align: left;
  line-height: 1.25em;  
 
 
}
 
}
.messagebox.small-talk {
+
 
  width: 238px;
+
/* Lists in data cells are always left-aligned */
  font-size: 85%;
+
.wikitable td ul,
  float: right;
+
.wikitable td ol,
  clear: both;
+
.wikitable td dl {
  margin: 0 0 1em 1em;
+
    /* @noflip */
  line-height: 1.25em;
+
    text-align: left;
  background: #F8EABA;
 
 
}
 
}
/* For template documentation */
+
/* ...unless they also use the hlist class */
.template-documentation {
+
.wikitable.hlist td ul,
    clear: both;
+
.wikitable.hlist td ol,
    margin: 1em 0 0 0;
+
.wikitable.hlist td dl {
    border: 1px solid #aaa;
+
     text-align: inherit;
     background-color: #ecfcf4;
 
    padding: 5px;
 
 
}
 
}
  
/*
+
/* Icons for medialist templates [[Template:Listen]],
== external link ==
+
  [[Template:Multi-listen_start]], [[Template:Video]],
 +
  [[Template:Multi-video_start]] */
 +
div.listenlist {
 +
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
 +
    /* @noflip */
 +
    padding-left: 40px;
 +
}
  
Change the external link icon to an Adobe icon for all PDF files
+
/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
(in browsers that support these CSS selectors, like Mozilla and Opera)
+
table.mw-hiero-table td {
 +
    vertical-align: middle;
 +
}
  
*/
+
/* Style rules for media list templates */
#bodyContent a[href$=".pdf"].external,
+
div.medialist {
#bodyContent a[href*=".pdf?"].external,
+
    min-height: 50px;
#bodyContent a[href*=".pdf#"].external,
+
    margin: 1em;
#bodyContent a[href$=".PDF"].external,
+
    /* @noflip */
#bodyContent a[href*=".PDF?"].external,
+
     background-position: top left;
#bodyContent a[href*=".PDF#"].external {
+
    background-repeat: no-repeat;
     background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat;
+
}
     padding-right: 16px;
+
div.medialist ul {
 +
    list-style-type: none;
 +
     list-style-image: none;
 +
    margin: 0;
 
}
 
}
+
div.medialist ul li {
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
+
     padding-bottom: 0.5em;
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
 
span.PDFlink a {
 
    background: url(//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;
 
 
}
 
}
+
div.medialist ul li li {
span.geolink a {
+
     font-size: 91%;
     background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center right no-repeat !important;
+
     padding-bottom: 0;
     padding-right: 11px !important;
 
 
}
 
}
  
/*
+
/* Change the external link icon to an Adobe icon for all PDF files
== ToolTips ==
+
  in browsers that support these CSS selectors, like Mozilla and Opera */
*/
+
div#content a[href$=".pdf"].external,
.ILHClickButton_tip {
+
div#content a[href*=".pdf?"].external,
     border: 1px solid #8888aa;
+
div#content a[href*=".pdf#"].external,
     background: #f7f8ff;
+
div#content a[href$=".PDF"].external,
     padding: 0.5em;
+
div#content a[href*=".PDF?"].external,
 +
div#content a[href*=".PDF#"].external,
 +
div#mw_content a[href$=".pdf"].external,
 +
div#mw_content a[href*=".pdf?"].external,
 +
div#mw_content a[href*=".pdf#"].external,
 +
div#mw_content a[href$=".PDF"].external,
 +
div#mw_content a[href*=".PDF?"].external,
 +
div#mw_content a[href*=".PDF#"].external {
 +
     background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
 +
     /* @noflip */
 +
     padding-right: 18px;
 
}
 
}
  
/*
+
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
== other ==
+
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
*/
+
div#content span.PDFlink a,
span.lanLabel {
+
div#mw_content span.PDFlink a {
     color: #777777;
+
     background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
     padding-left: 0.5em;
+
    /* @noflip */
 +
     padding-right: 18px;
 
}
 
}
  
tt span.minor {
+
/* Content in columns with CSS instead of tables [[Template:Columns]] */
     margin: 0 -2px 0 -3px;
+
div.columns-2 div.column {
     font-size: 12px;
+
     /* @noflip */
 +
    float: left;
 +
    width: 50%;
 +
     min-width: 300px;
 
}
 
}
tt span.newpage {
+
div.columns-3 div.column {
     margin: 0 1px 0 -6px;
+
     /* @noflip */
     font-size: 12px;
+
    float: left;
 +
    width: 33.3%;
 +
    min-width: 200px;
 +
}
 +
div.columns-4 div.column {
 +
    /* @noflip */
 +
    float: left;
 +
    width: 25%;
 +
     min-width: 150px;
 
}
 
}
tt span.bot {
+
div.columns-5 div.column {
     margin: 0 -6px 0 1px;
+
     /* @noflip */
     font-size: 12px;
+
    float: left;
 +
    width: 20%;
 +
     min-width: 120px;
 
}
 
}
/*tt span.unpatrolled*/
 
  
/* 用于封禁类模板,如Template:Uw-block1 */
+
/* Messagebox templates */
div.user-block {
+
.messagebox {
     padding: 5px;
+
    border: 1px solid #aaa;
     border: 1px solid #A9A9A9;
+
    background-color: #f9f9f9;
     background-color: #FFEFD5;
+
    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;
 +
    margin: 4px auto;
 
}
 
}
 
+
/* For old WikiProject banners inside banner shells. */
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
+
.mbox-inside .standard-talk,
+
.messagebox.nested-talk {
@media screen, handheld, projection {
+
     border: 1px solid #c0c090;
     cite *.printonly {
+
    background-color: #f8eaba;
        display: none;
+
    width: 100%;
     }
+
    margin: 2px 0;
 +
     padding: 2px;
 
}
 
}
 
+
.messagebox.small {
/*
+
    width: 238px;
== MetaBox ==
+
    font-size: 85%;
 
+
    /* @noflip */
*/
+
    float: right;
+
    clear: both;
/* Nou esquema de colors per a la Plantilla:Metacaixa usada a la portada */
+
    /* @noflip */
+
    margin: 0 0 1em 1em;
/* Configuració per defecte en lila
+
    line-height: 1.25em;
  Tons usats; 1; 7050a0 2; 9070c0 3; b090e0 4; d0b0ff 5; f0d0ff */
 
 
.mcBoto {
 
  background-color: #d0b0ff; /* 4 */
 
  border: 0.15em solid #000000;
 
  border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff;  /* 5 3 3 5 */
 
  border-radius-topleft: .5em;
 
  border-radius-topright: .5em;
 
  -moz-border-radius: .5em .5em 0em 0em;
 
  cursor:pointer;
 
  display: inline;
 
  margin-right: 0.1em;
 
  padding: 0.2em 0.3em 0.2em 0.3em;
 
  position: relative;}
 
 
.mcBoto a,
 
.mcBoto strong {
 
  background: none !important;
 
  color:#7050a0 !important;  /* 1 */
 
  font-size: 90%;
 
  font-weight: bold;
 
  padding: 0 !important;
 
  text-decoration: none !important;}
 
 
.mcBoto a:hover,
 
.mcBoto strong:hover {
 
  color: black !important;
 
  text-decoration: underline !important;}
 
 
.mcBotoSel {
 
  background-color: #9070c0; /* 2 */
 
  border: 0.15em solid #000000;
 
  border-color: #b090e0 #7050a0 #9070c0 #b090e0; /* 3 1 2 3 */
 
  border-radius-topleft: .5em;
 
  border-radius-topright: .5em;
 
  -moz-border-radius: .5em .5em 0em 0em;
 
  cursor: default;
 
  display: inline;
 
  margin-right: 0.1em;
 
  padding: 0.2em 0.3em 0.2em 0.3em;
 
  position: relative;
 
  color:white;}
 
 
.mcBotoSel a {
 
  background: none !important;
 
  color:white !important;
 
  cursor: default;
 
  font-size: 90%;
 
  font-weight: bold;
 
  padding: 0 !important;
 
  text-decoration: none !important;}
 
 
.mcContingut {
 
  background-color: #f8f8ff;
 
  border: 0.2em solid #9070c0; /* 2 */
 
  border-color: #9070c0 #7050a0 #7050a0 #9070c0 ; /* 2 1 1 2 */
 
  -moz-border-radius: 0em .5em .5em 0em;
 
  border-radius-topright: .5em;
 
  border-radius-bottomright: .5em;
 
  padding: 1em;
 
  position: static;  /* Si hi posem relative falla amb MSIE */}
 
 
.mcPestanya {
 
  background-color: #f8f8ff;
 
  border-color: #7050a0 #b090e0 #b090e0 #7050a0; /* 1 3 3 1 */  width: 100%;
 
 
}
 
}
+
.messagebox.small-talk {
/* Configuració del Verd 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */
+
    width: 238px;
+
    font-size: 85%;
.mcVerd .mcBoto {
+
    /* @noflip */
background-color: #a5e085; /* 4 */
+
    float: right;
border-color: #c0f090 #90d060 #75c045 #c0f090;  /* 5 3 2 5 */}
+
    clear: both;
+
    /* @noflip */
.mcVerd .mcBoto a,
+
    margin: 0 0 1em 1em;
.mcVerd .mcBoto strong {
+
    line-height: 1.25em;
  color:#60b030 !important; /* 1 */
+
    background: #F8EABA;
  font-size:90%}
 
 
.mcVerd .mcBoto a:hover,
 
.mcVerd .mcBoto strong:hover {
 
  color: black !important;
 
  text-decoration: underline;}
 
 
.mcVerd .mcBotoSel {
 
  background-color: #75c045; /* 2 */
 
  border-color: #90d060 #60b030 #75c045 #90d060; /* 3 1 2 3 */}
 
 
.mcVerd .mcContingut {
 
  background-color: #f5fffa;
 
  border-color: #75c045 #60b030 #60b030 #75c045 ; /* 2 1 1 2 */}
 
 
.mcVerd .mcPestanya {
 
  background-color: #f5fffa;
 
  border-color: #60b030 #90d060 #90d060 #60b030; /* 1 3 3 1 */}
 
 
/* Configuració del Vermell 1;CC0000 2;FF0000 3;FF8888 4;FFAAAA 5;FFCCCC */
 
 
.mcVermell .mcBoto {
 
background-color: #FFAAAA; /* 4 */
 
border-color: #FFCCCC #FF8888 #FF0000 #FFCCCC;  /* 5 3 2 5 */}
 
 
.mcVermell .mcBoto a,
 
.mcVermell .mcBoto strong {
 
  color:#CC0000 !important;  /* 1 */
 
  font-size:90%}
 
 
.mcVermell .mcBoto a:hover
 
.mcVermell .mcBoto strong:hover {
 
  color: black !important;
 
  text-decoration: underline;}
 
 
.mcVermell .mcBotoSel {
 
  background-color: #FF0000; /* 2 */
 
  border-color: #FF8888 #CC0000 #FF0000 #FF8888;  /* 3 1 2 3 */}
 
 
.mcVermell .mcContingut {
 
  background-color: #fffafa;
 
  border-color: #FF0000 #CC0000 #CC0000 #FF0000; /* 2 1 1 2 */}
 
 
.mcVermell .mcPestanya {
 
  background-color: #fffafa;
 
  border-color: #CC0000 #FF0000 #FF0000 #CC0000; /* 1 3 3 1 */}
 
 
/* Configuració del Blau 1;3379de 2;5b8dd6 3;88abde 4;a7c1e6 5;c8d6e9 */
 
 
.mcBlau .mcBoto {
 
background-color: #a7c1e6; /* 4 */
 
border-color: #c8d6e9 #88abde #5b8dd6 #c8d6e9;  /* 5 3 2 5 */}
 
 
.mcBlau .mcBoto a,
 
.mcBlau .mcBoto strong {
 
  color:#3379de !important;  /* 1 */
 
  font-size:90%}
 
 
.mcBlau .mcBoto a:hover
 
.mcBlau .mcBoto strong:hover {
 
  color: black !important;
 
  text-decoration: underline;}
 
 
.mcBlau .mcBotoSel {
 
  background-color: #5b8dd6; /* 2 */
 
  border-color: #88abde #3379de #5b8dd6 #88abde;  /* 3 1 2 3 */}
 
 
.mcBlau .mcContingut {
 
  background-color: #f0f8ff;
 
  border-color: #5b8dd6 #3379de #3379de #5b8dd6; /* 2 1 1 2 */}
 
 
.mcBlau .mcPestanya {
 
  background-color: #f0f8ff;
 
  border-color: #3379de #88abde #88abde #3379de; /* 1 3 3 1 */}
 
 
 
/* Configuració del Groc 1;ffd813 2;ffe147 3;ffe977 4;fff1a4 5;fef4bc */
 
 
.mcGroc .mcBoto {
 
background-color: #fff1a4; /* 4 */
 
border-color: #fef4bc #ffe977 #ffe147 #fef4bc;  /* 5 3 2 5 */}
 
 
.mcGroc .mcBoto a,
 
.mcGroc .mcBoto strong {
 
  color:#ffd813 !important;  /* 1 */
 
  font-size:90%}
 
 
.mcGroc .mcBoto a:hover
 
.mcGroc .mcBoto strong:hover {
 
  color: black !important;
 
  text-decoration: underline;}
 
 
.mcGroc .mcBotoSel {
 
  background-color: #ffe147; /* 2 */
 
  border-color: #ffe977 #ffd813 #ffe147 #ffe977;  /* 3 1 2 3 */}
 
 
.mcGroc .mcContingut {
 
  background-color: #fffce8;
 
  border-color: #ffe147 #ffd813 #ffd813 #ffe147; /* 2 1 1 2 */}
 
 
.mcGroc .mcPestanya {
 
  background-color: #fffce8;
 
  border-color: #ffd813 #88abde #88abde #ffd813; /* 1 3 3 1 */}
 
 
/* Configuració del Taronja 1;ff820e 2;ff9d42 3;ffac5d 4;ffbd7f 5;ffd0a4 6;ffeedd */
 
 
.mcTaronja .mcBoto {
 
background-color: #ffbd7f; /* 4 */
 
border-color: #ffd0a4 #ffac5d #ff9d42 #ffd0a4;  /* 5 3 2 5 */}
 
 
.mcTaronja .mcBoto a,
 
.mcTaronja .mcBoto strong {
 
  color:#ff820e !important;  /* 1 */
 
  font-size:90%}
 
 
.mcTaronja .mcBoto a:hover
 
.mcTaronja .mcBoto strong:hover {
 
  color: black !important;
 
  text-decoration: underline;}
 
 
.mcTaronja .mcBotoSel {
 
  background-color: #ff9d42; /* 2 */
 
  border-color: #ffac5d #ff820e #ff9d42 #ffac5d;  /* 3 1 2 3 */}
 
 
.mcTaronja .mcContingut {
 
  background-color: #ffeedd; /* 6 */
 
  border-color: #ff9d42 #ff820e #ff820e #ff9d42; /* 2 1 1 2 */}
 
 
.mcTaronja .mcPestanya {
 
  background-color: #ffeedd; /* 6 */
 
  border-color: #ff820e #ffac5d #ffac5d #ff820e; /* 1 3 3 1 */}
 
 
/* Final d'estils de la Metacaixa */
 
 
/*HERE FINISHES "METABOX" COLOUR-SCHEMES*/
 
 
 
/*****
 
** Bytecounter colours
 
*****/
 
strong.mw-plusminus-neg
 
  {
 
  color: #c00;
 
  }
 
.mw-plusminus-pos {color: #060;}
 
.mw-plusminus-neg {color: #900;}
 
 
 
/************************
 
**Fix margin of topicon**
 
************************/
 
.topicon {
 
    margin-right: 0 !important;
 
 
}
 
}
  
/********************
 
**Styles for mboxes**
 
********************/
 
 
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
 
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
+
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
     border: none;  
+
     border: none;
     padding: 0.25em 0.9em;       /* 0.9em left/right */
+
    /* @noflip */
     width: 100%;   /* Make all mboxes the same width regardless of text length */
+
     padding: 0.25em 0.9em;     /* 0.9em left/right */
 +
     width: 100%;               /* Make all mboxes the same width regardless of text length */
 
}
 
}
td.mbox-image {                 /* The left image cell */
+
td.mbox-image {               /* The left image cell */
     border: none;  
+
     border: none;
     padding: 2px 0 2px 0.9em;   /* 0.9em left, 0px right */
+
    /* @noflip */
     text-align: center;  
+
     padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
 +
     text-align: center;
 
}
 
}
td.mbox-imageright {             /* The right image cell */
+
td.mbox-imageright {           /* The right image cell */
 
     border: none;
 
     border: none;
     padding: 2px 0.9em 2px 0;   /* 0px left, 0.9em right */
+
    /* @noflip */
     text-align: center;  
+
     padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
 +
     text-align: center;
 
}
 
}
td.mbox-empty-cell {         /* An empty narrow cell */
+
td.mbox-empty-cell {           /* An empty narrow cell */
 
     border: none;
 
     border: none;
 
     padding: 0px;
 
     padding: 0px;
 
     width: 1px;
 
     width: 1px;
 
}
 
}
+
 
 
/* Article message box styles */
 
/* Article message box styles */
 
table.ambox {
 
table.ambox {
     margin: 0px 10%;   /* 10% = Will not overlap with other elements */
+
     margin: 0px 10%;                 /* 10% = Will not overlap with other elements */
     border: 1px solid #aaa;  
+
     border: 1px solid #aaa;
     border-left: 10px solid #1e90ff;   /* Default "notice" blue */
+
    /* @noflip */
     background: #fbfbfb;  
+
     border-left: 10px solid #1e90ff; /* Default "notice" blue */
 +
     background: #fbfbfb;
 
}
 
}
table.ambox + table.ambox {   /* Single border between stacked boxes. */
+
table.ambox + table.ambox {     /* Single border between stacked boxes. */
 
     margin-top: -1px;
 
     margin-top: -1px;
 
}
 
}
.ambox th.mbox-text,  
+
.ambox th.mbox-text,
 
.ambox td.mbox-text {            /* The message body cell(s) */
 
.ambox td.mbox-text {            /* The message body cell(s) */
 
     padding: 0.25em 0.5em;      /* 0.5em left/right */
 
     padding: 0.25em 0.5em;      /* 0.5em left/right */
 
}
 
}
 
.ambox td.mbox-image {          /* The left image cell */
 
.ambox td.mbox-image {          /* The left image cell */
 +
    /* @noflip */
 
     padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
 
     padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
 
}
 
}
 
.ambox td.mbox-imageright {      /* The right image cell */
 
.ambox td.mbox-imageright {      /* The right image cell */
 +
    /* @noflip */
 
     padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
 
     padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
 
}
 
}
+
 
 
table.ambox-notice {
 
table.ambox-notice {
 +
    /* @noflip */
 
     border-left: 10px solid #1e90ff;    /* Blue */
 
     border-left: 10px solid #1e90ff;    /* Blue */
 
}
 
}
 
table.ambox-speedy {
 
table.ambox-speedy {
     border-left: 10px solid #FF0000;    /* Red */
+
    /* @noflip */
 +
     border-left: 10px solid #b22222;    /* Red */
 
     background: #fee;                  /* Pink */
 
     background: #fee;                  /* Pink */
 
}
 
}
 
table.ambox-delete {
 
table.ambox-delete {
 +
    /* @noflip */
 
     border-left: 10px solid #b22222;    /* Red */
 
     border-left: 10px solid #b22222;    /* Red */
 
}
 
}
 
table.ambox-content {
 
table.ambox-content {
 +
    /* @noflip */
 
     border-left: 10px solid #f28500;    /* Orange */
 
     border-left: 10px solid #f28500;    /* Orange */
 
}
 
}
 
table.ambox-style {
 
table.ambox-style {
 +
    /* @noflip */
 
     border-left: 10px solid #f4c430;    /* Yellow */
 
     border-left: 10px solid #f4c430;    /* Yellow */
 
}
 
}
 
table.ambox-move {
 
table.ambox-move {
 +
    /* @noflip */
 
     border-left: 10px solid #9932cc;    /* Purple */
 
     border-left: 10px solid #9932cc;    /* Purple */
 
}
 
}
 
table.ambox-protection {
 
table.ambox-protection {
 +
    /* @noflip */
 
     border-left: 10px solid #bba;      /* Gray-gold */
 
     border-left: 10px solid #bba;      /* Gray-gold */
 
}
 
}
+
 
 
/* Image message box styles */
 
/* Image message box styles */
 
table.imbox {
 
table.imbox {
     margin: 4px 10%;  
+
     margin: 4px 10%;
     border-collapse: collapse;  
+
     border-collapse: collapse;
 
     border: 3px solid #1e90ff;    /* Default "notice" blue */
 
     border: 3px solid #1e90ff;    /* Default "notice" blue */
 
     background: #fbfbfb;
 
     background: #fbfbfb;
 
}
 
}
.imbox .mbox-text .imbox {   /* For imboxes inside imbox-text cells. */
+
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
     margin: 0 -0.5em;   /* 0.9 - 0.5 = 0.4em left/right. */
+
     margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.       */
 +
    display: block;        /* Fix for webkit to force 100% width.  */
 
}
 
}
.mbox-inside .imbox {   /* For imboxes inside other templates. */
+
.mbox-inside .imbox {       /* For imboxes inside other templates. */
 
     margin: 4px;
 
     margin: 4px;
 
}
 
}
+
 
 
table.imbox-notice {
 
table.imbox-notice {
 
     border: 3px solid #1e90ff;    /* Blue */
 
     border: 3px solid #1e90ff;    /* Blue */
第1,350行: 第732行:
 
     border: 3px solid #cba135;    /* Brown-gold */
 
     border: 3px solid #cba135;    /* Brown-gold */
 
}
 
}
+
 
 
/* Category message box styles */
 
/* Category message box styles */
 
table.cmbox {
 
table.cmbox {
 
     margin: 3px 10%;
 
     margin: 3px 10%;
 
     border-collapse: collapse;
 
     border-collapse: collapse;
     border: 1px solid #aaa;  
+
     border: 1px solid #aaa;
 
     background: #DFE8FF;    /* Default "notice" blue */
 
     background: #DFE8FF;    /* Default "notice" blue */
 
}
 
}
+
 
 
table.cmbox-notice {
 
table.cmbox-notice {
 
     background: #D8E8FF;    /* Blue */
 
     background: #D8E8FF;    /* Blue */
第1,383行: 第765行:
 
     background: #EFEFE1;    /* Gray-gold */
 
     background: #EFEFE1;    /* Gray-gold */
 
}
 
}
+
 
 
/* Other pages message box styles */
 
/* Other pages message box styles */
 
table.ombox {
 
table.ombox {
     margin: 4px 10%;  
+
     margin: 4px 10%;
     border-collapse: collapse;  
+
     border-collapse: collapse;
 
     border: 1px solid #aaa;      /* Default "notice" gray */
 
     border: 1px solid #aaa;      /* Default "notice" gray */
 
     background: #f9f9f9;
 
     background: #f9f9f9;
 
}
 
}
+
 
 
table.ombox-notice {
 
table.ombox-notice {
 
     border: 1px solid #aaa;      /* Gray */
 
     border: 1px solid #aaa;      /* Gray */
第1,414行: 第796行:
 
     border: 2px solid #bba;      /* Gray-gold */
 
     border: 2px solid #bba;      /* Gray-gold */
 
}
 
}
+
 
 
/* Talk page message box styles */
 
/* Talk page message box styles */
 
table.tmbox {
 
table.tmbox {
第1,422行: 第804行:
 
     background: #f8eaba;
 
     background: #f8eaba;
 
}
 
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
+
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
     margin: 2px 0;              /* class ensures that this declaration overrides other */
+
     margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)  */
     width: 100%; /* For Safari and Opera */    /* styles (including mbox-small above) */
+
     width: 100%;                 /* For Safari and Opera */
 
}
 
}
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
     line-height: 1.5em;          /* also "nested", so reset styles that are  */  
+
     line-height: 1.5em;          /* also "nested", so reset styles that are  */
 
     font-size: 100%;            /* set in "mbox-small" above.                */
 
     font-size: 100%;            /* set in "mbox-small" above.                */
 
}
 
}
+
 
 
table.tmbox-speedy {
 
table.tmbox-speedy {
 
     border: 2px solid #b22222;    /* Red */
 
     border: 2px solid #b22222;    /* Red */
第1,451行: 第833行:
 
     border: 1px solid #c0c090;    /* Gray-brown */
 
     border: 1px solid #c0c090;    /* Gray-brown */
 
}
 
}
+
 
 
/* Disambig and set index box styles */
 
/* Disambig and set index box styles */
 
table.dmbox {
 
table.dmbox {
     clear: both;  
+
     clear: both;
     margin: 0.9em 1em;  
+
     margin: 0.9em 1em;
     border-top: 1px solid #ccc;  
+
     border-top: 1px solid #ccc;
     border-bottom: 1px solid #ccc;  
+
     border-bottom: 1px solid #ccc;
 
     background: transparent;
 
     background: transparent;
    font-size: small;
 
 
}
 
}
+
 
 
/* Footer and header message box styles */
 
/* Footer and header message box styles */
 
table.fmbox {
 
table.fmbox {
第1,491行: 第872行:
 
     padding: 0.25em 0.9em;
 
     padding: 0.25em 0.9em;
 
}
 
}
/* Div based "system" style fmbox messages. Used in  
+
/* Div based "system" style fmbox messages.
  [[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
+
  Used in [[MediaWiki:Readonly lag]]. */
 
div.mw-lag-warn-normal,
 
div.mw-lag-warn-normal,
div.noarticletext,
 
 
div.fmbox-system {
 
div.fmbox-system {
 
     clear: both;
 
     clear: both;
第1,502行: 第882行:
 
     padding: 0.25em 0.9em;
 
     padding: 0.25em 0.9em;
 
}
 
}
+
 
/* These mbox-small classes must be placed after all other  
+
/* These mbox-small classes must be placed after all other
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so  
+
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so
 
   they override "table.ambox + table.ambox" above. */
 
   they override "table.ambox + table.ambox" above. */
 
body.mediawiki table.mbox-small {  /* For the "small=yes" option. */
 
body.mediawiki table.mbox-small {  /* For the "small=yes" option. */
 +
    /* @noflip */
 
     clear: right;
 
     clear: right;
 +
    /* @noflip */
 
     float: right;
 
     float: right;
 +
    /* @noflip */
 
     margin: 4px 0 4px 1em;
 
     margin: 4px 0 4px 1em;
 
     width: 238px;
 
     width: 238px;
第1,515行: 第898行:
 
}
 
}
 
body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */
 
body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */
 +
    /* @noflip */
 
     margin: 4px 1em 4px 0;
 
     margin: 4px 1em 4px 0;
 
     width: 238px;
 
     width: 238px;
第1,522行: 第906行:
 
}
 
}
  
/* CODE FOR COMPACT AMBOX */
+
/* Style for compact ambox */
 
/* Hide the images */
 
/* Hide the images */
 
.compact-ambox table .mbox-image,
 
.compact-ambox table .mbox-image,
第1,553行: 第937行:
 
     line-height: 1.5em;
 
     line-height: 1.5em;
 
     list-style-type: square;
 
     list-style-type: square;
     list-style-image: url("data:image/gif;base64,R0lGODlhBQANAIAAAGOMnP///yH5BAEAAAEALAAAAAAFAA0AAAIJjI+pu+APo4SpADs=");
+
     list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
 +
}
 +
.skin-vector .compact-ambox table .mbox-text-span {
 +
    list-style-type: circle;
 +
    list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png)
 
}
 
}
 
/* Allow for hiding text in compact form */
 
/* Allow for hiding text in compact form */
第1,560行: 第948行:
 
}
 
}
  
#siteNotice div {
+
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
margin: 0;
+
div.noarticletext {
 +
    border: none;
 +
    background: transparent;
 +
    padding: 0;
 
}
 
}
#mw-dismissable-notice {
+
 
background:transparent;
+
/* Bold save button */
 +
#wpSave {
 +
    font-weight: bold;
 
}
 
}
  
#wpSummary, #wpSummaryLabel, input#wpSummary,input.mw-summary{
+
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
        margin-top: 0;
+
.hiddenStructure {
margin-bottom: 0;
+
    display: inline !important;
 +
    color: #f00;
 +
    background-color: #0f0;
 
}
 
}
 +
 +
/* suppress missing interwiki image links where #ifexist cannot
 +
  be used due to high number of requests see .hidden-redlink on
 +
  [[m:MediaWiki:Common.css]] */
 +
.check-icon a.new {
 +
    display: none;
 +
    speak: none;
 +
}
 +
 +
/* Removes underlines from certain links */
 +
.nounderlines a,
 +
.IPA a:link, .IPA a:visited {
 +
    text-decoration: none !important;
 +
}
 +
 +
/* Standard Navigationsleisten, aka box hiding thingy
 +
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 +
div.NavFrame {
 +
    margin: 0;
 +
    padding: 4px;
 +
    border: 1px solid #aaa;
 +
    text-align: center;
 +
    border-collapse: collapse;
 +
    font-size: 95%;
 +
}
 +
div.NavFrame + div.NavFrame {
 +
    border-top-style: none;
 +
    border-top-style: hidden;
 +
}
 +
div.NavPic {
 +
    background-color: #fff;
 +
    margin: 0;
 +
    padding: 2px;
 +
    /* @noflip */
 +
    float: left;
 +
}
 +
div.NavFrame div.NavHead {
 +
    height: 1.6em;
 +
    font-weight: bold;
 +
    background-color: #ccf;
 +
    position: relative;
 +
}
 +
div.NavFrame p,
 +
div.NavFrame div.NavContent,
 +
div.NavFrame div.NavContent p {
 +
    font-size: 100%;
 +
}
 +
div.NavEnd {
 +
    margin: 0;
 +
    padding: 0;
 +
    line-height: 1px;
 +
    clear: both;
 +
}
 +
a.NavToggle {
 +
    position: absolute;
 +
    top: 0;
 +
    /* @noflip */
 +
    right: 3px;
 +
    font-weight: normal;
 +
    font-size: 90%;
 +
}
 +
 +
/* Hatnotes and disambiguation notices */
 +
.rellink,
 +
.dablink {
 +
    font-style: italic;
 +
    /* @noflip */
 +
    padding-left: 1.6em;
 +
    margin-bottom: 0.5em;
 +
}
 +
.rellink i,
 +
.dablink i {
 +
    font-style: normal;
 +
}
 +
 +
/* Allow transcluded pages to display in lists rather than a table.
 +
  Compatible in Firefox; incompatible in IE6. */
 +
.listify td    { display: list-item; }
 +
.listify tr    { display: block; }
 +
.listify table { display: block; }
 +
 +
/* Geographical coordinates defaults. See [[Template:Coord/link]]
 +
  for how these are used. The classes "geo", "longitude", and
 +
  "latitude" are used by the [[Geo microformat]]. */
 +
.geo-default, .geo-dms, .geo-dec  { display: inline; }
 +
.geo-nondefault, .geo-multi-punct { display: none; }
 +
.longitude, .latitude            { white-space: nowrap; }
  
 
/* When <div class="nonumtoc"> is used on the table of contents,
 
/* When <div class="nonumtoc"> is used on the table of contents,
第1,578行: 第1,060行:
 
.nonumtoc .toc ul {
 
.nonumtoc .toc ul {
 
     line-height: 1.5em;
 
     line-height: 1.5em;
     list-style: none;
+
     list-style: none none;
 
     margin: .3em 0 0;
 
     margin: .3em 0 0;
 
     padding: 0;
 
     padding: 0;
 
}
 
}
.nonumtoc #toc ul ul,  
+
.nonumtoc #toc ul ul,
.nonumtoc .toc ul ul {  
+
.nonumtoc .toc ul ul {
     margin: 0 0 0 2em;  
+
    /* @noflip */
 +
     margin: 0 0 0 2em;
 
}
 
}
+
 
 
/* Allow limiting of which header levels are shown in a TOC;
 
/* Allow limiting of which header levels are shown in a TOC;
 
   <div class="toclimit-3">, for instance, will limit to
 
   <div class="toclimit-3">, for instance, will limit to
 
   showing ==headings== and ===headings=== but no further
 
   showing ==headings== and ===headings=== but no further
 
   (as long as there are no =headings= on the page, which
 
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
+
   there shouldn't be according to the MoS). */
*/
+
.toclimit-2 .toclevel-1 ul,
.toclimit-2 .toclevel-2,
+
.toclimit-3 .toclevel-2 ul,
.toclimit-3 .toclevel-3,
+
.toclimit-4 .toclevel-3 ul,
.toclimit-4 .toclevel-4,
+
.toclimit-5 .toclevel-4 ul,
.toclimit-5 .toclevel-5,
+
.toclimit-6 .toclevel-5 ul,
.toclimit-6 .toclevel-6,
+
.toclimit-7 .toclevel-6 ul {
.toclimit-7 .toclevel-7 { display: none; }
+
    display: none;
 +
}
 +
 
 +
/* Styling for Template:Quote */
 +
blockquote.templatequote {
 +
    margin-top: 0;
 +
}
 +
blockquote.templatequote div.templatequotecite {
 +
    line-height: 1em;
 +
    /* @noflip */
 +
    text-align: left;
 +
    /* @noflip */
 +
    padding-left: 2em;
 +
    margin-top: 0;
 +
}
 +
blockquote.templatequote div.templatequotecite cite {
 +
    font-size: 85%;
 +
}
  
/* styles for &#123;{copyvio}&#125; and &#123;{copyvio/bot}&#123;.
+
/* User block messages */
  To reduce the HTML code produced by these templates.
+
div.user-block {
*/
+
    padding: 5px;
.copyvio-title {
+
    margin-bottom: 0.5em;
     font-family: Microsoft Yahei, 微软雅黑,Microsoft Jhenghei, 微軟正黑體,Arial Unicode MS, 黑体;
+
    border: 1px solid #A9A9A9;
    text-align: center;
+
    background-color: #FFEFD5;
     font-size: 150%;
+
}
     font-weight: bold;
+
 
 +
/* Prevent line breaks in silly places:
 +
  1) Where desired
 +
  2) Links when we don't want them to
 +
  3) Bold "links" to the page itself
 +
  4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
 +
.nowrap,
 +
.nowraplinks a,
 +
.nowraplinks .selflink,
 +
sup.reference a {
 +
    white-space: nowrap;
 +
}
 +
/* But allow wrapping where desired: */
 +
.wrap,
 +
.wraplinks a {
 +
    white-space: normal;
 +
}
 +
 
 +
/* For template documentation */
 +
.template-documentation {
 +
    clear: both;
 +
    margin: 1em 0 0 0;
 +
    border: 1px solid #aaa;
 +
    background-color: #ecfcf4;
 +
    padding: 1em;
 +
}
 +
 
 +
/* Inline divs in ImageMaps (code borrowed from de.wiki) */
 +
.imagemap-inline div {
 +
    display: inline;
 +
}
 +
 
 +
/* Increase the height of the image upload box */
 +
#wpUploadDescription {
 +
    height: 13em;
 +
}
 +
 
 +
/* Minimum thumb width */
 +
.thumbinner {
 +
    min-width: 100px;
 +
}
 +
 
 +
/* Makes the background of a framed image white instead of gray.
 +
  Only visible with transparent images. */
 +
div.thumb img.thumbimage {
 +
    background-color: #fff;
 +
}
 +
 
 +
/* The backgrounds for galleries. */
 +
div#content .gallerybox div.thumb {
 +
     /* Light gray padding */
 +
    background-color: #F9F9F9;
 +
}
 +
/* Put a chequered background behind images, only visible if they have transparency.
 +
  '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
 +
.gallerybox .thumb img {
 +
    background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat;
 +
}
 +
/* But not on articles, user pages, portals or with opt-out. */
 +
.ns-0 .gallerybox .thumb img,
 +
.ns-2 .gallerybox .thumb img,
 +
.ns-100 .gallerybox .thumb img,
 +
.nochecker .gallerybox .thumb img {
 +
    background: #fff;
 +
}
 +
 
 +
/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
 +
  [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
 +
#mw-subcategories ul {
 +
     list-style: none none;
 +
     margin-left: 0.25em;
 
}
 
}
.copyvio-titlebox {
+
.CategoryTreeChildren {
     border-bottom: 2px solid #003153;
+
     margin-left: 1.25em;
    color: white;
 
    background: #999999;
 
    padding: 0.5em;
 
    height: 3em;
 
    -moz-border-radius: 5px 5px 0 0;
 
 
}
 
}
.copyvio-box {
+
 
    width: 95%;
+
/* Prevent floating boxes from overlapping any category listings,
    border: 3px solid #003153;
+
  file histories, edit previews, and edit [Show changes] views. */
    background: white;
+
#mw-subcategories, #mw-pages, #mw-category-media,
    margin: .5em auto;
+
#filehistory, #wikiPreview, #wikiDiff {
    font-size:90%;
+
     clear: both;
    -o-border-radius: 8px;
 
    -icab-border-radius: 8px;
 
    -khtml-border-radius: 8px;
 
    -moz-border-radius: 8px;
 
    -webkit-border-radius: 8px;
 
    -o-box-shadow: 10px 10px 5px #888;
 
    -icab-box-shadow: 10px 10px 5px #888;
 
    -khtml-box-shadow: 10px 10px 5px #888;
 
    -moz-box-shadow: 10px 10px 5px #888;
 
    -webkit-box-shadow: 10px 10px 5px #888;
 
     box-shadow: 10px 10px 5px #888;
 
 
}
 
}
  
/* dablink */
+
body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
.dablink > div {
+
    display: block;  /* Override inline block mode */
     padding-left: 32px;
+
     margin-bottom: 1em;
     background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;
+
     /* @noflip */
 +
    clear: right;    /* Clear any info boxes that stick out */
 +
    /* @noflip */
 +
    float: right;    /* Prevents margin collapsing */
 
}
 
}
  
/* 2010版首页 */
+
/* Toned down styling for update markers on watchlist and history pages. */
div.title-bar-vigar {
+
span.updatedmarker {
     width: 100%;
+
     background-color: transparent;
    max-width: 100%;
+
     color: #006400;
     height: 31px;
+
}
    overflow: hidden;
+
.mw-special-Watchlist .mw-changeslist-line-watched .mw-title {
    background: #96d1fc url(//upload.wikimedia.org/wikipedia/commons/b/ba/Vigar-zh-wikipedia-2010-new-design-short.png) repeat-x;
+
    font-weight:normal;
 +
}
 +
.mw-special-Watchlist #mw-watchlist-resetbutton {
 +
    display:none;
 
}
 
}
  
/* 解决cite定位内文字显示为斜体的问题 */
+
/* Selectively hide headers in WikiProject banners */
cite {
+
.wpb .wpb-header            { display: none; }
     font-style: normal;
+
.wpbs-inner .wpb .wpb-header { display: block; }    /* for IE */
 +
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
 +
.wpbs-inner .wpb-outside    { display: none; }      /* hide things that should only display outside shells */
 +
 
 +
/* Styling for Abuse Filter tags */
 +
.mw-tag-markers {
 +
    font-family:sans-serif;
 +
     font-style:italic;
 +
    font-size:90%;
 
}
 
}
  
/* [[Template:Kai]] */
+
/* Hide stuff meant for accounts with special permissions. Made visible again in
 +
  [[MediaWiki:Group-sysop.css]] and [[MediaWiki:Group-accountcreator.css]]. */
 +
.sysop-show, .accountcreator-show {
 +
    display: none;
 +
}
  
.template-kai {
+
/* Remove bullets when there are multiple edit page warnings */
     font-family: 楷体, 楷体_GB2312, KaiTi, KaiTi_GB2312, 华文楷体, STKaiti, 'AR PL UKai CN', 標楷體, DFKai-SB, 'AR PL UKai HK', 'AR PL UKai TW', 全字庫正楷體, TW-Kai, EUDCKAI;
+
ul.permissions-errors > li {
 +
     list-style: none none;
 +
}
 +
ul.permissions-errors {
 +
    margin: 0;
 
}
 
}
  
.template-kai:lang(zh-hant),
+
/* No linewrap on the labels of the login/signup page */
.template-kai:lang(zh-hk),
+
body.page-Special_UserLogin .mw-label label,
.template-kai:lang(zh-mo),
+
body.page-Special_UserLogin_signup .mw-label label {
.template-kai:lang(zh-tw) {
+
     white-space: nowrap;
     font-family: 標楷體, DFKai-SB, 'AR PL UKai HK', 'AR PL UKai TW', 全字庫正楷體, TW-Kai, 楷体, 楷体_GB2312, KaiTi, KaiTi_GB2312, 华文楷体, STKaiti, 'AR PL UKai CN', EUDCKAI;
 
 
}
 
}
  
#p-logo a:lang(zh-hans),
+
/* Disable the automatic text-size adjust of WebKit on iPhones etc.
#p-logo a:lang(zh-cn),
+
  It scales some text, and not the other. Use none, or fixed percentage instead.
#p-logo a:lang(zh-my),
+
  Use media selector, because defining a value, overwrites platform defaults. */
#p-logo a:lang(zh-sg) {
+
@media only screen and (max-device-width: 480px) {
     background-image: url(//upload.wikimedia.org/wikipedia/zh/6/62/Wiki_zh-hans.png) !important;
+
     body {
 +
        -webkit-text-size-adjust: none;
 +
    }
 
}
 
}
  
第1,683行: 第1,260行:
 
     border: solid #000001;
 
     border: solid #000001;
 
     filter: chroma(color=#000001);
 
     filter: chroma(color=#000001);
 +
}
 +
 +
/* Adjust font for inline HTML generated formulae */
 +
span.texhtml {
 +
    font-family: "Times New Roman", "Nimbus Roman No9 L", Times, serif;
 +
    font-size: 118%;
 +
    white-space: nowrap;
 +
}
 +
span.texhtml span.texhtml,
 +
body.skin-standard span.texhtml,
 +
body.skin-nostalgia span.texhtml,
 +
body.skin-simple span.texhtml {
 +
    font-size: 100%;
 
}
 
}
  
 
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
 
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
   [[Bugzilla:26204]] */
+
   [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
 
div.mw-geshi div,
 
div.mw-geshi div,
 
div.mw-geshi div pre,
 
div.mw-geshi div pre,
 
span.mw-geshi,
 
span.mw-geshi,
 
pre.source-css,
 
pre.source-css,
pre.source-javascript {
+
pre.source-javascript,
     font-family: monospace, "Courier New" !important;
+
pre.source-lua {
 +
     font-family: monospace, Courier !important;
 
}
 
}
  
/* http://zh.wikipedia.org/w/index.php?oldid=18291698#.E7.BB.B4.E5.9F.BA.E8.8D.A3.E8.AA.89.E5.A5.96.E5.8A.B1.E6.A8.A1.E6.9D.BF.E5.87.BA.E4.BA.86.E5.A4.A7.E9.97.AE.E9.A2.98 */
+
/* Fix styling of transcluded prefindex tables */
body.ns-14 div.mw-content-ltr > div[dir=ltr] {
+
table#mw-prefixindex-list-table,
     clear: both;
+
table#mw-prefixindex-nav-table {
 +
     width: 98%;
 
}
 
}
  
/* this gadget is only for dependency */
+
/* For portals, added 2011-12-07 -bv
body.mw-special-Preferences input#mw-input-wpgadgets-site-lib {
+
  On wide screens, show these as two columns
     display: none;
+
  On narrow and mobile screens, let them collapse into a single column */
 +
.portal-column-left {
 +
    float: left;
 +
    width: 50%;
 +
}
 +
.portal-column-right {
 +
    float: right;
 +
    width: 49%;
 +
}
 +
.portal-column-left-wide {
 +
    float: left;
 +
    width: 60%;
 +
}
 +
.portal-column-right-narrow {
 +
    float: right;
 +
    width: 39%;
 +
}
 +
.portal-column-left-extra-wide {
 +
     float: left;
 +
    width: 70%;
 
}
 
}
 
+
.portal-column-right-extra-narrow {
/* [[template:fact]]的文字背景色设置 */
+
     float: right;
.template-facttext{
+
    width: 29%;
     background-color:#FFEFD6;
 
 
}
 
}
 
+
@media only screen and (max-width: 800px) {
/* Hide stuff meant for accounts with special permissions. Made visible again in
+
    /* Decouple the columns on narrow screens */
  [[MediaWiki:Group-sysop.css]] and [[MediaWiki:Group-accountcreator.css]]. */
+
    .portal-column-left,
.sysop-show, .accountcreator-show {
+
    .portal-column-right,
    display: none;
+
    .portal-column-left-wide,
 +
    .portal-column-right-narrow,
 +
    .portal-column-left-extra-wide,
 +
    .portal-column-right-extra-narrow {
 +
        float: inherit;
 +
        width: inherit;
 +
    }
 
}
 
}
  
/* 编辑提交按钮部分的样式*/
+
/* For announcements */
div.editOptions {
+
#bodyContent .letterhead {
     background: #F0F0F0; padding:1em 1em 1.5em 1em;margin: 0 -2px 2em 0;border: solid silver; border-width:0 1px 1px 1px;
+
     background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
 +
    background-repeat:no-repeat;
 +
    padding: 2em;
 +
    background-color: #faf9f2;
 
}
 
}
  
.mw-summary-preset {
+
/* Tree style lists */
     display: inline;
+
.treeview ul {
 +
     padding: 0;
 
     margin: 0;
 
     margin: 0;
 +
}
 +
.treeview li {
 
     padding: 0;
 
     padding: 0;
 +
    margin: 0;
 +
    list-style-type: none;
 +
    list-style-image: none;
 +
    zoom: 1; /* BE KIND TO IE6 */;
 
}
 
}
.mw-summary-preset-item {
+
.treeview li li {
    border-left: 1px solid #AAAAAA;
+
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
     display: inline-block;
+
     /* @noflip */
     line-height: 1.25em;
+
     padding-left: 20px;
     margin: 0.125em 0;
+
     text-indent: 0.3em;
    padding: 0 0.5em;
 
 
}
 
}
.mw-summary-preset-item:first-child {
+
.treeview li li.lastline {
     border-left: medium none;
+
     background-position: 0 -5971px
    padding-left: 0.25em;
 
 
}
 
}
.mw-summary-preset-item:last-child {
+
.treeview li.emptyline > ul {
     padding-right: 0.25em;
+
    /* @noflip */
 +
    margin-left: -1px;
 +
}
 +
.treeview li.emptyline > ul > li:first-child {
 +
     background-position: 0 9px
 
}
 
}
  
#mw-dismissable-notice {
+
/* Make it possible to hide checkboxes in <inputbox> */
    display: none;
+
.inputbox-hidecheckboxes form .inputbox-element {
}
+
     display: none !important;
.editCheckboxes {
 
    margin-bottom: 1em;
 
}
 
.editCheckboxes input[type="checkbox"]:first-child {
 
     margin-left:0;
 
 
}
 
}
  
.editButtons > input[type="submit"]:first-child {
+
/* Hide charinsert base for those not using the gadget */
    margin-left: .1em;
+
#editpage-specialchars {
}
+
     display: none;
.editButtons > input[type="submit"] {
 
     font-size: 92% !important;
 
    margin: 0 .33em;
 
 
}
 
}
  
#pagehistory li.not-patrolled {
+
/* work-around for [[bugzilla:23965]] (Kaltura advertisement) */
     background-color: #FFA !important;
+
.k-player .k-attribution {
 +
     visibility: hidden;
 
}
 
}

2013年4月6日 (六) 07:34的版本

/* Default styling for HTML elements */
dfn {
    font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
    line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
}

/* Main page fixes */
#interwiki-completelist {
    font-weight: bold;
}
body.page-Main_Page #ca-delete {
    display: none !important;
}
body.page-Main_Page #mp-topbanner {
    clear: both;
}
body.page-Main_Page .wbc-editpage { 
    display: none;
}

/* Edit window toolbar */
#toolbar {
    height: 22px;
    margin-bottom: 6px;
}

/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;            /* Default font-size */
    margin-bottom: 0.5em;
}
div.refbegin-100 {
    font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target {
    background-color: #DEF;
}

/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
    display: none;
}

/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.citation {
    word-wrap: break-word;
}

/* Styling for the title of any work within a citation,
   or specifically the title of a periodical. */
.citation cite,
.citation cite.periodical {
    font-style: italic;
}

/* For linked citation numbers and document IDs, where
   the number need not be shown on a screen or a handheld,
   but should be included in the printed version */
@media screen, handheld {
    .citation *.printonly {
        display: none;
    }
}

/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
    overflow-x: hidden;
    margin-left: 0em;
    padding-left: 1.6em;
}
.flowlist ol {
    overflow-x: hidden;
    margin-left: 0em;
    padding-left: 3.2em;
}
.flowlist dl {
    overflow-x: hidden;
}

/* Style for horizontal lists (separator following item).
   Note: hlist formatting will break if the resulting HTML lacks a breakable character
   between list items. This happens when the following conditions are true:
   1) The list is made using wiki markup (where HTML is built by parser.php)
   2) HTMLTidy is disabled or unavailable (such as on Special: pages)
   In such cases, building lists with .hlist using HTML instead of wiki markup
   will work around this problem. See also [[Bugzilla:39617]].
   IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
   Last updated: January 24, 2013
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @maintainer: [[User:Edokter]]
   @revision: 3.1
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
    white-space: nowrap;
}
/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrap dd,
.hlist.hwrap dt,
.hlist.hwrap li {
    white-space: normal;
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: "(";
    font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put numbers in front of ordered list items */
.hlist.hnum ol {
    counter-reset: list-item;
}
.hlist.hnum ol > li {
    counter-increment: list-item;
}
.hlist.hnum ol > li:before {
    content: counter(list-item) " ";
}
.hlist.hnum dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}

/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.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 */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li span {
  font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 6em;
}

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
    /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @noflip */
    text-align: right;
    width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
   from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
    width: 6em;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
    font-weight: normal;
    /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    /* @noflip */
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.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%;
}

.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}

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

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

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
    /* @noflip */
    text-align: left;
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}

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

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

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

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

/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
    font-weight: normal;
    /* @noflip */
    text-align: left;
}

/* Lists in data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
    /* @noflip */
    text-align: left;
}
/* ...unless they also use the hlist class */
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
    text-align: inherit;
}

/* Icons for medialist templates [[Template:Listen]],
   [[Template:Multi-listen_start]], [[Template:Video]],
   [[Template:Multi-video_start]] */
div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
    /* @noflip */
    padding-left: 40px;
}

/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
table.mw-hiero-table td {
    vertical-align: middle;
}

/* Style rules for media list templates */
div.medialist {
    min-height: 50px;
    margin: 1em;
    /* @noflip */
    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 */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}

/* 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. */
div#content span.PDFlink a,
div#mw_content span.PDFlink a {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
    /* @noflip */
    float: left;
    width: 50%;
    min-width: 300px;
}
div.columns-3 div.column {
    /* @noflip */
    float: left;
    width: 33.3%;
    min-width: 200px;
}
div.columns-4 div.column {
    /* @noflip */
    float: left;
    width: 25%;
    min-width: 150px;
}
div.columns-5 div.column {
    /* @noflip */
    float: left;
    width: 20%;
    min-width: 120px;
}

/* 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;
    margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0;
    padding: 2px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background: #F8EABA;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
    border: none;
    /* @noflip */
    padding: 0.25em 0.9em;     /* 0.9em left/right */
    width: 100%;               /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
    border: none;
    /* @noflip */
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center;
}
td.mbox-imageright {           /* The right image cell */
    border: none;
    /* @noflip */
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
    text-align: center;
}
td.mbox-empty-cell {           /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}

/* Article message box styles */
table.ambox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa;
    /* @noflip */
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb;
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    /* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    /* @noflip */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
    /* @noflip */
    border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.ambox-delete {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    /* @noflip */
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    /* @noflip */
    border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    /* @noflip */
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    /* @noflip */
    border-left: 10px solid #bba;       /* Gray-gold */
}

/* Image message box styles */
table.imbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 3px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
    display: block;         /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
    margin: 4px;
}

table.imbox-notice {
    border: 3px solid #1e90ff;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.imbox-delete {
    border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #f4c430;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #cba135;    /* Brown-gold */
}

/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #DFE8FF;    /* Default "notice" blue */
}

table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}

/* Other pages message box styles */
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}

table.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}

/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
    width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */
    font-size: 100%;             /* set in "mbox-small" above.                */
}

table.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}

/* Disambig and set index box styles */
table.dmbox {
    clear: both;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
}

/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
   Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}

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

/* Style for compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
    display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
    border: none;
    border-collapse: collapse;
    background: transparent;
    margin: 0 0 0 1.6em !important;
    padding: 0 !important;
    width: auto;
    display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
    font-size: 100%;
    width: auto;
    margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
    padding: 0 !important;
    margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
    display: list-item;
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
}
.skin-vector .compact-ambox table .mbox-text-span {
    list-style-type: circle;
    list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png)
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
    display: none;
}

/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext {
    border: none;
    background: transparent;
    padding: 0;
}

/* Bold save button */
#wpSave {
    font-weight: bold;
}

/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
    display: inline !important;
    color: #f00;
    background-color: #0f0;
}

/* suppress missing interwiki image links where #ifexist cannot
   be used due to high number of requests see .hidden-redlink on
   [[m:MediaWiki:Common.css]] */
.check-icon a.new {
    display: none;
    speak: none;
}

/* Removes underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited {
    text-decoration: none !important;
}

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

/* Hatnotes and disambiguation notices */
.rellink,
.dablink {
    font-style: italic;
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
.rellink i,
.dablink i {
    font-style: normal;
}

/* Allow transcluded pages to display in lists rather than a table.
   Compatible in Firefox; incompatible in IE6. */
.listify td    { display: list-item; }
.listify tr    { display: block; }
.listify table { display: block; }

/* Geographical coordinates defaults. See [[Template:Coord/link]]
   for how these are used. The classes "geo", "longitude", and
   "latitude" are used by the [[Geo microformat]]. */
.geo-default, .geo-dms, .geo-dec  { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude             { white-space: nowrap; }

/* When <div class="nonumtoc"> is used on the table of contents,
   the ToC will display without numbers */
.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul,
.nonumtoc .toc ul ul {
    /* @noflip */
    margin: 0 0 0 2em;
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}

/* Styling for Template:Quote */
blockquote.templatequote {
     margin-top: 0;
}
blockquote.templatequote div.templatequotecite {
    line-height: 1em;
    /* @noflip */
    text-align: left;
    /* @noflip */
    padding-left: 2em;
    margin-top: 0;
}
blockquote.templatequote div.templatequotecite cite {
    font-size: 85%;
}

/* User block messages */
div.user-block {
    padding: 5px;
    margin-bottom: 0.5em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}

/* Prevent line breaks in silly places:
   1) Where desired
   2) Links when we don't want them to
   3) Bold "links" to the page itself
   4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
    white-space: normal;
}

/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 1em;
}

/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.imagemap-inline div {
    display: inline;
}

/* Increase the height of the image upload box */
#wpUploadDescription {
    height: 13em;
}

/* Minimum thumb width */
.thumbinner {
    min-width: 100px;
}

/* Makes the background of a framed image white instead of gray.
   Only visible with transparent images. */
div.thumb img.thumbimage {
    background-color: #fff;
}

/* The backgrounds for galleries. */
div#content .gallerybox div.thumb {
    /* Light gray padding */
    background-color: #F9F9F9;
}
/* Put a chequered background behind images, only visible if they have transparency.
   '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
    background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
    background: #fff;
}

/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
   [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
#mw-subcategories ul {
    list-style: none none;
    margin-left: 0.25em;
}
.CategoryTreeChildren {
    margin-left: 1.25em;
}

/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
    clear: both;
}

body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
    display: block;   /* Override inline block mode */
    margin-bottom: 1em;
    /* @noflip */
    clear: right;     /* Clear any info boxes that stick out */
    /* @noflip */
    float: right;     /* Prevents margin collapsing */
}

/* Toned down styling for update markers on watchlist and history pages. */
span.updatedmarker {
    background-color: transparent;
    color: #006400;
}
.mw-special-Watchlist .mw-changeslist-line-watched .mw-title {
    font-weight:normal;
}
.mw-special-Watchlist #mw-watchlist-resetbutton {
    display:none;
}

/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header             { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; }     /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside     { display: none; }      /* hide things that should only display outside shells */

/* Styling for Abuse Filter tags */
.mw-tag-markers {
    font-family:sans-serif;
    font-style:italic;
    font-size:90%;
}

/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-sysop.css]] and [[MediaWiki:Group-accountcreator.css]]. */
.sysop-show, .accountcreator-show {
    display: none;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
    list-style: none none;
}
ul.permissions-errors {
    margin: 0;
}

/* No linewrap on the labels of the login/signup page */
body.page-Special_UserLogin .mw-label label,
body.page-Special_UserLogin_signup .mw-label label {
    white-space: nowrap;
}

/* Disable the automatic text-size adjust of WebKit on iPhones etc.
   It scales some text, and not the other. Use none, or fixed percentage instead.
   Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

/* Pie chart test: Transparent borders */
.transborder {
    border: solid transparent;
}
* html .transborder {  /* IE6 */
    border: solid #000001;
    filter: chroma(color=#000001);
}

/* Adjust font for inline HTML generated formulae */
span.texhtml {
    font-family: "Times New Roman", "Nimbus Roman No9 L", Times, serif;
    font-size: 118%;
    white-space: nowrap;
}
span.texhtml span.texhtml,
body.skin-standard span.texhtml,
body.skin-nostalgia span.texhtml,
body.skin-simple span.texhtml {
    font-size: 100%;
}

/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
   [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua {
    font-family: monospace, Courier !important;
}

/* Fix styling of transcluded prefindex tables */
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
    width: 98%;
}

/* For portals, added 2011-12-07 -bv
   On wide screens, show these as two columns
   On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
    float: left;
    width: 50%;
}
.portal-column-right {
    float: right;
    width: 49%;
}
.portal-column-left-wide {
    float: left;
    width: 60%;
}
.portal-column-right-narrow {
    float: right;
    width: 39%;
}
.portal-column-left-extra-wide {
    float: left;
    width: 70%;
}
.portal-column-right-extra-narrow {
    float: right;
    width: 29%;
}
@media only screen and (max-width: 800px) {
    /* Decouple the columns on narrow screens */
    .portal-column-left,
    .portal-column-right,
    .portal-column-left-wide,
    .portal-column-right-narrow,
    .portal-column-left-extra-wide,
    .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}

/* For announcements */
#bodyContent .letterhead {
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}

/* Tree style lists */
.treeview ul {
    padding: 0;
    margin: 0;
}
.treeview li {
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    zoom: 1; /* BE KIND TO IE6 */;
}
.treeview li li {
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
    /* @noflip */
    padding-left: 20px;
    text-indent: 0.3em;
}
.treeview li li.lastline {
    background-position: 0 -5971px
}
.treeview li.emptyline > ul {
    /* @noflip */
    margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
    background-position: 0 9px
}

/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element {
    display: none !important;
}

/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
    display: none;
}

/* work-around for [[bugzilla:23965]] (Kaltura advertisement) */
.k-player .k-attribution {
    visibility: hidden;
}