打开/关闭搜索
搜索
打开/关闭菜单
176
2
962
江中缘
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
无法加载偏好设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
讨论
贡献
创建账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* ===== 游戏资讯 - 纯CSS Tab ===== */ /* 隐藏radio按钮 */ .gi-wrap input[type="radio"] { display: none; } /* Tab导航栏 */ .gi-tabs { display: flex; gap: 4px; margin-bottom: 0; flex-wrap: wrap; } /* 单个Tab标签 - 各自颜色 */ .gi-tab { padding: 10px 18px; cursor: pointer; font-weight: bold; font-size: 1.05em; border-radius: 8px 8px 0 0; transition: all 0.3s ease; border-bottom: 4px solid transparent; user-select: none; } /* 五栏渐变色 */ .gi-tab-base { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #0d47a1; } .gi-tab-gear { background: linear-gradient(135deg, #fce4ec, #f8bbd9); color: #b71c1c; } .gi-tab-skill { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #1b5e20; } .gi-tab-event { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #bf360c; } .gi-tab-other { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); color: #006064; } /* 未选中时半透明 */ .gi-tab { opacity: 0.6; } /* 选中时高亮 + 底部深色指示条 */ .gi-wrap input#gi-base:checked ~ .gi-tabs label[for="gi-base"], .gi-wrap input#gi-gear:checked ~ .gi-tabs label[for="gi-gear"], .gi-wrap input#gi-skill:checked ~ .gi-tabs label[for="gi-skill"], .gi-wrap input#gi-event:checked ~ .gi-tabs label[for="gi-event"], .gi-wrap input#gi-other:checked ~ .gi-tabs label[for="gi-other"] { opacity: 1; border-bottom: 4px solid #333; } /* 面板容器 */ .gi-panels { background: rgba(255, 255, 255, 0.85); border-radius: 0 0 8px 8px; padding: 16px 20px; min-height: 80px; line-height: 2; border: 1px solid #ddd; border-top: none; } /* 所有面板默认隐藏 */ .gi-panel { display: none; } /* 选中哪个radio就显示对应的面板 */ #gi-base:checked ~ .gi-panels #panel-base, #gi-gear:checked ~ .gi-panels #panel-gear, #gi-skill:checked ~ .gi-panels #panel-skill, #gi-event:checked ~ .gi-panels #panel-event, #gi-other:checked ~ .gi-panels #panel-other { display: block; } /* 面板内链接美化 */ .gi-panel a { display: inline-block; padding: 2px 6px; margin: 2px; border-radius: 4px; transition: background 0.2s; text-decoration: none; } .gi-panel a:hover { background: #e0e0e0; } /* 面板标题 */ .gi-panel p, .gi-panel b, .gi-panel strong { display: block; margin-bottom: 8px; font-size: 1.1em; }
返回
MediaWiki:Common.css
。
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面