跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
标签:手工回退 已被回退
无编辑摘要
标签:已被回退
第1行: 第1行:
/* ========================================
/* ========================================
   RSCA — Roblox Simplified Chinese Archives
   RSCA — Roblox Simplified Chinese Archives
   ROBLOX 简中档案 · SCP 风格样式表
   ROBLOX 简中档案 · 全局样式表
   ======================================== */
   ======================================== */


:root {
:root {
   --bg-primary: #0e0e0e;
   --bg: #0e0e0e;
   --bg-secondary: #141414;
   --bg-panel: #141414;
   --bg-tertiary: #1a1a1a;
   --bg-header: #1a1a1a;
   --border-primary: #333;
   --border: #333;
   --border-secondary: #444;
   --border-light: #444;
   --text-primary: #d8d8d8;
   --text: #d8d8d8;
   --text-secondary: #b0b0b0;
   --text-dim: #999;
  --text-muted: #888;
   --text-faint: #666;
   --text-faint: #555;
   --red: #c41e3a;
   --accent-red: #c41e3a;
   --gold: #d4a017;
   --accent-gold: #d4a017;
   --blue: #4a90d9;
   --accent-blue: #4a90d9;
   --max-w: 960px;
   --font-mono: 'Courier New', 'Noto Sans SC', monospace;
   --radius: 4px;
  --font-sans: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif;
   --max-width: 960px;
   --gap: 20px;
   --gap: 20px;
  --radius: 4px;
}
}
/* ---------- 基础重置 ---------- */


*, *::before, *::after { box-sizing: border-box; }
*, *::before, *::after { box-sizing: border-box; }


html {
html, body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
  background: var(--bg-primary);
   background: var(--bg) !important;
  font-size: 14px;
   color: var(--text) !important;
  color: var(--text-primary);
   font-family: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif;
}
 
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-secondary); text-decoration: none; }
a { color: var(--text-dim); text-decoration: none; }
a:hover { color: #fff; }
a:hover { color: #fff; }
.mw-parser-output { background: transparent; }
.mw-parser-output { background: transparent; }


/* ---------- 顶部导航栏(SCP 风格) ---------- */
/* ---------- 隐藏 Vector 默认元素 ---------- */
 
.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 {
#p-logo, #p-navigation, #p-search, #p-personal, #p-tb, #p-lang,
  font-size: 0.7em;
.vector-menu, .vector-menu-tabs, .vector-menu-content,
  color: var(--text-muted);
.vector-menu-content-list, .vector-menu-heading,
  letter-spacing: 0.1em;
.vector-user-links, .vector-user-menu,
   display: block;
#mw-panel, #mw-head-base, #mw-page-base,
#p-banner, #siteNotice, #centralNotice,
#catlinks, .catlinks, .mw-indicators,
.mw-editsection, .mw-editsection-like,
#pagehistory, #contentSub, #contentSub2, #jump-to-nav,
#footer, .breadcrumb, .subpages,
.toc, .toctoggle, .toctogglesearch,
#p-cactions, .searchButton, #mw-search-top-table,
.vector-search-box, .vector-search-box-input, .vector-search-box-button,
.vector-user-menu-anon-editor, .vector-user-menu-legacy,
.firstHeading, #firstHeading, .mw-page-title, .page-title,
.mw-parser-output h1:first-of-type {
   display: none !important;
}
}


.rsca-top-nav {
#mw-head {
   display: flex;
   display: block !important;
   gap: 4px;
  background: var(--bg-header) !important;
  border-bottom: 2px solid var(--red) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
   width: 100% !important;
}
}


.rsca-top-nav a {
#mw-content-text {
   display: inline-block;
   max-width: var(--max-w) !important;
  padding: 6px 12px;
   margin: 0 auto !important;
  color: var(--text-secondary);
   padding: 0 var(--gap) !important;
   font-size: 0.85em;
   letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: all 0.2s;
}
}


.rsca-top-nav a:hover {
.mw-parser-output { max-width: 100% !important; }
  background: var(--bg-tertiary);
  color: #fff;
}


/* ---------- 主布局 ---------- */
/* ---------- 面板系统 ---------- */


.rsca-container {
.rsca-panel {
  max-width: var(--max-width);
   border: 1px solid var(--border);
  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);
   margin-bottom: var(--gap);
   background: var(--bg-secondary);
   background: var(--bg-panel);
   border-radius: var(--radius);
   border-radius: var(--radius);
}
}


.rsca-block-header {
.rsca-panel-header {
   background: var(--bg-tertiary);
   background: var(--bg-header);
   color: #ccc;
   color: #ccc;
   padding: 10px 16px;
   padding: 10px 14px;
   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-primary);
   border-bottom: 1px solid var(--border);
   border-radius: var(--radius) var(--radius) 0 0;
   border-radius: var(--radius) var(--radius) 0 0;
   display: flex;
   display: flex;
第156行: 第97行:
}
}


.rsca-block-header .label {
.rsca-panel-header .label {
   font-family: var(--font-mono);
   font-family: 'Courier New', monospace;
   color: var(--text-muted);
   color: var(--text-dim);
   font-size: 0.8em;
   font-size: 0.8em;
   letter-spacing: 0.1em;
   letter-spacing: 0.1em;
第164行: 第105行:
}
}


.rsca-block-body {
.rsca-panel-body { padding: 14px; }
  padding: 16px;
.rsca-panel-body p { margin: 0 0 10px 0; }
}
.rsca-panel-body ul { margin: 0; padding-left: 18px; }
.rsca-panel-body li { margin-bottom: 4px; font-size: 0.9em; }


.rsca-block-body p {
.rsca-rec {
   margin: 0 0 12px 0;
   border-left: 3px solid var(--border-light);
   line-height: 1.7;
   background: var(--bg-header);
}
   padding: 10px 14px;
 
   margin: 10px 0;
.rsca-block-body ul {
  margin: 0;
   padding-left: 20px;
}
 
.rsca-block-body li {
   margin-bottom: 6px;
   font-size: 0.9em;
   font-size: 0.9em;
}
   line-height: 1.65;
 
/* ---------- 强调块 ---------- */
 
.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;
   border-radius: 0 var(--radius) var(--radius) 0;
}
}


.rsca-emphasis.warning {
.rsca-rec.warn { border-left-color: var(--red); }
  border-left-color: var(--accent-red);
.rsca-rec.note { border-left-color: var(--blue); }
}
.rsca-rec .label { font-weight: bold; color: var(--text-dim); margin-bottom: 4px; display: block; }
 
.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 {
.rsca-infocard {
   float: right;
   float: right;
   width: 280px;
   width: 280px;
   margin: 0 0 16px 20px;
   margin: 0 0 14px 18px;
   border: 1px solid var(--border-secondary);
   border: 1px solid var(--border-light);
   font-size: 0.85em;
   font-size: 0.85em;
   background: var(--bg-secondary);
   background: var(--bg-panel);
   border-radius: var(--radius);
   border-radius: var(--radius);
}
}


.rsca-infocard-header {
.rsca-infocard-header {
   background: var(--bg-tertiary);
   background: var(--bg-header);
   color: #ccc;
   color: #ccc;
   padding: 8px 12px;
   padding: 6px 10px;
   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-secondary);
   border-bottom: 1px solid var(--border-light);
   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 {
.rsca-infocard table { width: 100%; border-collapse: collapse; }
  width: 100%;
.rsca-infocard td, .rsca-infocard th {
  border-collapse: collapse;
   padding: 4px 8px;
}
   border-bottom: 1px solid var(--bg-header);
 
.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.9em;
   font-size: 0.92em;
}
 
.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-infocard td.k { color: var(--text-dim); font-weight: bold; width: 30%; white-space: nowrap; }
 
.rsca-infocard-img { text-align: center; padding: 8px; border-bottom: 1px solid var(--border); }
.rsca-redact,
.rsca-infocard-img img { max-width: 120px; height: auto; filter: grayscale(100%); border-radius: var(--radius); }
.rsca-redact a,
.rsca-infocard-img .cap { display: block; font-size: 0.75em; color: var(--text-dim); margin-top: 4px; }
a .rsca-redact,
.rsca-redact a.new {
  background: #000;
  color: #000;
  text-shadow: none;
  padding: 0 4px;
  cursor: default;
}


.rsca-redact:hover,
.rsca-redact, .rsca-redact a, a .rsca-redact, .rsca-redact a.new {
.rsca-redact:active,
   background: #000; color: #000; text-shadow: none; padding: 0 4px; cursor: default;
.rsca-redact.reveal {
   color: var(--text-primary) !important;
  background: #000;
}
}
 
.rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal {
.rsca-redact:hover a,
   color: var(--text) !important; background: #000;
a:hover .rsca-redact,
.rsca-redact:active a,
a:active .rsca-redact,
.rsca-redact.reveal a,
a.rsca-redact.reveal {
   color: #8ab4f8 !important;
}
}
 
.rsca-redact:hover a, a:hover .rsca-redact, .rsca-redact:active a, a:active .rsca-redact,
/* ---------- 折叠块(SCP collapsible 风格) ---------- */
.rsca-redact.reveal a, a.rsca-redact.reveal { color: #8ab4f8 !important; }


.rsca-collapse {
.rsca-collapse {
   border: 1px solid var(--border-primary);
   border: 1px solid var(--border);
   margin: 16px 0;
   margin: 14px 0;
   background: var(--bg-secondary);
   background: var(--bg-panel);
   border-radius: var(--radius);
   border-radius: var(--radius);
}
}


.rsca-collapse-header {
.rsca-collapse-header {
   background: var(--bg-tertiary);
   background: var(--bg-header);
   color: var(--text-secondary);
   color: var(--text-dim);
   padding: 8px 14px;
   padding: 7px 12px;
   cursor: pointer;
   cursor: pointer;
   font-size: 0.9em;
   font-size: 0.85em;
   border-bottom: 1px solid var(--border-primary);
   border-bottom: 1px solid var(--border);
   user-select: none;
   user-select: none;
   border-radius: var(--radius) var(--radius) 0 0;
   border-radius: var(--radius) var(--radius) 0 0;
第329行: 第189行:
}
}


.rsca-collapse-header:hover {
.rsca-collapse-header:hover { background: #222; color: #ccc; }
  background: #222;
.rsca-collapse-header::after { content: "▼"; font-size: 0.7em; color: var(--text-dim); }
  color: #ccc;
.rsca-collapse-body { padding: 12px; }
}
 
.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: 2em;
   font-size: 1.8em;
   font-weight: 900;
   font-weight: 900;
   letter-spacing: 0.1em;
   letter-spacing: 0.1em;
   color: #ccc;
   color: #ccc;
   border-bottom: 3px solid var(--accent-red);
   border-bottom: 3px solid var(--red);
   padding-bottom: 10px;
   padding-bottom: 8px;
   margin: 0 0 20px 0;
   margin: 0 0 16px 0;
}
}


.rsca-section {
.rsca-section {
   border-left: 3px solid var(--border-primary);
   border-left: 2px solid var(--border);
   padding-left: 16px;
   padding-left: 14px;
   margin: 20px 0;
   margin: 18px 0;
}
}


.rsca-section h3 {
.rsca-section h3 {
   font-size: 1.1em;
   font-size: 1.05em;
   color: var(--text-secondary);
   color: var(--text-dim);
   margin: 0 0 10px 0;
   margin: 0 0 8px 0;
   letter-spacing: 0.05em;
   letter-spacing: 0.05em;
}
}


.rsca-section h3 .num {
.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 6px; }
  color: var(--text-faint);
  font-weight: bold;
  margin-right: 8px;
}
 
/* ---------- 引用块 ---------- */


.rsca-quote {
.rsca-quote {
   border-left: 4px solid var(--border-secondary);
   border-left: 3px solid var(--border-light);
   background: var(--bg-secondary);
   background: var(--bg-panel);
   padding: 12px 16px;
   padding: 10px 14px;
   margin: 14px 0;
   margin: 12px 0;
   font-size: 0.9em;
   font-size: 0.88em;
   color: var(--text-secondary);
   color: var(--text-dim);
   font-style: italic;
   font-style: italic;
   border-radius: 0 var(--radius) var(--radius) 0;
   border-radius: 0 var(--radius) var(--radius) 0;
第390行: 第231行:
.rsca-quote cite {
.rsca-quote cite {
   display: block;
   display: block;
   margin-top: 8px;
   margin-top: 6px;
   font-size: 0.8em;
   font-size: 0.8em;
   color: var(--text-muted);
   color: var(--text-dim);
   font-style: normal;
   font-style: normal;
}
}
/* ---------- 时间线 ---------- */


.rsca-timeline {
.rsca-timeline {
   border-left: 3px solid var(--border-primary);
   border-left: 2px solid var(--border);
   padding-left: 16px;
   padding-left: 14px;
   margin: 20px 0;
   margin: 16px 0;
}
}


.rsca-timeline .t-event {
.rsca-timeline .t-event {
   margin-bottom: 16px;
   margin-bottom: 12px;
   padding-bottom: 16px;
   padding-bottom: 12px;
   border-bottom: 1px solid var(--bg-tertiary);
   border-bottom: 1px solid var(--bg-header);
}
}


.rsca-timeline .t-event:last-child {
.rsca-timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
  border-bottom: none;
.rsca-timeline .t-date { font-family: 'Courier New', monospace; font-size: 0.8em; color: var(--text-dim); font-weight: bold; margin-bottom: 3px; }
  margin-bottom: 0;
.rsca-timeline .t-title { color: var(--text-dim); font-weight: bold; margin-bottom: 4px; }
}
.rsca-timeline .t-body { font-size: 0.9em; color: var(--text-dim); line-height: 1.65; }
 
.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 {
.rsca-tag {
   display: inline-block;
   display: inline-block;
   background: var(--bg-tertiary);
   background: var(--bg-header);
   border: 1px solid var(--border-primary);
   border: 1px solid var(--border);
   color: var(--text-secondary);
   color: var(--text-dim);
   padding: 3px 10px;
   padding: 2px 8px;
   font-size: 0.75em;
   font-size: 0.75em;
   letter-spacing: 0.04em;
   letter-spacing: 0.04em;
   margin: 2px;
   margin: 1px;
   border-radius: var(--radius);
   border-radius: var(--radius);
}
}


.rsca-tag.red {
.rsca-tag.red { border-color: var(--red); color: var(--red); }
  border-color: var(--accent-red);
.rsca-tag.yellow { border-color: var(--gold); color: var(--gold); }
  color: var(--accent-red);
.rsca-tag.blue { border-color: var(--blue); color: var(--blue); }
}
.rsca-tag.grey { border-color: var(--border-light); color: var(--text-dim); }
 
.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-secondary);
   border: 1px solid var(--border-light);
   background: var(--bg-secondary);
   background: var(--bg-panel);
   padding: 8px 14px;
   padding: 7px 12px;
   margin: 10px 0;
   margin: 8px 0;
   font-size: 0.85em;
   font-size: 0.82em;
   color: var(--text-secondary);
   color: var(--text-dim);
   border-radius: var(--radius);
   border-radius: var(--radius);
}
}


.rsca-badge .tb-header {
.rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: 6px; }
  font-weight: bold;
.rsca-badge ul { margin: 0; padding-left: 16px; }
  color: #ccc;
.rsca-badge li { margin-bottom: 3px; }
  font-size: 0.9em;
.rsca-badge.in-progress { border-color: var(--gold); }
  letter-spacing: 0.05em;
.rsca-badge.in-progress .tb-header { color: var(--gold); }
  margin-bottom: 8px;
.rsca-badge.exposed { border-color: var(--border-light); }
  text-transform: uppercase;
.rsca-badge.exposed .tb-header { color: var(--text-dim); }
}
.rsca-badge.wanted { border-color: var(--red); }
 
.rsca-badge.wanted .tb-header { color: var(--red); }
.rsca-badge ul {
.rsca-badge.under-invest { border-color: var(--text-dim); }
  margin: 0;
.rsca-badge.under-invest .tb-header { color: var(--text-dim); }
  padding-left: 16px;
.rsca-badge.record-complete { border-color: var(--border-light); }
}
.rsca-badge.record-complete .tb-header { color: var(--text-dim); }
 
.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 {
.rsca-footer {
   max-width: var(--max-width);
   max-width: var(--max-w);
   margin: 40px auto 0;
   margin: 30px auto 0;
   padding: 20px;
   padding: 16px var(--gap);
   border-top: 1px solid var(--border-primary);
   border-top: 1px solid var(--border);
   text-align: center;
   text-align: center;
   font-size: 0.8em;
   font-size: 0.75em;
   color: var(--text-faint);
   color: var(--text-faint);
}
}


.rsca-footer a {
.rsca-footer a { color: var(--text-dim); }
  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) {
@media (max-width: 768px) {
   html { font-size: 13px; }
   html { font-size: 13px; }
   .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: 10px 0; }
   .rsca-entity-title { font-size: 1.5em; }
   .rsca-entity-title { font-size: 1.4em; }
  .rsca-top-bar-inner { flex-direction: column; gap: 8px; }
  .rsca-top-nav { flex-wrap: wrap; justify-content: center; }
}
}

2026年9月6日 (日) 09:48的版本

/* ========================================
   RSCA — Roblox Simplified Chinese Archives
   ROBLOX 简中档案 · 全局样式表
   ======================================== */

:root {
  --bg: #0e0e0e;
  --bg-panel: #141414;
  --bg-header: #1a1a1a;
  --border: #333;
  --border-light: #444;
  --text: #d8d8d8;
  --text-dim: #999;
  --text-faint: #666;
  --red: #c41e3a;
  --gold: #d4a017;
  --blue: #4a90d9;
  --max-w: 960px;
  --radius: 4px;
  --gap: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif;
  line-height: 1.65;
}

a { color: var(--text-dim); text-decoration: none; }
a:hover { color: #fff; }
.mw-parser-output { background: transparent; }

/* ---------- 隐藏 Vector 默认元素 ---------- */

#p-logo, #p-navigation, #p-search, #p-personal, #p-tb, #p-lang,
.vector-menu, .vector-menu-tabs, .vector-menu-content,
.vector-menu-content-list, .vector-menu-heading,
.vector-user-links, .vector-user-menu,
#mw-panel, #mw-head-base, #mw-page-base,
#p-banner, #siteNotice, #centralNotice,
#catlinks, .catlinks, .mw-indicators,
.mw-editsection, .mw-editsection-like,
#pagehistory, #contentSub, #contentSub2, #jump-to-nav,
#footer, .breadcrumb, .subpages,
.toc, .toctoggle, .toctogglesearch,
#p-cactions, .searchButton, #mw-search-top-table,
.vector-search-box, .vector-search-box-input, .vector-search-box-button,
.vector-user-menu-anon-editor, .vector-user-menu-legacy,
.firstHeading, #firstHeading, .mw-page-title, .page-title,
.mw-parser-output h1:first-of-type {
  display: none !important;
}

#mw-head {
  display: block !important;
  background: var(--bg-header) !important;
  border-bottom: 2px solid var(--red) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  width: 100% !important;
}

#mw-content-text {
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  padding: 0 var(--gap) !important;
}

.mw-parser-output { max-width: 100% !important; }

/* ---------- 面板系统 ---------- */

.rsca-panel {
  border: 1px solid var(--border);
  margin-bottom: var(--gap);
  background: var(--bg-panel);
  border-radius: var(--radius);
}

.rsca-panel-header {
  background: var(--bg-header);
  color: #ccc;
  padding: 10px 14px;
  font-weight: bold;
  font-size: 0.95em;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rsca-panel-header .label {
  font-family: 'Courier New', monospace;
  color: var(--text-dim);
  font-size: 0.8em;
  letter-spacing: 0.1em;
  font-weight: normal;
}

.rsca-panel-body { padding: 14px; }
.rsca-panel-body p { margin: 0 0 10px 0; }
.rsca-panel-body ul { margin: 0; padding-left: 18px; }
.rsca-panel-body li { margin-bottom: 4px; font-size: 0.9em; }

.rsca-rec {
  border-left: 3px solid var(--border-light);
  background: var(--bg-header);
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 0.9em;
  line-height: 1.65;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.rsca-rec.warn { border-left-color: var(--red); }
.rsca-rec.note { border-left-color: var(--blue); }
.rsca-rec .label { font-weight: bold; color: var(--text-dim); margin-bottom: 4px; display: block; }

.rsca-infocard {
  float: right;
  width: 280px;
  margin: 0 0 14px 18px;
  border: 1px solid var(--border-light);
  font-size: 0.85em;
  background: var(--bg-panel);
  border-radius: var(--radius);
}

.rsca-infocard-header {
  background: var(--bg-header);
  color: #ccc;
  padding: 6px 10px;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  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: 4px 8px;
  border-bottom: 1px solid var(--bg-header);
  vertical-align: top;
  font-size: 0.92em;
}

.rsca-infocard td.k { color: var(--text-dim); font-weight: bold; width: 30%; white-space: nowrap; }
.rsca-infocard-img { text-align: center; padding: 8px; border-bottom: 1px solid var(--border); }
.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-dim); 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) !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; }

.rsca-collapse {
  border: 1px solid var(--border);
  margin: 14px 0;
  background: var(--bg-panel);
  border-radius: var(--radius);
}

.rsca-collapse-header {
  background: var(--bg-header);
  color: var(--text-dim);
  padding: 7px 12px;
  cursor: pointer;
  font-size: 0.85em;
  border-bottom: 1px solid var(--border);
  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-dim); }
.rsca-collapse-body { padding: 12px; }

.rsca-entity-title {
  font-size: 1.8em;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ccc;
  border-bottom: 3px solid var(--red);
  padding-bottom: 8px;
  margin: 0 0 16px 0;
}

.rsca-section {
  border-left: 2px solid var(--border);
  padding-left: 14px;
  margin: 18px 0;
}

.rsca-section h3 {
  font-size: 1.05em;
  color: var(--text-dim);
  margin: 0 0 8px 0;
  letter-spacing: 0.05em;
}

.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 6px; }

.rsca-quote {
  border-left: 3px solid var(--border-light);
  background: var(--bg-panel);
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 0.88em;
  color: var(--text-dim);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.rsca-quote cite {
  display: block;
  margin-top: 6px;
  font-size: 0.8em;
  color: var(--text-dim);
  font-style: normal;
}

.rsca-timeline {
  border-left: 2px solid var(--border);
  padding-left: 14px;
  margin: 16px 0;
}

.rsca-timeline .t-event {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-header);
}

.rsca-timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
.rsca-timeline .t-date { font-family: 'Courier New', monospace; font-size: 0.8em; color: var(--text-dim); font-weight: bold; margin-bottom: 3px; }
.rsca-timeline .t-title { color: var(--text-dim); font-weight: bold; margin-bottom: 4px; }
.rsca-timeline .t-body { font-size: 0.9em; color: var(--text-dim); line-height: 1.65; }

.rsca-tag {
  display: inline-block;
  background: var(--bg-header);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 2px 8px;
  font-size: 0.75em;
  letter-spacing: 0.04em;
  margin: 1px;
  border-radius: var(--radius);
}

.rsca-tag.red { border-color: var(--red); color: var(--red); }
.rsca-tag.yellow { border-color: var(--gold); color: var(--gold); }
.rsca-tag.blue { border-color: var(--blue); color: var(--blue); }
.rsca-tag.grey { border-color: var(--border-light); color: var(--text-dim); }

.rsca-badge {
  border: 1px solid var(--border-light);
  background: var(--bg-panel);
  padding: 7px 12px;
  margin: 8px 0;
  font-size: 0.82em;
  color: var(--text-dim);
  border-radius: var(--radius);
}

.rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: 6px; }
.rsca-badge ul { margin: 0; padding-left: 16px; }
.rsca-badge li { margin-bottom: 3px; }
.rsca-badge.in-progress { border-color: var(--gold); }
.rsca-badge.in-progress .tb-header { color: var(--gold); }
.rsca-badge.exposed { border-color: var(--border-light); }
.rsca-badge.exposed .tb-header { color: var(--text-dim); }
.rsca-badge.wanted { border-color: var(--red); }
.rsca-badge.wanted .tb-header { color: var(--red); }
.rsca-badge.under-invest { border-color: var(--text-dim); }
.rsca-badge.under-invest .tb-header { color: var(--text-dim); }
.rsca-badge.record-complete { border-color: var(--border-light); }
.rsca-badge.record-complete .tb-header { color: var(--text-dim); }

.rsca-footer {
  max-width: var(--max-w);
  margin: 30px auto 0;
  padding: 16px var(--gap);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75em;
  color: var(--text-faint);
}

.rsca-footer a { color: var(--text-dim); }

@media (max-width: 768px) {
  html { font-size: 13px; }
  .rsca-layout { flex-direction: column; gap: 12px; }
  .rsca-infocard { float: none; width: 100%; margin: 10px 0; }
  .rsca-entity-title { font-size: 1.4em; }
}