style: 统一列表首项留白并添加背景色过渡
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user