huaanglimeng/pages/knowledge/index.wxss

76 lines
1.2 KiB
Plaintext

.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: 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;
}