Module:Documentation/styles.css:修订间差异
外观
删除的内容 添加的内容
修复 CSS 类名:port-plan 遗留的 .template-* 改为 enwiki 的 .documentation-* |
新增 .documentation-clear / .documentation-container 样式规则 |
||
| 第37行: | 第37行: | ||
.documentation-sandbox { |
.documentation-sandbox { |
||
margin-bottom: 0.5em; |
margin-bottom: 0.5em; |
||
} |
|||
.documentation-clear { |
|||
clear: both; |
|||
} |
|||
.documentation-container { |
|||
margin-top: 1em; |
|||
} |
} |
||
2026年6月20日 (六) 18:05的版本
/* 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-clear {
clear: both;
}
.documentation-container {
margin-top: 1em;
}
.documentation .mw-editsection-like {
font-size: 85%;
font-weight: normal;
margin-left: 0.5em;
vertical-align: middle;
}