Template:Special wikitext/JSON.css

._addText {
	content:"{{Documentation|content=本模板為{{tl|Special wikitext}}的內部模板,功能為提供顯示JSON頁面渲染的樣式。}}";
}
.mw-json {
	border-collapse:collapse;
	border-spacing:0;
	font-style:normal
}
.mw-json th,
.mw-json td {
	border:1px solid #72777d;
	font-size:16px;
	padding:0.5em 1em
}
.mw-json tr {
	background-color:#eaecf0;
	margin-bottom:0.5em
}
.mw-json th {
	background-color:#fff;
	font-weight:normal;
	vertical-align:top
}
.mw-json th span {
	position:sticky;
	top:0.5em
}
.mw-json .hidden-copyable, .mw-json-main-table .hidden-copyable{
	font-size: 0;
	position: absolute;
	color: rgba(0,0,0,0);
}
.mw-json-value,
.mw-json-single-value {
	background-color:#dcfae3;
	font-family:monospace,monospace;
	white-space:pre-wrap
}
.mw-json-single-value {
	background-color:#eaecf0
}
.mw-json-multivalue {
	float: left;
	margin: 5px;
}
.mw-json-empty {
	background-color:#fff;
	font-style:italic
}
.mw-json .mw-json-empty-object::before{
	content:"空物件";
}
.mw-json .mw-json-empty-array::before{
	content:"空陣列";
}
.mw-json-function{
	background-color:#e580ff;
	font-style:italic
}
.mw-json .mw-json-function-tag::before{
	content:"function:";
	color:gray;
}
.mw-json-reference{
	background-color:#86c9fc;
	font-style:italic;
	font-size:0.8em;
}
.mw-json .mw-json-reference-tag::before{
	content:"reference:";
	color:gray;
}
.mw-json-error{
	border: 1px solid #bb7070;
	background: #ffdbdb;
}
.mw-json .mw-json-error-tag::before{
	content:"Error:";
	color:red;
}