MediaWiki:Common.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 此 CSS 會套用至所有的介面外觀 */
body {
font-family: sans-serif;
font-size: larger;
}
.mw-body h2 {
font-weight:bold;
color:#000;
background-color:#e9e9e9;
text-indent:7px;
padding:2px 0 2px;
margin:42px 0 14px;
border-bottom: none;
overflow:hidden;
}
.mw-body h3 {
border-bottom:1px solid #aaa;
}
a:visited {
color:#0645ad;
}
#mw-content-text > blockquote {
border-left: 2px solid #e9e9e9;
padding-left: .5em;
}
ol.references {
font-size: 90%;
}
/* for Law Namespace */
.ns-2000 .tocnumber {
display: none;
}
.ns-2000 .mw-content-ltr .toc ul ul, .ns-2000 .mw-content-ltr #toc ul ul, .mw-content-rtl .ns-2000 .mw-content-ltr .toc ul ul, .mw-content-rtl .ns-2000 .mw-content-ltr #toc ul ul {
margin-left: 1em;
}
.ns-2000 #toc, .ns-2000.toc {
position: fixed;
right: 1.5em;
top: 170px;
width: 20em;
}
.ns-2000 #toc #toctitle, .ns-2000.toc #toctitle {
background-color: #b0c4de;
}
.ns-2000 #toc #toctitle h2, .ns-2000.toc #toctitle h2 {
background-color: transparent;
}
.ns-2000 #toc>ul, .ns-2000.toc>ul {
overflow: auto;
max-height: 360px;
}
.ns-2000 .mw-content-ltr {
margin-right: 20em;
}
.ns-2000 #editform {
margin-right: 20em;
}
.ns-2000 .catlinks {
margin-right: 20em;
}
/*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;
}
/* Styling for Template:Quote */
blockquote.templatequote {
margin-top: 0;
}
blockquote.templatequote div.templatequotecite {
line-height: 1.5em;
/* @noflip */
text-align: left;
/* @noflip */
padding-left: 1.6em;
margin-top: 0;
}