跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
标签:已被回退
无编辑摘要
 
(未显示2个用户的13个中间版本)
第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;
}
}


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


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


/* ---------- 隐藏 Vector 默认元素 ---------- */
/* ---------- 布局 ---------- */
.chanmoegrid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}


#p-logo, #p-navigation, #p-search, #p-personal, #p-tb, #p-lang,
.chanmoecard {
.vector-menu, .vector-menu-tabs, .vector-menu-content,
    background: #ffffff;
.vector-menu-content-list, .vector-menu-heading,
    border-radius: 16px;
.vector-user-links, .vector-user-menu,
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
#mw-panel, #mw-head-base, #mw-page-base,
    padding: 18px;
#p-banner, #siteNotice, #centralNotice,
    border: 2px solid transparent;
#catlinks, .catlinks, .mw-indicators,
    transition: all 0.2s ease;
.mw-editsection, .mw-editsection-like,
    overflow: hidden;
#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 {
.chanmoecard:hover {
  display: block !important;
    border-color: #a5d6a7;
  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 {
.chanmoe-welcome {
  max-width: var(--max-w) !important;
    flex: 1 1 100%;
  margin: 0 auto !important;
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
  padding: 0 var(--gap) !important;
    color: #1f3b1f;
    text-align: center;
    border-radius: 20px;
    padding: 28px 20px;
}
}


.mw-parser-output { max-width: 100% !important; }
.chanmoe-main {
    flex: 2;
    min-width: 280px;
}


/* ---------- 面板系统 ---------- */
.chanmoe-side {
    flex: 1;
    min-width: 250px;
}


.rsca-panel {
/* ---------- 图文混排 ---------- */
  border: 1px solid var(--border);
.thumb {
  margin-bottom: var(--gap);
    margin: 0;
  background: var(--bg-panel);
  border-radius: var(--radius);
}
}


.rsca-panel-header {
.thumb.tleft {
  background: var(--bg-header);
    float: left;
  color: #ccc;
    margin: 4px 14px 12px 0 !important;
  padding: 10px 14px;
    max-width: 100%;
  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 {
.thumb.tright {
  font-family: 'Courier New', monospace;
    float: right;
  color: var(--text-dim);
    margin: 4px 0 12px 14px !important;
  font-size: 0.8em;
    max-width: 100%;
  letter-spacing: 0.1em;
  font-weight: normal;
}
}


.rsca-panel-body { padding: 14px; }
.thumbinner {
.rsca-panel-body p { margin: 0 0 10px 0; }
    border: 1px solid #e0e0e0;
.rsca-panel-body ul { margin: 0; padding-left: 18px; }
    background: #fafafa;
.rsca-panel-body li { margin-bottom: 4px; font-size: 0.9em; }
    padding: 3px;
    border-radius: 6px;
}


.rsca-rec {
.thumbcaption {
  border-left: 3px solid var(--border-light);
    font-size: 0.8em;
  background: var(--bg-header);
    color: #666;
  padding: 10px 14px;
    padding: 4px 3px 3px;
  margin: 10px 0;
    text-align: center;
  font-size: 0.9em;
    border-top: 1px solid #e8e8e8;
  line-height: 1.65;
    margin-top: 3px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
}


.rsca-rec.warn { border-left-color: var(--red); }
.thumb img {
.rsca-rec.note { border-left-color: var(--blue); }
    max-width: 100%;
.rsca-rec .label { font-weight: bold; color: var(--text-dim); margin-bottom: 4px; display: block; }
    height: auto;
    border-radius: 4px;
    display: block;
}


.rsca-infocard {
/* ---------- 欢迎区 ---------- */
  float: right;
.welcome-title {
  width: 280px;
    font-size: 1.6em;
  margin: 0 0 14px 18px;
    font-weight: bold;
  border: 1px solid var(--border-light);
    margin: 8px 0;
  font-size: 0.85em;
  background: var(--bg-panel);
  border-radius: var(--radius);
}
}


.rsca-infocard-header {
.welcome-sub {
  background: var(--bg-header);
    font-size: 1em;
  color: #ccc;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
  padding: 6px 10px;
    -webkit-background-clip: text;
  font-weight: bold;
    background-clip: text;
  font-size: 0.9em;
    color: transparent;
  text-align: center;
    font-weight: 500;
  border-bottom: 1px solid var(--border-light);
    margin: 0;
  letter-spacing: 0.05em;
  border-radius: var(--radius) var(--radius) 0 0;
}
}


.rsca-infocard table { width: 100%; border-collapse: collapse; }
.ascii-divider {
.rsca-infocard td, .rsca-infocard th {
    color: #a5d6a7;
  padding: 4px 8px;
    font-family: monospace;
  border-bottom: 1px solid var(--bg-header);
    text-align: center;
  vertical-align: top;
    font-size: 0.85em;
  font-size: 0.92em;
    margin: 10px 0;
}
}


.rsca-infocard td.k { color: var(--text-dim); font-weight: bold; width: 30%; white-space: nowrap; }
.welcome-nav {
.rsca-infocard-img { text-align: center; padding: 8px; border-bottom: 1px solid var(--border); }
    margin-top: 12px;
.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;
.chanmoe-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px dashed #80cbc4;
    color: #0066cc;
}
}
.rsca-redact:hover, .rsca-redact:active, .rsca-redact.reveal {
 
  color: var(--text) !important; background: #000;
/* ---------- 按钮 ---------- */
.chanboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
}
.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 {
.chanboard-btn {
  border: 1px solid var(--border);
    background: #e8f5e9;
  margin: 14px 0;
    padding: 8px 14px;
  background: var(--bg-panel);
    border-radius: 24px;
  border-radius: var(--radius);
    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;
}
}


.rsca-collapse-header {
.chanboard-btn a {
  background: var(--bg-header);
    color: inherit;
  color: var(--text-dim);
    text-decoration: none;
  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; }
.chanboard-btn:hover {
.rsca-collapse-header::after { content: "▼"; font-size: 0.7em; color: var(--text-dim); }
    background: #b9f6ca;
.rsca-collapse-body { padding: 12px; }
    color: #000;
    transform: translateY(-2px);
}


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


.rsca-section {
.chanmoe-news .chanmoe-title {
  border-left: 2px solid var(--border);
    background: #e6f4e6;
  padding-left: 14px;
    padding: 10px 16px;
  margin: 18px 0;
    margin: 0;
    border-bottom: 1px dashed #88cccc;
    border-radius: 16px 16px 0 0;
}
}


.rsca-section h3 {
.news-list {
  font-size: 1.05em;
    padding: 14px 18px;
  color: var(--text-dim);
    line-height: 1.6;
  margin: 0 0 8px 0;
  letter-spacing: 0.05em;
}
}


.rsca-section h3 .num { color: var(--text-faint); font-weight: bold; margin-right: 6px; }
.news-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}


.rsca-quote {
.news-item:last-child {
  border-left: 3px solid var(--border-light);
    margin-bottom: 0;
  background: var(--bg-panel);
    padding-bottom: 0;
  padding: 10px 14px;
    border-bottom: none;
  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 {
.news-date {
  display: block;
    font-size: 0.95em;
  margin-top: 6px;
    font-weight: bold;
  font-size: 0.8em;
    color: #662222;
  color: var(--text-dim);
    margin-bottom: 4px;
  font-style: normal;
}
}


.rsca-timeline {
.news-body {
  border-left: 2px solid var(--border);
    color: #333;
  padding-left: 14px;
    font-size: 0.95em;
  margin: 16px 0;
}
}


.rsca-timeline .t-event {
.news-footer {
  margin-bottom: 12px;
    text-align: right;
  padding-bottom: 12px;
    padding: 8px 16px;
  border-bottom: 1px solid var(--bg-header);
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.85em;
}
}


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


.rsca-tag {
/* ---------- 列表 ---------- */
  display: inline-block;
.chanlist {
  background: var(--bg-header);
    list-style: none;
  border: 1px solid var(--border);
    margin: 0;
  color: var(--text-dim);
    padding: 0;
  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); }
.chanlist li {
.rsca-tag.yellow { border-color: var(--gold); color: var(--gold); }
    padding: 6px 0;
.rsca-tag.blue { border-color: var(--blue); color: var(--blue); }
    border-bottom: 1px solid #e0e0e0;
.rsca-tag.grey { border-color: var(--border-light); color: var(--text-dim); }
    font-size: 0.9em;
}


.rsca-badge {
.chanlist li:last-child {
  border: 1px solid var(--border-light);
    border-bottom: none;
  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; }
.chanlist a {
.rsca-badge ul { margin: 0; padding-left: 16px; }
    color: #0066cc;
.rsca-badge li { margin-bottom: 3px; }
    text-decoration: none;
.rsca-badge.in-progress { border-color: var(--gold); }
    font-weight: bold;
.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 {
.chanlist a:hover {
  max-width: var(--max-w);
    color: #003c8f;
  margin: 30px auto 0;
    text-decoration: underline;
  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); }
/* ---------- 留言 ---------- */
.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) {
@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: 10px 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;
}