huaanglimeng/pages/user-agreement/user-agreement.wxss

113 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

/* 协议页面样式 - 优化阅读体验 */
.agreement-container {
min-height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding-bottom: 40rpx;
}
.agreement-header {
text-align: center;
padding: 60rpx 40rpx;
background: rgba(255, 255, 255, 0.95);
margin-bottom: 20rpx;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
margin: 40rpx 30rpx 30rpx;
border-radius: 20rpx;
}
.agreement-title {
display: block;
font-size: 40rpx;
font-weight: bold;
color: #2d3748;
margin-bottom: 16rpx;
letter-spacing: 2rpx;
}
.update-date {
display: block;
font-size: 24rpx;
color: #a0aec0;
}
.agreement-content {
height: calc(100vh - 240rpx);
padding: 0 30rpx;
box-sizing: border-box;
}
.section {
background: rgba(255, 255, 255, 0.95);
border-radius: 16rpx;
padding: 40rpx;
margin-bottom: 30rpx;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.03);
}
.section-title {
display: block;
font-size: 32rpx;
font-weight: 600;
color: #2d3748;
margin-bottom: 24rpx;
position: relative;
padding-left: 20rpx;
}
.section-title::before {
content: '';
position: absolute;
left: 0;
top: 8rpx;
bottom: 8rpx;
width: 8rpx;
background: #667eea;
border-radius: 4rpx;
}
.section-text {
display: block;
font-size: 28rpx;
color: #4a5568;
line-height: 1.8;
text-align: justify;
margin-bottom: 10rpx;
}
.list-item {
display: flex;
margin-bottom: 16rpx;
align-items: flex-start;
}
.bullet {
color: #667eea;
font-size: 24rpx; /* Smaller bullet for subtleness */
margin-right: 16rpx;
margin-top: 6rpx; /* Align with text */
flex-shrink: 0;
}
.list-text {
flex: 1;
font-size: 28rpx;
color: #4a5568;
line-height: 1.8;
text-align: justify;
}
.footer {
text-align: center;
padding: 60rpx 40rpx;
margin-top: 40rpx;
}
.footer-text {
display: block;
font-size: 26rpx;
color: #a0aec0;
letter-spacing: 1rpx;
}