MediaWiki:Common.css:修订间差异
外观
DarkEccentric(留言 | 贡献) 无编辑摘要 标签:手工回退 已被回退 |
DarkEccentric(留言 | 贡献) 无编辑摘要 标签:已被回退 |
||
| 第1行: | 第1行: | ||
/* ======================================== | /* ======================================== | ||
RSCA — Roblox Simplified Chinese Archives | RSCA — Roblox Simplified Chinese Archives | ||
ROBLOX 简中档案 · | ROBLOX 简中档案 · SCP 风格样式表 | ||
======================================== */ | ======================================== */ | ||
| 第16行: | 第16行: | ||
--accent-red: #c41e3a; | --accent-red: #c41e3a; | ||
--accent-gold: #d4a017; | --accent-gold: #d4a017; | ||
--accent-blue: #4a90d9; | |||
--font-mono: 'Courier New', 'Noto Sans SC', monospace; | --font-mono: 'Courier New', 'Noto Sans SC', monospace; | ||
--font-sans: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif; | |||
--max-width: 960px; | --max-width: 960px; | ||
--gap: | --gap: 20px; | ||
--radius: 4px; | --radius: 4px; | ||
} | } | ||
/* ---------- 基础重置 ---------- */ | |||
*, *::before, *::after { box-sizing: border-box; } | *, *::before, *::after { box-sizing: border-box; } | ||
html { background: var(--bg-primary); font-size: 14px; color: var(--text-primary); } | html { | ||
background: var(--bg-primary); | |||
font-size: 14px; | |||
color: var(--text-primary); | |||
} | |||
body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output { | body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output { | ||
background: var(--bg-primary) !important; | background: var(--bg-primary) !important; | ||
color: var(--text-primary) !important; | color: var(--text-primary) !important; | ||
font-family: var(--font- | font-family: var(--font-sans); | ||
line-height: 1.65; | line-height: 1.65; | ||
} | } | ||
| 第37行: | 第45行: | ||
.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- | .rsca-top-bar-inner { | ||
max-width: var(--max-width); | max-width: var(--max-width); | ||
margin: 0 auto | margin: 0 auto; | ||
display: flex; | |||
padding- | 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- | .rsca-logo-text { | ||
font-size: | font-size: 1.4em; | ||
font-weight: 900; | font-weight: 900; | ||
letter-spacing: 0. | letter-spacing: 0.15em; | ||
color: #ccc; | color: #ccc; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.rsca- | .rsca-logo-sub { | ||
font-size: 0.7em; | |||
color: var(--text-muted); | |||
letter-spacing: 0.1em; | |||
display: block; | |||
} | |||
.rsca-nav { | .rsca-top-nav { | ||
display: flex; | |||
gap: 4px; | |||
} | |||
.rsca-nav a { | .rsca-top-nav a { | ||
display: inline-block; | 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); | 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: 1px solid var(--border-primary); | ||
margin-bottom: var(--gap); | |||
margin: | background: var(--bg-secondary); | ||
border-radius: var(--radius); | border-radius: var(--radius); | ||
} | } | ||
.rsca- | .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- | .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 { | ||
.rsca- | border-left: 4px solid var(--border-secondary); | ||
.rsca- | background: var(--bg-tertiary); | ||
.rsca- | 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 | .rsca-infocard { | ||
.rsca-infocard-header { background: var(--bg-tertiary); color: #ccc; padding: | float: right; | ||
.rsca-infocard table { width: 100%; border-collapse: collapse; } | width: 280px; | ||
.rsca-infocard td, .rsca-infocard th { padding: | margin: 0 0 16px 20px; | ||
.rsca-infocard td.k { color: var(--text-muted); font-weight: bold; width: | border: 1px solid var(--border-secondary); | ||
.rsca-infocard-img { text-align: center; padding: | font-size: 0.85em; | ||
.rsca-infocard-img img { max-width: 120px; height: auto; filter: grayscale(100%); border-radius: var(--radius); } | background: var(--bg-secondary); | ||
.rsca-infocard-img .cap { display: block; font-size: 0.75em; color: var(--text-muted); margin-top: 4px; } | 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, | ||
.rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal { color: var(--text-primary) !important; background: #000; } | .rsca-redact a, | ||
.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; } | 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: | .rsca-badge { | ||
.rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: | border: 1px solid var(--border-secondary); | ||
.rsca-badge ul { margin: 0; padding-left: 16px; } | background: var(--bg-secondary); | ||
.rsca-badge li { margin-bottom: | 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 { border-color: var(--accent-gold); } | ||
.rsca-badge.in-progress .tb-header { color: var(--accent-gold); } | .rsca-badge.in-progress .tb-header { color: var(--accent-gold); } | ||
| 第134行: | 第511行: | ||
.rsca-badge.record-complete .tb-header { color: var(--text-muted); } | .rsca-badge.record-complete .tb-header { color: var(--text-muted); } | ||
/* ---------- | /* ---------- 底部 ---------- */ | ||
.rsca- | .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; | ||
} | |||
/* ---------- 移动端 ---------- */ | /* ---------- 移动端 ---------- */ | ||
| 第175行: | 第574行: | ||
.rsca-layout { flex-direction: column; gap: 12px; } | .rsca-layout { flex-direction: column; gap: 12px; } | ||
.rsca-infocard { float: none; width: 100%; margin: 12px 0; } | .rsca-infocard { float: none; width: 100%; margin: 12px 0; } | ||
.rsca-entity-title { font-size: 1. | .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:19的版本
/* ========================================
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; }
}