style: 统一列表首项留白并添加背景色过渡

This commit is contained in:
GouJ
2026-09-02 10:50:07 +08:00
parent 5b0e6578dc
commit 4f9b44298e
5 changed files with 22 additions and 7 deletions
+2
View File
@@ -198,8 +198,10 @@
--app-field-hover: var(--app-surface);
background: var(--app-subtle);
}
/* 首项与其它条目统一内边距;只过渡背景,避免展开内容和文字发生位移动画。 */
.record-list > article {
padding: 20px;
transition: background-color 160ms ease;
}
.record-list > article:nth-child(even) {
background: var(--app-subtle);