MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 标签:advanced mobile edit mobile web edit mobile edit |
||
| 第1行: | 第1行: | ||
/* ===== 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; | ||
border-radius: | |||
} | } | ||
. | .latest-item { | ||
padding: 12px 16px; | |||
border-bottom: 1px solid # | 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: 1px solid # | |||
border-radius: 8px; | border-radius: 8px; | ||
background: #fffbeb; | |||
} | } | ||
. | .featured-title a { | ||
text-decoration: none; | text-decoration: none; | ||
color: | color: #92400e; | ||
font-weight: 600; | |||
} | } | ||
. | .featured-title a:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* ===== Footer Link ===== */ | |||
.section-footer { | |||
margin-top: 12px; | |||
font-size: 0.9em; | |||
} | } | ||
2025年12月13日 (六) 20:21的版本
/* ===== 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;
}