打开/关闭搜索
搜索
打开/关闭菜单
15
6636
39
1万
OGAS数据中枢
导航
首页
最近更改
随机页面
特殊页面
上传文件
少女前线
简介
战术人形
装备图鉴
BGM
任务
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
查看“︁Template:少女前线/styles.css”︁的源代码
模板页面
更多操作
←
Template:少女前线/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
管理员
您可以查看和复制此页面的源代码。
.gfl-nav-compact { margin: 0.5em 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; position: relative; z-index: 100; } .gfl-logo-box { padding: 4px 12px; background-color: var(--color-primary, #3366ff); color: var(--color-inverted, #fff); font-weight: bold; flex-shrink: 0; } .gfl-item { flex: 1; min-width: 60px; position: relative; } .gfl-title { display: block; padding: 6px 4px; background-color: var(--background-color-neutral-subtle, rgba(0,0,0,0.05)); border-bottom: 2px solid var(--border-color-base, #ccc); text-align: center; cursor: pointer; white-space: nowrap; -webkit-user-select: none; user-select: none; } .gfl-content { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: var(--background-color-base, #fff); border: 1px solid var(--color-primary, #3366ff); padding: 12px; margin-top: 2px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); } /* 电脑端悬停显示 */ .gfl-item:hover .gfl-content { display: block; } /* 移动端/点击瞬间显示 - 配合 tabindex 模拟点击展开 */ .gfl-item:active .gfl-content, .gfl-item:focus .gfl-content { display: block; } .gfl-item:hover .gfl-title, .gfl-item:focus .gfl-title { border-bottom-color: var(--color-primary, #3366ff); color: var(--color-primary, #3366ff); } .gfl-links-wrap { display: flex; flex-wrap: wrap; gap: 10px 16px; } .gfl-links-wrap ul, .gfl-links-wrap li { list-style: none !important; margin: 0 !important; padding: 0 !important; display: inline; } .gfl-links-wrap a { color: var(--color-base, inherit) !important; text-decoration: none !important; } @media (max-width: 768px) { .gfl-item { flex: none; width: calc(33.33% - 4px); } .gfl-logo-box { width: 100%; margin-bottom: 2px; text-align: center; } /* 移动端点击后让面板固定在顶部下方 */ .gfl-content { position: absolute; width: calc(300% + 8px); /* 对应 33.33% 的宽度,跨越三列 */ } /* 处理不同位置的弹出框偏移 */ .gfl-item:nth-child(3n) .gfl-content { left: auto; right: 0; } .gfl-item:nth-child(3n-1) .gfl-content { left: -100%; } }
返回
Template:少女前线/styles.css
。
查看“︁Template:少女前线/styles.css”︁的源代码
模板页面