MediaWiki:Common.css

来自中國法律百科 | China Law Wiki | ChinaLaw.Wiki
Liulingbowen留言 | 贡献2019年6月9日 (日) 18:28的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-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;
}

.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;
}

/***** TEMPLATE: Sidebar with collapsible lists *****/

.horizontal-list ul {
	margin: 0;
}

.horizontal-list li {
	display: inline;
}

.horizontal-list li:after {
	content: " · ";
	font-weight: bold;
}

.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;
}

.horizontal-list .mw-collapsible-content {
	margin: .5em 0;
}