- tokens:收紧 surface 层级/边框/圆角/阴影/间距与暗黑基线 - 组件:按钮、卡片原语、导航、侧栏、分页、模态、浮动按钮 - 首页:hero 外壳、fixed 列表/宫格、tab、skeleton/error 及各运营模块卡片化 - 内容页:单篇封面/标题/正文/blockquote/相关/TOC/上一篇下一篇、评论区 - 社区:forum board/topic/compose 子控件与卡片体系 - 交易/认证:cart/orders/revenue/product/auth 表面块与模态浮层统一 - footer:页脚主体、社交/联系、移动端 tabbar/搜索覆盖
60 lines
1.1 KiB
CSS
60 lines
1.1 KiB
CSS
/* Highlight Cards */
|
|
.home-module--highlight-cards {
|
|
padding: 32px 0;
|
|
}
|
|
|
|
.home-module__highlight-grid {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.aksrt-highlight-card {
|
|
padding: 24px;
|
|
background: var(--surface-1, #fff);
|
|
border-radius: var(--radius-lg, 10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.55);
|
|
box-shadow: var(--shadow-sm);
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
.aksrt-highlight-card:hover {
|
|
box-shadow: var(--shadow);
|
|
border-color: rgba(240, 68, 148, 0.12);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.aksrt-highlight-card__image {
|
|
width: 100%;
|
|
border-radius: var(--radius-sm, 4px);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.aksrt-highlight-card__icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-md, 8px);
|
|
background: var(--color-primary-softer);
|
|
color: var(--color-primary);
|
|
font-size: 20px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.aksrt-highlight-card__title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.aksrt-highlight-card__desc {
|
|
font-size: 13px;
|
|
color: var(--color-ink-3);
|
|
margin: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|