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

来自Ballance Wiki
跳转至: 导航搜索
(创建页面,内容为“所有皮肤的公共CSS: 管理员注意!任何对Common.css的改变必须先在技术客栈讨论,谢谢。: /* Default styling for HTML elements…”
 
第1,565行: 第1,565行:
 
#p-logo a:lang(zh-my),
 
#p-logo a:lang(zh-my),
 
#p-logo a:lang(zh-sg) {
 
#p-logo a:lang(zh-sg) {
    background-image: url(/static/images/project-logos/zhwiki-hans.png) !important;
 
 
}
 
}
  
第1,574行: 第1,573行:
 
     #p-logo a:lang(zh-my),
 
     #p-logo a:lang(zh-my),
 
     #p-logo a:lang(zh-sg) {
 
     #p-logo a:lang(zh-sg) {
        background-image: url(/static/images/project-logos/zhwiki-hans-1.5x.png) !important;
 
 
         background-size: 136px auto;
 
         background-size: 136px auto;
 
     }
 
     }
第1,583行: 第1,581行:
 
     #p-logo a:lang(zh-my),
 
     #p-logo a:lang(zh-my),
 
     #p-logo a:lang(zh-sg) {
 
     #p-logo a:lang(zh-sg) {
        background-image: url(/static/images/project-logos/zhwiki-hans-2x.png) !important;
 
 
         background-size: 135px auto;
 
         background-size: 135px auto;
 
     }
 
     }

2018年6月24日 (日) 11:47的版本

/* 所有皮肤的公共CSS */

/* 管理员注意!任何对Common.css的改变必须先在技术客栈讨论,谢谢。 */

/* Default styling for HTML elements */
dfn {
    font-style: inherit;  /* Reset default styling for <dfn> */
}

/* 用于首页 */
/* 首页不显示红链 */
body.ns-4.page-Wikipedia_首页 #mw-content-text a.new {
    color: inherit;
}
body.ns-4.page-Wikipedia_首页 .mw-headline-anchor {
    display: none;
}

#interwiki-completelist {
    font-weight: bold;
}

/*
== 参考区 ==
*/

/* 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,
div.refbegin ol.references,
div.refbegin div.reflist {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
}
div.reflist ol.references, div.notelist ol.references {
    list-style-type: inherit;  /* Enable custom list style types */
}

/* .references-2column b/c */
div.references-2column {
    -moz-column-count: 2;
    column-count: 2;
    font-size: 90%;
}
div.references-2column ol.references,
div.references-2column div.reflist,
div.references-2column div.refbegin,
div.refbegin div.references-2column {
    font-size: 100%;
}

/* Reset top margin for lists embedded in columns */
div.columns {
    margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
    margin-top: 0;
}

/* Avoid list items from breaking between columns */
div.columns li,
div.columns dd dd {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}

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

/* 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) HTML formulae
   5) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
span.texhtml,
sup.reference a {
    white-space: nowrap;
}

/* In the case where non-CJK links are joined with CJK punctuations
   (thus no space after punctuations), browsers tend to disallow link wrap
   around those punctuations (see diff=37708459). Insert an empty pseudo-
   element with standard wrapping to work around this. */
.nowraplinks a:before,
.nowraplinks .selflink:before {
    content: " ";
    font-size: 0;
    white-space: normal;
}

/* However if there is a manual nowrap, do not ignore it. */
.nowraplinks .nowrap a:before,
.nowraplinks .nowrap .selflink:before {
    white-space: nowrap;
}

/* Style for horizontal lists (separator following item) */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li {
    display: inline;
    margin: 0;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
    display: inline;
}
/* 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 IE 8 */
.hlist dd.nopunct:after,
.hlist dt.nopunct:after,
.hlist li.nopunct:after {
    content: none;
}
/* Add parens around nested lists */
.hlist dl dl:before,
.hlist ol ol:before,
.hlist ul ul:before {
    content: "(";
}
.hlist dl dl:after,
.hlist ol ol:after,
.hlist ul ul:after {
    content: ")";
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
    counter-increment: level1;
}
.hlist.hnum ol li:before {
    content: counter(level1) " ";
}
.hlist.hnum ol ol li {
    counter-increment: level2;
}
.hlist.hnum ol ol li:before {
    content: counter(level2) " ";
}

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

.same-bg { background: none }

/*

== 提示 ==

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

#disambig {
    border-top: 3px double #a2a9b1;
    border-bottom: 3px double #a2a9b1;
}

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

/* 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/w/skins/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 #a2a9b1;
   background-color: #f8f9fa;
   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 #a2a9b1;
}
.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 #a2a9b1;
   border-right: 1px solid #a2a9b1;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #a2a9b1;
}
 
 
/* 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 #a2a9b1;
   padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
   border-top: solid 1px #a2a9b1;
   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 #a2a9b1;
   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;
}

/* Template:IPA */
.IPA {
	font-family: 'Charis SIL', 'Doulos SIL', 'Linux Libertine', 'Segoe UI', 'Lucida Sans Unicode', 'Code2000', 'Gentium', 'Gentium Alternative', 'TITUS Cyberbit Basic', 'Arial Unicode MS', 'IPAPANNEW', 'Chrysanthi Unicode', 'GentiumAlt', 'Bitstream Vera', 'Bitstream Cyberbit', 'Hiragino Kaku Gothic Pro', 'Lucida Grande', sans-serif;
	text-decoration: none !important;
}

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

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

/*

== 未归类 ==

*/

/* Class styles */

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

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

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


/*

== 未归类 ==


/* custom edits */
/* 分类框高度 */
#catlinks {
	border: 1px solid #a2a9b1;
	padding: 5px;
	margin-top: 1em;
	clear: both;
}

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    border: 1px solid #a2a9b1;
    width: 100%; 
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox th,
.navbox-title,
.navbox-abovebelow {
    text-align: center;       /* Title and above/below styles */
    padding-left: 1em;
    padding-right: 1em;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    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 */
}
.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,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
    font-variant: small-caps;
    border-bottom: none;
    text-decoration: none;
    cursor: inherit;
}
/* Navbar styling when nested in navbox */
.navbox .navbar {
    display: block;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 8em;
}

/* '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: 8em;
}

/*
== headline edit ==
*/

.editsection {
	font-weight: normal !important;
	margin-left: 1em;
}

/*修正IE的渲染bug*/
.noedit {
	padding-top: 1px;
}

.noedit .editsection, .noedit .mw-editsection
{
	display: none;
}

.nosecnum .mw-headline-number
{
	display: none;
}

/* 
== for some templates ==

Messagebox templates
*/
.messagebox {
   border: 1px solid #a2a9b1;
   background-color: #f8f9fa;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
}
.messagebox.merge {
   border: 1px solid #c0b8cc;
   background-color: #f0e5ff;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}
.messagebox.nested-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
   width: 100%;
   margin: 2px 4px 2px 4px;
}
.messagebox.small {
   width: 238px;
   font-size: 85%;
   float: right;
   clear: both;
   margin: 0 0 1em 1em;
   line-height: 1.25em; 
}
.messagebox.small-talk {
  width: 238px;
  font-size: 85%;
  float: right;
  clear: both;
  margin: 0 0 1em 1em;
  line-height: 1.25em; 
  background: #f8f9fa;
}
/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #a2a9b1; 
    background-color: #ecfcf4; 
    padding: 5px;
}

/*
== external link ==

 Change the external link icon to an Adobe icon for all PDF files 
 (in browsers that support these CSS selectors, like Mozilla and Opera)

 */
#bodyContent a[href$=".pdf"].external, 
#bodyContent a[href*=".pdf?"].external, 
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external, 
#bodyContent a[href*=".PDF?"].external, 
#bodyContent a[href*=".PDF#"].external {
    background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat;
    padding-right: 16px;
}
 
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
    background: url(//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;
}
 
span.geolink a {
    background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center right no-repeat !important;
    padding-right: 11px !important;
}

/*
== ToolTips ==
*/
.ILHClickButton_tip {
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    padding: 0.5em;
}

/*
== other ==
*/
span.lanLabel {
    color: #72777d;
    padding-left: 0.5em;
}

tt span.minor {
    margin: 0 -2px 0 -3px;
    font-size: 12px;
}
tt span.newpage {
    margin: 0 1px 0 -6px;
    font-size: 12px;
}
tt span.bot {
    margin: 0 -6px 0 1px;
    font-size: 12px;
}
/*tt span.unpatrolled*/

/* 用于封禁类模板,如Template:Uw-block1 */
div.user-block {
    padding: 5px;
    border: 1px solid #a2a9b1;
    background-color: #FFEFD5;
}

/* 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, projection {
    cite *.printonly {
        display: none;
    }
}

/*
== MetaBox ==

*/
 
/* Nou esquema de colors per a la Plantilla:Metacaixa usada a la portada */
 
/* Configuració per defecte en lila 
   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%;
}
 
/* Configuració del Verd 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */
 
.mcVerd .mcBoto {
 background-color: #a5e085; /* 4 */
 border-color: #c0f090 #90d060 #75c045 #c0f090;  /* 5 3 2 5 */}
 
.mcVerd .mcBoto a,
.mcVerd .mcBoto strong {
  color:#60b030 !important;  /* 1 */
  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 */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    border: none; 
    padding: 0.25em 0.9em;       /* 0.9em left/right */
    width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
    border: none; 
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
    text-align: center; 
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
    text-align: center; 
}
td.mbox-empty-cell {         /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}
 
/* Article message box styles */
table.ambox {
    margin: 0px 10%;   /* 10% = Will not overlap with other elements */
    border: 1px solid #a2a9b1; 
    border-left: 10px solid #36c;    /* Default "notice" blue */
    background: #f8f9fa; 
}
table.ambox + table.ambox {   /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text, 
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}
 
table.ambox-notice {
    border-left: 10px solid #36c;    /* Blue */
}
table.ambox-speedy {
    border-left: 10px solid #b32424;    /* Red */
    background: #fee7e6;                   /* Pink */
}
table.ambox-delete {
    border-left: 10px solid #b32424;    /* Red */
}
table.ambox-content {
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    border-left: 10px solid #fc3;    /* Yellow */
}
table.ambox-move {
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #a2a9b1;       /* Gray-gold */
}
 
/* Image message box styles */
table.imbox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 3px solid #36c;    /* Default "notice" blue */
    background: #f8f9fa;
}
.imbox .mbox-text .imbox {    /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;    /* 0.9 - 0.5 = 0.4em left/right. */
}
.mbox-inside .imbox {    /* For imboxes inside other templates. */
    margin: 4px;
}
 
table.imbox-notice {
    border: 3px solid #36c;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b32424;    /* Red */
    background: #fee7e6;             /* Pink */
}
table.imbox-delete {
    border: 3px solid #b32424;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #fc3;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #a2a9b1;       /* 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 #a2a9b1; 
    background: #eaf3ff;    /* Default "notice" blue */
}
 
table.cmbox-notice {
    background: #eaf3ff;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b32424;    /* Red */
    background: #fee7e6;          /* Pink */
}
table.cmbox-delete {
    background: #fee7e6;    /* 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 #a2a9b1;       /* Default "notice" gray */
    background: #f8f9fa;
}
 
table.ombox-notice {
    border: 1px solid #a2a9b1;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b32424;    /* Red */
    background: #fee7e6;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #fc3;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #a2a9b1;       /* Gray-gold */
}
 
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
    margin: 2px 0;               /* class ensures that this declaration overrides other */
    width: 100%;  /* For Safari and Opera */     /* styles (including mbox-small above) */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */   
    font-size: 100%;             /* set in "mbox-small" above.                */
}
 
table.tmbox-speedy {
    border: 2px solid #b32424;    /* Red */
    background: #fee7e6;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b32424;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #fc3;    /* 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;
    font-size: small;
}
 
/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f8f9fa;
}
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:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.noarticletext,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    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. */
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}

/* CODE 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("data:image/gif;base64,R0lGODlhBQANAIAAAGOMnP///yH5BAEAAAEALAAAAAAFAA0AAAIJjI+pu+APo4SpADs=");
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
    display: none;
}

#siteNotice div {
	margin: 0;
}
#mw-dismissable-notice {
	background:transparent;
}

#wpSummary, #wpSummaryLabel, input#wpSummary,input.mw-summary{
        margin-top: 0;
	margin-bottom: 0;
}

/* When <div class="nonumtoc"> is used on the table of contents,
   the ToC will display without numbers */
.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    margin: 0 0 0 2em; 
}
 
/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 { display: none; }

/* styles for &#123;{copyvio}&#125; and &#123;{copyvio/bot}&#123;.
   To reduce the HTML code produced by these templates.
 */
.copyvio-title {
    font-family: Microsoft Yahei,微软雅黑,Microsoft Jhenghei,微軟正黑體,Arial Unicode MS,黑体;
    text-align: center;
    font-size: 150%;
    font-weight: bold;
}
.copyvio-titlebox {
    border-bottom: 2px solid #003153;
    color: white;
    background: #999999;
    padding: 0.5em;
    height: 3em;
    -moz-border-radius: 5px 5px 0 0;
}
.copyvio-box {
    width: 95%;
    border: 3px solid #003153;
    background: white;
    margin: .5em auto;
    font-size:90%;
    -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 */
.dablink > div {
    padding-left: 32px;
    background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;
}

/* 2010版首页 */
div.title-bar-vigar {
    width: 100%;
    max-width: 100%;
    height: 31px;
    overflow: hidden;
    background: #96d1fc url(//upload.wikimedia.org/wikipedia/commons/b/ba/Vigar-zh-wikipedia-2010-new-design-short.png) repeat-x;
}

/* 解决cite定位内文字显示为斜体的问题 */
cite {
    font-style: normal;
}

/* [[Template:Kai]] */

.template-kai {
    font-family: 楷体, 楷体_GB2312, KaiTi, KaiTi_GB2312, 华文楷体, STKaiti, 'AR PL UKai CN', 標楷體, DFKai-SB, 'AR PL UKai HK', 'AR PL UKai TW', 全字庫正楷體, TW-Kai, EUDCKAI;
}

.template-kai:lang(zh-hant),
.template-kai:lang(zh-hk),
.template-kai:lang(zh-mo),
.template-kai:lang(zh-tw) {
    font-family: 標楷體, DFKai-SB, 'AR PL UKai HK', 'AR PL UKai TW', 全字庫正楷體, TW-Kai, 楷体, 楷体_GB2312, KaiTi, KaiTi_GB2312, 华文楷体, STKaiti, 'AR PL UKai CN', EUDCKAI;
}

/* Change logo for zh-hans variants */

#p-logo a:lang(zh-hans),
#p-logo a:lang(zh-cn),
#p-logo a:lang(zh-my),
#p-logo a:lang(zh-sg) {
}

/* [[Phabricator:T37337]], improve resolution of logo on high-resolution screens. */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
    #p-logo a:lang(zh-hans),
    #p-logo a:lang(zh-cn),
    #p-logo a:lang(zh-my),
    #p-logo a:lang(zh-sg) {
        background-size: 136px auto;
    }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    #p-logo a:lang(zh-hans),
    #p-logo a:lang(zh-cn),
    #p-logo a:lang(zh-my),
    #p-logo a:lang(zh-sg) {
        background-size: 135px auto;
    }
}

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

/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
   [[Bugzilla:26204]] */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
.source-css,
.source-javascript {
    font-family: monospace, "Courier New" !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 */
.ns-14 .mw-content-ltr > div[dir=ltr] {
    clear: both;
}

/* [[template:fact]]的文字背景色设置 */
.template-facttext{
    background-color: #eaecf0; margin: -.3em 0; padding: .3em 0;
}

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

/*编辑提交按钮部分的样式*/

.mw-summary-preset {
    display: inline;
    margin: 0;
    padding: 0;
}
.mw-summary-preset-item {
    border-left: 1px solid #a2a9b1;
    display: inline-block;
    line-height: 1.25em;
    margin: 0.125em 0;
    padding: 0 0.5em;
}
.mw-summary-preset-item:first-child {
    border-left: medium none;
    padding-left: 0.25em;
}
.mw-summary-preset-item:last-child {
    padding-right: 0.25em;
}

#mw-dismissable-notice {
    display: none;
}

#pagehistory li.not-patrolled {
    background-color: #FFA !important;
}

/* For the new main page design */
#mp-2012,
#mp-2012-banner,
#mp-2012-body {
    clear: both;
}

#mp-2012-banner {
    /* [[File:Zhwp blue banner.png]] */
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAB4CAYAAAAzOJiAAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAABxSURBVChTnVFBDoAwCEP+/0M/4UFPy4LdjBswjFMOhAAtBUhgTLDLSYsI4VgQnVMI2+ypOmmd4ZsNqVJQYa3ZFyLNCnGTvsC+CR/Xf161ME9pLqThsc0Dpt7TEfamwZZ/hIM0ek/KmLvnhfhIcOvGdAKcwjZpfgh+hQAAAABJRU5ErkJggg==");
    background-repeat: repeat-x;
    height: 120px;
    min-width: 727px; /* 182 + 40 + 240 + 245 + 20 */
}

#mp-2012-banner a {
    color: #17b;
}

#mp-2012-banner > div {
    line-height: 120px;
}

#mp-2012-banner > div > * {
    line-height: 1.5em;
    vertical-align: middle;
}

#mp-2012-banner-logo {
    float: left;
    width: 182px;
    height: 119px;
    margin-bottom: 1px;
    background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/300px-Wikipedia-logo-v2.svg.png");
    background-image: -webkit-image-set(
        url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/300px-Wikipedia-logo-v2.svg.png") 1x,
        url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/450px-Wikipedia-logo-v2.svg.png") 1.5x,
        url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/600px-Wikipedia-logo-v2.svg.png") 2x
    );
    background-image: image-set(
        url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/300px-Wikipedia-logo-v2.svg.png") 1x,
        url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/450px-Wikipedia-logo-v2.svg.png") 1.5x,
        url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/600px-Wikipedia-logo-v2.svg.png") 2x
    );
    background-position: -118px 8px;
    background-repeat: no-repeat;
}

#mp-2012-banner-title {
    float: left;
    margin-left: 40px;
    width: 240px;
}

#mp-2012-banner-title > div {
    display: inline-block;
    font-family: sans-serif;
}

#mp-2012-banner-title h1 {
    font-size: 2em;
    margin: 0;
    padding: 0;
    line-height: 1.6em;
}

#mp-2012-banner-title p {
    margin: 0;
    padding: 0;
    font-size: 85%;
    color: #457;
}

#mp-2012-banner-intro {
    float: right;
    margin-right: 20px;
    width: 245px;
    text-align: right;
}

#mp-2012-banner-intro > div {
    display: inline-block;
    text-align: center;
}

#mp-2012-banner-intro .number-of-articles a {
    color: #113C86;
    font-size: 120%;
    font-family: sans-serif;
    font-weight: bold;
}

#mp-2012-banner-intro p {
    margin: 0;
    padding-bottom: .3em;
    letter-spacing: .1em;
    font-weight: bold;
    color: #457;
}

#mp-2012-banner-intro table {
    width: 100%;
}

#mp-2012-banner-intro td {
    vertical-align: top;
    padding: 0 .5em;
}

#mp-2012 h1,
#mp-2012 h2 {
    font-weight: bold;
    border: none;
}

div#content #mp-2012 h2 {
    font-size: 1.16em;
    margin-bottom: .8em;
    letter-spacing: .16em;
}

#mp-2012 .mw-headline-number {
    display: none;
}

#mp-2012 .hlist li {
  /*  white-space: nowrap; */
    white-space: normal !ie;  /* IE < 8 no-wraps entire list, so disable it */
}

#mp-2012-body {
    min-width: 695px; /* 182 + 40 + 240 + 245 + 20 - 32 */
}

#mp-2012-column-left {
    float: left;
    width: 64.9%;
}

#mp-2012-column-left > div {
    margin-right: 1.5em;
}

.mp-2012-column-left-block {
    margin-top: .8em;
    padding: .8em 1.6em 1.8em;
    line-height: 1.5em;
}

.mp-2012-column-left-block + .mp-2012-column-left-block {
    margin-top: .4em;
    border-top: 1px solid #EEE;
}

#mp-2012-column-right {
    float: right;
    width: 35%;
}

#mp-2012-column-left h2,
#mp-2012-column-left h2 a {
    color: #259;
}

#mp-2012-column-right h2,
#mp-2012-column-right h2 a {
    color: #5c5c5c;
}

#mp-2012 #column-feature-more {
    margin-top: 1.2em;
    clear: left;
}

#mp-2012 #column-feature-more ul {
    list-style: none;
    margin-left: 0;
}

#mp-2012 #column-feature-more li {
    font-size: .9em;
    color: #474747;
}

#mp-2012 #column-feature-more .column-feature-more-header a {
    font-weight: bold;
    color: #474747;
}

#mp-2012 #column-feature img, #mp-2012 #column-good img {
    margin: 0.4em 0.9em 0.3em 0;
}

#mp-2012 #column-feature p img, #mp-2012 #column-good p img {
    margin: 0;
}

#mp-2012 #column-feature p, #mp-2012 #column-good p, #mp-2012-featurepic-text p {
    line-height: 1.6em;
    text-align: justify;
    text-justify: inter-ideograph;
}

#mp-2012 #column-dyk li {
    margin-bottom: 0.5em;
}

.mp-2012-featurepic-horizontal #mp-2012-featurepic-image {
    margin-left: auto;
    margin-right: auto;
}

.mp-2012-featurepic-vertical #mp-2012-featurepic-image {
    float: left;
    margin-right: 25px;
}

#mp-2012-featurepic-image {
    margin-bottom: 5px;
    margin-top: 6px;
    text-align: center;
}

.mp-2012-featurepic-border p {
    border: 1px solid #DDDDDD;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
}

#mp-2012-featurepic-image p {
    position: relative;
    overflow: hidden;
    margin: 0;
    display: inline-block;
}

#mp-2012-featurepic-image span {
    /* caption */
    position: absolute;
    right: .7em;
    bottom: .7em;
    padding: .19em .75em;
    background: black;
    background: rgba(0, 0, 0, .53);
    border-radius: .3em;
    color: white;
    font-size: .85em;
    font-weight: bold;
    text-shadow: 0 1px 3px black;
}

.mp-2012-block-nav-footer {
    color: #666;
    font-size: .85em;
    clear: both;
    text-align: right;
}

#mp-2012-column-left .mp-2012-text {
    color: #1A1A1A;
}

#mp-2012-column-right .mp-2012-text {
    font-size: .98em;
}

#mp-2012-column-right > div {
    margin-top: 1.6em;
}

.mp-2012-column-right-block {
    margin: 0 0 1.6em;
    padding: .8em 1.6em 1.6em;
}

#mp-2012-column-right-block-a {
    border: 1px solid #E8E8E8;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
    background: #FFF;
}

#mp-2012-column-right-block-b {
    border: 1px solid #CADEED;
    box-shadow: 0px 1px 3px #DDE6ED;
    background: #FFF;
    background: linear-gradient(top, #fff 65%,#EFF6FA 100%);
    background: -moz-linear-gradient(top, #fff 65%, #EFF6FA 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(65%,#fff), color-stop(100%,#EFF6FA));
    background: -webkit-linear-gradient(top, #fff 65%,#EFF6FA 100%);
    background: -o-linear-gradient(top, #fff 65%,#EFF6FA 100%);
    background: -ms-linear-gradient(top, #fff 65%,#EFF6FA 100%);
    background: linear-gradient(top, #fff 65%,#EFF6FA 100%);
    clear: both;
}

#mp-2012-column-right-block-c {
    border: 1px solid transparent;
    margin-bottom: .4em;
    clear: both;
}

#mp-2012 #column-itn li {
    margin-bottom: .8em;
}

#mp-2012 #column-otd img {
    margin-left: .6em;
    margin-bottom: .6em;
}

#mp-2012 #column-otd h3 {
    padding-left: 1em;
    margin-bottom: .8em;
    font-weight: normal;
    font-size: 1.01em;
}

#mp-2012 #column-otd h3 .otd-year {
    white-space: nowrap;
    font-weight: bold;
}

#mp-2012 #column-otd dl {
    padding-left: 1em;
}

#mp-2012 #column-otd dt {
    float: left;
    width: 4.2em;
}

#mp-2012 #column-otd dd {
    margin-bottom: .8em;
    margin-left: 4.5em;
}

#mp-2012 #column-uptrends {
    margin-left: 1.6em;
    color: #3B3B3B;
}

#mp-2012 #column-participate {
    margin-left: 1.6em;
    color: #3B3B3B;
}

#mp-2012 #column-participate-button {
    text-align: center;
    margin-top: 1.5em;
    white-space: nowrap;
    font-weight: bold;
}

#mp-2012 #column-tips {
    margin-left: 1.6em;
    color: #494949;
}

#mp-2012-column-tips-header {
    font-weight: bold;
    color: #444;
}

#mp-2012-links {
    margin-bottom: .8em;
    /* Make it flow */
    overflow: hidden;
    clear: left;
}

#mp-2012-links table {
    padding: .8em 1.6em;
    font-size: .95em;
    width: 96%;
    border: 1px solid #EEE;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    margin: 0 auto;
}

#mp-2012-links td {
    width: 33.33%;
    vertical-align: top;
}

#mp-2012-links h3 {
    font-size: .98em;
    font-weight: bold;
    color: #6B6B6B;
    padding-bottom: .2em;
    border-bottom: 1px solid #EEE;
    margin-bottom: .8em;
}

#mp-2012-sisters {
    margin-top: 50px;
    clear:both;
    padding-top: 15px;
    border-top: 3px double #CCC;
    color: #222;
    line-height: 120%;
}

#mp-2012-sisters > div {
    background: white;
    width: 45px;
    margin: -40px auto 0;
}

/* For [[Wikipedia:历史上的今天]] and its subpages */
/* They share the same HTML snippets with main page, */
/* so they need to be styled here too. */
.selected-anniversary img {
    margin-left: .6em;
    margin-bottom: .6em;
}

.selected-anniversary .mw-headline-number {
    display: none
}

.selected-anniversary h3 {
    font-weight: normal;
    font-size: 1em;
    padding-top: 0;
}

.selected-anniversary h3 .otd-year {
    white-space: nowrap;
    font-weight: bold;
}

.selected-anniversary dl {
    margin: 0.3em 0 0 1.6em;
    padding: 0;
    line-height: 1.5em;
    list-style-type: square;
}

.selected-anniversary dl * {
    margin: 0;
    padding: 0;
}

.selected-anniversary dt {
    display: list-item;
    font-weight: normal;
    float: left;
}

.selected-anniversary dt:after {
    content: ',';
}

/* HACK to workaround VE and badly written CGroups */
.noteTA {
    display: none;
}

/* Primarily for VisualEditor */
.oo-ui-window-frame .iframe-hide {
	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: small;
}

/* 页底文字太小 */
div#footer ul li{
	font-size:small;	
}

/* 解决small标签中文字体太小 */
small{
	font-size:.857em;	
}
big{
	font-size:1.143em;	
}

/* 存废讨论旧样式 */
body.ns-4.action-view[class*=" page-Wikipedia_頁面存廢討論_"] h2,
body.ns-4.action-view[class*=" page-Wikipedia_檔案存廢討論_"] h2,
body.ns-4.action-submit[class*=" page-Wikipedia_頁面存廢討論_"] h2,
body.ns-4.action-submit[class*=" page-Wikipedia_檔案存廢討論_"] h2 {
	border-bottom: none;
	font-size: 132%;
	margin-bottom: .3em;
}
body.ns-4.action-view[class*=" page-Wikipedia_頁面存廢討論_"] h3,
body.ns-4.action-view[class*=" page-Wikipedia_檔案存廢討論_"] h3,
body.ns-4.action-submit[class*=" page-Wikipedia_頁面存廢討論_"] h3,
body.ns-4.action-submit[class*=" page-Wikipedia_檔案存廢討論_"] h3 {
	font-size: 116%;
	margin-bottom: .3em;
}

/* 最近更改说明不自动换行 */
	 
.mw-changeslist-legend dd {
	white-space: nowrap;
}

/* (Temporary) fix for inline <inputbox> which is unusually wide on screens above 768px */
.mw-ui-input-inline {
    min-width: inherit;
}
.mw-inputbox-input {
    margin-bottom: 0;
}

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

.hidden {
    display: none;
}

.new a {
	color: #ba0000;
}
.new a:visited {
	color: #a55858;
}


#mw-content-text:lang(zh-Hans) .zhwiki-lang-zh-hant,
#mw-content-text:lang(zh-CN) .zhwiki-lang-zh-hant,
#mw-content-text:lang(zh-MY) .zhwiki-lang-zh-hant,
#mw-content-text:lang(zh-SG) .zhwiki-lang-zh-hant {
    display: none;
}
#mw-content-text:lang(zh-Hant) .zhwiki-lang-zh-hans,
#mw-content-text:lang(zh-HK) .zhwiki-lang-zh-hans,
#mw-content-text:lang(zh-MO) .zhwiki-lang-zh-hans,
#mw-content-text:lang(zh-TW) .zhwiki-lang-zh-hans {
    display: none;
}