style(site): align download action shapes

Match the source action to the App Store badge with a compact rounded-rectangle silhouette so the hero controls feel visually consistent.
This commit is contained in:
Rocky
2026-07-29 22:13:56 +08:00
parent a9f8ba2086
commit 4c9f8c4e7d
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Polish never answers the transcript**: fun styles (dating / flex / corp) could turn “你觉得这个包怎么样” into a reply such as “还行,挺顺眼的”. A top-priority “polish only, never answer” rule now sits in the global contract, every built-in style pack, the prompt safety boundary, and a router question guard that keeps question drafts as questions. / **润色不再代答转写内容**:趣味风格(直男癌/装逼指南/大厂黑话)曾把「你觉得这个包怎么样」润色成「还行,挺顺眼的」。现已在全局契约、全部内置风格包、提示词安全边界与路由问句守卫四层加入最高优先级的「只润色、不作答」规则,问句必须仍是问句。
### Changed
- **Website download actions**: App Store and source buttons now share a compact rounded-rectangle shape and matching height instead of mixing badge and pill silhouettes. / **官网操作按钮**:App Store 与源码按钮统一为等高的紧凑圆角矩形,不再混用徽章与胶囊轮廓。
- **Layered bilingual polish prompts**: transcripts are sent once as user data; stable Chinese/English core rules, style policies, dictionaries, and runtime context now have explicit responsibilities for better consistency and provider prefix caching. / **分层双语润色提示词**:转写仅作为用户消息发送一次;稳定的中英文核心规则、风格策略、词典和运行时上下文职责明确,提升一致性并支持服务商前缀缓存。
- **Two-tier short polish skip**: ultra-short (≤4 CJK) still skips the LLM; 510 CJK now skips only low-value acks/closings (e.g. “好的我知道了”), while questions and contentful shorts still polish. / **两级短句跳过润色**:≤4 字仍跳过 LLM;5–10 字仅对低价值确认/收束语跳过(如「好的我知道了」),问句与有内容短句仍走润色。
- **ABE polish routing**: fun styles and daily chat use a local information-density gate, prompt hard-brakes, and style-specific degrade (e.g. DiBa without an opponent quote falls back to chat cleanup) without a second LLM call. / **ABE 润色路由**:趣味风格与日常聊天增加本地信息密度闸、提示词硬刹车与风格专属降级(如帝吧无对方原话时降级日常清理),不增加第二次 LLM 调用。
+4 -3
View File
@@ -310,8 +310,9 @@
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.85rem 1.35rem;
border-radius: 999px;
height: 44px;
padding: 0 1.2rem;
border-radius: 9px;
font-weight: 600;
font-size: 0.95rem;
border: 1px solid transparent;
@@ -460,7 +461,7 @@
.store-badge {
display: inline-flex;
line-height: 0;
border-radius: 8px;
border-radius: 9px;
transition: opacity 0.15s ease, transform 0.15s ease;
}
.store-badge:hover { opacity: 0.9; transform: translateY(-1px); }