MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
小无编辑摘要 |
小无编辑摘要 标签:手工回退 |
| (未显示同一用户的2个中间版本) | |
(没有差异)
| |
2026年6月27日 (六) 15:04的最新版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 为全站配置中英字符间距重置 */
/* 技术细节请参阅 https://developer.mozilla.org/zh-CN/docs/Web/CSS/Reference/Properties/text-autospace */
:root,
* {
text-autospace: normal !important;
}
/*字体声明*/
:lang(en) {
font-family: "Noto Sans", sans-serif;
}
:lang(zh),
:lang(zh-hans),
:lang(zh-cn) {
font-family: "Noto Sans SC", sans-serif;
}
.serif:lang(en) {
font-family: "Noto Serif", serif;
}
.serif:lang(zh),
.serif:lang(zh-hans),
.serif:lang(zh-cn) {
font-family: "Noto Serif SC", serif;
}
/* 加粗站点公告提示 */
#siteNotice { font-weight: bold; }
/* 隐藏首页的两个tab(页面/讨论) */
body.page-Main_Page li#ca-nstab-main { display: none !important; }
body.page-Main_Page li#ca-talk { display: none !important; }
/* 隐藏 Minerva 皮肤在首页的“讨论”按钮 */
body.page-Main_Page #page-secondary-actions { display: none !important; }
/* 隐藏侧边栏的“切换到旧外观”链接 */
.vector-main-menu-action-opt-out { display: none !important; }
/* 隐藏首页的更新日期及浏览计数统计 */
body.page-Main_Page #footer-info { display: none !important; }
/* 优化外部搜索推荐样式 */
.mw-search-external {
margin-top: 0.7em;
font-size: 0.9em;
}
.mw-search-external a {
margin: 0 0.3em;
}
/* 隐藏原版页脚编辑说明 */
#footer-info-credits { display: none; }
/* 隐藏所有的外链箭头 */
.external::after {
display: none !important;
}
/* 隐藏版本页面无关的版权信息 */
#mw-version-license,
#mw-version-license + div {
display: none !important;
}
/* 隐藏版本页面无关的许可协议与作者信息 */
#sv-credits-skin th:nth-child(3),
#sv-credits-skin td:nth-child(3),
#sv-credits-skin th:nth-child(5),
#sv-credits-skin td:nth-child(5) {
display: none;
}
#sv-credits-semantic th:nth-child(3),
#sv-credits-semantic td:nth-child(3),
#sv-credits-semantic th:nth-child(5),
#sv-credits-semantic td:nth-child(5) {
display: none;
}
#sv-credits-specialpage th:nth-child(3),
#sv-credits-specialpage td:nth-child(3),
#sv-credits-specialpage th:nth-child(5),
#sv-credits-specialpage td:nth-child(5) {
display: none;
}
#sv-credits-editor th:nth-child(3),
#sv-credits-editor td:nth-child(3),
#sv-credits-editor th:nth-child(5),
#sv-credits-editor td:nth-child(5) {
display: none;
}
#sv-credits-parserhook th:nth-child(3),
#sv-credits-parserhook td:nth-child(3),
#sv-credits-parserhook th:nth-child(5),
#sv-credits-parserhook td:nth-child(5) {
display: none;
}
#sv-credits-variable th:nth-child(3),
#sv-credits-variable td:nth-child(3),
#sv-credits-variable th:nth-child(5),
#sv-credits-variable td:nth-child(5) {
display: none;
}
/*隐藏页脚 SMW 徽标*/
#footer-icons a[href*="semantic-mediawiki.org"] {
display: none !important;
}