跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
标签:已被回退
无编辑摘要
 
(未显示2个用户的15个中间版本)
第1行: 第1行:
/* ========================================
/* ========================================
   RSCA — Roblox Simplified Chinese Archives
   简中Robloxian Wiki — 4chan 清新淡绿
   ROBLOX 简中档案 · 全局样式
   字号下调版
   ======================================== */
   ======================================== */


:root {
*, *::before, *::after {
  --bg: #0e0e0e;
    box-sizing: border-box;
  --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;
}
}


/* ---------- 基础 ---------- */
html {
    background-color: #e6f5e6;
    font-size: 14px;
}


*, *::before, *::after { box-sizing: border-box; }
body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
    background-color: #e6f5e6 !important;
    color: #1a1a1a;
    font-family: "Helvetica Neue", "Arial", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}


html, body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
.mw-parser-output {
  background: var(--bg) !important;
    background: transparent;
  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; }
.chanmoegrid {
.mw-parser-output { background: transparent; }
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}


/* ---------- 隐藏 Vector 默认元素 ---------- */
.chanmoecard {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 18px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    overflow: hidden;
}


/* 隐藏顶部 logo 和导航 */
.chanmoecard:hover {
#p-logo,
    border-color: #a5d6a7;
#p-navigation,
#p-search,
#p-personal,
#p-tb,
#p-lang,
#p-lang-btn,
.vector-menu,
.vector-menu-tabs,
.vector-menu-content,
.vector-menu-content-list,
.vector-menu-heading,
.vector-menu-heading-label,
.vector-menu-tabs-legacy,
.vector-menu-tabs-legacy .mw-list-item,
.vector-menu-tabs-legacy .mw-list-item a,
.vector-user-links,
.vector-user-menu,
.vector-user-links-legacy,
.vector-user-links-legacy .mw-list-item,
.vector-user-links-legacy .mw-list-item a,
#mw-panel,
#mw-head-base,
#mw-navigation,
#mw-navigation-head,
#mw-navigation-toggle,
#mw-navigation-toggle-icon,
#mw-navigation-toggle-label,
#p-banner,
#siteNotice,
#centralNotice,
#catlinks,
.catlinks,
.catlinks-allhidden,
.mw-indicators,
.mw-editsection,
.mw-editsection-like,
#pagehistory,
#pagehistory input,
#pagehistory li,
#pagehistory .mw-history-histlinks,
#pagehistory .mw-history-selected,
#pagehistory .mw-history-bytes,
#pagehistory .mw-history-date,
#pagehistory .mw-history-user,
#pagehistory .mw-history-comment,
#pagehistory .mw-history-tools,
#pagehistory .mw-history-tools a,
#pagehistory .mw-history-tools input,
#pagehistory .mw-history-tools button,
#pagehistory .mw-history-tools select,
#pagehistory .mw-history-tools textarea {
  display: none !important;
}
}


/* 隐藏 Vector 侧边栏和头部 */
.chanmoe-welcome {
#mw-page-base,
    flex: 1 1 100%;
#mw-head-base,
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
#mw-panel,
    color: #1f3b1f;
#p-search,
    text-align: center;
.vector-search-box,
    border-radius: 20px;
.vector-search-box-input,
    padding: 28px 20px;
.vector-search-box-button,
.vector-search-box-button-icon,
.vector-search-box-button-text,
.vector-search-box-button-icon-search,
.vector-search-box-button-icon-advanced,
.vector-search-box-button-icon-search-advanced,
.vector-search-box-button-icon-search-advanced-dropdown,
.vector-search-box-button-icon-search-advanced-dropdown-menu,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link:hover,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link:focus,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link:active,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link:visited,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link-active,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link-active:hover,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link-active:focus,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link-active:active,
.vector-search-box-button-icon-search-advanced-dropdown-menu-item-link-active:visited {
  display: none !important;
}
}


/* 隐藏 Vector 的搜索框和用户菜单 */
.chanmoe-main {
#p-personal,
    flex: 2;
#p-personal ul,
    min-width: 280px;
#p-personal li,
#p-personal a,
#pt-userpage,
#pt-anonuserpage,
#pt-mytalk,
#pt-anontalk,
#pt-preferences,
#pt-watchlist,
#pt-mycontris,
#pt-login,
#pt-anonlogin,
#pt-logout {
  display: none !important;
}
}


/* 隐藏 Vector 的侧边栏面板 */
.chanmoe-side {
#mw-panel .portal,
    flex: 1;
#mw-panel .portal .body,
    min-width: 250px;
#mw-panel .portal .body ul,
#mw-panel .portal .body li,
#mw-panel .portal .body a,
#mw-panel .portal .portal-heading,
#mw-panel .portal .portal-heading span,
#mw-panel .portal .portal-body,
#mw-panel .portal .portal-body ul,
#mw-panel .portal .portal-body li,
#mw-panel .portal .portal-body a,
#mw-panel .portal .portal-tbody,
#mw-panel .portal .portal-tbody ul,
#mw-panel .portal .portal-tbody li,
#mw-panel .portal .portal-tbody a,
#mw-panel .portal .portal-tfooter,
#mw-panel .portal .portal-tfooter ul,
#mw-panel .portal .portal-tfooter li,
#mw-panel .portal .portal-tfooter a,
#mw-panel .portal .portal-breadcrumb,
#mw-panel .portal .portal-breadcrumb a,
#mw-panel .portal .portal-breadcrumb a:hover,
#mw-panel .portal .portal-breadcrumb a:focus,
#mw-panel .portal .portal-breadcrumb a:active,
#mw-panel .portal .portal-breadcrumb a:visited {
  display: none !important;
}
}


/* 隐藏 Vector 的页脚 */
/* ---------- 图文混排 ---------- */
#footer,
.thumb {
#footer ul,
    margin: 0;
#footer li,
#footer a,
#footer-info,
#footer-info-lastmod,
#footer-info-copyright,
#footer-info-viewcount,
#footer-info-disclaimer,
#footer-info-privacy,
#footer-info-about,
#footer-info-disclaimer,
#footer-places,
#footer-places ul,
#footer-places li,
#footer-places a,
#footer-icons,
#footer-icons ul,
#footer-icons li,
#footer-icons a {
  display: none !important;
}
}


/* 隐藏 Vector 的目录 */
.thumb.tleft {
.toc,
    float: left;
.toc .tocnumber,
    margin: 4px 14px 12px 0 !important;
.toc .toctext,
    max-width: 100%;
.toc .toctoggle,
.toc .toctoggle a,
.toc .toclevel-1,
.toc .toclevel-2,
.toc .toclevel-3,
.toc .toclevel-4,
.toc .toclevel-5,
.toc .toclevel-6,
.toc .toclimit-2,
.toc .toclimit-3,
.toc .toclimit-4,
.toc .toclimit-5,
.toc .toclimit-6,
.toc .toclimit-7 {
  display: none !important;
}
}


/* 隐藏 Vector 的页面操作 */
.thumb.tright {
#p-cactions,
    float: right;
#p-cactions ul,
    margin: 4px 0 12px 14px !important;
#p-cactions li,
    max-width: 100%;
#p-cactions a,
#p-cactions-selected,
#p-cactions-selected a,
#p-cactions-views,
#p-cactions-views a,
#p-cactions-actions,
#p-cactions-actions a,
#p-cactions-tools,
#p-cactions-tools a {
  display: none !important;
}
}


/* 隐藏 Vector 的面包屑 */
.thumbinner {
.subpages,
    border: 1px solid #e0e0e0;
.breadcrumb,
    background: #fafafa;
.breadcrumb a,
    padding: 3px;
.breadcrumb a:hover,
    border-radius: 6px;
.breadcrumb a:focus,
.breadcrumb a:active,
.breadcrumb a:visited {
  display: none !important;
}
}


/* 隐藏 Vector 的搜索按钮和高级搜索 */
.thumbcaption {
#searchButton,
    font-size: 0.8em;
#mw-searchButton,
    color: #666;
#mw-search-top-table,
    padding: 4px 3px 3px;
#mw-search-top-table tr,
    text-align: center;
#mw-search-top-table td,
    border-top: 1px solid #e8e8e8;
#mw-search-top-table input,
    margin-top: 3px;
#mw-search-top-table select,
#mw-search-top-table button,
#mw-search-top-table label,
#mw-search-top-table .mw-search-profile-tabs,
#mw-search-top-table .mw-search-profile-tabs ul,
#mw-search-top-table .mw-search-profile-tabs li,
#mw-search-top-table .mw-search-profile-tabs a,
#mw-search-top-table .mw-search-profile-tabs strong,
#mw-search-top-table .mw-search-profile-tabs small,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-name,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-description,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-advanced,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-advanced-link,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-advanced-link a,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-advanced-link a:hover,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-advanced-link a:focus,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-advanced-link a:active,
#mw-search-top-table .mw-search-profile-tabs .mw-search-profile-advanced-link a:visited {
  display: none !important;
}
}


/* 隐藏 Vector 的表格导航 */
.thumb img {
#contentSub,
    max-width: 100%;
#contentSub2,
    height: auto;
#jump-to-nav,
    border-radius: 4px;
#mw-head,
    display: block;
#mw-head-base,
#mw-page-base,
#mw-navigation,
#mw-navigation-head,
#mw-navigation-toggle,
#mw-navigation-toggle-icon,
#mw-navigation-toggle-label,
#mw-content-text .mw-parser-output .mw-editsection,
#mw-content-text .mw-parser-output .mw-editsection-like,
#mw-content-text .mw-parser-output .mw-indicators,
#mw-content-text .mw-parser-output .mw-indicators .mw-indicator,
#mw-content-text .mw-parser-output .mw-indicators .mw-indicator img,
#mw-content-text .mw-parser-output .mw-indicators .mw-indicator span {
  display: none !important;
}
}


/* 隐藏 Vector 的页面历史 */
/* ---------- 欢迎区 ---------- */
#pagehistory,
.welcome-title {
#pagehistory input,
    font-size: 1.6em;
#pagehistory li,
    font-weight: bold;
#pagehistory .mw-history-histlinks,
    margin: 8px 0;
#pagehistory .mw-history-selected,
#pagehistory .mw-history-bytes,
#pagehistory .mw-history-date,
#pagehistory .mw-history-user,
#pagehistory .mw-history-comment,
#pagehistory .mw-history-tools,
#pagehistory .mw-history-tools a,
#pagehistory .mw-history-tools input,
#pagehistory .mw-history-tools button,
#pagehistory .mw-history-tools select,
#pagehistory .mw-history-tools textarea {
  display: none !important;
}
}


/* ---------- 重建 RSCA 头部 ---------- */
.welcome-sub {
    font-size: 1em;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    margin: 0;
}


#mw-page-base,
.ascii-divider {
#mw-head-base {
    color: #a5d6a7;
  height: 0 !important;
    font-family: monospace;
  margin: 0 !important;
    text-align: center;
  padding: 0 !important;
    font-size: 0.85em;
    margin: 10px 0;
}
}


#mw-head,
.welcome-nav {
#mw-navigation {
    margin-top: 12px;
  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;
}
}


#mw-navigation .rsca-nav-container {
/* ---------- 标题 ---------- */
  display: block !important;
.chanmoe-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px dashed #80cbc4;
    color: #0066cc;
}
}


/* 通过 body 添加自定义头部(使用 ::before) */
/* ---------- 按钮 ---------- */
body::before {
.chanboard-grid {
  content: "RSCA";
    display: flex;
  display: block;
    flex-wrap: wrap;
  background: var(--bg-header);
    gap: 8px;
  color: #ccc;
  font-size: 1.6em;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 16px 20px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 0;
}
}


body::after {
.chanboard-btn {
  content: "Roblox Simplified Chinese Archives | ROBLOX 简中档案";
    background: #e8f5e9;
  display: block;
    padding: 8px 14px;
  background: var(--bg-header);
    border-radius: 24px;
  color: var(--text-dim);
    color: #0066cc;
  font-size: 0.8em;
    text-decoration: none;
  letter-spacing: 0.1em;
    font-weight: bold;
  text-align: center;
    font-family: "Courier New", monospace;
  padding: 0 20px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border);
    display: inline-block;
  margin-bottom: var(--gap);
    transition: all 0.2s;
    border: none;
    font-size: 0.9em;
}
}


/* ---------- 内容区容器 ---------- */
.chanboard-btn a {
    color: inherit;
    text-decoration: none;
}


#mw-content-text {
.chanboard-btn:hover {
  max-width: var(--max-w) !important;
    background: #b9f6ca;
  margin: 0 auto !important;
    color: #000;
  padding: 0 var(--gap) !important;
    transform: translateY(-2px);
}
}


.mw-parser-output {
/* ---------- 新闻 ---------- */
  max-width: 100% !important;
.chanmoe-news {
    padding: 0;
    overflow: hidden;
}
}


/* ---------- 面板系统 ---------- */
.chanmoe-news .chanmoe-title {
    background: #e6f4e6;
    padding: 10px 16px;
    margin: 0;
    border-bottom: 1px dashed #88cccc;
    border-radius: 16px 16px 0 0;
}


.rsca-panel {
.news-list {
  border: 1px solid var(--border);
    padding: 14px 18px;
  margin-bottom: var(--gap);
    line-height: 1.6;
  background: var(--bg-panel);
  border-radius: var(--radius);
}
}


.rsca-panel-header {
.news-item {
  background: var(--bg-header);
    margin-bottom: 12px;
  color: #ccc;
    padding-bottom: 12px;
  padding: 10px 14px;
    border-bottom: 1px solid #e0e0e0;
  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 {
.news-item:last-child {
  font-family: 'Courier New', monospace;
    margin-bottom: 0;
  color: var(--text-dim);
    padding-bottom: 0;
  font-size: 0.8em;
    border-bottom: none;
  letter-spacing: 0.1em;
  font-weight: normal;
}
}


.rsca-panel-body {
.news-date {
  padding: 14px;
    font-size: 0.95em;
    font-weight: bold;
    color: #662222;
    margin-bottom: 4px;
}
}


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


/* ---------- 强调块 ---------- */
.news-footer {
    text-align: right;
    padding: 8px 16px;
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.85em;
}


.rsca-rec {
.news-footer a {
  border-left: 3px solid var(--border-light);
    color: #0066cc;
  background: var(--bg-header);
    text-decoration: none;
  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); }
.chanlist {
.rsca-rec .label {
    list-style: none;
  font-weight: bold;
    margin: 0;
  color: var(--text-dim);
    padding: 0;
  margin-bottom: 4px;
  display: block;
}
}


/* ---------- 信息卡 ---------- */
.chanlist li {
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}


.rsca-infocard {
.chanlist li:last-child {
  float: right;
    border-bottom: none;
  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 {
.chanlist a {
  background: var(--bg-header);
    color: #0066cc;
  color: #ccc;
    text-decoration: none;
  padding: 6px 10px;
    font-weight: bold;
  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; }
.chanlist a:hover {
.rsca-infocard td, .rsca-infocard th {
    color: #003c8f;
  padding: 4px 8px;
    text-decoration: underline;
  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); }
.chanpost {
.rsca-infocard-img img { max-width: 120px; height: auto; filter: grayscale(100%); border-radius: var(--radius); }
    background: #f1f8e9;
.rsca-infocard-img .cap { display: block; font-size: 0.75em; color: var(--text-dim); margin-top: 4px; }
    border-radius: 10px;
    padding: 12px;
    margin-top: 8px;
    border-left: 3px solid #66bb6a;
    line-height: 1.6;
    font-size: 0.9em;
}


/* ---------- 涂黑 ---------- */
.post-no {
    color: #757575;
    font-size: 0.8em;
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}


.rsca-redact, .rsca-redact a, a .rsca-redact, .rsca-redact a.new {
.side-note {
  background: #000; color: #000; text-shadow: none; padding: 0 4px; cursor: default;
    font-size: 0.8em;
    margin: 8px 0 0;
    color: #555;
}
}
.rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal {
 
  color: var(--text) !important; background: #000;
.chanpost-empty {
    padding: 20px;
    text-align: center;
    color: #888;
    font-weight: bold;
    font-size: 0.9em;
}
}
.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; }


/* ---------- 折叠块 ---------- */
/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #c8e6c9;
    font-size: 0.85em;
    background: rgba(255,255,255,0.4);
    color: #333;
}


.rsca-collapse {
.chanmoe-offense-bar a {
  border: 1px solid var(--border);
    color: #c41e3a;
  margin: 14px 0;
    font-weight: bold;
  background: var(--bg-panel);
  border-radius: var(--radius);
}
}


.rsca-collapse-header {
/* ---------- 你知道吗 ---------- */
  background: var(--bg-header);
.chanmoe-dyk {
  color: var(--text-dim);
    padding-bottom: 12px;
  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; }
.dyk-list {
.rsca-collapse-header::after { content: "▼"; font-size: 0.7em; color: var(--text-dim); }
    padding: 2px;
.rsca-collapse-body { padding: 12px; }
}


/* ---------- 实体标题 ---------- */
.dyk-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: #f8faf8;
    border-radius: 10px;
    border-left: 3px solid #4CAF50;
    transition: all 0.2s ease;
}


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


.rsca-section {
.dyk-num {
  border-left: 2px solid var(--border);
    font-family: "Courier New", monospace;
  padding-left: 14px;
    font-size: 1.3em;
  margin: 18px 0;
    font-weight: 900;
    color: #4CAF50;
    line-height: 1;
    min-width: 26px;
    text-align: center;
    opacity: 0.7;
}
}


.rsca-section h3 {
.dyk-text {
  font-size: 1.05em;
    color: #333;
  color: var(--text-dim);
    line-height: 1.6;
  margin: 0 0 8px 0;
    font-size: 0.9em;
  letter-spacing: 0.05em;
    padding-top: 2px;
}
}


.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 6px; }
.dyk-text a {
    color: #1565c0;
    text-decoration: none;
    border-bottom: 1px dotted #1565c0;
}


/* ---------- 引用 ---------- */
.dyk-text a:hover {
    color: #0d47a1;
    border-bottom-style: solid;
}


.rsca-quote {
/* ---------- 黑幕 ---------- */
  border-left: 3px solid var(--border-light);
.heimu,
  background: var(--bg-panel);
.heimu a,
  padding: 10px 14px;
a .heimu,
  margin: 12px 0;
.heimu a.new {
  font-size: 0.88em;
    background-color: #252525;
  color: var(--text-dim);
    color: #252525;
  font-style: italic;
    text-shadow: none;
  border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
}
}


.rsca-quote cite {
.heimu:hover,
  display: block;
.heimu:active {
  margin-top: 6px;
    color: white !important;
  font-size: 0.8em;
  color: var(--text-dim);
  font-style: normal;
}
}


/* ---------- 时间线 ---------- */
.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
    color: lightblue !important;
}


.rsca-timeline {
/* ---------- 移动端适配 ---------- */
  border-left: 2px solid var(--border);
@media (max-width: 768px) {
  padding-left: 14px;
    html {
  margin: 16px 0;
        font-size: 13px;
}
    }
 
    .chanmoegrid {
        flex-direction: column;
        padding: 8px;
        gap: 10px;
    }
 
    .chanmoecard {
        padding: 12px;
        border-radius: 12px;
    }
 
    .chanmoe-welcome {
        padding: 20px 12px;
        border-radius: 16px;
    }
 
    .welcome-title {
        font-size: 1.3em;
    }
 
    .welcome-sub {
        font-size: 0.9em;
    }
 
    .ascii-divider {
        font-size: 0.7em;
    }
 
    .chanmoe-title {
        font-size: 1em;
        padding-bottom: 6px;
        margin-bottom: 8px;
    }
 
    .chanboard-grid {
        justify-content: center;
        gap: 6px;
    }
 
    .chanboard-btn {
        padding: 6px 12px;
        font-size: 0.85em;
        border-radius: 20px;
    }
 
    .thumb.tleft,
    .thumb.tright {
        float: none;
        margin: 8px auto !important;
        max-width: min(100%, 260px);
    }


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


.rsca-timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
    .news-list {
.rsca-timeline .t-date { font-family: 'Courier New', monospace; font-size: 0.85em; color: var(--text-dim); font-weight: bold; margin-bottom: 3px; }
        padding: 10px 12px;
.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; }


/* ---------- 标签 ---------- */
    .news-date {
        font-size: 0.9em;
    }


.rsca-tag {
    .news-body {
  display: inline-block;
        font-size: 0.9em;
  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); }
    .news-footer {
.rsca-tag.yellow { border-color: var(--gold); color: var(--gold); }
        padding: 6px 12px;
.rsca-tag.blue { border-color: var(--blue); color: var(--blue); }
        font-size: 0.8em;
.rsca-tag.grey { border-color: var(--border-light); color: var(--text-dim); }
    }


/* ---------- 模板角标 ---------- */
    .dyk-item {
        padding: 8px;
        gap: 6px;
    }


.rsca-badge {
    .dyk-num {
  border: 1px solid var(--border-light);
        font-size: 1.1em;
  background: var(--bg-panel);
        min-width: 20px;
  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; }
    .dyk-text {
.rsca-badge ul { margin: 0; padding-left: 16px; }
        font-size: 0.85em;
.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); }


/* ---------- 底部 ---------- */
    .chanlist li {
        font-size: 0.85em;
        padding: 5px 0;
    }


#mw-content-text::after {
    .chanpost {
  content: "异议指引:https://edramatica.com/Offended";
        font-size: 0.85em;
  display: block;
        padding: 8px;
  margin-top: 30px;
    }
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75em;
  color: var(--text-faint);
}


#mw-content-text::after a { color: var(--text-dim); }
    .post-no {
        font-size: 0.75em;
    }


/* ---------- 移动端 ---------- */
    .chanmoe-offense-bar {
        font-size: 0.8em;
        padding: 6px 10px;
    }
}
/* 让全站纯正文文字保持清爽的 14px */
.mw-parser-output > p,
.mw-parser-output > ul,
.mw-parser-output > ol,
.mw-parser-output > dl,
.mw-parser-output > blockquote {
    font-size: 14px !important;
    line-height: 1.6 !important;
}


@media (max-width: 768px) {
/* 让正文里的普通二级、三级标题大小正常 */
  html { font-size: 13px; }
.mw-parser-output > h2 {
  .rsca-infocard { float: none; width: 100%; margin: 10px 0; }
    font-size: 1.4em !important;
  .rsca-entity-title { font-size: 1.4em; }
}
.mw-parser-output > h3 {
    font-size: 1.15em !important;
}
}

2026年10月31日 (六) 09:56的最新版本

/* ========================================
   简中Robloxian Wiki — 4chan 清新淡绿
   字号下调版
   ======================================== */

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

html {
    background-color: #e6f5e6;
    font-size: 14px;
}

body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
    background-color: #e6f5e6 !important;
    color: #1a1a1a;
    font-family: "Helvetica Neue", "Arial", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

.mw-parser-output {
    background: transparent;
}

/* ---------- 布局 ---------- */
.chanmoegrid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.chanmoecard {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 18px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    overflow: hidden;
}

.chanmoecard:hover {
    border-color: #a5d6a7;
}

.chanmoe-welcome {
    flex: 1 1 100%;
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
    color: #1f3b1f;
    text-align: center;
    border-radius: 20px;
    padding: 28px 20px;
}

.chanmoe-main {
    flex: 2;
    min-width: 280px;
}

.chanmoe-side {
    flex: 1;
    min-width: 250px;
}

/* ---------- 图文混排 ---------- */
.thumb {
    margin: 0;
}

.thumb.tleft {
    float: left;
    margin: 4px 14px 12px 0 !important;
    max-width: 100%;
}

.thumb.tright {
    float: right;
    margin: 4px 0 12px 14px !important;
    max-width: 100%;
}

.thumbinner {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    padding: 3px;
    border-radius: 6px;
}

.thumbcaption {
    font-size: 0.8em;
    color: #666;
    padding: 4px 3px 3px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
    margin-top: 3px;
}

.thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* ---------- 欢迎区 ---------- */
.welcome-title {
    font-size: 1.6em;
    font-weight: bold;
    margin: 8px 0;
}

.welcome-sub {
    font-size: 1em;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    margin: 0;
}

.ascii-divider {
    color: #a5d6a7;
    font-family: monospace;
    text-align: center;
    font-size: 0.85em;
    margin: 10px 0;
}

.welcome-nav {
    margin-top: 12px;
}

/* ---------- 标题 ---------- */
.chanmoe-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px dashed #80cbc4;
    color: #0066cc;
}

/* ---------- 按钮 ---------- */
.chanboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chanboard-btn {
    background: #e8f5e9;
    padding: 8px 14px;
    border-radius: 24px;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    font-family: "Courier New", monospace;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: inline-block;
    transition: all 0.2s;
    border: none;
    font-size: 0.9em;
}

.chanboard-btn a {
    color: inherit;
    text-decoration: none;
}

.chanboard-btn:hover {
    background: #b9f6ca;
    color: #000;
    transform: translateY(-2px);
}

/* ---------- 新闻 ---------- */
.chanmoe-news {
    padding: 0;
    overflow: hidden;
}

.chanmoe-news .chanmoe-title {
    background: #e6f4e6;
    padding: 10px 16px;
    margin: 0;
    border-bottom: 1px dashed #88cccc;
    border-radius: 16px 16px 0 0;
}

.news-list {
    padding: 14px 18px;
    line-height: 1.6;
}

.news-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-date {
    font-size: 0.95em;
    font-weight: bold;
    color: #662222;
    margin-bottom: 4px;
}

.news-body {
    color: #333;
    font-size: 0.95em;
}

.news-footer {
    text-align: right;
    padding: 8px 16px;
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.85em;
}

.news-footer a {
    color: #0066cc;
    text-decoration: none;
}

/* ---------- 列表 ---------- */
.chanlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chanlist li {
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}

.chanlist li:last-child {
    border-bottom: none;
}

.chanlist a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.chanlist a:hover {
    color: #003c8f;
    text-decoration: underline;
}

/* ---------- 留言 ---------- */
.chanpost {
    background: #f1f8e9;
    border-radius: 10px;
    padding: 12px;
    margin-top: 8px;
    border-left: 3px solid #66bb6a;
    line-height: 1.6;
    font-size: 0.9em;
}

.post-no {
    color: #757575;
    font-size: 0.8em;
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}

.side-note {
    font-size: 0.8em;
    margin: 8px 0 0;
    color: #555;
}

.chanpost-empty {
    padding: 20px;
    text-align: center;
    color: #888;
    font-weight: bold;
    font-size: 0.9em;
}

/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #c8e6c9;
    font-size: 0.85em;
    background: rgba(255,255,255,0.4);
    color: #333;
}

.chanmoe-offense-bar a {
    color: #c41e3a;
    font-weight: bold;
}

/* ---------- 你知道吗 ---------- */
.chanmoe-dyk {
    padding-bottom: 12px;
}

.dyk-list {
    padding: 2px;
}

.dyk-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: #f8faf8;
    border-radius: 10px;
    border-left: 3px solid #4CAF50;
    transition: all 0.2s ease;
}

.dyk-item:hover {
    background: #e8f5e9;
    transform: translateX(3px);
}

.dyk-num {
    font-family: "Courier New", monospace;
    font-size: 1.3em;
    font-weight: 900;
    color: #4CAF50;
    line-height: 1;
    min-width: 26px;
    text-align: center;
    opacity: 0.7;
}

.dyk-text {
    color: #333;
    line-height: 1.6;
    font-size: 0.9em;
    padding-top: 2px;
}

.dyk-text a {
    color: #1565c0;
    text-decoration: none;
    border-bottom: 1px dotted #1565c0;
}

.dyk-text a:hover {
    color: #0d47a1;
    border-bottom-style: solid;
}

/* ---------- 黑幕 ---------- */
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
    cursor: pointer;
}

.heimu:hover,
.heimu:active {
    color: white !important;
}

.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
    color: lightblue !important;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
    html {
        font-size: 13px;
    }

    .chanmoegrid {
        flex-direction: column;
        padding: 8px;
        gap: 10px;
    }

    .chanmoecard {
        padding: 12px;
        border-radius: 12px;
    }

    .chanmoe-welcome {
        padding: 20px 12px;
        border-radius: 16px;
    }

    .welcome-title {
        font-size: 1.3em;
    }

    .welcome-sub {
        font-size: 0.9em;
    }

    .ascii-divider {
        font-size: 0.7em;
    }

    .chanmoe-title {
        font-size: 1em;
        padding-bottom: 6px;
        margin-bottom: 8px;
    }

    .chanboard-grid {
        justify-content: center;
        gap: 6px;
    }

    .chanboard-btn {
        padding: 6px 12px;
        font-size: 0.85em;
        border-radius: 20px;
    }

    .thumb.tleft,
    .thumb.tright {
        float: none;
        margin: 8px auto !important;
        max-width: min(100%, 260px);
    }

    .thumbcaption {
        font-size: 0.75em;
    }

    .news-list {
        padding: 10px 12px;
    }

    .news-date {
        font-size: 0.9em;
    }

    .news-body {
        font-size: 0.9em;
    }

    .news-footer {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .dyk-item {
        padding: 8px;
        gap: 6px;
    }

    .dyk-num {
        font-size: 1.1em;
        min-width: 20px;
    }

    .dyk-text {
        font-size: 0.85em;
    }

    .chanlist li {
        font-size: 0.85em;
        padding: 5px 0;
    }

    .chanpost {
        font-size: 0.85em;
        padding: 8px;
    }

    .post-no {
        font-size: 0.75em;
    }

    .chanmoe-offense-bar {
        font-size: 0.8em;
        padding: 6px 10px;
    }
}
/* 让全站纯正文文字保持清爽的 14px */
.mw-parser-output > p,
.mw-parser-output > ul,
.mw-parser-output > ol,
.mw-parser-output > dl,
.mw-parser-output > blockquote {
    font-size: 14px !important; 
    line-height: 1.6 !important;
}

/* 让正文里的普通二级、三级标题大小正常 */
.mw-parser-output > h2 {
    font-size: 1.4em !important;
}
.mw-parser-output > h3 {
    font-size: 1.15em !important;
}