MediaWiki:Common.css:修订间差异
外观
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:已被回退 |
||
| 第1行: | 第1行: | ||
/* | /* 简中Robloxian Wiki 全局样式 */ | ||
/* 强制全站淡绿色背景 */ | |||
body, | body, | ||
#content, | #content, | ||
| 第8行: | 第9行: | ||
} | } | ||
/* 如果上面还不能完全覆盖,加上这个 */ | |||
html { | html { | ||
background-color: #e6f5e6; | background-color: #e6f5e6; | ||
| 第103行: | 第105行: | ||
} | } | ||
.chanlist li:last-child { border-bottom: none; } | .chanlist li:last-child { | ||
border-bottom: none; | |||
} | |||
.chanlist a { | .chanlist a { | ||
| 第137行: | 第141行: | ||
} | } | ||
/* ========== | @media (max-width: 768px) { | ||
.chanmoegrid { | |||
flex-direction: column; | |||
} | |||
} | |||
/* ========== 系统暗色模式适配 ========== */ | |||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
/* 全局背景与文字 */ | |||
html, | |||
body, | body, | ||
#content, | #content, | ||
| 第144行: | 第156行: | ||
.mw-page-container, | .mw-page-container, | ||
#bodyContent { | #bodyContent { | ||
background-color: # | background-color: #1a231a !important; | ||
color: # | color: #d4dcd4; | ||
} | } | ||
.mw-parser-output { | .mw-parser-output { | ||
color: # | background: transparent; | ||
color: #d4dcd4; | |||
} | } | ||
/* 卡片容器 */ | |||
.chanmoecard { | .chanmoecard { | ||
background: # | background: #263026; | ||
box-shadow: 0 6px 16px rgba(0,0,0,0.3); | box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); | ||
border | border-color: #3a4a3a; | ||
} | } | ||
| 第167行: | 第176行: | ||
} | } | ||
/* 欢迎横幅 */ | |||
.chanmoe-welcome { | .chanmoe-welcome { | ||
background: linear-gradient(135deg, # | background: linear-gradient(135deg, #2b412b, #334a2e); | ||
color: # | color: #dcedc1; | ||
} | } | ||
/* 标题 */ | |||
.chanmoe-title { | .chanmoe-title { | ||
color: #80cbc4; | |||
color: # | border-bottom-color: #4caf50; | ||
} | } | ||
/* 按钮网格 */ | |||
.chanboard-btn { | .chanboard-btn { | ||
background: # | background: #2b402b; | ||
color: # | color: #80cbc4; | ||
box-shadow: 0 2px 6px rgba(0,0,0,0.3); | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); | ||
} | } | ||
.chanboard-btn:hover { | .chanboard-btn:hover { | ||
background: # | background: #3a5a3a; | ||
color: # | color: #ffffff; | ||
} | } | ||
/* 列表 */ | |||
.chanlist li { | .chanlist li { | ||
border-bottom: | border-bottom-color: #3a4a3a; | ||
} | } | ||
.chanlist a { | .chanlist a { | ||
color: # | color: #80cbc4; | ||
} | } | ||
.chanlist a:hover { | .chanlist a:hover { | ||
color: # | color: #a5d6a7; | ||
text-decoration: underline; | |||
} | } | ||
/* 帖子卡片 */ | |||
.chanpost { | .chanpost { | ||
background: # | background: #223022; | ||
border-left: | border-left-color: #4caf50; | ||
color: #d4dcd4; | |||
} | } | ||
.chanpost .post-no { | .chanpost .post-no { | ||
color: # | color: #9e9e9e; | ||
} | } | ||
/* ASCII 分隔线 */ | |||
.ascii-divider { | .ascii-divider { | ||
color: #66bb6a; | color: #66bb6a; | ||
} | } | ||
} | } | ||
2026年5月2日 (六) 18:07的版本
/* 简中Robloxian Wiki 全局样式 */
/* 强制全站淡绿色背景 */
body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
background-color: #e6f5e6 !important;
}
/* 如果上面还不能完全覆盖,加上这个 */
html {
background-color: #e6f5e6;
}
.mw-parser-output {
background: transparent;
}
body {
background-color: #e6f5e6;
}
.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: 25px;
border: 2px solid transparent;
}
.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: 35px 20px;
}
.chanmoe-main {
flex: 2;
min-width: 280px;
}
.chanmoe-side {
flex: 1;
min-width: 250px;
}
.chanmoe-title {
font-size: 1.4em;
font-weight: bold;
margin-bottom: 15px;
padding-bottom: 8px;
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);
}
.chanboard-btn:hover {
background: #b9f6ca;
color: #000;
}
.chanlist {
list-style: none;
margin: 0;
padding: 0;
}
.chanlist li {
padding: 6px 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: 12px 15px;
margin-top: 10px;
border-left: 4px solid #66bb6a;
}
.chanpost .post-no {
color: #757575;
font-size: 0.8em;
}
.ascii-divider {
color: #a5d6a7;
font-family: monospace;
text-align: center;
font-size: 0.9em;
margin: 10px 0;
}
@media (max-width: 768px) {
.chanmoegrid {
flex-direction: column;
}
}
/* ========== 系统暗色模式适配 ========== */
@media (prefers-color-scheme: dark) {
/* 全局背景与文字 */
html,
body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
background-color: #1a231a !important;
color: #d4dcd4;
}
.mw-parser-output {
background: transparent;
color: #d4dcd4;
}
/* 卡片容器 */
.chanmoecard {
background: #263026;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
border-color: #3a4a3a;
}
.chanmoecard:hover {
border-color: #66bb6a;
}
/* 欢迎横幅 */
.chanmoe-welcome {
background: linear-gradient(135deg, #2b412b, #334a2e);
color: #dcedc1;
}
/* 标题 */
.chanmoe-title {
color: #80cbc4;
border-bottom-color: #4caf50;
}
/* 按钮网格 */
.chanboard-btn {
background: #2b402b;
color: #80cbc4;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.chanboard-btn:hover {
background: #3a5a3a;
color: #ffffff;
}
/* 列表 */
.chanlist li {
border-bottom-color: #3a4a3a;
}
.chanlist a {
color: #80cbc4;
}
.chanlist a:hover {
color: #a5d6a7;
text-decoration: underline;
}
/* 帖子卡片 */
.chanpost {
background: #223022;
border-left-color: #4caf50;
color: #d4dcd4;
}
.chanpost .post-no {
color: #9e9e9e;
}
/* ASCII 分隔线 */
.ascii-divider {
color: #66bb6a;
}
}