MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 标签:advanced mobile edit mobile web edit mobile edit |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* | /* 首页整体 */ | ||
.home { | .home { | ||
max-width: | max-width: 1200px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 1.5em 1em; | ||
} | } | ||
| 第10行: | 第9行: | ||
display: grid; | display: grid; | ||
grid-template-columns: 1fr 1fr; | grid-template-columns: 1fr 1fr; | ||
gap: | gap: 1.5em; | ||
} | } | ||
@media (max-width: | @media (max-width: 900px) { | ||
.home-grid { | .home-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
| 第19行: | 第18行: | ||
} | } | ||
/* 区块 */ | |||
.home-section { | .home-section { | ||
background: var(--background-color-neutral-subtle, #f8f9fa); | |||
border-radius: 8px; | |||
padding: 1em 1.2em; | |||
} | } | ||
.section-title { | .section-title { | ||
font-size: 1. | font-size: 1.25em; | ||
margin-bottom: 0.8em; | |||
margin-bottom: | |||
. | |||
} | } | ||
/* 最新页面 */ | |||
.latest-item { | .latest-item { | ||
padding: | padding: 0.4em 0; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #e0e0e0; | ||
} | } | ||
| 第46行: | 第40行: | ||
} | } | ||
/* 典范条目 */ | |||
/* | |||
.featured-item { | .featured-item { | ||
padding: | padding: 0.5em 0; | ||
} | } | ||
.featured-title | .featured-title { | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
/* 底部链接 */ | |||
/* | |||
.section-footer { | .section-footer { | ||
margin-top: | margin-top: 0.8em; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
text-align: right; | |||
} | } | ||
2025年12月13日 (六) 21:45的版本
/* 首页整体 */
.home {
max-width: 1200px;
margin: 0 auto;
padding: 1.5em 1em;
}
.home-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5em;
}
@media (max-width: 900px) {
.home-grid {
grid-template-columns: 1fr;
}
}
/* 区块 */
.home-section {
background: var(--background-color-neutral-subtle, #f8f9fa);
border-radius: 8px;
padding: 1em 1.2em;
}
.section-title {
font-size: 1.25em;
margin-bottom: 0.8em;
}
/* 最新页面 */
.latest-item {
padding: 0.4em 0;
border-bottom: 1px solid #e0e0e0;
}
.latest-item:last-child {
border-bottom: none;
}
/* 典范条目 */
.featured-item {
padding: 0.5em 0;
}
.featured-title {
font-weight: 600;
}
/* 底部链接 */
.section-footer {
margin-top: 0.8em;
font-size: 0.9em;
text-align: right;
}