MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第124行: | 第124行: | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid #f0f0f0; | border: 1px solid #f0f0f0; | ||
} | |||
/* 首页新闻动态横幅 */ | |||
.hp-news-bar { | |||
display: flex; | |||
align-items: center; | |||
background: #fff; | |||
border: 1px solid #e2e8f0; | |||
border-left: 4px solid #1a3a6c; /* 与 Banner 深蓝色呼应 */ | |||
padding: 10px 20px; | |||
margin-bottom: 25px; | |||
border-radius: 6px; | |||
box-shadow: 0 2px 4px rgba(0,0,0,0.05); | |||
} | |||
.hp-news-tag { | |||
background: #1a3a6c; | |||
color: white; | |||
padding: 2px 10px; | |||
border-radius: 4px; | |||
font-size: 0.85em; | |||
font-weight: bold; | |||
margin-right: 15px; | |||
white-space: nowrap; | |||
} | |||
.hp-news-content { | |||
font-size: 0.95em; | |||
color: #4a5568; | |||
flex: 1; | |||
} | |||
/* 链接美化 */ | |||
.hp-news-content a { | |||
color: #2a5298; | |||
font-weight: bold; | |||
text-decoration: none; | |||
} | |||
.hp-news-content a:hover { | |||
text-decoration: underline; | |||
} | } | ||