跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
人物
联系我们
入门指南
随机页面
最新页面
最近更改
MediaWiki帮助
简中Robloxian Wiki
搜索
搜索
外观
创建账号
登录
个人工具
创建账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
系统消息
讨论
English
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
外观
移至侧栏
隐藏
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
管理员
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* ======================================== RSCA — Roblox Simplified Chinese Archives ROBLOX 简中档案 · SCP 风格样式表 ======================================== */ :root { --bg-primary: #0e0e0e; --bg-secondary: #141414; --bg-tertiary: #1a1a1a; --border-primary: #333; --border-secondary: #444; --text-primary: #d8d8d8; --text-secondary: #b0b0b0; --text-muted: #888; --text-faint: #555; --accent-red: #c41e3a; --accent-gold: #d4a017; --accent-blue: #4a90d9; --font-mono: 'Courier New', 'Noto Sans SC', monospace; --font-sans: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif; --max-width: 960px; --gap: 20px; --radius: 4px; } /* ---------- 基础重置 ---------- */ *, *::before, *::after { box-sizing: border-box; } html { background: var(--bg-primary); font-size: 14px; color: var(--text-primary); } body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output { background: var(--bg-primary) !important; color: var(--text-primary) !important; font-family: var(--font-sans); line-height: 1.65; } a { color: var(--text-secondary); text-decoration: none; } a:hover { color: #fff; } .mw-parser-output { background: transparent; } /* ---------- 顶部导航栏(SCP 风格) ---------- */ .rsca-top-bar { background: var(--bg-secondary); border-bottom: 2px solid var(--accent-red); padding: 0; margin-bottom: 0; } .rsca-top-bar-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; } .rsca-logo { display: flex; align-items: center; gap: 12px; } .rsca-logo img { height: 40px; width: auto; } .rsca-logo-text { font-size: 1.4em; font-weight: 900; letter-spacing: 0.15em; color: #ccc; text-transform: uppercase; } .rsca-logo-sub { font-size: 0.7em; color: var(--text-muted); letter-spacing: 0.1em; display: block; } .rsca-top-nav { display: flex; gap: 4px; } .rsca-top-nav a { display: inline-block; padding: 6px 12px; color: var(--text-secondary); font-size: 0.85em; letter-spacing: 0.05em; border-radius: var(--radius); transition: all 0.2s; } .rsca-top-nav a:hover { background: var(--bg-tertiary); color: #fff; } /* ---------- 主布局 ---------- */ .rsca-container { max-width: var(--max-width); margin: 0 auto; padding: var(--gap); } .rsca-layout { display: flex; flex-wrap: wrap; gap: var(--gap); } .rsca-main { flex: 2; min-width: 280px; } .rsca-side { flex: 1; min-width: 240px; } /* ---------- 内容块(SCP block 风格) ---------- */ .rsca-block { border: 1px solid var(--border-primary); margin-bottom: var(--gap); background: var(--bg-secondary); border-radius: var(--radius); } .rsca-block-header { background: var(--bg-tertiary); color: #ccc; padding: 10px 16px; font-weight: bold; font-size: 0.95em; letter-spacing: 0.06em; border-bottom: 1px solid var(--border-primary); border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: space-between; } .rsca-block-header .label { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.8em; letter-spacing: 0.1em; font-weight: normal; } .rsca-block-body { padding: 16px; } .rsca-block-body p { margin: 0 0 12px 0; line-height: 1.7; } .rsca-block-body ul { margin: 0; padding-left: 20px; } .rsca-block-body li { margin-bottom: 6px; font-size: 0.9em; } /* ---------- 强调块 ---------- */ .rsca-emphasis { border-left: 4px solid var(--border-secondary); background: var(--bg-tertiary); padding: 12px 16px; margin: 12px 0; font-size: 0.9em; line-height: 1.7; border-radius: 0 var(--radius) var(--radius) 0; } .rsca-emphasis.warning { border-left-color: var(--accent-red); } .rsca-emphasis.note { border-left-color: var(--accent-blue); } .rsca-emphasis .label { font-weight: bold; color: var(--text-secondary); margin-bottom: 6px; display: block; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.05em; } /* ---------- 信息卡 ---------- */ .rsca-infocard { float: right; width: 280px; margin: 0 0 16px 20px; border: 1px solid var(--border-secondary); font-size: 0.85em; background: var(--bg-secondary); border-radius: var(--radius); } .rsca-infocard-header { background: var(--bg-tertiary); color: #ccc; padding: 8px 12px; font-weight: bold; font-size: 0.9em; text-align: center; border-bottom: 1px solid var(--border-secondary); letter-spacing: 0.05em; border-radius: var(--radius) var(--radius) 0 0; } .rsca-infocard table { width: 100%; border-collapse: collapse; } .rsca-infocard td, .rsca-infocard th { padding: 5px 10px; border-bottom: 1px solid var(--bg-tertiary); vertical-align: top; font-size: 0.9em; } .rsca-infocard td.k { color: var(--text-muted); font-weight: bold; width: 30%; white-space: nowrap; } .rsca-infocard-img { text-align: center; padding: 10px; border-bottom: 1px solid var(--border-primary); } .rsca-infocard-img img { max-width: 120px; height: auto; filter: grayscale(100%); border-radius: var(--radius); } .rsca-infocard-img .cap { display: block; font-size: 0.75em; color: var(--text-muted); margin-top: 4px; } /* ---------- 涂黑 ---------- */ .rsca-redact, .rsca-redact a, a .rsca-redact, .rsca-redact a.new { background: #000; color: #000; text-shadow: none; padding: 0 4px; cursor: default; } .rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal { color: var(--text-primary) !important; background: #000; } .rsca-redact:hover a, a:hover .rsca-redact, .rsca-redact:active a, a:active .rsca-redact, .rsca-redact.reveal a, a.rsca-redact.reveal { color: #8ab4f8 !important; } /* ---------- 折叠块(SCP collapsible 风格) ---------- */ .rsca-collapse { border: 1px solid var(--border-primary); margin: 16px 0; background: var(--bg-secondary); border-radius: var(--radius); } .rsca-collapse-header { background: var(--bg-tertiary); color: var(--text-secondary); padding: 8px 14px; cursor: pointer; font-size: 0.9em; border-bottom: 1px solid var(--border-primary); user-select: none; border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: space-between; } .rsca-collapse-header:hover { background: #222; color: #ccc; } .rsca-collapse-header::after { content: "▼"; font-size: 0.7em; color: var(--text-muted); } .rsca-collapse-body { padding: 14px; } /* ---------- 实体页面标题 ---------- */ .rsca-entity-title { font-size: 2em; font-weight: 900; letter-spacing: 0.1em; color: #ccc; border-bottom: 3px solid var(--accent-red); padding-bottom: 10px; margin: 0 0 20px 0; } .rsca-section { border-left: 3px solid var(--border-primary); padding-left: 16px; margin: 20px 0; } .rsca-section h3 { font-size: 1.1em; color: var(--text-secondary); margin: 0 0 10px 0; letter-spacing: 0.05em; } .rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 8px; } /* ---------- 引用块 ---------- */ .rsca-quote { border-left: 4px solid var(--border-secondary); background: var(--bg-secondary); padding: 12px 16px; margin: 14px 0; font-size: 0.9em; color: var(--text-secondary); font-style: italic; border-radius: 0 var(--radius) var(--radius) 0; } .rsca-quote cite { display: block; margin-top: 8px; font-size: 0.8em; color: var(--text-muted); font-style: normal; } /* ---------- 时间线 ---------- */ .rsca-timeline { border-left: 3px solid var(--border-primary); padding-left: 16px; margin: 20px 0; } .rsca-timeline .t-event { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--bg-tertiary); } .rsca-timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; } .rsca-timeline .t-date { font-family: var(--font-mono); font-size: 0.85em; color: var(--text-muted); font-weight: bold; margin-bottom: 4px; } .rsca-timeline .t-title { color: var(--text-secondary); font-weight: bold; margin-bottom: 6px; font-size: 1em; } .rsca-timeline .t-body { font-size: 0.9em; color: var(--text-secondary); line-height: 1.7; } /* ---------- 标签 ---------- */ .rsca-tag { display: inline-block; background: var(--bg-tertiary); border: 1px solid var(--border-primary); color: var(--text-secondary); padding: 3px 10px; font-size: 0.75em; letter-spacing: 0.04em; margin: 2px; border-radius: var(--radius); } .rsca-tag.red { border-color: var(--accent-red); color: var(--accent-red); } .rsca-tag.yellow { border-color: var(--accent-gold); color: var(--accent-gold); } .rsca-tag.grey { border-color: var(--border-secondary); color: var(--text-muted); } .rsca-tag.blue { border-color: var(--accent-blue); color: var(--accent-blue); } /* ---------- 模板角标 ---------- */ .rsca-badge { border: 1px solid var(--border-secondary); background: var(--bg-secondary); padding: 8px 14px; margin: 10px 0; font-size: 0.85em; color: var(--text-secondary); border-radius: var(--radius); } .rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: 8px; text-transform: uppercase; } .rsca-badge ul { margin: 0; padding-left: 16px; } .rsca-badge li { margin-bottom: 4px; } .rsca-badge.in-progress { border-color: var(--accent-gold); } .rsca-badge.in-progress .tb-header { color: var(--accent-gold); } .rsca-badge.exposed { border-color: var(--border-secondary); } .rsca-badge.exposed .tb-header { color: var(--text-muted); } .rsca-badge.wanted { border-color: var(--accent-red); } .rsca-badge.wanted .tb-header { color: var(--accent-red); } .rsca-badge.under-invest { border-color: var(--text-muted); } .rsca-badge.under-invest .tb-header { color: var(--text-secondary); } .rsca-badge.record-complete { border-color: var(--border-secondary); } .rsca-badge.record-complete .tb-header { color: var(--text-muted); } /* ---------- 底部 ---------- */ .rsca-footer { max-width: var(--max-width); margin: 40px auto 0; padding: 20px; border-top: 1px solid var(--border-primary); text-align: center; font-size: 0.8em; color: var(--text-faint); } .rsca-footer a { color: var(--text-muted); } /* ---------- Vector 皮肤强制覆盖 ---------- */ .mw-parser-output h1, .mw-parser-output h2, .mw-parser-output h3, .mw-parser-output h4, .mw-parser-output h5, .mw-parser-output h6, .mw-parser-output .mw-headline { color: var(--text-primary) !important; font-family: var(--font-sans); } .mw-parser-output a, .mw-parser-output a:link, .mw-parser-output a:visited { color: var(--text-secondary) !important; } .mw-parser-output a:hover, .mw-parser-output a:active { color: #fff !important; } .mw-parser-output p, .mw-parser-output li, .mw-parser-output td, .mw-parser-output th, .mw-parser-output dd, .mw-parser-output dt, .mw-parser-output span, .mw-parser-output div, .mw-parser-output label { color: var(--text-primary); } .mw-parser-output .mw-editsection, .mw-parser-output .mw-editsection-like { color: var(--text-muted) !important; } /* ---------- 移动端 ---------- */ @media (max-width: 768px) { html { font-size: 13px; } .rsca-layout { flex-direction: column; gap: 12px; } .rsca-infocard { float: none; width: 100%; margin: 12px 0; } .rsca-entity-title { font-size: 1.5em; } .rsca-top-bar-inner { flex-direction: column; gap: 8px; } .rsca-top-nav { flex-wrap: wrap; justify-content: center; } }
返回
MediaWiki:Common.css
。