Module:Documentation/styles.css:修订间差异
删除的内容 添加的内容
修复 CSS 类名:port-plan 遗留的 .template-* 改为 enwiki 的 .documentation-* |
修复 CSS:匹配模块实际 HTML 输出,补 toolbar 样式,加暗色模式 |
||
| (未显示同一用户的1个中间版本) | |||
第1行:
/* Module:Documentation/styles.css */
/* 基于 zhwiki 版,匹配本站模块实际 HTML 结构 */
.documentation
clear: both;▼
margin: 1em 0 0 0;▼
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
}
▲ margin: 1em 0 0 0;
}
.documentation-metadata {
font-size: 85%;▼
}
.documentation-startbox {
▲ padding: 5px;
background-color: #ecfcf4;▼
border-bottom: 1px solid #a2a9b1;
}
.documentation-heading {
font-weight: bold;
}
.documentation-
}
.documentation-
▲ clear: both;
▲ padding: 0.25em 0.9em;
background-color: #ecfcf4;▼
}
@media screen {
▲.documentation-sandbox {
html.skin-theme-clientpref-night .documentation,
▲ margin-bottom: 0.5em;
html.skin-theme-clientpref-night .documentation-metadata {
}
}
@media screen and (prefers-color-scheme: dark) {
▲.documentation .mw-editsection-like {
html.skin-theme-clientpref-os .documentation,
▲ font-size: 85%;
html.skin-theme-clientpref-os .documentation-metadata {
▲ font-weight: normal;
▲ margin-left: 0.5em;
}
}
| |||