跳转到内容

MediaWiki:Common.css:修订间差异

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


: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;
  --font-mono: 'Courier New', 'Noto Sans SC', monospace;
  --max-width: 960px;
  --gap: 24px;
  --radius: 4px;
}
}


*, *::before, *::after { box-sizing: border-box; }
html {
    background-color: #e6f5e6;
    font-size: 14px;
}


html { background: var(--bg-primary); font-size: 14px; color: var(--text-primary); }
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;
}


body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
.mw-parser-output {
  background: var(--bg-primary) !important;
    background: transparent;
  color: var(--text-primary) !important;
  font-family: var(--font-mono);
  line-height: 1.65;
}
}


a { color: var(--text-secondary); 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;
}


/* ---------- 顶部横幅 ---------- */
.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;
}


.rsca-header {
.chanmoecard:hover {
  max-width: var(--max-width);
    border-color: #a5d6a7;
  margin: 0 auto 24px;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 16px;
  text-align: center;
}
}


.rsca-title {
.chanmoe-welcome {
  font-size: 2em;
    flex: 1 1 100%;
  font-weight: 900;
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
  letter-spacing: 0.18em;
    color: #1f3b1f;
  color: #ccc;
    text-align: center;
  margin: 0 0 4px 0;
    border-radius: 20px;
  text-transform: uppercase;
    padding: 28px 20px;
}
}


.rsca-tagline { font-size: 0.85em; color: var(--text-muted); font-style: italic; margin: 0 0 8px 0; }
.chanmoe-main {
.rsca-ascii { font-family: var(--font-mono); font-size: 0.78em; color: var(--text-faint); letter-spacing: 0.1em; margin: 8px 0; }
    flex: 2;
    min-width: 280px;
}


.rsca-nav { margin-top: 12px; }
.chanmoe-side {
    flex: 1;
    min-width: 250px;
}


.rsca-nav a {
/* ---------- 图文混排 ---------- */
  display: inline-block;
.thumb {
  background: var(--bg-tertiary);
    margin: 0;
  border: 1px solid var(--border-primary);
  padding: 5px 14px;
  margin: 2px;
  color: var(--text-secondary);
  font-size: 0.8em;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
}
}


.rsca-nav a:hover { background: #222; color: #fff; border-color: var(--accent-red); }
.thumb.tleft {
.rsca-disclaimer { display: block; margin-top: 10px; font-size: 0.7em; color: var(--text-faint); }
    float: left;
.rsca-disclaimer a { color: var(--text-muted); }
    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;
}


.rsca-layout { display: flex; flex-wrap: wrap; gap: var(--gap); max-width: var(--max-width); margin: 0 auto; }
/* ---------- 列表 ---------- */
.rsca-main { flex: 2; min-width: 280px; }
.chanlist {
.rsca-side { flex: 1; min-width: 240px; }
    list-style: none;
    margin: 0;
    padding: 0;
}


/* ---------- 档案面板 ---------- */
.chanlist li {
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}


.rsca-panel { border: 1px solid var(--border-primary); margin-bottom: 20px; background: var(--bg-secondary); border-radius: var(--radius); }
.chanlist li:last-child {
.rsca-panel-header { background: var(--bg-tertiary); color: #ccc; padding: 8px 14px; font-weight: bold; font-size: 0.95em; letter-spacing: 0.06em; border-bottom: 1px solid var(--border-primary); border-radius: var(--radius) var(--radius) 0 0; }
    border-bottom: none;
.rsca-panel-header .label { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.8em; margin-left: 8px; letter-spacing: 0.1em; }
}
.rsca-panel-body { padding: 12px 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; }


/* ---------- 强调块 ---------- */
.chanlist a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}


.rsca-rec { border-left: 3px solid var(--border-secondary); background: var(--bg-tertiary); padding: 10px 14px; margin: 10px 0; font-size: 0.9em; line-height: 1.65; border-radius: 0 var(--radius) var(--radius) 0; }
.chanlist a:hover {
.rsca-rec.warn { border-left-color: var(--accent-red); }
    color: #003c8f;
.rsca-rec.note { border-left-color: var(--text-muted); }
    text-decoration: underline;
.rsca-rec .label { font-weight: bold; color: var(--text-secondary); margin-bottom: 4px; display: block; }
}


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


.rsca-infocard { float: right; width: 280px; margin: 0 0 18px 20px; border: 1px solid var(--border-secondary); font-size: 0.85em; background: var(--bg-secondary); border-radius: var(--radius); }
.post-no {
.rsca-infocard-header { background: var(--bg-tertiary); color: #ccc; padding: 6px 10px; font-weight: bold; font-size: 0.95em; text-align: center; border-bottom: 1px solid var(--border-secondary); letter-spacing: 0.05em; border-radius: var(--radius) var(--radius) 0 0; }
    color: #757575;
.rsca-infocard table { width: 100%; border-collapse: collapse; }
    font-size: 0.8em;
.rsca-infocard td, .rsca-infocard th { padding: 4px 8px; border-bottom: 1px solid var(--bg-tertiary); vertical-align: top; font-size: 0.92em; }
    font-weight: bold;
.rsca-infocard td.k { color: var(--text-muted); font-weight: bold; width: 32%; white-space: nowrap; }
    display: block;
.rsca-infocard-img { text-align: center; padding: 8px; border-bottom: 1px solid var(--border-primary); }
    margin-bottom: 3px;
.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; }


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


.rsca-redact, .rsca-redact a, a .rsca-redact, .rsca-redact a.new { background: #000; color: #000; text-shadow: none; padding: 0 4px; cursor: default; }
.chanpost-empty {
.rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal { color: var(--text-primary) !important; background: #000; }
    padding: 20px;
.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; }
    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;
}


.rsca-badge { border: 1px solid var(--border-secondary); background: var(--bg-secondary); padding: 6px 12px; margin: 8px 0; font-size: 0.82em; color: var(--text-secondary); border-radius: var(--radius); }
.chanmoe-offense-bar a {
.rsca-badge .tb-header { font-weight: bold; color: #ccc; font-size: 0.9em; letter-spacing: 0.05em; margin-bottom: 6px; }
    color: #c41e3a;
.rsca-badge ul { margin: 0; padding-left: 16px; }
    font-weight: bold;
.rsca-badge li { margin-bottom: 3px; }
}
.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); }


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


.rsca-collapse { border: 1px solid var(--border-primary); margin: 14px 0; background: var(--bg-secondary); border-radius: var(--radius); }
.dyk-list {
.rsca-collapse-header { background: var(--bg-tertiary); color: var(--text-secondary); padding: 6px 12px; cursor: pointer; font-size: 0.85em; border-bottom: 1px solid var(--border-primary); user-select: none; border-radius: var(--radius) var(--radius) 0 0; }
    padding: 2px;
.rsca-collapse-header:hover { background: #222; color: #ccc; }
}
.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 { font-size: 1.8em; font-weight: 900; letter-spacing: 0.1em; color: #ccc; border-bottom: 2px solid var(--border-secondary); padding-bottom: 8px; margin: 0 0 16px 0; }
.dyk-item:hover {
.rsca-section { border-left: 2px solid var(--border-primary); padding-left: 14px; margin: 18px 0; }
    background: #e8f5e9;
.rsca-section h3 { font-size: 1.05em; color: var(--text-secondary); margin: 0 0 8px 0; letter-spacing: 0.05em; }
    transform: translateX(3px);
.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 6px; }
}


/* ---------- 引用块 ---------- */
.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;
}


.rsca-quote { border-left: 3px solid var(--border-secondary); background: var(--bg-secondary); padding: 8px 12px; margin: 12px 0; font-size: 0.88em; color: var(--text-secondary); font-style: italic; border-radius: 0 var(--radius) var(--radius) 0; }
.dyk-text {
.rsca-quote cite { display: block; margin-top: 6px; font-size: 0.8em; color: var(--text-muted); font-style: normal; }
    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;
}


.rsca-timeline { border-left: 2px solid var(--border-primary); padding-left: 14px; margin: 16px 0; }
.dyk-text a:hover {
.rsca-timeline .t-event { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--bg-tertiary); }
    color: #0d47a1;
.rsca-timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
    border-bottom-style: solid;
.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: 4px; }
.rsca-timeline .t-body { font-size: 0.9em; color: var(--text-secondary); line-height: 1.65; }


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


.rsca-tag { display: inline-block; background: var(--bg-tertiary); border: 1px solid var(--border-primary); color: var(--text-secondary); padding: 2px 8px; font-size: 0.75em; letter-spacing: 0.04em; margin: 1px; border-radius: var(--radius); }
.heimu:hover,
.rsca-tag.red { border-color: var(--accent-red); color: var(--accent-red); }
.heimu:active {
.rsca-tag.yellow { border-color: var(--accent-gold); color: var(--accent-gold); }
    color: white !important;
.rsca-tag.grey { border-color: var(--border-secondary); color: var(--text-muted); }
}


/* ---------- 移动端 ---------- */
.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
    color: lightblue !important;
}


/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
@media (max-width: 768px) {
  html { font-size: 13px; }
    html {
  .rsca-layout { flex-direction: column; gap: 12px; }
        font-size: 13px;
  .rsca-infocard { float: none; width: 100%; margin: 12px 0; }
    }
  .rsca-entity-title { font-size: 1.4em; }
 
    .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;
}
}

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