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。
/* ===== Home Layout ===== */
.home {
max-width: 1100px;
margin: 0 auto;
padding: 24px 16px;
}
.home-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 32px;
}
@media (max-width: 768px) {
.home-grid {
grid-template-columns: 1fr;
}
}
.home-section {
margin-bottom: 32px;
}
.section-title {
font-size: 1.4em;
font-weight: 600;
margin-bottom: 16px;
}
/* ===== Latest Pages ===== */
.latest-list {
border: 1px solid #e5e7eb;
border-radius: 8px;
overflow: hidden;
}
.latest-item {
padding: 12px 16px;
border-bottom: 1px solid #e5e7eb;
}
.latest-item:last-child {
border-bottom: none;
}
.latest-title a {
text-decoration: none;
color: #111827;
font-weight: 500;
}
.latest-title a:hover {
text-decoration: underline;
}
/* ===== Featured Pages ===== */
.featured-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.featured-item {
padding: 14px 16px;
border: 1px solid #fde68a;
border-radius: 8px;
background: #fffbeb;
}
.featured-title a {
text-decoration: none;
color: #92400e;
font-weight: 600;
}
.featured-title a:hover {
text-decoration: underline;
}
/* ===== Footer Link ===== */
.section-footer {
margin-top: 12px;
font-size: 0.9em;
}