打开/关闭搜索
搜索
打开/关闭菜单
15
6636
39
1万
OGAS数据中枢
导航
首页
最近更改
随机页面
特殊页面
上传文件
少女前线
简介
战术人形
装备图鉴
BGM
任务
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
查看“︁Template:少女前线/styles.css”︁的源代码
模板页面
更多操作
←
Template:少女前线/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
管理员
您可以查看和复制此页面的源代码。
.gfl-nav-compact { margin: 1em 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; position: relative; } .gfl-logo-box { padding: 6px 12px; color: #E6A23C; font-weight: bold; display: flex; align-items: center; border-right: 1px solid #E6A23C; } .gfl-item { flex: 1; min-width: 80px; position: relative; outline: none; z-index: 1; } .gfl-title { display: block; padding: 8px 4px; background-color: rgba(128, 128, 128, 0.1); border-bottom: 2px solid rgba(128, 128, 128, 0.3); text-align: center; cursor: pointer; transition: border-color 0.2s; } .gfl-item:hover .gfl-title, .gfl-item:focus .gfl-title { border-bottom-color: #E6A23C !important; } .gfl-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; position: absolute; top: 100%; left: 0; width: 100%; border: 1px solid #E6A23C; border-top: none; overflow: hidden; /* 不再强制背景色,适配暗色模式 */ background-color: inherit; backdrop-filter: blur(4px); } .gfl-item:hover .gfl-content, .gfl-item:focus .gfl-content { grid-template-rows: 1fr; } .gfl-links-wrap { min-height: 0; padding: 0 8px; transition: padding 0.3s; display: flex; flex-direction: column; } .gfl-item:hover .gfl-links-wrap, .gfl-item:focus .gfl-links-wrap { padding: 8px; } .gfl-links-wrap a { display: block; padding: 6px 8px; margin: 2px 0; background-color: rgba(128, 128, 128, 0.1); color: inherit !important; text-decoration: none !important; border-radius: 2px; font-size: 12px; border: 1px solid transparent; transition: all 0.2s; text-align: center; } .gfl-links-wrap a:hover { color: #E6A23C !important; background-color: rgba(230, 162, 60, 0.1); border-color: #E6A23C; } /* 核心:解决重叠的灵魂代码 */ .gfl-item:hover, .gfl-item:focus { z-index: 999; } @media (max-width: 768px) { .gfl-item { flex: none; width: calc(33.33% - 4px); } .gfl-logo-box { width: 100%; justify-content: center; border-right: none; border-bottom: 1px solid #E6A23C; margin-bottom: 2px; } }
返回
Template:少女前线/styles.css
。
查看“︁Template:少女前线/styles.css”︁的源代码
模板页面