From bb87127fa85506831c0b1c5abe3495ed599fe05c Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Fri, 2 Oct 2026 07:59:51 +0000 Subject: [PATCH] =?UTF-8?q?=E6=82=84=E6=82=84=E8=AF=9D=E6=B5=81=E6=98=9F?= =?UTF-8?q?=E5=8D=81=E4=BA=8C=E6=94=B9=EF=BC=9A=E5=AD=97=E7=A6=BB=E7=99=BD?= =?UTF-8?q?=E5=A4=B4=E6=9B=B4=E8=BF=9C=E3=80=81=E5=B0=BE=E5=B7=B4=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=85=89=E5=8F=98=E6=9F=94=EF=BC=8C=E5=B0=8F=E5=AD=97?= =?UTF-8?q?=E4=B8=8D=E8=A2=AB=E7=99=BD=E5=85=89=E5=90=83=E6=8E=89=20(v2610?= =?UTF-8?q?0176)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- index.html | 2 +- js/app.js | 4 ++-- mama-box.css | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 2508e7a..46fb4a2 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + diff --git a/js/app.js b/js/app.js index 39160a5..9a874f9 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26100175'; + var VER = '26100176'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); @@ -3538,7 +3538,7 @@ 字号从头到尾 12px → 26px 渐大,尾巴是一条从头部尖起、往后张开的光楔; 运动 = 起步就有速度、缓缓提速,整句出来后再猛加速唰出去。 */ const chars = [...String(it.text)], n = chars.length; - const f0 = 12, f1 = n > 20 ? 21 : n > 12 ? 24 : 27, gap = 22; + const f0 = 13, f1 = n > 20 ? 21 : n > 12 ? 24 : 27, gap = 50; // 十二改:字离白头再远一点,不压在头的白光里 const fs = chars.map((c, k) => f0 + (f1 - f0) * Math.pow(n > 1 ? k / (n - 1) : 1, .85)); const off = []; fs.reduce((d, f) => { off.push(d + f * .55); return d + f * 1.08; }, gap); diff --git a/mama-box.css b/mama-box.css index 3eabffb..a17a650 100644 --- a/mama-box.css +++ b/mama-box.css @@ -4030,3 +4030,6 @@ a.skip:focus{left:16px;top:16px} .wsk-done button{margin-top:16px;height:34px;padding:0 18px;border-radius:99px;font-size:13px;font-weight:600;color:#fff; background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 0 18px rgba(255,230,200,.25)} @media (prefers-reduced-motion:reduce){.wsk-bright.back .wsk-st{animation:none}} +/* 十二改:白光集中在头后一小段,字所在的尾巴段光变柔,小字不再被白光吃掉 */ +.wmt-l::before{background:linear-gradient(90deg,#fff 0,rgba(255,255,255,.7) 8%,rgba(255,255,255,.32) 22%,rgba(240,230,255,.22) 55%,rgba(255,255,255,.06) 90%,transparent)} +.wmt.mine .wmt-l::before{background:linear-gradient(90deg,#FFF8EA 0,rgba(255,236,200,.7) 8%,rgba(255,226,180,.32) 22%,rgba(255,210,150,.22) 55%,rgba(255,220,170,.06) 90%,transparent)}