跳转到内容

MediaWiki:Common.css:修订间差异

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


:root {
*, *::before, *::after {
  --bg-primary: #0e0e0e;
    box-sizing: border-box;
  --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 {
html {
  background: var(--bg-primary);
    background-color: #e6f5e6;
  font-size: 14px;
    font-size: 14px;
  color: var(--text-primary);
}
}


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


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


/* ---------- 顶部导航栏(SCP 风格) ---------- */
/* ---------- 布局 ---------- */
.chanmoegrid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}


.rsca-top-bar {
.chanmoecard {
  background: var(--bg-secondary);
    background: #ffffff;
  border-bottom: 2px solid var(--accent-red);
    border-radius: 16px;
  padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 0;
    padding: 18px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    overflow: hidden;
}
}


.rsca-top-bar-inner {
.chanmoecard:hover {
  max-width: var(--max-width);
    border-color: #a5d6a7;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}
}


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


.rsca-logo img {
.chanmoe-main {
  height: 40px;
    flex: 2;
  width: auto;
    min-width: 280px;
}
}


.rsca-logo-text {
.chanmoe-side {
  font-size: 1.4em;
    flex: 1;
  font-weight: 900;
    min-width: 250px;
  letter-spacing: 0.15em;
  color: #ccc;
  text-transform: uppercase;
}
}


.rsca-logo-sub {
/* ---------- 图文混排 ---------- */
  font-size: 0.7em;
.thumb {
  color: var(--text-muted);
    margin: 0;
  letter-spacing: 0.1em;
  display: block;
}
}


.rsca-top-nav {
.thumb.tleft {
  display: flex;
    float: left;
  gap: 4px;
    margin: 4px 14px 12px 0 !important;
    max-width: 100%;
}
}


.rsca-top-nav a {
.thumb.tright {
  display: inline-block;
    float: right;
  padding: 6px 12px;
    margin: 4px 0 12px 14px !important;
  color: var(--text-secondary);
    max-width: 100%;
  font-size: 0.85em;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: all 0.2s;
}
}


.rsca-top-nav a:hover {
.thumbinner {
  background: var(--bg-tertiary);
    border: 1px solid #e0e0e0;
  color: #fff;
    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;
}


.rsca-container {
.thumb img {
  max-width: var(--max-width);
    max-width: 100%;
  margin: 0 auto;
    height: auto;
  padding: var(--gap);
    border-radius: 4px;
    display: block;
}
}


.rsca-layout {
/* ---------- 欢迎区 ---------- */
  display: flex;
.welcome-title {
  flex-wrap: wrap;
    font-size: 1.6em;
  gap: var(--gap);
    font-weight: bold;
    margin: 8px 0;
}
}


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


.rsca-side {
.ascii-divider {
  flex: 1;
    color: #a5d6a7;
  min-width: 240px;
    font-family: monospace;
    text-align: center;
    font-size: 0.85em;
    margin: 10px 0;
}
}


/* ---------- 内容块(SCP block 风格) ---------- */
.welcome-nav {
    margin-top: 12px;
}


.rsca-block {
/* ---------- 标题 ---------- */
  border: 1px solid var(--border-primary);
.chanmoe-title {
  margin-bottom: var(--gap);
    font-size: 1.1em;
  background: var(--bg-secondary);
    font-weight: bold;
  border-radius: var(--radius);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px dashed #80cbc4;
    color: #0066cc;
}
}


.rsca-block-header {
/* ---------- 按钮 ---------- */
  background: var(--bg-tertiary);
.chanboard-grid {
  color: #ccc;
    display: flex;
  padding: 10px 16px;
    flex-wrap: wrap;
  font-weight: bold;
    gap: 8px;
  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 {
.chanboard-btn {
  font-family: var(--font-mono);
    background: #e8f5e9;
  color: var(--text-muted);
    padding: 8px 14px;
  font-size: 0.8em;
    border-radius: 24px;
  letter-spacing: 0.1em;
    color: #0066cc;
  font-weight: normal;
    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;
}
}


.rsca-block-body {
.chanboard-btn a {
  padding: 16px;
    color: inherit;
    text-decoration: none;
}
}


.rsca-block-body p {
.chanboard-btn:hover {
  margin: 0 0 12px 0;
    background: #b9f6ca;
  line-height: 1.7;
    color: #000;
    transform: translateY(-2px);
}
}


.rsca-block-body ul {
/* ---------- 新闻 ---------- */
  margin: 0;
.chanmoe-news {
  padding-left: 20px;
    padding: 0;
    overflow: hidden;
}
}


.rsca-block-body li {
.chanmoe-news .chanmoe-title {
  margin-bottom: 6px;
    background: #e6f4e6;
  font-size: 0.9em;
    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;
}


.rsca-emphasis {
.news-item {
  border-left: 4px solid var(--border-secondary);
    margin-bottom: 12px;
  background: var(--bg-tertiary);
    padding-bottom: 12px;
  padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
  margin: 12px 0;
  font-size: 0.9em;
  line-height: 1.7;
  border-radius: 0 var(--radius) var(--radius) 0;
}
}


.rsca-emphasis.warning {
.news-item:last-child {
  border-left-color: var(--accent-red);
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
}


.rsca-emphasis.note {
.news-date {
  border-left-color: var(--accent-blue);
    font-size: 0.95em;
    font-weight: bold;
    color: #662222;
    margin-bottom: 4px;
}
}


.rsca-emphasis .label {
.news-body {
  font-weight: bold;
    color: #333;
  color: var(--text-secondary);
    font-size: 0.95em;
  margin-bottom: 6px;
  display: block;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
}


/* ---------- 信息卡 ---------- */
.news-footer {
 
    text-align: right;
.rsca-infocard {
    padding: 8px 16px;
  float: right;
    background: #e6f4e6;
  width: 280px;
    border-top: 1px dashed #88cccc;
  margin: 0 0 16px 20px;
    font-size: 0.85em;
  border: 1px solid var(--border-secondary);
  font-size: 0.85em;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}
}


.rsca-infocard-header {
.news-footer a {
  background: var(--bg-tertiary);
    color: #0066cc;
  color: #ccc;
    text-decoration: none;
  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%;
.chanlist {
  border-collapse: collapse;
    list-style: none;
    margin: 0;
    padding: 0;
}
}


.rsca-infocard td,
.chanlist li {
.rsca-infocard th {
    padding: 6px 0;
  padding: 5px 10px;
    border-bottom: 1px solid #e0e0e0;
  border-bottom: 1px solid var(--bg-tertiary);
    font-size: 0.9em;
  vertical-align: top;
  font-size: 0.9em;
}
}


.rsca-infocard td.k {
.chanlist li:last-child {
  color: var(--text-muted);
    border-bottom: none;
  font-weight: bold;
  width: 30%;
  white-space: nowrap;
}
}


.rsca-infocard-img {
.chanlist a {
  text-align: center;
    color: #0066cc;
  padding: 10px;
    text-decoration: none;
  border-bottom: 1px solid var(--border-primary);
    font-weight: bold;
}
}


.rsca-infocard-img img {
.chanlist a:hover {
  max-width: 120px;
    color: #003c8f;
  height: auto;
    text-decoration: underline;
  filter: grayscale(100%);
  border-radius: var(--radius);
}
}


.rsca-infocard-img .cap {
/* ---------- 留言 ---------- */
  display: block;
.chanpost {
  font-size: 0.75em;
    background: #f1f8e9;
  color: var(--text-muted);
    border-radius: 10px;
  margin-top: 4px;
    padding: 12px;
    margin-top: 8px;
    border-left: 3px solid #66bb6a;
    line-height: 1.6;
    font-size: 0.9em;
}
}


/* ---------- 涂黑 ---------- */
.post-no {
 
    color: #757575;
.rsca-redact,
    font-size: 0.8em;
.rsca-redact a,
    font-weight: bold;
a .rsca-redact,
    display: block;
.rsca-redact a.new {
    margin-bottom: 3px;
  background: #000;
  color: #000;
  text-shadow: none;
  padding: 0 4px;
  cursor: default;
}
}


.rsca-redact:hover,
.side-note {
.rsca-redact:active,
    font-size: 0.8em;
.rsca-redact.reveal {
    margin: 8px 0 0;
  color: var(--text-primary) !important;
    color: #555;
  background: #000;
}
}


.rsca-redact:hover a,
.chanpost-empty {
a:hover .rsca-redact,
    padding: 20px;
.rsca-redact:active a,
    text-align: center;
a:active .rsca-redact,
    color: #888;
.rsca-redact.reveal a,
    font-weight: bold;
a.rsca-redact.reveal {
    font-size: 0.9em;
  color: #8ab4f8 !important;
}
}


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


.rsca-collapse-header {
.chanmoe-offense-bar a {
  background: var(--bg-tertiary);
    color: #c41e3a;
  color: var(--text-secondary);
    font-weight: bold;
  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;
.chanmoe-dyk {
  color: #ccc;
    padding-bottom: 12px;
}
}


.rsca-collapse-header::after {
.dyk-list {
  content: "▼";
    padding: 2px;
  font-size: 0.7em;
  color: var(--text-muted);
}
}


.rsca-collapse-body {
.dyk-item {
  padding: 14px;
    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;
.rsca-entity-title {
    transform: translateX(3px);
  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 {
.dyk-num {
  border-left: 3px solid var(--border-primary);
    font-family: "Courier New", monospace;
  padding-left: 16px;
    font-size: 1.3em;
  margin: 20px 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.1em;
    color: #333;
  color: var(--text-secondary);
    line-height: 1.6;
  margin: 0 0 10px 0;
    font-size: 0.9em;
  letter-spacing: 0.05em;
    padding-top: 2px;
}
}


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


/* ---------- 引用块 ---------- */
.dyk-text a:hover {
 
    color: #0d47a1;
.rsca-quote {
    border-bottom-style: solid;
  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;
.heimu,
  margin-top: 8px;
.heimu a,
  font-size: 0.8em;
a .heimu,
  color: var(--text-muted);
.heimu a.new {
  font-style: normal;
    background-color: #252525;
    color: #252525;
    text-shadow: none;
    cursor: pointer;
}
}


/* ---------- 时间线 ---------- */
.heimu:hover,
 
.heimu:active {
.rsca-timeline {
    color: white !important;
  border-left: 3px solid var(--border-primary);
  padding-left: 16px;
  margin: 20px 0;
}
}


.rsca-timeline .t-event {
.heimu:hover a,
  margin-bottom: 16px;
a:hover .heimu,
  padding-bottom: 16px;
.heimu:active a,
  border-bottom: 1px solid var(--bg-tertiary);
a:active .heimu {
    color: lightblue !important;
}
}


.rsca-timeline .t-event:last-child {
/* ---------- 移动端适配 ---------- */
  border-bottom: none;
@media (max-width: 768px) {
  margin-bottom: 0;
    html {
}
        font-size: 13px;
    }


.rsca-timeline .t-date {
    .chanmoegrid {
  font-family: var(--font-mono);
        flex-direction: column;
  font-size: 0.85em;
        padding: 8px;
  color: var(--text-muted);
        gap: 10px;
  font-weight: bold;
    }
  margin-bottom: 4px;
}


.rsca-timeline .t-title {
    .chanmoecard {
  color: var(--text-secondary);
        padding: 12px;
  font-weight: bold;
        border-radius: 12px;
  margin-bottom: 6px;
    }
  font-size: 1em;
}


.rsca-timeline .t-body {
    .chanmoe-welcome {
  font-size: 0.9em;
        padding: 20px 12px;
  color: var(--text-secondary);
        border-radius: 16px;
  line-height: 1.7;
    }
}


/* ---------- 标签 ---------- */
    .welcome-title {
        font-size: 1.3em;
    }


.rsca-tag {
    .welcome-sub {
  display: inline-block;
        font-size: 0.9em;
  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 {
    .ascii-divider {
  border-color: var(--accent-red);
        font-size: 0.7em;
  color: var(--accent-red);
    }
}


.rsca-tag.yellow {
    .chanmoe-title {
  border-color: var(--accent-gold);
        font-size: 1em;
  color: var(--accent-gold);
        padding-bottom: 6px;
}
        margin-bottom: 8px;
    }


.rsca-tag.grey {
    .chanboard-grid {
  border-color: var(--border-secondary);
        justify-content: center;
  color: var(--text-muted);
        gap: 6px;
}
    }


.rsca-tag.blue {
    .chanboard-btn {
  border-color: var(--accent-blue);
        padding: 6px 12px;
  color: var(--accent-blue);
        font-size: 0.85em;
}
        border-radius: 20px;
    }


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


.rsca-badge {
    .thumbcaption {
  border: 1px solid var(--border-secondary);
        font-size: 0.75em;
  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 {
    .news-list {
  font-weight: bold;
        padding: 10px 12px;
  color: #ccc;
    }
  font-size: 0.9em;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}


.rsca-badge ul {
    .news-date {
  margin: 0;
        font-size: 0.9em;
  padding-left: 16px;
    }
}


.rsca-badge li {
    .news-body {
  margin-bottom: 4px;
        font-size: 0.9em;
}
    }


.rsca-badge.in-progress { border-color: var(--accent-gold); }
    .news-footer {
.rsca-badge.in-progress .tb-header { color: var(--accent-gold); }
        padding: 6px 12px;
.rsca-badge.exposed { border-color: var(--border-secondary); }
        font-size: 0.8em;
.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); }


/* ---------- 底部 ---------- */
    .dyk-item {
        padding: 8px;
        gap: 6px;
    }


.rsca-footer {
    .dyk-num {
  max-width: var(--max-width);
        font-size: 1.1em;
  margin: 40px auto 0;
        min-width: 20px;
  padding: 20px;
    }
  border-top: 1px solid var(--border-primary);
  text-align: center;
  font-size: 0.8em;
  color: var(--text-faint);
}


.rsca-footer a {
    .dyk-text {
  color: var(--text-muted);
        font-size: 0.85em;
}
    }


/* ---------- Vector 皮肤强制覆盖 ---------- */
    .chanlist li {
        font-size: 0.85em;
        padding: 5px 0;
    }


.mw-parser-output h1,
    .chanpost {
.mw-parser-output h2,
        font-size: 0.85em;
.mw-parser-output h3,
        padding: 8px;
.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,
    .post-no {
.mw-parser-output a:link,
        font-size: 0.75em;
.mw-parser-output a:visited {
    }
  color: var(--text-secondary) !important;
}


.mw-parser-output a:hover,
    .chanmoe-offense-bar {
.mw-parser-output a:active {
        font-size: 0.8em;
  color: #fff !important;
        padding: 6px 10px;
    }
}
}
 
/* 让全站纯正文文字保持清爽的 14px */
.mw-parser-output p,
.mw-parser-output > p,
.mw-parser-output li,
.mw-parser-output > ul,
.mw-parser-output td,
.mw-parser-output > ol,
.mw-parser-output th,
.mw-parser-output > dl,
.mw-parser-output dd,
.mw-parser-output > blockquote {
.mw-parser-output dt,
    font-size: 14px !important;
.mw-parser-output span,
    line-height: 1.6 !important;
.mw-parser-output div,
.mw-parser-output label {
  color: var(--text-primary);
}
}


.mw-parser-output .mw-editsection,
/* 让正文里的普通二级、三级标题大小正常 */
.mw-parser-output .mw-editsection-like {
.mw-parser-output > h2 {
  color: var(--text-muted) !important;
    font-size: 1.4em !important;
}
}
 
.mw-parser-output > h3 {
/* ---------- 移动端 ---------- */
    font-size: 1.15em !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; }
}
}

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;
}