打开/关闭菜单
60
73
29
1.1K
武外梗百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
第202行: 第202行:
}
}


/* ========================================
/* ---------- 字数大显示区 ---------- */
  字数统计大板块 */
#wiki-wordcount {
#wiki-wordcount.stat-block {
     width: 100%;
     width: 100%;
     display: flex;
     display: flex;
    justify-content: center;
    align-items: center;
     flex-direction: column;
     flex-direction: column;
    align-items: center;
    justify-content: center;
     margin: 40px 0;
     margin: 40px 0;
     text-align: center;
     text-align: center;
     font-family: 'Segoe UI', sans-serif;
     font-family: 'Segoe UI', 'Arial', sans-serif;
}
}


/* “标签/描述”字体小一点但清晰 */
/* “标签/描述”更小 */
#wiki-wordcount.stat-block .stat-label {
#wiki-wordcount .stat-label {
     font-size: 1.4em;
     font-size: 1.2rem;
     font-weight: 500;
     font-weight: 500;
     color: #444;
     color: #555;
     margin-bottom: 6px;
     margin-bottom: 4px;
}
}


/* 数字主体更大、更霸气 */
/* 数字主体更霸气 */
#wiki-wordcount-number.stat-number {
#wiki-wordcount-number {
     font-size: 5.6em; /* 主体数字更大 */
     font-size: 6.2rem;           /* 更大更显眼 */
     font-weight: 900;
     font-weight: 900;
     width: 100%;         /* 横向撑满 */
      
     min-width: 14ch;     /* 固定最小宽度基于数字字符宽度 */
    /* 强制等宽数字(需要字体支持) */
     letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums; /* 让数字等宽 */ [oai_citation:2‡MDN 網頁文件](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-variant-numeric?utm_source=chatgpt.com)
   
    /* 定义最小宽度,保证位置横向占得足够 */
     min-width: 18ch;           /* 18 个数字宽度 */
     letter-spacing: 0.1em;       /* 适当字间距,撑开空间 */
   
     background: linear-gradient(90deg, #00CCFF, #FF69B4);
     background: linear-gradient(90deg, #00CCFF, #FF69B4);
     -webkit-background-clip: text;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     -webkit-text-fill-color: transparent;
     text-shadow:
     text-shadow:
         0 0 8px rgba(0, 204, 255, 0.6),
         0 0 10px rgba(0, 204, 255, 0.6),
         0 0 20px rgba(255, 105, 180, 0.4);
         0 0 24px rgba(255, 105, 180, 0.4);
   
    white-space: nowrap; /* 不换行 */
}
}


/* 大屏的时候更显眼 */
/* 更大屏幕下的微调 */
@media screen and (min-width: 1200px) {
@media screen and (min-width: 1200px) {
     #wiki-wordcount-number.stat-number {
     #wiki-wordcount-number {
         font-size: 6.8em;
         font-size: 7.6rem;
         letter-spacing: 0.12em;
         letter-spacing: 0.12em;
        min-width: 20ch;
     }
     }
}
}