首页 LOGO 缩小 40→30px
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<title>兜爸心选 · 孕育陪伴</title>
|
||||
<!-- V:26100121 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||
<!-- V:26100122 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||
<link rel="stylesheet" href="mama-box.css">
|
||||
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
||||
<!-- 共享助手:授权/跳商城/位置上报(分享卡片同步,见 docs/h5-auth-standard.md 第四节) -->
|
||||
@@ -95,7 +95,7 @@
|
||||
<div class="hero-top">
|
||||
<!-- 2026-10-01 左上角文字换成正式 LOGO(用户提供的红字原稿)。头图是橙红底,红色原稿压上去会糊,
|
||||
所以抠成白色透明 PNG(按红色浓度转 alpha,3x 高清),和旁边白字 slogan、宝宝插画同一套白色语言。 -->
|
||||
<h1 class="hero-brand"><img class="hero-logo" src="assets/img/db2f99232b39.png" alt="兜爸心选" width="143" height="40"></h1>
|
||||
<h1 class="hero-brand"><img class="hero-logo" src="assets/img/db2f99232b39.png" alt="兜爸心选" width="107" height="30"></h1>
|
||||
<p class="hero-slogan">每次记录都是一生记忆</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
|
||||
var VER = '26100121';
|
||||
var VER = '26100122';
|
||||
const $ = (s, c) => (c || document).querySelector(s);
|
||||
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
|
||||
|
||||
|
||||
@@ -240,11 +240,11 @@ a.skip:focus{left:16px;top:16px}
|
||||
.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 注释)一像素都不动。
|
||||
/* LOGO 高 30(10-01 用户嫌 40 太大、不协调,缩到 30),比 .hero-top 的 32 矮,居中放,这一排的竖向账(见 .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))}
|
||||
.hero-logo{display:block;height:30px;width:auto;margin:0;filter:drop-shadow(0 1px 3px rgba(120,30,10,.28))}
|
||||
/* slogan 对齐 LOGO 的中文那一行(中文在上、拼音在下,整块中线偏低)。用 relative 挪,不进布局,气泡那笔账不受影响 */
|
||||
.home-hero .hero-slogan{position:relative;top:-3px}
|
||||
.home-hero .hero-slogan{position:relative;top:-2px}
|
||||
/* 三个二级页的左上角标题已删除,这一排只剩右侧按钮。
|
||||
.hero-top 是 space-between 且与首页共用(首页左边还有「妈妈盒子」),
|
||||
所以不能改父级对齐,只能让按钮组自己靠右 */
|
||||
|
||||
Reference in New Issue
Block a user