From aca4d5a0de54ea947364d2eb78031aca31fd01c8 Mon Sep 17 00:00:00 2001 From: hehh Date: Tue, 2 Dec 2025 23:59:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(css):=20=E8=B0=83=E6=95=B4=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E7=89=88=E7=BB=9F=E8=AE=A1=E9=94=AE=E5=92=8C=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E7=9A=84=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E5=BC=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了针对英文版移动端统计键字体大小的旧样式规则 - 新增了针对平板尺寸范围内英文版统计键字体大小的媒体查询 - 添加了针对特定屏幕宽度内英文版 MBTI 标签字体大小的媒体查询 - 优化了多语言环境下响应式布局的表现一致性 --- css/about.css | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/css/about.css b/css/about.css index 842cf1f..2d84594 100644 --- a/css/about.css +++ b/css/about.css @@ -1123,6 +1123,18 @@ body { text-shadow: 0 0 5px rgba(255, 255, 255, 0.1); } +@media (min-width: 769px) and (max-width: 1445px){ + [data-lang="en"] .stat-key { + font-size: 0.5rem !important; + } +} + +@media (min-width: 1030px) and (max-width: 1445px) { + [data-lang="en"] .mbti-tags .tag { + font-size: 0.5rem !important; + } +} + /* Responsive Stats Layout */ @media (min-width: 1025px) and (max-width: 1445px), (min-width: 1201px) { .area-stats { @@ -2413,12 +2425,7 @@ html, body { overflow-x: hidden; } -/* Fix Stat Key Font Size on English Mobile */ -@media (max-width: 768px) { - [data-lang="en"] .stat-key { - font-size: 6px !important; -} -} + /* Final Theme Consistency Checks */ [data-theme="night"] {