MediaWiki:Common.css
MediaWiki界面页面
更多操作
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* 世外Wiki 人性化样式 */
.sw-hero {
background: linear-gradient(135deg, #f28c28 0%, #f6b352 100%);
border-radius: 18px;
padding: 34px 30px;
color: #fff;
margin: 6px 0 24px;
box-shadow: 0 8px 24px rgba(242,140,40,.22);
}
.sw-hero-title { font-size: 30px; font-weight: 700; letter-spacing: .5px; }
.sw-hero-sub { margin-top: 10px; font-size: 15px; opacity: .95; line-height: 1.7; }
.sw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 8px 0 26px; }
.sw-card {
padding: 0; border-radius: 14px;
background: #fff; border: 1px solid #eee;
transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
overflow: hidden;
}
.sw-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.09); transform: translateY(-3px); border-color: #f28c28; }
.sw-card a { display: block; padding: 20px 22px; text-decoration: none; color: inherit; }
.sw-card-title { display: block; font-size: 17px; font-weight: 600; color: #e67e10; margin-bottom: 6px; }
.sw-card-desc { display: block; font-size: 13.5px; color: #666; line-height: 1.6; }
html.skin-theme-clientpref-night .sw-card { background: #1d2329; border-color: #2c333b; }
html.skin-theme-clientpref-night .sw-card-title { color: #f6b352; }
html.skin-theme-clientpref-night .sw-card-desc { color: #aab4bd; }
.sw-stats { display: flex; gap: 34px; flex-wrap: wrap; margin: 6px 0 22px; }
.sw-stat-num { font-size: 27px; font-weight: 700; color: #e67e10; }
.sw-stat-label { font-size: 13px; opacity: .72; margin-top: 2px; }
.sw-steps { counter-reset: step; margin: 8px 0 10px; }
.sw-step { position: relative; padding: 12px 0 12px 46px; counter-increment: step; line-height: 1.7; }
.sw-step::before {
content: counter(step); position: absolute; left: 0; top: 12px;
width: 30px; height: 30px; border-radius: 50%;
background: #f28c28; color: #fff; font-weight: 600;
display: flex; align-items: center; justify-content: center; font-size: 15px;
}
/* 正文更易读 */
.mw-body-content { line-height: 1.85; font-size: 15.5px; }
.mw-body-content p { margin: 0 0 1em; }
/* 表格圆角与留白 */
.wikitable { border-radius: 10px; overflow: hidden; }