打开/关闭搜索
搜索
打开/关闭菜单
176
2
962
江中缘
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
无法加载偏好设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
讨论
贡献
创建账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* ===== 全局背景与字体 ===== */ body { color: #e0e0e0; background: url("/images/1/18/%E4%B8%BB%E9%A1%B5%E8%83%8C%E6%99%AF1980.png") no-repeat fixed center center / cover; } /* ===== 内容区遮罩 — 深色半透明,让背景图透出 ===== */ #mw-page-base, .mw-body, .mw-body-content { background: rgba(10, 25, 40, 0.78) !important; color: #d8e0e8 !important; } /* 侧边栏 */ #mw-panel { background: rgba(6, 18, 30, 0.82) !important; color: #c0ccd8 !important; } /* 正文段落 */ .mw-body-content p { line-height: 1.85 !important; color: #d8e0e8 !important; } /* 粗体文字提亮 */ .mw-body-content b, .mw-body-content strong { color: #f0f4f8 !important; } /* ===== 标题层级 ===== */ /* H1 页面主标题 */ h1, .firstHeading { color: #f0f4f8 !important; font-weight: 900 !important; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important; } h2 { color: #8ad8e8 !important; font-weight: 800 !important; font-size: 1.65em !important; border-bottom: none !important; padding-bottom: 6px !important; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important; } h2::after { content: ''; display: block; width: 100%; height: 3px; margin-top: 10px; border-radius: 2px; background: linear-gradient(90deg, #0a8b94, #1a7a4c, #b8860b); } h3 { color: #90d8a0 !important; font-weight: 700 !important; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important; } h4 { color: #80c8d8 !important; font-weight: 700 !important; } /* ===== 链接颜色 ===== */ .mw-body-content a:link { color: #6ad0e8 !important; } .mw-body-content a:visited { color: #5ab8d0 !important; } .mw-body-content a:hover { color: #f4cf78 !important; text-decoration: underline !important; } /* 侧边栏链接 */ #mw-panel a:link, #mw-panel a:visited { color: #a0c8d8 !important; } #mw-panel a:hover { color: #f4cf78 !important; } /* ===== TOC 目录 ===== */ .toc { background: rgba(10, 30, 50, 0.7) !important; border: 1px solid rgba(100, 160, 180, 0.25) !important; border-radius: 10px !important; padding: 14px 18px !important; color: #c8d8e0 !important; } .toc h2 { color: #8ad8e8 !important; font-weight: 700 !important; } .toclevel-1 > .toclink::before { content: '▸ '; color: #6ad0e8; } /* ===== 页脚 ===== */ #footer { color: #8898a8 !important; } /* ===== 用户原有 CSS 类(调整为深色兼容) ===== */ .feature-card { padding: 18px 14px; border-radius: 12px; text-align: center; font-weight: bold; border-bottom: 3px solid; } .feature-card-blue { background: #082b3a; color: #c8eef0; border-bottom-color: #0a8b94; } .feature-card-green { background: #0a2e1f; color: #b8e6cc; border-bottom-color: #1a7a4c; } .feature-card-orange { background: #2e1f08; color: #f0d9a8; border-bottom-color: #b8860b; } .feature-card-red { background: #2e101f; color: #e8b8d0; border-bottom-color: #9b3068; } .hot-card { padding: 14px 16px; border-radius: 8px; font-weight: 600; text-align: center; border-bottom: 3px solid; } .hot-card-green { background: #0a2e1f; color: #b8e6cc; border-bottom-color: #1a7a4c; } .hot-card-red { background: #2e101f; color: #e8b8d0; border-bottom-color: #9b3068; } .hot-card-cyan { background: #082b3a; color: #c8eef0; border-bottom-color: #0a8b94; } .hot-card-orange { background: #2e1f08; color: #f0d9a8; border-bottom-color: #b8860b; } .stat-card { padding: 20px 16px; border-radius: 12px; text-align: center; font-weight: 700; border-bottom: 3px solid; } .stat-card-blue { background: #082b3a; color: #c8eef0; border-bottom-color: #0a8b94; } .stat-card-green { background: #0a2e1f; color: #b8e6cc; border-bottom-color: #1a7a4c; } .divider { border: 0; border-bottom: 3px solid; margin: 20px 0; } /* ===== 移动端适配 ===== */ @media (max-width: 560px) { h2 { font-size: 1.35em !important; } h2::after { height: 2px; margin-top: 6px; } }
返回
MediaWiki:Common.css
。
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面