跳转到内容

MediaWiki:Common.css:修订间差异

来自简中Robloxian Wiki
无编辑摘要
无编辑摘要
第1行: 第1行:
/* 简中Robloxian Wiki 全局样式 */
/* ========================================
/* 构成主义重构版 / Constructivism Reloaded */
  简中Robloxian Wiki — 亮色:清新淡绿
  暗色:构成主义黑红(自动跟随系统)
  ======================================== */


/* ---------- 基础 ---------- */
html {
html {
     background-color: #d4d4d4;
     background-color: #e6f5e6;
}
}


第11行: 第14行:
.mw-page-container,
.mw-page-container,
#bodyContent {
#bodyContent {
     background-color: #d4d4d4 !important;
     background-color: #e6f5e6 !important;
     color: #0a0a0a !important;
     color: #1a1a1a;
     font-family: 'Helvetica Neue', 'Arial', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
     font-family: 'Helvetica Neue', 'Arial', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}
}
第20行: 第23行:
}
}


/* 强制全局文字色 */
/* ---------- 布局 ---------- */
.mw-body p,
.mw-body li,
.mw-body td,
.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: #0a0a0a;
}
 
/* 链接:工业红 */
a {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 1px solid transparent;
    transition: all 0.15s;
}
a:hover {
    color: #000;
    border-bottom-color: #c41e3a;
}
a:visited {
    color: #8b1329;
}
 
/* ========== 核心布局 ========== */
.chanmoegrid {
.chanmoegrid {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 24px;
     gap: 20px;
     max-width: 1200px;
     max-width: 1200px;
     margin: 0 auto;
     margin: 0 auto;
     padding: 24px;
     padding: 20px;
}
}


/* ========== 卡片系统:黑框 + 红色应力线 ========== */
.chanmoecard {
.chanmoecard {
     background: #fff;
     background: #ffffff;
     border-radius: 0;
     border-radius: 20px;
     box-shadow: 4px 4px 0 rgba(0,0,0,0.12);
     box-shadow: 0 6px 16px rgba(0,0,0,0.05);
     padding: 24px;
     padding: 24px;
     border: 2px solid #000;
     border: 2px solid transparent;
    position: relative;
    overflow: hidden;
     transition: all 0.2s ease;
     transition: all 0.2s ease;
}
.chanmoecard::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 100%;
    background: #c41e3a;
    z-index: 1;
}
}


.chanmoecard:hover {
.chanmoecard:hover {
    transform: translate(-2px, -2px);
     border-color: #a5d6a7;
    box-shadow: 6px 6px 0 rgba(196, 30, 58, 0.25);
     border-color: #c41e3a;
}
}


/* ========== 欢迎区:红黑宣言 ========== */
.chanmoe-welcome {
.chanmoe-welcome {
     flex: 1 1 100%;
     flex: 1 1 100%;
     background: #000;
     background: linear-gradient(135deg, #c8e6c9, #dcedc1);
     color: #fff;
     color: #1f3b1f;
     text-align: center;
     text-align: center;
     border-radius: 0;
     border-radius: 24px;
     padding: 44px 28px;
     padding: 36px 24px;
    border: 3px solid #c41e3a;
    position: relative;
    overflow: hidden;
}
 
.chanmoe-welcome::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 140px; height: 140px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(196, 30, 58, 0.12) 8px,
        rgba(196, 30, 58, 0.12) 16px
    );
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}
}


.chanmoe-welcome .ascii-divider {
    color: #c41e3a;
    font-weight: 900;
    letter-spacing: 0.2em;
    font-size: 1em;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    padding: 10px 0;
    margin: 24px auto;
    max-width: 640px;
}
/* ========== 主侧栏 ========== */
.chanmoe-main {
.chanmoe-main {
     flex: 2;
     flex: 2;
第145行: 第65行:
}
}


/* ========== 标题:粗野主义 ========== */
/* ---------- 欢迎区 ---------- */
.chanmoe-title {
.welcome-title {
     font-size: 1.25em;
     font-size: 2em;
     font-weight: 900;
     font-weight: bold;
     margin-bottom: 16px;
     margin: 10px 0;
    padding: 0 0 10px 18px;
    border-bottom: 3px solid #c41e3a;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
}
}


.chanmoe-title::before {
.welcome-sub {
    content: "▶";
    position: absolute;
    left: 0;
    top: -2px;
    color: #c41e3a;
     font-size: 1.1em;
     font-size: 1.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.9em;
    margin: 14px 0;
}
.welcome-nav {
    margin-top: 16px;
}
/* ---------- 标题 ---------- */
.chanmoe-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 3px dashed #80cbc4;
    color: #0066cc;
}
}


/* ========== 板块按钮:斜切工业风 ========== */
/* ---------- 按钮 ---------- */
.chanboard-grid {
.chanboard-grid {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 12px;
     gap: 10px;
}
}


.chanboard-btn {
.chanboard-btn {
     background: transparent;
     background: #e8f5e9;
     padding: 10px 22px;
     padding: 10px 18px;
     border-radius: 0;
     border-radius: 30px;
     color: #000;
     color: #0066cc;
     text-decoration: none;
     text-decoration: none;
     font-weight: 900;
     font-weight: bold;
     font-family: 'Helvetica Neue', 'Arial', sans-serif;
     font-family: "Courier New", monospace;
     box-shadow: none;
     box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 2px solid #000;
    transform: skewX(-10deg);
     display: inline-block;
     display: inline-block;
     transition: all 0.15s ease;
     transition: all 0.2s;
     text-transform: uppercase;
     border: none;
    font-size: 0.9em;
    letter-spacing: 0.04em;
}
}


第195行: 第128行:
     color: inherit;
     color: inherit;
     text-decoration: none;
     text-decoration: none;
    display: inline-block;
    transform: skewX(10deg);
}
}


.chanboard-btn:hover {
.chanboard-btn:hover {
     background: #c41e3a;
     background: #b9f6ca;
     color: #fff;
     color: #000;
    border-color: #c41e3a;
     transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
     transform: skewX(-10deg) translateY(-2px);
}
}


/* ========== 列表:红色箭头 ========== */
/* ---------- 新闻 ---------- */
.chanmoe-news {
    padding: 0;
    overflow: hidden;
}
 
.chanmoe-news .chanmoe-title {
    background: #e6f4e6;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px dashed #88cccc;
    border-radius: 20px 20px 0 0;
}
 
.news-list {
    padding: 18px 22px;
    line-height: 1.6;
}
 
.news-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
}
 
.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
 
.news-date {
    font-size: 1.1em;
    font-weight: bold;
    color: #662222;
    margin-bottom: 6px;
}
 
.news-body {
    color: #333;
}
 
.news-footer {
    text-align: right;
    padding: 10px 20px;
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.9em;
}
 
.news-footer a {
    color: #0066cc;
    text-decoration: none;
}
 
/* ---------- 列表 ---------- */
.chanlist {
.chanlist {
     list-style: none;
     list-style: none;
第215行: 第199行:


.chanlist li {
.chanlist li {
     padding: 10px 0 10px 22px;
     padding: 8px 0;
     border-bottom: 1px solid #bbb;
     border-bottom: 1px solid #e0e0e0;
     font-size: 0.95em;
     font-size: 0.95em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    transition: all 0.15s;
}
.chanlist li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #c41e3a;
    font-size: 1.3em;
    line-height: 1;
    top: 8px;
}
}


第240行: 第209行:


.chanlist a {
.chanlist a {
     color: #000;
     color: #0066cc;
     text-decoration: none;
     text-decoration: none;
     font-weight: 900;
     font-weight: bold;
    border-bottom: none;
}
}


.chanlist a:hover {
.chanlist a:hover {
    color: #003c8f;
    text-decoration: underline;
}
/* ---------- 留言 ---------- */
.chanpost {
    background: #f1f8e9;
    border-radius: 12px;
    padding: 14px;
    margin-top: 10px;
    border-left: 4px solid #66bb6a;
    line-height: 1.6;
}
.post-no {
    color: #757575;
    font-size: 0.85em;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}
.side-note {
    font-size: 0.85em;
    margin: 10px 0 0;
    color: #555;
}
.chanpost-empty {
    padding: 24px;
    text-align: center;
    color: #888;
    font-weight: bold;
}
/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #c8e6c9;
    font-size: 0.95em;
    background: rgba(255,255,255,0.4);
    color: #333;
}
.chanmoe-offense-bar a {
     color: #c41e3a;
     color: #c41e3a;
    font-weight: bold;
}
}


.chanlist li:hover {
/* ---------- 你知道吗 ---------- */
     padding-left: 26px;
.chanmoe-dyk {
    background: rgba(196, 30, 58, 0.04);
     padding-bottom: 16px;
}
}


.chanlist li:hover::before {
.dyk-list {
     content: "▶";
     padding: 4px 2px;
}
}


/* ========== 留言卡片 ========== */
.dyk-item {
.chanpost {
    display: flex;
     background: #f0f0f0;
    align-items: flex-start;
     border-radius: 0;
    gap: 14px;
     padding: 16px;
    padding: 14px;
     margin-top: 12px;
    margin-bottom: 10px;
     background: #f8faf8;
     border-radius: 12px;
     border-left: 4px solid #4CAF50;
     transition: all 0.2s ease;
}
 
.dyk

2026年5月29日 (五) 20:11的版本

/* ========================================
   简中Robloxian Wiki — 亮色:清新淡绿
   暗色:构成主义黑红(自动跟随系统)
   ======================================== */

/* ---------- 基础 ---------- */
html {
    background-color: #e6f5e6;
}

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

.mw-parser-output {
    background: transparent;
}

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

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

.chanmoecard:hover {
    border-color: #a5d6a7;
}

.chanmoe-welcome {
    flex: 1 1 100%;
    background: linear-gradient(135deg, #c8e6c9, #dcedc1);
    color: #1f3b1f;
    text-align: center;
    border-radius: 24px;
    padding: 36px 24px;
}

.chanmoe-main {
    flex: 2;
    min-width: 280px;
}

.chanmoe-side {
    flex: 1;
    min-width: 250px;
}

/* ---------- 欢迎区 ---------- */
.welcome-title {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}

.welcome-sub {
    font-size: 1.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.9em;
    margin: 14px 0;
}

.welcome-nav {
    margin-top: 16px;
}

/* ---------- 标题 ---------- */
.chanmoe-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 3px dashed #80cbc4;
    color: #0066cc;
}

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

.chanboard-btn {
    background: #e8f5e9;
    padding: 10px 18px;
    border-radius: 30px;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    font-family: "Courier New", monospace;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: inline-block;
    transition: all 0.2s;
    border: none;
}

.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: 12px 20px;
    margin: 0;
    border-bottom: 1px dashed #88cccc;
    border-radius: 20px 20px 0 0;
}

.news-list {
    padding: 18px 22px;
    line-height: 1.6;
}

.news-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-date {
    font-size: 1.1em;
    font-weight: bold;
    color: #662222;
    margin-bottom: 6px;
}

.news-body {
    color: #333;
}

.news-footer {
    text-align: right;
    padding: 10px 20px;
    background: #e6f4e6;
    border-top: 1px dashed #88cccc;
    font-size: 0.9em;
}

.news-footer a {
    color: #0066cc;
    text-decoration: none;
}

/* ---------- 列表 ---------- */
.chanlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chanlist li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95em;
}

.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: 12px;
    padding: 14px;
    margin-top: 10px;
    border-left: 4px solid #66bb6a;
    line-height: 1.6;
}

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

.side-note {
    font-size: 0.85em;
    margin: 10px 0 0;
    color: #555;
}

.chanpost-empty {
    padding: 24px;
    text-align: center;
    color: #888;
    font-weight: bold;
}

/* ---------- 冒犯提示条 ---------- */
.chanmoe-offense-bar {
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #c8e6c9;
    font-size: 0.95em;
    background: rgba(255,255,255,0.4);
    color: #333;
}

.chanmoe-offense-bar a {
    color: #c41e3a;
    font-weight: bold;
}

/* ---------- 你知道吗 ---------- */
.chanmoe-dyk {
    padding-bottom: 16px;
}

.dyk-list {
    padding: 4px 2px;
}

.dyk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    background: #f8faf8;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
    transition: all 0.2s ease;
}

.dyk