跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
标签已被回退
无编辑摘要
 
(未显示同一用户的17个中间版本)
第1行: 第1行:
/* ========== 简中Robloxian Wiki 全局样式 ========== */
/* ========================================
  简中Robloxian Wiki — 4chan 清新淡绿
  字号下调版
  ======================================== */
 
*, *::before, *::after {
    box-sizing: border-box;
}
 
html {
    background-color: #e6f5e6;
    font-size: 14px;
}


/* 强制全站淡绿色背景 */
body,
body,
#content,
#content,
第8行: 第19行:
#bodyContent {
#bodyContent {
     background-color: #e6f5e6 !important;
     background-color: #e6f5e6 !important;
}
    color: #1a1a1a;
 
    font-family: "Helvetica Neue", "Arial", "Noto Sans SC", "Microsoft YaHei", sans-serif;
html {
     line-height: 1.6;
     background-color: #e6f5e6;
}
}


第18行: 第28行:
}
}


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


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


第48行: 第57行:
     color: #1f3b1f;
     color: #1f3b1f;
     text-align: center;
     text-align: center;
     border-radius: 24px;
     border-radius: 20px;
     padding: 35px 20px;
     padding: 28px 20px;
}
}


第62行: 第71行:
}
}


/* ---------- 图文混排 ---------- */
.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 {
.chanmoe-title {
     font-size: 1.4em;
     font-size: 1.1em;
     font-weight: bold;
     font-weight: bold;
     margin-bottom: 15px;
     margin-bottom: 10px;
     padding-bottom: 8px;
     padding-bottom: 8px;
     border-bottom: 3px dashed #80cbc4;
     border-bottom: 2px dashed #80cbc4;
     color: #0066cc;
     color: #0066cc;
}
}


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


.chanboard-btn {
.chanboard-btn {
     background: #e8f5e9;
     background: #e8f5e9;
     padding: 10px 18px;
     padding: 8px 14px;
     border-radius: 30px;
     border-radius: 24px;
     color: #0066cc;
     color: #0066cc;
     text-decoration: none;
     text-decoration: none;
     font-weight: bold;
     font-weight: bold;
     font-family: "Courier New", monospace;
     font-family: "Courier New", monospace;
     box-shadow: 0 2px 6px rgba(0,0,0,0.05);
     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;
}
}


第91行: 第180行:
     background: #b9f6ca;
     background: #b9f6ca;
     color: #000;
     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 {
.chanlist {
     list-style: none;
     list-style: none;
第102行: 第249行:
     padding: 6px 0;
     padding: 6px 0;
     border-bottom: 1px solid #e0e0e0;
     border-bottom: 1px solid #e0e0e0;
     font-size: 0.95em;
     font-size: 0.9em;
}
}


第120行: 第267行:
}
}


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


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


.ascii-divider {
.side-note {
     color: #a5d6a7;
    font-size: 0.8em;
     font-family: monospace;
    margin: 8px 0 0;
     color: #555;
}
 
.chanpost-empty {
     padding: 20px;
     text-align: center;
     text-align: center;
    color: #888;
    font-weight: bold;
     font-size: 0.9em;
     font-size: 0.9em;
    margin: 10px 0;
}
}


/* 冒犯提示条亮色 */
/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
.chanmoe-offense-bar {
     color: #2e5a2e;
     margin-top: 16px;
     background: rgba(200, 230, 200, 0.15);
    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 {
.chanmoe-offense-bar a {
     color: #c7254e;
     color: #c41e3a;
     font-weight: bold;
     font-weight: bold;
}
}


/* 响应式 */
/* ---------- 你知道吗 ---------- */
@media (max-width: 768px) {
.chanmoe-dyk {
     .chanmoegrid {
    padding-bottom: 12px;
        flex-direction: column;
}
     }
 
.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,
@media (prefers-color-scheme: dark) {
.heimu:active {
    color: white !important;
}


    /* 全局背景与基础文字 */
.heimu:hover a,
    html,
a:hover .heimu,
    body,
.heimu:active a,
    #content,
a:active .heimu {
    .mw-body,
    color: lightblue !important;
    .mw-page-container,
}
    #bodyContent,
    .mw-parser-output {
        background-color: #1e1a2f !important;
        color: #e0d6e0 !important;
    }


    /* 覆盖所有常见文本元素 */
/* ---------- 移动端适配 ---------- */
    .mw-body p,
@media (max-width: 768px) {
    .mw-body li,
     html {
    .mw-body td,
         font-size: 13px;
    .mw-body th,
    .mw-body h1,
    .mw-body h2,
    .mw-body h3,
    .mw-body h4,
    .mw-body h5,
    .mw-body h6,
    #firstHeading,
    .mw-page-title-main,
    .mw-parser-output p,
    .mw-parser-output li,
    .mw-parser-output h2,
     .mw-parser-output h3 {
         color: #e0d6e0;
     }
     }


     /* 通用链接 */
     .chanmoegrid {
    a {
         flex-direction: column;
         color: #ce93d8;
         padding: 8px;
    }
         gap: 10px;
    a:hover {
         color: #f3e5f5;
    }
    a:visited {
         color: #b39ddb;
     }
     }


    /* 卡片容器 */
     .chanmoecard {
     .chanmoecard {
         background: #2b2438 !important;
         padding: 12px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
         border-radius: 12px;
        border-color: #4a3b5c;
    }
    .chanmoecard:hover {
         border-color: #ab47bc;
     }
     }


    /* 欢迎横幅 */
     .chanmoe-welcome {
     .chanmoe-welcome {
         background: linear-gradient(135deg, #3d2c4a, #5c3f6b);
         padding: 20px 12px;
         color: #f3e5f5;
         border-radius: 16px;
     }
     }


    /* 区块标题 */
     .welcome-title {
     .chanmoe-title {
         font-size: 1.3em;
         color: #ce93d8;
        border-bottom-color: #ab47bc;
     }
     }


    /* 按钮网格 */
     .welcome-sub {
     .chanboard-btn {
         font-size: 0.9em;
         background: #3d2c4a;
        color: #d1c4e9;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
     }
     }
     .chanboard-btn:hover {
 
         background: #5c3f6b;
     .ascii-divider {
        color: #ffffff;
         font-size: 0.7em;
     }
     }


    /* 列表 */
     .chanmoe-title {
     .chanlist li {
         font-size: 1em;
         border-bottom-color: #4a3b5c;
        padding-bottom: 6px;
        margin-bottom: 8px;
     }
     }
     .chanlist a {
 
         color: #d1c4e9;
     .chanboard-grid {
         justify-content: center;
        gap: 6px;
     }
     }
     .chanlist a:hover {
 
         color: #f3e5f5;
     .chanboard-btn {
        padding: 6px 12px;
        font-size: 0.85em;
         border-radius: 20px;
     }
     }


     /* 帖子卡片 */
     .thumb.tleft,
     .chanpost {
     .thumb.tright {
         background: #332940;
         float: none;
         border-left-color: #ab47bc;
         margin: 8px auto !important;
         color: #e0d6e0;
         max-width: min(100%, 260px);
    }
    .chanpost .post-no {
        color: #bdbdbd;
     }
     }


    /* ASCII 分隔线 */
     .thumbcaption {
     .ascii-divider {
         font-size: 0.75em;
         color: #ce93d8;
     }
     }


    /* ---------- 新闻区暗色(匹配最新版首页) ---------- */
     .news-list {
    /* 新闻整体大框 */
         padding: 10px 12px;
     .chanmoe-main > div[style*="border-radius:18px"] {
         background: #2b2438 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.6) !important;
        border-color: #4a3b5c !important;
     }
     }


    /* 新闻标题栏 */
     .news-date {
     .chanmoe-main > div[style*="border-radius:18px"] > div:first-child {
         font-size: 0.9em;
         background: linear-gradient(180deg, #3d2c4a, #4e3a5c) !important;
        color: #ce93d8 !important;
        border-bottom-color: #ab47bc !important;
     }
     }


    /* 新闻内容区 */
     .news-body {
     .chanmoe-main div[style*="line-height:1.6"] {
         font-size: 0.9em;
         background: #2b2438 !important;
        color: #e0d6e0;
     }
     }


    /* 新闻条目标题(日期) */
     .news-footer {
     .chanmoe-main div[style*="font-weight:bold"][style*="color:#662222"] {
        padding: 6px 12px;
         color: #f3e5f5 !important;
         font-size: 0.8em;
     }
     }


    /* 新闻条目中的正文颜色覆盖(内联 #444) */
     .dyk-item {
     .chanmoe-main div[style*="line-height:1.6"] > div > div:last-child {
        padding: 8px;
         color: #cfc3d6 !important;
         gap: 6px;
     }
     }


    /* 新闻条目分隔线 */
     .dyk-num {
     .chanmoe-main div[style*="border-bottom:1px solid #e6f4e6"] {
        font-size: 1.1em;
         border-bottom-color: #4a3b5c !important;
         min-width: 20px;
     }
     }


    /* 新闻底部归档栏 */
     .dyk-text {
     .chanmoe-main div[style*="background:#f9fdf9"] {
         font-size: 0.85em;
         background: #3d2c4a !important;
        border-top-color: #ab47bc !important;
        color: #ce93d8;
    }
    .chanmoe-main div[style*="background:#f9fdf9"] a {
        color: #f3e5f5;
     }
     }


     /* ---------- 推荐条目、工具、留言区背景强制覆盖 ---------- */
     .chanlist li {
    /* 任何在 chanmoe-main 或 chanmoe-side 内带有内联 background:#fefefe 的卡片 */
        font-size: 0.85em;
    .chanmoe-main .chanmoecard[style*="background:#fefefe"],
         padding: 5px 0;
    .chanmoe-side .chanmoecard[style*="background:#fefefe"] {
         background: #2b2438 !important;
     }
     }


     /* 工具列表和留言卡片中可能存在的内联背景 */
     .chanpost {
    .chanmoe-side .chanpost[style*="background: #f9fdf9"] {
         font-size: 0.85em;
         background: #332940 !important;
         padding: 8px;
         border-left-color: #ab47bc !important;
     }
     }


    /* 留言区 Anonymous 徽章覆盖 */
     .post-no {
     .chanpost span[style*="background:#88cccc"] {
         font-size: 0.75em;
         background: #ab47bc !important;
        color: #fff;
     }
     }


    /* 冒犯提示条暗色 */
     .chanmoe-offense-bar {
     .chanmoe-offense-bar {
         background: rgba(60, 40, 70, 0.4) !important;
         font-size: 0.8em;
        border-color: #5c3f6b !important;
         padding: 6px 10px;
         color: #cfc3d6;
    }
    .chanmoe-offense-bar a {
        color: #f48fb1;
     }
     }
}
}

2026年8月11日 (二) 16:48的最新版本

/* ========================================
   简中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;
    }
}