MediaWiki:Common.css:修订间差异
Liulingbowen(留言 | 贡献) 小无编辑摘要 |
Liulingbowen(留言 | 贡献) 小无编辑摘要 |
||
第141行: | 第141行: | ||
content: " · "; | content: " · "; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: | font-size: 100%; | ||
} | } | ||
2019年6月21日 (五) 06:53的版本
/* 此 CSS 會套用至所有的介面外觀 */
body {
font-family: sans-serif;
}
.mw-body-content {
font-size: 0.938em;
}
.mw-body-content p:first-child {
margin-top: 2.5em;
}
.mw-body-content .mw-parser-output > h2 {
font-family: sans-serif;
font-weight: bold;
border: none;
background-color: #f0f0f0;
padding: .3em;
margin-top: 2em;
}
.mw-body-content .mw-parser-output #toc + h2 {
margin-top: 1.5em;
}
.mw-body-content .mw-parser-output > h3 {
border-bottom: 1px solid #a2a9b1;
}
.mw-body h2 {
overflow:hidden;
}
#mw-content-text > blockquote {
border-left: 2px solid #e9e9e9;
padding-left: .5em;
}
ol.references {
font-size: 90%;
}
/***** Links *****/
a:visited {
color:#0645ad;
}
.mw-body-content a.extiw {
color: #3366BB;
}
.mw-body-content a.extiw:visited {
color: #3366BB;
}
.mw-body-content a.extiw:active {
color: #3366BB;
}
/*****For Template:Quote*****/
.templatequote {
font-family:SimSun;
background: #f9f9f9;
border-left: 10px solid #ccc;
padding: 0.5em 10px;
}
/*****For Template:Sidebar*****/
.hlist ul {
list-style: none;
margin: 0;
}
.hlist ul li {
display: inline;
}
.hlist dd:after, .hlist li:after {
content: " ·";
font-weight: bold;
}
.hlist dd:last-child:after, .hlist li:last-child:after {
content: none;
}
.vlist ul {
list-style: none;
margin-left: 0;
}
/***** TEMPLATE: CategoryTree *****/
#mw-content-text .CategoryTreeTag a.CategoryTreeLabelCategory {
font-weight: bold;
}
#mw-content-text .CategoryTreeTag a.CategoryTreeLabelPage {
font-style: normal;
}
#mw-content-text .CategoryTreeTag > .CategoryTreeSection > .CategoryTreeItem {
text-align: center;
}
#mw-content-text .CategoryTreeTag .CategoryTreeChildren .CategoryTreeChildren {
border-left: 1px solid lightgray;
margin-left: 1.3em;
}
#mw-content-text .CategoryTreeTag .CategoryTreeChildren {
margin-left: 0;
}
/* For Template: Sidebar with collapsible lists */
.horizontal-list .mw-collapsible {
padding: 0 .1em .4em;
}
.horizontal-list caption a {
color: #000;
font-size: 150%;
}
.mw-body-content .horizontal-list .mw-collapsible-content p:first-child {
margin-top: .5em;
}
.horizontal-list ul {
margin: 0;
}
.horizontal-list li {
display: inline;
}
.horizontal-list li:after {
content: " · ";
font-weight: bold;
font-size: 100%;
}
.horizontal-list li:last-child:after {
content: none;
}
.horizontal-list .hl-heading:first-child {
padding: 0;
border-top: 0;
}
.horizontal-list .hl-heading {
font-size: larger;
padding: .5em 0 0;
margin: .5em 0;
border-top: 1px solid #aaa;
}