MediaWiki:Common.css
外观
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* 简中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; }
}