MediaWiki:Common.css:修订间差异
外观
DarkEccentric(留言 | 贡献) 无编辑摘要 标签:已被回退 |
DarkEccentric(留言 | 贡献) 无编辑摘要 标签:手工回退 已被回退 |
||
| 第1行: | 第1行: | ||
/* ======================================== | /* ======================================== | ||
RSCA — Roblox Simplified Chinese Archives | RSCA — Roblox Simplified Chinese Archives | ||
ROBLOX 简中档案 · | ROBLOX 简中档案 · SCP 风格样式表 | ||
======================================== */ | ======================================== */ | ||
:root { | :root { | ||
--bg: #0e0e0e; | --bg-primary: #0e0e0e; | ||
--bg- | --bg-secondary: #141414; | ||
--bg- | --bg-tertiary: #1a1a1a; | ||
--border: #333; | --border-primary: #333; | ||
--border- | --border-secondary: #444; | ||
--text: #d8d8d8; | --text-primary: #d8d8d8; | ||
--text- | --text-secondary: #b0b0b0; | ||
--text-faint: # | --text-muted: #888; | ||
--red: #c41e3a; | --text-faint: #555; | ||
--gold: #d4a017; | --accent-red: #c41e3a; | ||
--blue: #4a90d9; | --accent-gold: #d4a017; | ||
--max- | --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; | --radius: 4px; | ||
} | } | ||
/* ---------- | /* ---------- 基础重置 ---------- */ | ||
*, *::before, *::after { box-sizing: border-box; } | *, *::before, *::after { box-sizing: border-box; } | ||
html | html { | ||
background: var(--bg) !important; | background: var(--bg-primary); | ||
color: var(--text) !important; | font-size: 14px; | ||
font-family: | 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; | line-height: 1.65; | ||
} | } | ||
a { color: var(--text- | a { color: var(--text-secondary); text-decoration: none; } | ||
a:hover { color: #fff; } | a:hover { color: #fff; } | ||
.mw-parser-output { background: transparent; } | .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; | |||
. | |||
. | |||
display: | |||
} | } | ||
.rsca-top-nav { | |||
display: flex; | |||
gap: 4px; | |||
display: | |||
} | } | ||
.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); | |||
border | |||
margin-bottom: var(--gap); | margin-bottom: var(--gap); | ||
background: var(--bg-secondary); | |||
background: var(--bg- | |||
border-radius: var(--radius); | border-radius: var(--radius); | ||
} | } | ||
.rsca- | .rsca-block-header { | ||
background: var(--bg- | background: var(--bg-tertiary); | ||
color: #ccc; | color: #ccc; | ||
padding: 10px | padding: 10px 16px; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 0.95em; | font-size: 0.95em; | ||
letter-spacing: 0.06em; | letter-spacing: 0.06em; | ||
border-bottom: 1px solid var(--border); | border-bottom: 1px solid var(--border-primary); | ||
border-radius: var(--radius) var(--radius) 0 0; | border-radius: var(--radius) var(--radius) 0 0; | ||
display: flex; | display: flex; | ||
| 第397行: | 第156行: | ||
} | } | ||
.rsca- | .rsca-block-header .label { | ||
font-family: | font-family: var(--font-mono); | ||
color: var(--text- | color: var(--text-muted); | ||
font-size: 0.8em; | font-size: 0.8em; | ||
letter-spacing: 0.1em; | letter-spacing: 0.1em; | ||
| 第405行: | 第164行: | ||
} | } | ||
.rsca- | .rsca-block-body { | ||
padding: | 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- | .rsca-block-body li { | ||
margin-bottom: 6px; | |||
font-size: 0.9em; | |||
} | |||
/* ---------- 强调块 ---------- */ | /* ---------- 强调块 ---------- */ | ||
.rsca- | .rsca-emphasis { | ||
border-left: | border-left: 4px solid var(--border-secondary); | ||
background: var(--bg- | background: var(--bg-tertiary); | ||
padding: | padding: 12px 16px; | ||
margin: | margin: 12px 0; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
line-height: 1. | line-height: 1.7; | ||
border-radius: 0 var(--radius) var(--radius) 0; | border-radius: 0 var(--radius) var(--radius) 0; | ||
} | } | ||
.rsca- | .rsca-emphasis.warning { | ||
.rsca- | border-left-color: var(--accent-red); | ||
.rsca- | } | ||
.rsca-emphasis.note { | |||
border-left-color: var(--accent-blue); | |||
} | |||
.rsca-emphasis .label { | |||
font-weight: bold; | font-weight: bold; | ||
color: var(--text- | color: var(--text-secondary); | ||
margin-bottom: | margin-bottom: 6px; | ||
display: block; | display: block; | ||
font-size: 0.85em; | |||
text-transform: uppercase; | |||
letter-spacing: 0.05em; | |||
} | } | ||
| 第439行: | 第218行: | ||
float: right; | float: right; | ||
width: 280px; | width: 280px; | ||
margin: 0 0 | margin: 0 0 16px 20px; | ||
border: 1px solid var(--border- | border: 1px solid var(--border-secondary); | ||
font-size: 0.85em; | font-size: 0.85em; | ||
background: var(--bg- | background: var(--bg-secondary); | ||
border-radius: var(--radius); | border-radius: var(--radius); | ||
} | } | ||
.rsca-infocard-header { | .rsca-infocard-header { | ||
background: var(--bg- | background: var(--bg-tertiary); | ||
color: #ccc; | color: #ccc; | ||
padding: | padding: 8px 12px; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
text-align: center; | text-align: center; | ||
border-bottom: 1px solid var(--border- | border-bottom: 1px solid var(--border-secondary); | ||
letter-spacing: 0.05em; | letter-spacing: 0.05em; | ||
border-radius: var(--radius) var(--radius) 0 0; | border-radius: var(--radius) var(--radius) 0 0; | ||
} | } | ||
.rsca-infocard table { width: 100%; border-collapse: collapse; } | .rsca-infocard table { | ||
.rsca-infocard td, .rsca-infocard th { | width: 100%; | ||
padding: | border-collapse: collapse; | ||
border-bottom: 1px solid var(--bg- | } | ||
.rsca-infocard td, | |||
.rsca-infocard th { | |||
padding: 5px 10px; | |||
border-bottom: 1px solid var(--bg-tertiary); | |||
vertical-align: top; | vertical-align: top; | ||
font-size: 0. | font-size: 0.9em; | ||
} | } | ||
.rsca-infocard td.k { color: var(--text- | .rsca-infocard td.k { | ||
.rsca-infocard-img { text-align: center; padding: | color: var(--text-muted); | ||
.rsca-infocard-img img { max-width: 120px; height: auto; filter: grayscale(100%); border-radius: var(--radius); } | font-weight: bold; | ||
.rsca-infocard-img .cap { display: block; font-size: 0.75em; color: var(--text- | 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 { | .rsca-redact, | ||
background: #000; color: #000; text-shadow: none; padding: 0 4px; cursor: default; | .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) !important; background: #000; | .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 { | .rsca-collapse { | ||
border: 1px solid var(--border); | border: 1px solid var(--border-primary); | ||
margin: | margin: 16px 0; | ||
background: var(--bg- | background: var(--bg-secondary); | ||
border-radius: var(--radius); | border-radius: var(--radius); | ||
} | } | ||
.rsca-collapse-header { | .rsca-collapse-header { | ||
background: var(--bg- | background: var(--bg-tertiary); | ||
color: var(--text- | color: var(--text-secondary); | ||
padding: | padding: 8px 14px; | ||
cursor: pointer; | cursor: pointer; | ||
font-size: 0. | font-size: 0.9em; | ||
border-bottom: 1px solid var(--border); | border-bottom: 1px solid var(--border-primary); | ||
user-select: none; | user-select: none; | ||
border-radius: var(--radius) var(--radius) 0 0; | border-radius: var(--radius) var(--radius) 0 0; | ||
| 第505行: | 第329行: | ||
} | } | ||
.rsca-collapse-header:hover { background: #222; color: #ccc; | .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 { | .rsca-entity-title { | ||
font-size: | font-size: 2em; | ||
font-weight: 900; | font-weight: 900; | ||
letter-spacing: 0.1em; | letter-spacing: 0.1em; | ||
color: #ccc; | color: #ccc; | ||
border-bottom: 3px solid var(--red); | border-bottom: 3px solid var(--accent-red); | ||
padding-bottom: | padding-bottom: 10px; | ||
margin: 0 0 | margin: 0 0 20px 0; | ||
} | } | ||
.rsca-section { | .rsca-section { | ||
border-left: | border-left: 3px solid var(--border-primary); | ||
padding-left: | padding-left: 16px; | ||
margin: | margin: 20px 0; | ||
} | } | ||
.rsca-section h3 { | .rsca-section h3 { | ||
font-size: 1. | font-size: 1.1em; | ||
color: var(--text- | color: var(--text-secondary); | ||
margin: 0 0 | margin: 0 0 10px 0; | ||
letter-spacing: 0.05em; | letter-spacing: 0.05em; | ||
} | } | ||
.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: | .rsca-section h3 .num { | ||
color: var(--text-faint); | |||
font-weight: bold; | |||
margin-right: 8px; | |||
} | |||
/* ---------- | /* ---------- 引用块 ---------- */ | ||
.rsca-quote { | .rsca-quote { | ||
border-left: | border-left: 4px solid var(--border-secondary); | ||
background: var(--bg- | background: var(--bg-secondary); | ||
padding: | padding: 12px 16px; | ||
margin: | margin: 14px 0; | ||
font-size: 0. | font-size: 0.9em; | ||
color: var(--text- | color: var(--text-secondary); | ||
font-style: italic; | font-style: italic; | ||
border-radius: 0 var(--radius) var(--radius) 0; | border-radius: 0 var(--radius) var(--radius) 0; | ||
| 第551行: | 第390行: | ||
.rsca-quote cite { | .rsca-quote cite { | ||
display: block; | display: block; | ||
margin-top: | margin-top: 8px; | ||
font-size: 0.8em; | font-size: 0.8em; | ||
color: var(--text- | color: var(--text-muted); | ||
font-style: normal; | font-style: normal; | ||
} | } | ||
| 第560行: | 第399行: | ||
.rsca-timeline { | .rsca-timeline { | ||
border-left: | border-left: 3px solid var(--border-primary); | ||
padding-left: | padding-left: 16px; | ||
margin: | margin: 20px 0; | ||
} | } | ||
.rsca-timeline .t-event { | .rsca-timeline .t-event { | ||
margin-bottom: | margin-bottom: 16px; | ||
padding-bottom: | padding-bottom: 16px; | ||
border-bottom: 1px solid var(--bg- | 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- | .rsca-timeline .t-title { | ||
color: var(--text-secondary); | |||
font-weight: bold; | |||
.rsca-timeline .t-body { font-size: 0.9em; color: var(--text- | margin-bottom: 6px; | ||
font-size: 1em; | |||
} | |||
.rsca-timeline .t-body { | |||
font-size: 0.9em; | |||
color: var(--text-secondary); | |||
line-height: 1.7; | |||
} | |||
/* ---------- 标签 ---------- */ | /* ---------- 标签 ---------- */ | ||
| 第580行: | 第440行: | ||
.rsca-tag { | .rsca-tag { | ||
display: inline-block; | display: inline-block; | ||
background: var(--bg- | background: var(--bg-tertiary); | ||
border: 1px solid var(--border); | border: 1px solid var(--border-primary); | ||
color: var(--text- | color: var(--text-secondary); | ||
padding: | padding: 3px 10px; | ||
font-size: 0.75em; | font-size: 0.75em; | ||
letter-spacing: 0.04em; | letter-spacing: 0.04em; | ||
margin: | margin: 2px; | ||
border-radius: var(--radius); | border-radius: var(--radius); | ||
} | } | ||
.rsca-tag.red { border-color: var(--red); color: var(--red); } | .rsca-tag.red { | ||
.rsca-tag.yellow { border-color: var(--gold); color: var(--gold); } | border-color: var(--accent-red); | ||
.rsca-tag. | color: var(--accent-red); | ||
.rsca-tag. | } | ||
.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 { | .rsca-badge { | ||
border: 1px solid var(--border- | border: 1px solid var(--border-secondary); | ||
background: var(--bg- | background: var(--bg-secondary); | ||
padding: | padding: 8px 14px; | ||
margin: | margin: 10px 0; | ||
font-size: 0. | font-size: 0.85em; | ||
color: var(--text- | color: var(--text-secondary); | ||
border-radius: var(--radius); | border-radius: var(--radius); | ||
} | } | ||
.rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: | .rsca-badge .tb-header { | ||
.rsca-badge ul { margin: 0; padding-left: 16px; } | font-weight: bold; | ||
.rsca-badge li { margin-bottom: | color: #ccc; | ||
.rsca-badge.in-progress { border-color: var(--gold); } | font-size: 0.9em; | ||
.rsca-badge.in-progress .tb-header { color: var(--gold); } | letter-spacing: 0.05em; | ||
.rsca-badge.exposed { border-color: var(--border- | margin-bottom: 8px; | ||
.rsca-badge.exposed .tb-header { color: var(--text- | text-transform: uppercase; | ||
.rsca-badge.wanted { border-color: var(--red); } | } | ||
.rsca-badge.wanted .tb-header { color: var(--red); } | |||
.rsca-badge.under-invest { border-color: var(--text- | .rsca-badge ul { | ||
.rsca-badge.under-invest .tb-header { color: var(--text- | margin: 0; | ||
.rsca-badge.record-complete { border-color: var(--border- | padding-left: 16px; | ||
.rsca-badge.record-complete .tb-header { color: var(--text- | } | ||
.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; | |||
margin | padding: 20px; | ||
padding | border-top: 1px solid var(--border-primary); | ||
border-top: 1px solid var(--border); | |||
text-align: center; | text-align: center; | ||
font-size: 0. | font-size: 0.8em; | ||
color: var(--text-faint); | 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; | |||
} | |||
/* ---------- 移动端 ---------- */ | /* ---------- 移动端 ---------- */ | ||
| 第640行: | 第572行: | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
html { font-size: 13px; } | html { font-size: 13px; } | ||
.rsca-infocard { float: none; width: 100%; margin: | .rsca-layout { flex-direction: column; gap: 12px; } | ||
.rsca-entity-title { font-size: 1. | .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; } | |||
} | } | ||
2026年9月6日 (日) 09:37的版本
/* ========================================
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; }
}