|
|
(未显示3个用户的27个中间版本) |
第1行: |
第1行: |
| /* | | /*背景图 |
| == 未归类 ==
| | https://zh.moegirl.org.cn/MediaWiki:Common.css |
| | | 本文引自萌娘百科(https://zh.moegirl.org.cn),文字内容默认使用《知识共享 署名-非商业性使用-相同方式共享 3.0》协议。*/ |
| */
| | body.skin-vector { |
| | | background: url(/images/d/d9/WIKI头图.png) no-repeat top left #f6f6f6; |
| | |
| /* 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 {
| | #p-logo { |
| width: 20em;
| | width: 11em; |
| font-size: 90%;
| | height: 250px; |
| }
| | margin-left: -.5em; |
|
| |
| /* 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 { | | #p-logo a { |
| font-weight: bold;
| | display:block; |
| | width: 11em; |
| | height: 250px; |
| | background-repeat:no-repeat; |
| | background-position:center center; |
| | text-decoration:none; |
| | background-image: none; |
| } | | } |
|
| |
|
| /* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
| | #mw-page-base { |
| .hiddenStructure {
| | background: none; |
| display: inline ! important;
| |
| color: #f00;
| |
| background-color: #0f0; | |
| } | | } |
|
| |
|
| /* Removes underlines from links */
| | #content { |
| .nounderlines a {
| | position: relative; |
| text-decoration: none;
| | z-index: 7; |
| | background-color: rgba(255,255,255,0.7); |
| } | | } |
|
| |
|
| | | div.vectorTabs ul li { |
| | | background-image:none!important; |
| == 未归类 ==
| | background-color:transparent!important; |
| | |
| */
| |
| | |
| /* 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 */
| | #left-navigation, |
| #bodyContent .plainlinks a {padding: 0 !important} | | #right-navigation, |
| | | div.vectorTabs ul li.selected { |
| #p-nav h5 {
| | background-image: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.3) 30%,rgba(255,255,255,.5))!important; |
| display: none;
| | background-color: transparent!important; |
| } | | } |
|
| |
|
| .portlet a { | | div#p-personal { |
| text-decoration: none;
| | background-color: rgba(255, 255, 255, 0.8); |
| | padding: 5px 10px 5px 0; |
| | box-shadow: #666 0 1px 5px; |
| } | | } |
|
| |
|
| .portlet a:hover {
| | #p-personal ul { |
| text-decoration: underline;
| | padding-left: 0; |
| | padding: 0px 10px 0px 10px; |
| } | | } |
|
| |
|
| #p-nav .pBody { | | #simpleSearch { |
| padding-right: 0;
| | background-image: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,.8) 30%,rgba(255,255,255,.9)); |
| } | | } |
|
| |
|
| #p-nav a { | | #p-cactions ul { |
| display: block;
| | z-index: 9; |
| width: 100%;
| |
| } | | } |
|
| |
|
| /* To position the spoken article link at the top of page | | /*背景图结束*/ |
| Commented out while sitenotice present */
| |
|
| |
|
| #spoken {
| | /*传奇模板*/ |
| position: absolute;
| | .legendT { |
| float: right;
| | background:white; |
| text-align: right;
| | width:100%; |
| 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]] */
| | .legendT th{ |
| .plainlinksneverexpand a.external.text:after { | | background-color:#E1685D; |
| display: none !important
| | color:white; |
| | padding:1em; |
| | } |
| | .legendT ul{ |
| | margin:0; |
| | width:100%; |
| | } |
| | .legendT li{ |
| | display:inline-block; |
| | margin:0 .7% 0; |
| | text-align:center; |
| | vertical-align:text-top; |
| | width:7%; |
| | min-width:65px; |
| | max-width:125px; |
| | } |
| | .legendT img{ |
| | width: 100%; |
| | min-width: 65px; |
| | max-width: 125px; |
| | height: auto; |
| } | | } |
|
| |
|
| /* | | /*传奇模板结束*/ |
|
| |
|
| == 折叠效果 ==
| |
|
| |
|
| */
| | /* Style for horizontal lists (separator following item) */ |
| /* Standard Navigationsleisten.*/ | | .skin-monobook .hlist dl, |
| | | .skin-modern .hlist dl, |
| div.Boxmerge,
| | .skin-vector .hlist dl { |
| div.NavFrame {
| | line-height: 1.5em; |
| margin: 0px;
| | } |
| padding: 2px;
| | .hlist dl, |
| border: 1px solid #aaaaaa;
| | .hlist ol, |
| border-collapse: collapse;
| | .hlist ul { |
| font-size: 95%;
| | margin: 0; |
| | } |
| | .hlist dd, |
| | .hlist dt, |
| | .hlist li { |
| | display: inline; |
| | margin: 0; |
| } | | } |
| div.Boxmerge div.NavFrame {
| | /* Display nested lists inline */ |
| border-style: none;
| | .hlist dl dl, |
| border-style: hidden;
| | .hlist ol ol, |
| | .hlist ul ul { |
| | display: inline; |
| } | | } |
| div.NavFrame + div.NavFrame,
| | /* Generate interpuncts */ |
| div.NavFrame + table.collapsible,
| | .hlist dt:after { |
| table.collapsible + div.NavFrame,
| | content: " :"; |
| table.collapsible + table.collapsible {
| |
| border-top-style: none;
| |
| border-top-style: hidden;
| |
| } | | } |
| div.NavPic {
| | .hlist dd:after, |
| background-color: #ffffff;
| | .hlist li:after { |
| margin: 0px;
| | content: " ·"; |
| padding: 2px;
| | font-weight: bold; |
| float: left;
| |
| } | | } |
| div.NavFrame div.NavHead {
| | .hlist dd:last-child:after, |
| min-height: 1.6em;
| | .hlist dt:last-child:after, |
| font-weight: bold;
| | .hlist li:last-child:after { |
| font-size: 100%;
| | content: none; |
| text-align: center;
| |
| background-color: #efefef;
| |
| cursor:pointer;
| |
| } | | } |
| div.NavFrame p {
| | /* for IE 8 */ |
| font-size: 100%;
| | .hlist dd.nopunct:after, |
| | .hlist dt.nopunct:after, |
| | .hlist li.nopunct:after { |
| | content: none; |
| } | | } |
| div.NavFrame div.NavContent {
| | /* Add parens around nested lists */ |
| font-size: 100%;
| | .hlist dl dl:before, |
| | .hlist ol ol:before, |
| | .hlist ul ul:before { |
| | content: "("; |
| } | | } |
| div.NavFrame div.NavContent p {
| | .hlist dl dl:after, |
| font-size: 100%;
| | .hlist ol ol:after, |
| | .hlist ul ul:after { |
| | content: ")"; |
| } | | } |
| div.NavEnd {
| | /* Put numbers in ordered lists */ |
| margin: 0px;
| | .hlist.hnum ol li { |
| padding: 0px;
| | counter-increment: level1; |
| line-height: 1px;
| |
| clear: both;
| |
| } | | } |
| span.NavToggle {
| | .hlist.hnum ol li:before { |
| float: right;
| | content: counter(level1) " "; |
| /*保证在禁用JS状态下不显示提示,使用hidden以保证在navbox标题能占有宽度*/
| |
| visibility: hidden;
| |
| text-align: right;
| |
| font-weight: normal;
| |
| font-size: 80%;
| |
| } | | } |
| | | .hlist.hnum ol ol li { |
| /* Hatnotes and disambiguation notices */
| | counter-increment: level2; |
| .rellink /*, | |
| .dablink */ { | |
| /* font-style: italic; */ | |
| /* @noflip */
| |
| padding-left: 1.6em;
| |
| margin-bottom: 0.5em;
| |
| } | | } |
| .rellink i /*, | | .hlist.hnum ol ol li:before { |
| .dablink i */ { | | content: counter(level2) " "; |
| font-style: normal; | |
| } | | } |
|
| |
|
| | | /* Unbulleted lists */ |
| /* | | .plainlist ul { |
| | | line-height: inherit; |
| == 未归类 ==
| | list-style: none none; |
| | | margin: 0; |
| */ | |
| /* Do not expand kvaleberg.com-URLs for printing
| |
| #content span.coordinates a.external.text:after, #content span.coordinates a.external.autonumber:after {
| |
| content: "";
| |
| } | | } |
| */
| | .plainlist ul li { |
| | | margin-bottom: 0; |
| /* Formatierung betrifft Vorlagen: Geokoordinate, Koordinate2 & Koordinate3
| |
| #coordinates {
| |
| font-size: 10.5px; | |
| } | | } |
| */
| |
|
| |
|
|
| |
|
| | /* ---Infobox template style */ |
|
| |
|
| /* custom edits */
| | .infobox { |
| /* 分类框高度 */
| | border: 1px solid #aaaaaa; |
| #catlinks {
| | background-color: #f9f9f9; |
| border: 1px solid #aaa;
| | color: black; |
| background-color: #f9f9f9;
| | margin-bottom: 0.5em; |
| padding: 5px;
| | margin-left: 1em; |
| margin-top: 1em;
| | padding: 0.2em; |
| clear: both;
| | float: right; |
| | clear: right; |
| } | | } |
|
| |
|
| /* Default style for navigation boxes */ | | |
| | /* Default style for ----navigation boxes */ |
| .navbox { /* Navbox container style */ | | .navbox { /* Navbox container style */ |
| border: 1px solid #aaa; | | border: 1px solid #aaa; |
第286行: |
第198行: |
| margin: auto; | | margin: auto; |
| clear: both; | | clear: both; |
| font-size: 88%;
| |
| text-align: center; | | text-align: center; |
| padding: 1px; | | padding: 1px; |
| } | | } |
| .navbox-inner, | | /*防止表格隐藏宽带改变*/ |
| .navbox-subgroup {
| | .navbox-inner { |
| width: 100%; | | width: 100% |
| } | | } |
| .navbox th, | | .navbox th, |
第406行: |
第317行: |
| } | | } |
|
| |
|
| /*
| |
| == headline edit ==
| |
| */
| |
|
| |
|
| .editsection {
| | /* For template ------documentation*/ |
| 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 #aaa;
| |
| background-color: #f9f9f9;
| |
| width: 80%;
| |
| margin: 0 auto 1em auto;
| |
| padding: .2em;
| |
| }
| |
| .messagebox.merge {
| |
| border: 1px solid #c0b8cc;
| |
| background-color: #f0e5ff;
| |
| text-align: center;
| |
| }
| |
| .messagebox.cleanup {
| |
| border: 1px solid #9f9fff;
| |
| background-color: #efefff;
| |
| text-align: center;
| |
| }
| |
| .messagebox.standard-talk {
| |
| border: 1px solid #c0c090;
| |
| background-color: #f8eaba;
| |
| }
| |
| .messagebox.nested-talk {
| |
| border: 1px solid #c0c090;
| |
| background-color: #f8eaba;
| |
| width: 100%;
| |
| margin: 2px 4px 2px 4px;
| |
| }
| |
| .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: #F8EABA;
| |
| }
| |
| /* For template documentation */
| |
| .template-documentation { | | .template-documentation { |
| clear: both; | | clear: both; |
第486行: |
第325行: |
| background-color: #ecfcf4; | | background-color: #ecfcf4; |
| padding: 5px; | | 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 #8888aa;
| |
| background: #f7f8ff;
| |
| padding: 0.5em;
| |
| }
| |
|
| |
| /*
| |
| == other ==
| |
| */
| |
| span.lanLabel {
| |
| color: #777777;
| |
| 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 #A9A9A9;
| |
| 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;
| |
| }
| |
| } | | } |
|
| |
|
第569行: |
第333行: |
|
| |
|
| /***** | | /***** |
| ** Bytecounter colours | | ** Bytecounter colours最近更改 |
| *****/ | | *****/ |
| strong.mw-plusminus-neg | | strong.mw-plusminus-neg |
第575行: |
第339行: |
| color: #c00; | | color: #c00; |
| } | | } |
| .mw-plusminus-pos {color: #060;}
| |
| .mw-plusminus-neg {color: #900;}
| |
|
| |
|
| /************************
| |
| **Fix margin of topicon**
| |
| ************************/
| |
| .topicon {
| |
| margin-right: 0 !important;
| |
| }
| |
|
| |
|
| /******************** | | /* 黑条模板css(old) 已弃用 |
| **Styles for mboxes**
| | span.heitiao{ |
| ********************/
| | background-color: #252525; |
| /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
| | color: #252525; |
| th.mbox-text, td.mbox-text { /* The message body cell(s) */
| | text-shadow: none; |
| 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 #aaa;
| |
| border-left: 10px solid #1e90ff; /* Default "notice" blue */
| |
| background: #fbfbfb; | |
| }
| |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| |
| margin-top: -1px;
| |
| }
| |
| .ambox th.mbox-text,
| |
| .ambox td.mbox-text { /* The message body cell(s) */
| |
| padding: 0.25em 0.5em; /* 0.5em left/right */
| |
| }
| |
| .ambox td.mbox-image { /* The left image cell */
| |
| padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
| |
| }
| |
| .ambox td.mbox-imageright { /* The right image cell */
| |
| padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
| |
| }
| |
|
| |
| table.ambox-notice {
| |
| border-left: 10px solid #1e90ff; /* Blue */
| |
| }
| |
| table.ambox-speedy {
| |
| border-left: 10px solid #FF0000; /* Red */ | |
| background: #fee; /* Pink */ | |
| }
| |
| table.ambox-delete {
| |
| border-left: 10px solid #b22222; /* Red */
| |
| }
| |
| table.ambox-content {
| |
| border-left: 10px solid #f28500; /* Orange */
| |
| }
| |
| table.ambox-style {
| |
| border-left: 10px solid #f4c430; /* Yellow */
| |
| }
| |
| table.ambox-move {
| |
| border-left: 10px solid #9932cc; /* Purple */
| |
| }
| |
| table.ambox-protection {
| |
| 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. */
| |
| }
| |
| .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 */
| |
| }
| |
|
| |
|
| |
| /* 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:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
| |
| div.mw-lag-warn-normal,
| |
| div.noarticletext,
| |
| div.fmbox-system {
| |
| clear: both;
| |
| margin: 0.2em 0;
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9;
| |
| padding: 0.25em 0.9em;
| |
| }
| |
|
| |
| /* These mbox-small classes must be placed after all other
| |
| 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 */
| | span.heitiao:hover { |
| /* Hide the images */
| | transition: color .13s linear; |
| .compact-ambox table .mbox-image, | | color: white; |
| .compact-ambox table .mbox-imageright,
| |
| .compact-ambox table .mbox-empty-cell { | |
| display: none; | |
| } | | } |
| /* Remove borders, backgrounds, padding, etc. */ | | */ |
| .compact-ambox table.ambox { | | /* 黑条CSS(new) */ |
| border: none; | | .heitiao, |
| border-collapse: collapse;
| | .heitiao rt { |
| background: transparent;
| | background-color: #252525; |
| margin: 0 0 0 1.6em !important;
| |
| padding: 0 !important;
| |
| width: auto;
| |
| display: block;
| |
| } | | } |
| body.mediawiki .compact-ambox table.mbox-small-left {
| | span.heitiao a.external, |
| font-size: 100%;
| | span.heitiao a.external:visited, |
| width: auto;
| | span.heitiao a.extiw, |
| margin: 0;
| | span.heitiao a.extiw:visited { |
| }
| | color: #252525; |
| /* 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; }
| |
| | |
| | |
| | |
| /* 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;
| |
| }
| |
| | |
| /* 解决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;
| |
| }
| |
| | |
| | |
| /* 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, | |
| pre.source-css,
| |
| pre.source-javascript {
| |
| font-family: monospace, "Courier New" !important;
| |
| }
| |
| | |
| | |
| /* [[template:fact]]的文字背景色设置 */
| |
| .template-facttext{
| |
| background-color:#FFEFD6; | |
| }
| |
| | |
| /* 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;
| |
| }
| |
| | |
| /*编辑提交按钮部分的样式*/
| |
| div.editOptions {
| |
| background: #F0F0F0; padding:1em 1em 1.5em 1em;margin: 0 -2px 2em 0;border: solid silver; border-width:0 1px 1px 1px;
| |
| }
| |
| | |
| .mw-summary-preset {
| |
| display: inline;
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
| .mw-summary-preset-item {
| |
| border-left: 1px solid #AAAAAA;
| |
| 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;
| |
| }
| |
| .editCheckboxes {
| |
| margin-bottom: 1em;
| |
| }
| |
| .editCheckboxes input[type="checkbox"]:first-child {
| |
| margin-left:0;
| |
| }
| |
| | |
| .editButtons > input[type="submit"]:first-child {
| |
| margin-left: .1em;
| |
| } | | } |
| .editButtons > input[type="submit"] { | | .heitiao, |
| font-size: 92% !important;
| | .heitiao a, |
| margin: 0 .33em;
| | a .heitiao, |
| }
| | .heitiao a.new { |
| | |
| #pagehistory li.not-patrolled {
| |
| background-color: #FFA !important;
| |
| }
| |
| | |
| | |
| | |
| /* 黑条模板css */
| |
| span.heitiao{
| |
| background-color: #252525;
| |
| color: #252525; | | color: #252525; |
| text-shadow: none; | | text-shadow: none; |
| } | | } |
| | | body:not(.heitiao_toggle_on) .heitiao:hover, |
| span.heitiao:hover {
| | body:not(.heitiao_toggle_on) .heitiao:active, |
| | body:not(.heitiao_toggle_on) .heitiao.off { |
| transition: color .13s linear; | | transition: color .13s linear; |
| color: white; | | color: white; |
| } | | } |
| | | body:not(.heitiao_toggle_on) .heitiao:hover a, |
| | body:not(.heitiao_toggle_on) a:hover .heitiao, |
| | body:not(.heitiao_toggle_on) .heitiao.off a, |
| | body:not(.heitiao_toggle_on) a:hover .heitiao.off { |
| | transition: color .13s linear; |
| | color: lightblue; |
| | } |
| | body:not(.heitiao_toggle_on) .heitiao.off .new, |
| | body:not(.heitiao_toggle_on) .heitiao.off .new:hover, |
| | body:not(.heitiao_toggle_on) .new:hover .heitiao.off, |
| | body:not(.heitiao_toggle_on) .heitiao:hover .new { |
| | transition: color .13s linear; |
| | color: #FCC; |
| | } |
| | /*黑条CSS(new)结束*/ |
| /*分页tabs*/ | | /*分页tabs*/ |
| .tabs-container { | | .tabs-container { |
第1,045行: |
第448行: |
| border-width:0 3px 3px; | | border-width:0 3px 3px; |
| } | | } |
| | /*分页tabs结束*/ |
|
| |
|
|
| |
|
| /*分页tabs结束*/ | | |
| | /*收纳表模版开始*/ |
| | .stgt { |
| | width: 95%; |
| | } |
| | .stgt.hori { |
| | display: flex; |
| | } |
| | .stab { |
| | display: grid; |
| | margin: 0; |
| | padding: 1%; |
| | gap: 6px; |
| | width: inherit; |
| | } |
| | .stab.hori { |
| | display: inline-grid; |
| | height: 400px; |
| | overflow-y: auto; |
| | width: 20%; |
| | } |
| | .sitm { |
| | margin: 0; |
| | padding: 0; |
| | font-weight: 700; |
| | } |
| | .ctab { |
| | margin: 0; |
| | padding: 1%; |
| | margin-left: 0; |
| | width: inherit; |
| | } |
| | .ctab.hori { |
| | display: inline-grid; |
| | height: 400px; |
| | overflow-y: auto; |
| | width: 60%; |
| | } |
| | /*收纳表模版结束*/ |
| | |
| | |
| | |
| | |
| | /*延迟的目录收缩开始*/ |
| | #toctogglecheckbox + .toctitle + ul { |
| | display: block; |
| | font-size: 0; |
| | opacity: 0; |
| | transition: |
| | opacity .25s linear, |
| | font-size .5s .25s; |
| | |
| | } |
| | #toctogglecheckbox:checked + .toctitle + ul { |
| | font-size: 100%; |
| | opacity: 100; |
| | transition: |
| | font-size .5s, |
| | opacity .25s .5s linear; |
| | } |
| | /*延迟的目录收缩结束*/ |