huaanglimeng/pages/knowledge/index.wxss

51 lines
831 B
Plaintext
Raw Permalink Normal View History

.container {
min-height: 100vh;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
padding: 40rpx 30rpx;
}
.header {
text-align: center;
margin-bottom: 60rpx;
}
.page-title {
font-size: 48rpx;
font-weight: 600;
color: #fff;
letter-spacing: 4rpx;
}
.category-list {
display: flex;
flex-direction: column;
gap: 30rpx;
}
.category-card {
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(10px);
border-radius: 20rpx;
padding: 50rpx 40rpx;
display: flex;
align-items: center;
gap: 30rpx;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.card-hover {
background: rgba(255, 255, 255, 0.12);
transform: translateY(-4rpx);
}
.category-icon {
font-size: 60rpx;
}
.category-name {
font-size: 36rpx;
color: #fff;
font-weight: 500;
}