MediaWiki:Common.css:修订间差异
外观
无编辑摘要 标签:已被回退 |
小 已还原Alice(讨论)的编辑至最后由NoooOneLoveMe修订的版本 标签:回退 已被回退 |
||
| 第1行: | 第1行: | ||
/* 简中Robloxian Wiki 全局样式 */ | /* 简中Robloxian Wiki 全局样式 */ | ||
/* 强制全站淡绿色背景 */ | /* 强制全站淡绿色背景 */ | ||
body, | body, | ||
#content, | #content, | ||
| 第52行: | 第9行: | ||
} | } | ||
/* 如果上面还不能完全覆盖,加上这个 */ | |||
html { | html { | ||
background-color: #e6f5e6; | background-color: #e6f5e6; | ||
| 第63行: | 第21行: | ||
background-color: #e6f5e6; | background-color: #e6f5e6; | ||
} | } | ||
.chanmoegrid { | .chanmoegrid { | ||
display: flex; | display: flex; | ||
| 第72行: | 第29行: | ||
padding: 20px; | padding: 20px; | ||
} | } | ||
.chanmoecard { | .chanmoecard { | ||
background: #ffffff; | background: #ffffff; | ||
| 第80行: | 第36行: | ||
border: 2px solid transparent; | border: 2px solid transparent; | ||
} | } | ||
.chanmoecard:hover { | .chanmoecard:hover { | ||
border-color: #a5d6a7; | border-color: #a5d6a7; | ||
} | } | ||
.chanmoe-welcome { | .chanmoe-welcome { | ||
flex: 1 1 100%; | flex: 1 1 100%; | ||
| 第93行: | 第47行: | ||
padding: 35px 20px; | padding: 35px 20px; | ||
} | } | ||
.chanmoe-main { | .chanmoe-main { | ||
flex: 2; | flex: 2; | ||
min-width: 280px; | min-width: 280px; | ||
} | } | ||
.chanmoe-side { | .chanmoe-side { | ||
flex: 1; | flex: 1; | ||
min-width: 250px; | min-width: 250px; | ||
} | } | ||
.chanmoe-title { | .chanmoe-title { | ||
font-size: 1.4em; | font-size: 1.4em; | ||
| 第112行: | 第63行: | ||
color: #0066cc; | color: #0066cc; | ||
} | } | ||
.chanboard-grid { | .chanboard-grid { | ||
display: flex; | display: flex; | ||
| 第118行: | 第68行: | ||
gap: 10px; | gap: 10px; | ||
} | } | ||
.chanboard-btn { | .chanboard-btn { | ||
background: #e8f5e9; | background: #e8f5e9; | ||
| 第129行: | 第78行: | ||
box-shadow: 0 2px 6px rgba(0,0,0,0.05); | box-shadow: 0 2px 6px rgba(0,0,0,0.05); | ||
} | } | ||
.chanboard-btn:hover { | .chanboard-btn:hover { | ||
background: #b9f6ca; | background: #b9f6ca; | ||
color: #000; | color: #000; | ||
} | } | ||
.chanlist { | .chanlist { | ||
list-style: none; | list-style: none; | ||
| 第140行: | 第87行: | ||
padding: 0; | padding: 0; | ||
} | } | ||
.chanlist li { | .chanlist li { | ||
padding: 6px 0; | padding: 6px 0; | ||
| 第146行: | 第92行: | ||
font-size: 0.95em; | font-size: 0.95em; | ||
} | } | ||
.chanlist li:last-child { border-bottom: none; } | |||
.chanlist li:last-child { | |||
} | |||
.chanlist a { | .chanlist a { | ||
color: #0066cc; | color: #0066cc; | ||
| 第156行: | 第98行: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.chanlist a:hover { | .chanlist a:hover { | ||
color: #003c8f; | color: #003c8f; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.chanpost { | .chanpost { | ||
background: #f1f8e9; | background: #f1f8e9; | ||
| 第169行: | 第109行: | ||
border-left: 4px solid #66bb6a; | border-left: 4px solid #66bb6a; | ||
} | } | ||
.chanpost .post-no { | .chanpost .post-no { | ||
color: #757575; | color: #757575; | ||
font-size: 0.8em; | font-size: 0.8em; | ||
} | } | ||
.ascii-divider { | .ascii-divider { | ||
color: #a5d6a7; | color: #a5d6a7; | ||
| 第182行: | 第120行: | ||
margin: 10px 0; | margin: 10px 0; | ||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.chanmoegrid { | .chanmoegrid { flex-direction: column; } | ||
} | } | ||
2026年5月2日 (六) 18:37的版本
/* 简中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; }
}