「MediaWiki:Common.css」修訂間的差異

出自耶穌台灣
第1行: 第1行:
__NOTOC__ __NOEDITSECTION__
 
 
/* 此處的 CSS 將應用於所有的面板 */
 
/* 此處的 CSS 將應用於所有的面板 */
 +
 
/*
 
/*
=== bible 表格 ===
+
===bible 表格===
 
<source lang="css"> */
 
<source lang="css"> */
 
table.bible {
 
table.bible {
第22行: 第22行:
  
 
/*
 
/*
=== wikitable 表格 ===
+
===wikitable表格 ===
 
[http://age.tw/MediaWiki_Config_2]
 
[http://age.tw/MediaWiki_Config_2]
 
<source lang="css"> */
 
<source lang="css"> */
第47行: 第47行:
  
 
/*
 
/*
=== 附註表格 ===
+
===附註表格===
 
[[Template:註|註]]
 
[[Template:註|註]]
 
<source lang="css"> */
 
<source lang="css"> */
第75行: 第75行:
  
 
/*
 
/*
=== 注解樣式 ===
+
===注解樣式===
 
[[Template:註|註]]; [[Template:注音|注音]]
 
[[Template:註|註]]; [[Template:注音|注音]]
 
<source lang="css"> */
 
<source lang="css"> */
第90行: 第90行:
  
 
/*
 
/*
=== 名詞 ===
+
===名詞===
 
[[Template:專名|專名]]; [[Template:書名|書名]]
 
[[Template:專名|專名]]; [[Template:書名|書名]]
 
<source lang="css"> */
 
<source lang="css"> */
第104行: 第104行:
 
}
 
}
 
/*
 
/*
 +
</source> */
 +
 +
/*
 +
===@ symbol===
 +
<source lang="css"> */
 +
.at_symbol {
 +
background: url("http://jesus.tw/wiki/images/f/f6/At_symbol.png") no-repeat;
 +
font-size: 0px;
 +
padding: 11px;
 +
vertical-align: middle;
 +
}
 +
@media print {
 +
.at_symbol {
 +
background: #fff;
 +
font-size: 1em;
 +
padding: 0;
 +
vertical-align: text-bottom;
 +
}
 +
} /*
 +
</source> */
 +
 +
/*
 +
===列印圖片文字===
 +
*使用範例: [[Template:馬蒙]]
 +
<source lang="css"> */
 +
.screenonly { display: inline; }
 +
.printonly { display: none; }
 +
@media print {
 +
.screenonly { display: none; }
 +
.printonly { display: inline; }
 +
} /*
 
</source> */
 
</source> */

於 2010年6月17日 (四) 17:05 的修訂

/* 此處的 CSS 將應用於所有的面板 */

/*
===bible 表格===
<source lang="css"> */
table.bible {
	border: 0;
	border-collapse: collapse;
	margin: 0.5em 0.5em 0.5em 0.5em;
}
table.bible th, table.bible td {
	border: 0;
	border-collapse: collapse;
	line-height: 150%;
	padding: 0 0.2em 0 0.2em;
	vertical-align: top;
}
table.bible sup {
	vertical-align: text-top;
} /*
</source> */

/*
===wikitable表格 ===
[http://age.tw/MediaWiki_Config_2]
<source lang="css"> */
table.wikitable {
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
	margin: 1em 1em 1em 0;
}
table.wikitable th, table.wikitable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em;
}
table.wikitable th {
	background: #f2f2f2;
	text-align: center;
}
table.wikitable caption {
	margin-left: inherit;
	margin-right: inherit;
}
/*
</source> */

/*
===附註表格===
[[Template:註|註]]
<source lang="css"> */
table.remark {
	border: 0;
	border-collapse: collapse;
	margin: 0.5em 0.5em 0.5em 0.5em;
}
table.remark th, table.remark td {
	border: 0;
	border-collapse: collapse;
	line-height: 150%;
	padding: 0 0.2em 0 0.2em;
	vertical-align: top;
}
table.remark sup {
	vertical-align: text-top;
}
table.remark th {
	padding: 0;
	text-align: right;
	vertical-align: text-top;
	width: 60px;
	font-weight: normal;
} /*
</source> */

/*
===注解樣式===
[[Template:註|註]]; [[Template:注音|注音]]
<source lang="css"> */
sup.comment {
	color: #0000FF;
	font-size: 0.75em;
}
sup.phonetic {
	color: #0000FF;
	font-size: 0.7em;
}
/*
</source> */

/*
===名詞===
[[Template:專名|專名]]; [[Template:書名|書名]]
<source lang="css"> */
span.proper_name {
	margin: 0 1px 0 1px;
	border-bottom-style:solid;
	border-width:1px;
}
span.book_name {
	margin: 0 1px 0 1px;
	border-bottom-style:dotted;
	border-width:1px;
}
/*
</source> */

/*
===@ symbol===
<source lang="css"> */
.at_symbol {
	background: url("http://jesus.tw/wiki/images/f/f6/At_symbol.png") no-repeat;
	font-size: 0px;
	padding: 11px;
	vertical-align: middle;
}
@media print {
	.at_symbol {
		background: #fff;
		font-size: 1em;
		padding: 0;
		vertical-align: text-bottom;
	}
} /*
</source> */

/*
===列印圖片文字===
*使用範例: [[Template:馬蒙]]
<source lang="css"> */
.screenonly { display: inline; }
.printonly { display: none; }
@media print {
	.screenonly { display: none; }
	.printonly { display: inline; }
} /*
</source> */