查看“MediaWiki:Common.css”的源代码
←
MediaWiki:Common.css
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
管理员
、编辑者
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* ============================================================ 暗色主题 - 少前百科 GFwiki 基于第一张截图样式仿制 ============================================================ */ /* ----- 全局暗色背景 ----- */ body { background-color: #0d1117 !important; color: #e6edf3 !important; } /* ----- 侧边栏主容器 ----- */ #mw-panel { background-color: #161b22 !important; border-right: 1px solid #30363d !important; padding-top: 0 !important; } /* ----- 侧边栏顶部标题(少前百科) ----- */ #mw-panel .portal:first-child h3, #mw-panel .portal:first-child .portal-title { color: #ffffff !important; font-size: 20px !important; font-weight: 600 !important; padding: 18px 20px 12px 20px !important; border-bottom: 1px solid #30363d !important; margin-bottom: 6px !important; background: none !important; } /* ----- 侧边栏分组标题(游戏图鉴信息 / 游戏系统信息 等) ----- */ #mw-panel .portal .portal-body label, #mw-panel .portal .portal-body .portal-title { color: #58a6ff !important; font-size: 12px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.8px !important; padding: 10px 20px 4px 20px !important; background: none !important; } /* ----- 侧边栏链接(普通) ----- */ #mw-panel .portal .portal-body li a { display: block !important; padding: 5px 20px 5px 24px !important; color: #c9d1d9 !important; font-size: 14px !important; text-decoration: none !important; border-left: 2px solid transparent !important; transition: all 0.15s ease !important; } /* ----- 侧边栏链接(悬停) ----- */ #mw-panel .portal .portal-body li a:hover { background-color: #21262d !important; color: #f0f6fc !important; border-left-color: #58a6ff !important; text-decoration: none !important; } /* ----- 侧边栏链接(当前选中/激活) ----- */ #mw-panel .portal .portal-body li.selected a, #mw-panel .portal .portal-body li a:active { background-color: #1c2333 !important; color: #ffffff !important; border-left-color: #58a6ff !important; font-weight: 500 !important; } /* ----- 侧边栏分割线 ----- */ #mw-panel .portal { border-bottom: 1px solid #21262d !important; padding-bottom: 6px !important; margin-bottom: 2px !important; } #mw-panel .portal:last-child { border-bottom: none !important; } /* ----- 底部特殊链接(登录/随机页面/复制短链接等) ----- */ #mw-panel .portal:last-child .portal-body li a { color: #8b949e !important; font-size: 13px !important; } #mw-panel .portal:last-child .portal-body li a:hover { color: #f0f6fc !important; background-color: #21262d !important; border-left-color: #58a6ff !important; } /* ----- 侧边栏滚动条(暗色) ----- */ #mw-panel::-webkit-scrollbar { width: 5px !important; } #mw-panel::-webkit-scrollbar-track { background: #161b22 !important; } #mw-panel::-webkit-scrollbar-thumb { background: #30363d !important; border-radius: 8px !important; } #mw-panel::-webkit-scrollbar-thumb:hover { background: #484f58 !important; } #mw-panel { scrollbar-width: thin !important; scrollbar-color: #30363d #161b22 !important; } /* ----- 右侧主内容区 ----- */ #mw-content-wrapper { background-color: #0d1117 !important; } #mw-content { background-color: #0d1117 !important; color: #e6edf3 !important; } #mw-content h1, #mw-content h2, #mw-content h3, #mw-content h4 { color: #f0f6fc !important; } #mw-content p, #mw-content li { color: #c9d1d9 !important; line-height: 1.8 !important; } /* ----- 顶部个人工具栏(登录/查看源代码等) ----- */ #p-personal { background-color: transparent !important; } #p-personal li a { color: #8b949e !important; font-size: 13px !important; } #p-personal li a:hover { color: #f0f6fc !important; text-decoration: none !important; } /* ----- 搜索框(暗色) ----- */ #searchInput { background-color: #0d1117 !important; color: #e6edf3 !important; border: 1px solid #30363d !important; border-radius: 6px !important; padding: 6px 10px !important; font-size: 14px !important; } #searchInput:focus { border-color: #58a6ff !important; outline: none !important; box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15) !important; } /* ----- 页面底部 ----- */ #footer { background-color: #0d1117 !important; color: #8b949e !important; border-top: 1px solid #21262d !important; } #footer a { color: #58a6ff !important; } #footer a:hover { color: #79c0ff !important; text-decoration: underline !important; } /* ----- 内容区链接(通用) ----- */ #mw-content a { color: #58a6ff !important; } #mw-content a:hover { color: #79c0ff !important; text-decoration: underline !important; } /* ----- 表格暗色适配 ----- */ .wikitable { background-color: #161b22 !important; border-color: #30363d !important; color: #e6edf3 !important; } .wikitable th { background-color: #21262d !important; color: #f0f6fc !important; border-color: #30363d !important; } .wikitable td { border-color: #30363d !important; } .wikitable tr:hover td { background-color: #1c2128 !important; } /* ----- 信息框/提示框适配 ----- */ .mw-message-box { background-color: #161b22 !important; border-color: #30363d !important; color: #e6edf3 !important; } /* ============================================================ */ /* ======================================================================== */ /* */ /* ██████╗ ███████╗██╗ ██████╗ ██████╗ ███████╗██████╗ █████╗ ████████╗ */ /* ██╔══██╗██╔════╝██║ ██╔═══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗╚══██╔══╝ */ /* ██████╔╝█████╗ ██║ ██║ ██║██████╔╝█████╗ ██████╔╝███████║ ██║ */ /* ██╔══██╗██╔══╝ ██║ ██║ ██║██╔══██╗██╔══╝ ██╔══██╗██╔══██║ ██║ */ /* ██████╔╝███████╗███████╗╚██████╔╝██║ ██║███████╗██║ ██║██║ ██║ ██║ */ /* ╚═════╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ */ /* */ /* ====================== 分 隔 线 · 以 下 为 新 代 码 ====================== */ /* */ /* ======================================================================== */ /* --- 通用信息卡片样式 (基于 CSS 变量) --- */ /* 1. 卡片外层容器 */ .mw-card-box { width: 100%; background-color: #f8f9fa; border: 1px solid #a2a9b1; padding: 0; border-spacing: 0; } /* 2. 标题区 (颜色跟随变量) */ .mw-card-header { background-color: #f4f8fc; color: #000; font-weight: bold; padding: 12px 18px; text-align: left; border-bottom: 3px solid var(--theme-color, #0077FF); font-size: 1.2em; } /* 3. 基础数据区 */ .mw-card-body { padding: 15px 18px; background-color: #ffffff; } /* 4. 数据区内部弹性布局 */ .mw-card-flex { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 15px 30px; } .mw-card-col { flex: 1; line-height: 1.7; min-width: 120px; } /* 5. 右上角图标区 */ .mw-card-icon-box { flex: 0 0 auto; background-color: var(--theme-color, #0077FF); padding: 4px 8px; border-radius: 3px; display: flex; align-items: center; } /* 6. 内容区分割线 */ .mw-card-divider { padding: 0; border-bottom: 1px solid #eaecf0; } /* 7. 图片/截图展示区 */ .mw-card-image-frame { text-align: center; padding: 15px; background-color: var(--theme-bg, #f2f7fb); border: 1px solid var(--theme-color, #0077FF); margin: 0; } .mw-card-image-frame img { max-width: 100%; height: auto; } .mw-card-caption { color: #666; margin-top: 6px; display: block; } /* 8. 底部附加信息区 */ .mw-card-footer { padding: 15px 18px; background-color: #ffffff; line-height: 1.8; } /* 9. 游戏代码 INI 展示区 */ .mw-card-code { padding: 15px 18px; background-color: #ffffff; } .mw-card-code-divider { padding: 0; border-bottom: 1px solid #eaecf0; margin-bottom: 15px; }
返回
MediaWiki:Common.css
。
蜀ICP备2026037366号-1
导航菜单
个人工具
创建账号
登录
命名空间
系统消息
讨论
English
查看
阅读
查看源代码
查看历史
更多
搜索
战役剧情
任务列表
时间线与剧情
第一幕:红色黎明
第二幕:厄普西隆纪元
第三幕:新世记
额外章节:特殊行动
额外章节:合作任务
额外章节:挑战
主要角色
盟军指挥官
苏联将军
厄普西隆异教
沃克网AI
阵营
同盟国联军
苏维埃联盟
厄普西隆军
焚风反抗军
中立科技
军备
单位总览
同盟国联军军备
苏维埃联盟军备
厄普西隆军军备
焚风反抗军军备
游戏数据
注册名对照表
修正比
其它
查看所有文件
工具
链入页面
相关更改
特殊页面
页面信息