148 lines
2.2 KiB
Plaintext
148 lines
2.2 KiB
Plaintext
/** 穿搭:下划线分段 + 无缝拼图卡 + 悬浮双按钮条 **/
|
|
.page-flex {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.scroll-body {
|
|
flex: 1;
|
|
height: 0;
|
|
}
|
|
|
|
/* 分段条:吸顶玻璃 */
|
|
.segbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
margin-top: 36rpx;
|
|
background: var(--glass);
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
border-bottom: 1rpx solid var(--hairline);
|
|
}
|
|
|
|
.of-list {
|
|
padding: 40rpx var(--pad) 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 56rpx;
|
|
}
|
|
|
|
.of-card {
|
|
display: block;
|
|
width: 100%;
|
|
transition: transform .2s var(--ease);
|
|
}
|
|
|
|
.of-card:active {
|
|
transform: scale(.985);
|
|
}
|
|
|
|
.of-skel {
|
|
padding: 40rpx var(--pad) 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 56rpx;
|
|
}
|
|
|
|
.of-skel-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24rpx;
|
|
}
|
|
|
|
.sk-cover {
|
|
aspect-ratio: 4 / 3;
|
|
}
|
|
|
|
/* 作者行(仅社区分段) */
|
|
.of-author {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.of-av {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
border-radius: 50%;
|
|
background: var(--paper-3);
|
|
color: var(--ink-3);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.of-av .icon {
|
|
width: 26rpx;
|
|
height: 26rpx;
|
|
}
|
|
|
|
.of-aname {
|
|
font-size: 25rpx;
|
|
letter-spacing: .01em;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.of-atime {
|
|
margin-left: auto;
|
|
font-size: 22rpx;
|
|
color: var(--ink-3);
|
|
}
|
|
|
|
.of-trow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18rpx;
|
|
margin-top: 24rpx;
|
|
}
|
|
|
|
.of-title {
|
|
font-family: var(--serif);
|
|
font-size: 34rpx;
|
|
font-weight: 500;
|
|
line-height: 1.35;
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.of-desc {
|
|
margin-top: 14rpx;
|
|
font-size: 25rpx;
|
|
line-height: 1.62;
|
|
color: var(--ink-2);
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.of-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 22rpx;
|
|
margin-top: 24rpx;
|
|
}
|
|
|
|
.of-m {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
font-size: 22rpx;
|
|
color: var(--ink-3);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.of-m .icon {
|
|
width: 26rpx;
|
|
height: 26rpx;
|
|
}
|