MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第202行: | 第202行: | ||
} | } | ||
/* | /* ======================================== | ||
#wiki-wordcount { | 字数统计大板块 */ | ||
#wiki-wordcount.stat-block { | |||
width: 100%; | width: 100%; | ||
display: flex; | display: flex; | ||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | justify-content: center; | ||
align- | margin: 40px 0; | ||
text-align: center; | |||
font-family: 'Segoe UI', sans-serif; | |||
} | |||
/* “标签/描述”字体小一点但清晰 */ | |||
#wiki-wordcount.stat-block .stat-label { | |||
font-size: 1.4em; | |||
font-weight: 500; | |||
color: #444; | |||
margin-bottom: 6px; | |||
} | } | ||
/* | /* 数字主体更大、更霸气 */ | ||
#wiki-wordcount-number { | #wiki-wordcount-number.stat-number { | ||
font-size: | font-size: 5.6em; /* 主体数字更大 */ | ||
font-weight: | font-weight: 900; | ||
width: 100%; /* 横向撑满 */ | |||
/* | min-width: 14ch; /* 固定最小宽度基于数字字符宽度 */ | ||
letter-spacing: 0.08em; | |||
background: linear-gradient(90deg, #00CCFF, #FF69B4); | background: linear-gradient(90deg, #00CCFF, #FF69B4); | ||
-webkit-background-clip: text; | -webkit-background-clip: text; | ||
| 第223行: | 第236行: | ||
0 0 8px rgba(0, 204, 255, 0.6), | 0 0 8px rgba(0, 204, 255, 0.6), | ||
0 0 20px rgba(255, 105, 180, 0.4); | 0 0 20px rgba(255, 105, 180, 0.4); | ||
} | } | ||
/* | /* 大屏的时候更显眼 */ | ||
@media screen and (min-width: 1200px) { | @media screen and (min-width: 1200px) { | ||
#wiki-wordcount-number { | #wiki-wordcount-number.stat-number { | ||
font-size: | font-size: 6.8em; | ||
letter-spacing: 0.12em; | letter-spacing: 0.12em; | ||
} | } | ||
} | } | ||