跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
标签:已被回退
无编辑摘要
 
(未显示2个用户的22个中间版本)
第1行: 第1行:
/* ========================================
/* ========================================
   简中Robloxian Wiki — 临床档案风格
   简中Robloxian Wiki — 4chan 清新淡绿
   Clinical Records Style v1.0 · 2026-09-06
   字号下调版
   ======================================== */
   ======================================== */


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


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


body, #content, .mw-body, .mw-page-container, #bodyContent, .mw-parser-output {
body,
     background-color: #0e0e0e !important;
#content,
     color: #d8d8d8 !important;
.mw-body,
     font-family: 'Courier New', 'Noto Sans SC', 'Microsoft YaHei', monospace;
.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: #b0b0b0; }
.mw-parser-output {
a:hover { color: #ffffff; }
    background: transparent;
}


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


/* ---------- 顶部横幅(极简档案条) ---------- */
.chanmoecard {
.custom-header {
     background: #ffffff;
     max-width: 960px;
    border-radius: 16px;
     margin: 0 auto 24px auto;
     box-shadow: 0 4px 12px rgba(0,0,0,0.05);
     border-bottom: 1px solid #333;
    padding: 18px;
     padding-bottom: 16px;
     border: 2px solid transparent;
     text-align: center;
     transition: all 0.2s ease;
     overflow: hidden;
}
}


.custom-header h1 {
.chanmoecard:hover {
     font-size: 2em;
     border-color: #a5d6a7;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ccc;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}
}


.custom-header .tagline {
.chanmoe-welcome {
     font-size: 0.85em;
     flex: 1 1 100%;
     color: #777;
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
     font-style: italic;
     color: #1f3b1f;
     text-align: center;
    border-radius: 20px;
    padding: 28px 20px;
}
}


.custom-header .ascii-bar {
.chanmoe-main {
     font-family: 'Courier New', monospace;
     flex: 2;
     font-size: 0.78em;
     min-width: 280px;
    color: #555;
    letter-spacing: 0.1em;
    margin: 8px 0;
}
}


.custom-header .nav-row a {
.chanmoe-side {
     display: inline-block;
     flex: 1;
    background: #1a1a1a;
     min-width: 250px;
    border: 1px solid #333;
    padding: 5px 14px;
    margin: 2px;
    color: #bbb;
    text-decoration: none;
    font-size: 0.8em;
     letter-spacing: 0.05em;
}
}


.custom-header .nav-row a:hover {
/* ---------- 图文混排 ---------- */
     background: #222;
.thumb {
    color: #fff;
     margin: 0;
    border-color: #c41e3a;
}
}


.custom-header .disclaimer-link {
.thumb.tleft {
     display: block;
     float: left;
     margin-top: 10px;
     margin: 4px 14px 12px 0 !important;
     font-size: 0.7em;
     max-width: 100%;
    color: #555;
}
}


.custom-header .disclaimer-link a { color: #888; }
.thumb.tright {
    float: right;
    margin: 4px 0 12px 14px !important;
    max-width: 100%;
}


/* ---------- 两栏主布局 ---------- */
.thumbinner {
.two-col {
     border: 1px solid #e0e0e0;
     display: flex;
     background: #fafafa;
     flex-wrap: wrap;
     padding: 3px;
     gap: 24px;
     border-radius: 6px;
     max-width: 960px;
    margin: 0 auto;
}
}


.col-main { flex: 2; min-width: 280px; }
.thumbcaption {
.col-side { flex: 1; min-width: 240px; }
    font-size: 0.8em;
    color: #666;
    padding: 4px 3px 3px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
    margin-top: 3px;
}


/* ---------- 档案面板 ---------- */
.thumb img {
.panel {
     max-width: 100%;
     border: 1px solid #333;
    height: auto;
     margin-bottom: 20px;
     border-radius: 4px;
     background: #141414;
     display: block;
}
}


.panel-header {
/* ---------- 欢迎区 ---------- */
     background: #1a1a1a;
.welcome-title {
    color: #ccc;
     font-size: 1.6em;
    padding: 8px 14px;
     font-weight: bold;
     font-weight: bold;
     font-size: 0.95em;
     margin: 8px 0;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #333;
}
}


.panel-header .label {
.welcome-sub {
     font-family: 'Courier New', monospace;
     font-size: 1em;
     color: #888;
     background: linear-gradient(90deg, #4CAF50, #2196F3);
     font-size: 0.8em;
     -webkit-background-clip: text;
     margin-left: 8px;
     background-clip: text;
     letter-spacing: 0.1em;
     color: transparent;
    font-weight: 500;
    margin: 0;
}
}


.panel-body { padding: 12px 14px; }
.ascii-divider {
 
    color: #a5d6a7;
.panel-body p { margin: 0 0 10px 0; }
    font-family: monospace;
.panel-body ul { margin: 0; padding-left: 18px; }
    text-align: center;
.panel-body li { margin-bottom: 4px; font-size: 0.9em; }
    font-size: 0.85em;
    margin: 10px 0;
}


/* ---------- 档案强调块 ---------- */
.welcome-nav {
.rec {
     margin-top: 12px;
    border-left: 3px solid #555;
    background: #1a1a1a;
    padding: 10px 14px;
     margin: 10px 0;
    font-size: 0.9em;
    line-height: 1.65;
}
}


.rec.warn { border-left-color: #c41e3a; }
/* ---------- 标题 ---------- */
.rec.note { border-left-color: #888; }
.chanmoe-title {
.rec .label {
    font-size: 1.1em;
     font-weight: bold;
     font-weight: bold;
     color: #aaa;
     margin-bottom: 10px;
     margin-bottom: 4px;
    padding-bottom: 8px;
     display: block;
     border-bottom: 2px dashed #80cbc4;
     color: #0066cc;
}
}


/* ---------- 信息卡(人物/组织) ---------- */
/* ---------- 按钮 ---------- */
.infocard {
.chanboard-grid {
     float: right;
     display: flex;
    width: 280px;
     flex-wrap: wrap;
     margin: 0 0 18px 20px;
     gap: 8px;
    border: 1px solid #444;
    font-size: 0.85em;
    background: #161616;
     page-break-inside: avoid;
}
}


.infocard .ic-header {
.chanboard-btn {
     background: #1a1a1a;
     background: #e8f5e9;
     color: #ccc;
    padding: 8px 14px;
     padding: 6px 10px;
    border-radius: 24px;
     color: #0066cc;
     text-decoration: none;
     font-weight: bold;
     font-weight: bold;
     font-size: 0.95em;
     font-family: "Courier New", monospace;
     text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
     border-bottom: 1px solid #444;
     display: inline-block;
     letter-spacing: 0.05em;
    transition: all 0.2s;
     border: none;
     font-size: 0.9em;
}
 
.chanboard-btn a {
    color: inherit;
    text-decoration: none;
}
}


.infocard table { width: 100%; border-collapse: collapse; }
.chanboard-btn:hover {
.infocard td, .infocard th {
     background: #b9f6ca;
     padding: 4px 8px;
     color: #000;
     border-bottom: 1px solid #2a2a2a;
     transform: translateY(-2px);
     vertical-align: top;
    font-size: 0.92em;
}
}
.infocard td.k {
 
    color: #999;
/* ---------- 新闻 ---------- */
    font-weight: bold;
.chanmoe-news {
     width: 32%;
     padding: 0;
     white-space: nowrap;
     overflow: hidden;
}
}
.infobox-img {
 
     text-align: center;
.chanmoe-news .chanmoe-title {
     padding: 8px;
     background: #e6f4e6;
     border-bottom: 1px solid #333;
     padding: 10px 16px;
    margin: 0;
     border-bottom: 1px dashed #88cccc;
    border-radius: 16px 16px 0 0;
}
}
.infobox-img img {
 
     max-width: 120px;
.news-list {
     height: auto;
     padding: 14px 18px;
    filter: grayscale(100%);
     line-height: 1.6;
}
}
.infobox-img .cap {
 
     display: block;
.news-item {
     font-size: 0.75em;
     margin-bottom: 12px;
     color: #777;
     padding-bottom: 12px;
    margin-top: 4px;
     border-bottom: 1px solid #e0e0e0;
}
}


/* ---------- 涂黑(档案遮盖) ---------- */
.news-item:last-child {
.heimu, .heimu a, a .heimu, .heimu a.new {
     margin-bottom: 0;
     background-color: #000;
     padding-bottom: 0;
     color: #000;
     border-bottom: none;
     text-shadow: none;
    padding: 0 4px;
    cursor: default;
}
}
.heimu:hover, .heimu:active, .heimu.reveal {
 
     color: #ddd !important;
.news-date {
     background-color: #000;
    font-size: 0.95em;
    font-weight: bold;
     color: #662222;
     margin-bottom: 4px;
}
}
.heimu:hover a, a:hover .heimu, .heimu:active a, a:active .heimu,
 
.heimu.reveal a, a.heimu.reveal {
.news-body {
     color: #8ab4f8 !important;
     color: #333;
    font-size: 0.95em;
}
}


/* ---------- 模板角标(临床版) ---------- */
.news-footer {
.template-badge {
    text-align: right;
     border: 1px solid #444;
    padding: 8px 16px;
    background: #141414;
    background: #e6f4e6;
    padding: 6px 12px;
    border-top: 1px dashed #88cccc;
     margin: 8px 0;
    font-size: 0.85em;
     font-size: 0.82em;
}
    color: #aaa;
 
.news-footer a {
    color: #0066cc;
    text-decoration: none;
}
 
/* ---------- 列表 ---------- */
.chanlist {
     list-style: none;
     margin: 0;
     padding: 0;
}
}


.template-badge .tb-header {
.chanlist li {
     font-weight: bold;
     padding: 6px 0;
     color: #ccc;
     border-bottom: 1px solid #e0e0e0;
     font-size: 0.9em;
     font-size: 0.9em;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
}


.template-badge ul { margin: 0; padding-left: 16px; }
.chanlist li:last-child {
.template-badge li { margin-bottom: 3px; }
    border-bottom: none;
}


.template-badge.in-progress { border-color: #b8860b; }
.chanlist a {
.template-badge.in-progress .tb-header { color: #d4a017; }
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}


.template-badge.exposed { border-color: #555; }
.chanlist a:hover {
.template-badge.exposed .tb-header { color: #999; }
    color: #003c8f;
    text-decoration: underline;
}


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


.template-badge.under-invest { border-color: #666; }
.post-no {
.template-badge.under-invest .tb-header { color: #bbb; }
    color: #757575;
    font-size: 0.8em;
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}


.template-badge.record-complete { border-color: #444; }
.side-note {
.template-badge.record-complete .tb-header { color: #888; }
    font-size: 0.8em;
    margin: 8px 0 0;
    color: #555;
}


/* ---------- 折叠块 ---------- */
.chanpost-empty {
.collapsible-box {
    padding: 20px;
     border: 1px solid #333;
    text-align: center;
     margin: 14px 0;
     color: #888;
     background: #141414;
     font-weight: bold;
     font-size: 0.9em;
}
}


.collapsible-box .cb-header {
/* ---------- 冒犯提示条 ---------- */
     background: #1a1a1a;
.chanmoe-offense-bar {
     color: #aaa;
     margin-top: 16px;
     padding: 6px 12px;
    padding: 10px 14px;
     cursor: pointer;
     border-radius: 8px;
     text-align: center;
     border: 1px solid #c8e6c9;
     font-size: 0.85em;
     font-size: 0.85em;
     border-bottom: 1px solid #333;
     background: rgba(255,255,255,0.4);
     user-select: none;
     color: #333;
}
}


.collapsible-box .cb-header:hover { background: #222; color: #ccc; }
.chanmoe-offense-bar a {
.collapsible-box .cb-body { padding: 12px; }
    color: #c41e3a;
    font-weight: bold;
}


/* ---------- 人物/组织页面 ---------- */
/* ---------- 你知道吗 ---------- */
.entity-title {
.chanmoe-dyk {
    font-size: 1.8em;
     padding-bottom: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #ccc;
    border-bottom: 2px solid #444;
     padding-bottom: 8px;
    margin: 0 0 16px 0;
}
}


.record-section {
.dyk-list {
     border-left: 2px solid #333;
     padding: 2px;
    padding-left: 14px;
    margin: 18px 0;
}
}


.record-section h3 {
.dyk-item {
     font-size: 1.05em;
     display: flex;
     color: #bbb;
    align-items: flex-start;
     margin: 0 0 8px 0;
    gap: 10px;
     letter-spacing: 0.05em;
     padding: 10px;
     margin-bottom: 8px;
     background: #f8faf8;
    border-radius: 10px;
    border-left: 3px solid #4CAF50;
    transition: all 0.2s ease;
}
}


.record-section h3 .num {
.dyk-item:hover {
     color: #666;
     background: #e8f5e9;
     font-weight: bold;
     transform: translateX(3px);
    margin-right: 6px;
}
}


.rec-chrono { font-size: 0.9em; line-height: 1.7; }
.dyk-num {
.rec-chrono dt { font-weight: bold; color: #aaa; margin-top: 8px; }
    font-family: "Courier New", monospace;
.rec-chrono dd { margin-left: 16px; color: #bbb; }
    font-size: 1.3em;
    font-weight: 900;
    color: #4CAF50;
    line-height: 1;
    min-width: 26px;
    text-align: center;
    opacity: 0.7;
}


/* ---------- 引用块 ---------- */
.dyk-text {
.rec-quote {
     color: #333;
     border-left: 3px solid #444;
     line-height: 1.6;
     background: #181818;
     font-size: 0.9em;
    padding: 8px 12px;
     padding-top: 2px;
    margin: 12px 0;
     font-size: 0.88em;
     color: #aaa;
    font-style: italic;
}
}


.rec-quote cite {
.dyk-text a {
     display: block;
     color: #1565c0;
     margin-top: 6px;
     text-decoration: none;
     font-size: 0.8em;
     border-bottom: 1px dotted #1565c0;
    color: #777;
    font-style: normal;
}
}


/* ---------- 事件时间线 ---------- */
.dyk-text a:hover {
.timeline {
     color: #0d47a1;
     border-left: 2px solid #333;
     border-bottom-style: solid;
     padding-left: 14px;
    margin: 16px 0;
}
}


.timeline .t-event {
/* ---------- 黑幕 ---------- */
     margin-bottom: 14px;
.heimu,
     padding-bottom: 14px;
.heimu a,
     border-bottom: 1px solid #222;
a .heimu,
.heimu a.new {
     background-color: #252525;
     color: #252525;
    text-shadow: none;
     cursor: pointer;
}
}


.timeline .t-event:last-child { border-bottom: none; margin-bottom: 0; }
.heimu:hover,
.heimu:active {
    color: white !important;
}


.timeline .t-date {
.heimu:hover a,
    font-family: 'Courier New', monospace;
a:hover .heimu,
    font-size: 0.85em;
.heimu:active a,
    color: #888;
a:active .heimu {
    font-weight: bold;
     color: lightblue !important;
     margin-bottom: 4px;
}
}


.timeline .t-title { color: #bbb; font-weight: bold; margin-bottom: 4px; }
/* ---------- 移动端适配 ---------- */
.timeline .t-body { font-size: 0.9em; color: #aaa; line-height: 1.65; }
@media (max-width: 768px) {
    html {
        font-size: 13px;
    }


/* ---------- 标签 ---------- */
    .chanmoegrid {
.tag {
        flex-direction: column;
     display: inline-block;
        padding: 8px;
     background: #1a1a1a;
        gap: 10px;
     border: 1px solid #333;
    }
     color: #aaa;
 
     padding: 2px 8px;
    .chanmoecard {
     font-size: 0.75em;
        padding: 12px;
     letter-spacing: 0.04em;
        border-radius: 12px;
     margin: 1px;
    }
 
    .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;
}
}


.tag.red { border-color: #8b0000; color: #c41e3a; }
/* 让正文里的普通二级、三级标题大小正常 */
.tag.yellow { border-color: #b8860b; color: #d4a017; }
.mw-parser-output > h2 {
.tag.grey { border-color: #555; color: #999; }
     font-size: 1.4em !important;
 
}
/* ---------- 移动端 ---------- */
.mw-parser-output > h3 {
@media (max-width: 768px) {
     font-size: 1.15em !important;
     html { font-size: 13px; }
    .two-col { flex-direction: column; gap: 12px; }
    .infocard { float: none; width: 100%; margin: 12px 0; }
     .entity-title { font-size: 1.4em; }
}
}

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