视觉系统主干落地:对齐 design tokens 与核心组件样式向 Zibll 收敛

- tokens:收紧 surface 层级/边框/圆角/阴影/间距与暗黑基线
- 组件:按钮、卡片原语、导航、侧栏、分页、模态、浮动按钮
- 首页:hero 外壳、fixed 列表/宫格、tab、skeleton/error 及各运营模块卡片化
- 内容页:单篇封面/标题/正文/blockquote/相关/TOC/上一篇下一篇、评论区
- 社区:forum board/topic/compose 子控件与卡片体系
- 交易/认证:cart/orders/revenue/product/auth 表面块与模态浮层统一
- footer:页脚主体、社交/联系、移动端 tabbar/搜索覆盖
This commit is contained in:
2026-07-06 15:19:25 +08:00
parent 5402768f23
commit 0b5b153265
47 changed files with 542 additions and 325 deletions
+10 -4
View File
@@ -29,22 +29,28 @@
padding: 20px;
margin: 15px 0;
background: var(--main-bg-color, #fff);
border: 1px solid rgba(255, 255, 255, 0.55);
overflow: hidden;
transition: 0.2s;
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
border-radius: var(--main-radius, 8px);
transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
box-shadow: var(--shadow-sm);
border-radius: var(--radius-lg, 10px);
}
/* ============================================================
* 卡片模式 .posts-item.card — 对齐 zibll line 7733
* ============================================================ */
.posts-item:hover {
box-shadow: var(--shadow);
border-color: rgba(240, 68, 148, 0.10);
}
.posts-item.card {
width: calc(33.333% - 16px);
display: inline-block;
margin: 8px;
padding: 10px;
vertical-align: top;
transition: 0.3s;
transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
font-size: 1rem; /* 重置容器 font-size: 0 */
}