From 3969aecdc0ba04be8092d2224aeb84e589e4d7bc Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Sun, 4 Oct 2026 14:51:24 +0000 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A4=B4=E9=83=A8=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=BB=9F=E4=B8=80=E7=BA=AF=E7=99=BD+=E6=B7=B1?= =?UTF-8?q?=E6=9A=96=E6=A3=95=E6=8A=95=E5=BD=B1=20(v26100436)?= 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 | 2 +- mama-box.css | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 87f58cc..ef91ec8 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ 兜爸心选 · 孕育陪伴 - + diff --git a/js/app.js b/js/app.js index c5076e2..1406e97 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26100435'; + var VER = '26100436'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); diff --git a/mama-box.css b/mama-box.css index f6b5ed5..7c89799 100644 --- a/mama-box.css +++ b/mama-box.css @@ -4642,3 +4642,13 @@ a.skip:focus{left:16px;top:16px} 改成按囊壁定:孕囊图里囊壁半径 ≈ 方块边长 43%,取右下 40° 那一点(x≈83%、y≈78%), 牌子左边 30px 处对准那点、上边往里收 3px —— 只压住囊壁最外一圈,孕囊多大都一样。 */ .hero-zod{right:auto;bottom:auto;left:calc(74.5% - 30px);top:calc(85% - 3px)} + +/* 头部文字统一(2026-10-04 用户:「最上面的文字包括兜爸心选 logo,主色调搭配投影;干净、纯粹; + 背景浅(偏黄)的地方纯白字容易飘,白字必须带淡淡的深暖棕投影或发光」) + → 字一律纯白(原来的奶黄强调色 #FFE6BF / #FFF3C4 也收成白,靠字号区分层级), + 统一配一套深暖棕投影:一层贴字的 1px 细影保边缘 + 一层 8~10px 柔光托底,在羊水浅色光束处也压得住。 + LOGO 是 PNG,用 filter:drop-shadow 套同一套。 */ +.home-hero{--hs1:rgba(92,40,20,.42);--hs2:rgba(92,40,20,.22)} +.hero-logo{filter:drop-shadow(0 1px 1px var(--hs1)) drop-shadow(0 0 6px var(--hs2))} +.hero-slogan,.hi-due,.hi-due b,.hi-unit em,.hi-size{color:#fff;text-shadow:0 1px 1.5px var(--hs1),0 0 8px var(--hs2)} +.hi-week b{color:#fff;text-shadow:0 1.5px 1px var(--hs1),0 4px 12px var(--hs2)}