MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第228行: | 第228行: | ||
} | } | ||
.hp-banner { | |||
padding: 20px !important; | padding: 30px 20px !important; | ||
flex-direction: column !important; | flex-direction: column !important; | ||
text-align: center | text-align: center; | ||
} | } | ||
.hp-banner-title { | .hp-banner-title { | ||
font-size: | font-size: 2.2em !important; /* 标题保持足够大 */ | ||
margin-bottom: 5px !important; | |||
} | } | ||
.hp-banner-subtitle { | .hp-banner-subtitle { | ||
font-size: 1em !important; | font-size: 1.1em !important; | ||
opacity: 0.9; | |||
} | } | ||
.hp-banner-stats { | .hp-banner-stats { | ||
margin: 15px 0 !important; | |||
font-size: 0.8em !important; | |||
background: rgba(255,255,255,0.1); | |||
} | } | ||
.hp-banner-nav { | .hp-banner-nav { | ||
border | border: none !important; | ||
margin: 0 !important; | |||
margin | padding: 0 !important; | ||
width: 100%; | |||
padding | |||
width: 100% | |||
} | } | ||
/* 手机端导航框:更窄、更透明,去除沉重感 */ | |||
.hp-nav-box { | .hp-nav-box { | ||
background: rgba(255, 255, 255, 0.08) !important; | |||
padding: 10px !important; | |||
border-radius: 10px !important; | |||
box-shadow: none !important; /* 手机端去掉阴影更清爽 */ | |||
} | |||
.hp-nav-box a { | |||
font-size: 0.9em !important; | |||
display: inline-block; | |||
margin: 4px 0; | |||
} | } | ||
/* | /* 容器单栏处理 */ | ||
.homepage-container { | .homepage-container { | ||
grid-template-columns: 1fr !important; | grid-template-columns: 1fr !important; | ||
} | } | ||