首页左上角「兜爸心选」文字换成正式 LOGO(白色透明版,适配橙红头图)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 10:46:51 +00:00
parent ff633c3ad5
commit b05862496d
4 changed files with 11 additions and 3 deletions

View File

@@ -239,6 +239,12 @@ a.skip:focus{left:16px;top:16px}
@keyframes petal{0%{transform:translateY(-20px) rotate(0);opacity:0}15%{opacity:.8}100%{transform:translateY(340px) rotate(320deg);opacity:0}}
.hero-top{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;height:32px;margin-top:10px}
.hero-brand{font-size:21px;font-weight:800;letter-spacing:.5px;line-height:1}
.hero-brand{margin:0;display:flex}
/* LOGO 高 40 比 .hero-top 的 32 高 8px:上下各 -4px 吃回去,这一排的竖向账(见 .home-hero 注释)一像素都不动。
投影和头图白字的 text-shadow 同色系,压在浅色羊水囊光晕上也看得清。 */
.hero-logo{display:block;height:40px;width:auto;margin:-4px 0;filter:drop-shadow(0 1px 3px rgba(120,30,10,.28))}
/* slogan 对齐 LOGO 的中文那一行(中文在上、拼音在下,整块中线偏低)。用 relative 挪,不进布局,气泡那笔账不受影响 */
.home-hero .hero-slogan{position:relative;top:-3px}
/* 三个二级页的左上角标题已删除,这一排只剩右侧按钮。
.hero-top 是 space-between 且与首页共用(首页左边还有「妈妈盒子」),
所以不能改父级对齐,只能让按钮组自己靠右 */