跳转到内容

Module:Documentation/styles.css:修订间差异

勤求古训,博采众方
删除的内容 添加的内容
创建 TemplateStyles 样式表
 
修复 CSS 类名:port-plan 遗留的 .template-* 改为 enwiki 的 .documentation-*
第1行: 第1行:
/* Module:Documentation/styles.css */
/* Module:Documentation/styles.css */
/* TemplateStyles 样式表,配合中文维基版 Module:Documentation */
/* 类名与 enwiki 版 Module:Documentation 的 config 键值严格对应 */


.template-documentation {
.documentation {
clear: both;
clear: both;
margin: 1em 0 0 0;
margin: 1em 0 0 0;
第10行: 第10行:
}
}


.template-documentation-header {
.documentation-startbox {
margin-bottom: 0.2em;
margin-bottom: 0.2em;
padding: 5px;
padding: 5px;
第17行: 第17行:
}
}


.template-documentation-heading {
.documentation-heading {
font-size: 110%;
font-size: 110%;
font-weight: bold;
font-weight: bold;
第23行: 第23行:
}
}


.template-documentation-body {
.documentation-body {
padding: 5px;
padding: 5px;
background-color: #fff;
background-color: #fff;
第29行: 第29行:
}
}


.template-documentation-footer {
.documentation-metadata {
padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
background-color: #ecfcf4;
background-color: #ecfcf4;
第35行: 第35行:
}
}


.template-documentation-sandbox {
.documentation-sandbox {
margin-bottom: 0.5em;
margin-bottom: 0.5em;
}
}


.template-documentation .mw-editsection-like {
.documentation .mw-editsection-like {
font-size: 85%;
font-size: 85%;
font-weight: normal;
font-weight: normal;

2026年6月20日 (六) 00:06的版本

/* Module:Documentation/styles.css */
/* 类名与 enwiki 版 Module:Documentation 的 config 键值严格对应 */

.documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #a2a9b1;
	background-color: #ecfcf4;
	padding: 0;
}

.documentation-startbox {
	margin-bottom: 0.2em;
	padding: 5px;
	background-color: #ecfcf4;
	border-bottom: 1px solid #a2a9b1;
}

.documentation-heading {
	font-size: 110%;
	font-weight: bold;
	display: inline;
}

.documentation-body {
	padding: 5px;
	background-color: #fff;
	border-bottom: 1px solid #a2a9b1;
}

.documentation-metadata {
	padding: 0.25em 0.9em;
	background-color: #ecfcf4;
	font-size: 90%;
}

.documentation-sandbox {
	margin-bottom: 0.5em;
}

.documentation .mw-editsection-like {
	font-size: 85%;
	font-weight: normal;
	margin-left: 0.5em;
	vertical-align: middle;
}