- tokens:收紧 surface 层级/边框/圆角/阴影/间距与暗黑基线 - 组件:按钮、卡片原语、导航、侧栏、分页、模态、浮动按钮 - 首页:hero 外壳、fixed 列表/宫格、tab、skeleton/error 及各运营模块卡片化 - 内容页:单篇封面/标题/正文/blockquote/相关/TOC/上一篇下一篇、评论区 - 社区:forum board/topic/compose 子控件与卡片体系 - 交易/认证:cart/orders/revenue/product/auth 表面块与模态浮层统一 - footer:页脚主体、社交/联系、移动端 tabbar/搜索覆盖
57 lines
1.0 KiB
CSS
57 lines
1.0 KiB
CSS
/* FAQ */
|
||
.home-module--faq {
|
||
padding: 32px 0;
|
||
}
|
||
|
||
.home-module__faq-grid {
|
||
column-gap: 24px;
|
||
}
|
||
|
||
.aksrt-faq-item {
|
||
break-inside: avoid;
|
||
margin-bottom: 12px;
|
||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||
border-radius: var(--radius-lg, 10px);
|
||
box-shadow: var(--shadow-sm);
|
||
overflow: hidden;
|
||
background: var(--surface-1, #fff);
|
||
}
|
||
|
||
.aksrt-faq-item__question {
|
||
padding: 14px 16px;
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
background: var(--surface-1, #fff);
|
||
list-style: none;
|
||
transition: color .18s ease, background .18s ease;
|
||
}
|
||
|
||
.aksrt-faq-item__question:hover {
|
||
color: var(--color-primary);
|
||
background: var(--surface-4);
|
||
}
|
||
|
||
.aksrt-faq-item__question::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.aksrt-faq-item__question::after {
|
||
content: '+';
|
||
float: right;
|
||
font-weight: 400;
|
||
transition: transform 0.2s;
|
||
}
|
||
|
||
.aksrt-faq-item[open] .aksrt-faq-item__question::after {
|
||
content: '−';
|
||
}
|
||
|
||
.aksrt-faq-item__answer {
|
||
padding: 0 16px 14px;
|
||
font-size: 14px;
|
||
color: var(--color-ink-3);
|
||
line-height: 1.7;
|
||
}
|
||
|