打开/关闭搜索
搜索
打开/关闭菜单
73
0
3
326
CitiZons Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
notifications
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“MediaWiki:Common.css”的源代码
MediaWiki界面页面
查看
阅读
查看源代码
查看历史
associated-pages
系统消息
讨论
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 这里放置的CSS将应用于所有皮肤 */ body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "WenQuanYi Micro Hei", sans-serif; } /* 隐藏“来自CitiZons Wiki”字样 #siteSub { display: none; } */ /* 修改编辑按钮样式 */ /* 平时变淡 */ .mw-editsection { opacity: 0.3; transition: opacity 0.3s; } h1:hover .mw-editsection, h2:hover .mw-editsection, h3:hover .mw-editsection { opacity: 1; } /* 编辑按钮样式微调 */ .mw-editsection a { color: var(--color-primary) !important; font-size: 0.8em; border-bottom: 1px solid transparent; } .mw-editsection a:hover { border-bottom: 1px solid var(--color-primary); } /* 顶栏容器 */ .custom-main-header { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: var(--color-surface-2, rgba(255, 255, 255, 0.7)); /* 适配 Citizens 变量 */ backdrop-filter: blur(12px); /* 毛玻璃效果 */ -webkit-backdrop-filter: blur(12px); border-radius: 12px; border: 1px solid var(--color-border, rgba(0,0,0,0.1)); margin: 10px 0 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); flex-wrap: wrap; /* 移动端自动换行 */ gap: 10px; } /* 左侧状态点动画 */ .status-indicator { width: 10px; height: 10px; background-color: #00e676; border-radius: 50%; margin-right: 8px; box-shadow: 0 0 8px #00e676; animation: blink 2s infinite; } @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } } /* 按钮样式 */ .header-nav-btns { display: flex; gap: 8px; } .nav-btn { padding: 4px 12px; background: rgba(0,0,0,0.05); border-radius: 8px; font-size: 0.9em; color: var(--color-base, #333) !important; text-decoration: none !important; transition: background 0.2s; } .nav-btn:hover { background: rgba(0,0,0,0.1); } /* 统计数据样式 */ .header-right { display: flex; gap: 15px; } .stat-box { display: flex; flex-direction: column; align-items: center; min-width: 40px; } .stat-label { font-size: 0.75em; color: var(--color-base--subtle, #666); } .stat-value { font-weight: bold; font-size: 1.1em; } /* 中间状态栏 */ .server-status { background: rgba(0,0,0,0.03); padding: 4px 10px; border-radius: 20px; font-family: monospace; font-weight: bold; }
返回
MediaWiki:Common.css
。