huaanglimeng/pages/knowledge/list.wxss

78 lines
1.3 KiB
Plaintext
Raw Normal View History

.container {
min-height: 100vh;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
padding: 140rpx 30rpx;
}
/* 自定义返回按钮样式 */
.nav-back {
position: absolute;
top: 40rpx;
left: 30rpx;
display: flex;
align-items: center;
z-index: 100;
padding: 10rpx 20rpx;
border-radius: 30rpx;
background: rgba(255, 255, 255, 0.05);
}
.back-icon {
font-size: 32rpx;
margin-right: 8rpx;
color: #c9a0dc;
}
.back-text {
font-size: 26rpx;
color: #c9a0dc;
letter-spacing: 2rpx;
}
.header {
text-align: center;
margin-bottom: 50rpx;
}
.page-title {
font-size: 44rpx;
font-weight: 600;
color: #fff;
letter-spacing: 2rpx;
}
.article-list {
display: flex;
flex-direction: column;
gap: 24rpx;
}
.article-item {
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(10px);
border-radius: 16rpx;
padding: 36rpx 32rpx;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.item-hover {
background: rgba(255, 255, 255, 0.12);
transform: translateX(8rpx);
}
.article-title {
display: block;
font-size: 32rpx;
color: #fff;
font-weight: 500;
margin-bottom: 16rpx;
}
.article-summary {
display: block;
font-size: 26rpx;
color: rgba(255, 255, 255, 0.6);
line-height: 1.6;
}