70 lines
1.3 KiB
Plaintext
70 lines
1.3 KiB
Plaintext
.user-center-card {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 480rpx;
|
|
background: var(--brand-gradient-v);
|
|
border-radius: 0 0 40rpx 40rpx;
|
|
padding: 0 24rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 顶部柔光装饰 */
|
|
.user-center-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -120rpx;
|
|
right: -80rpx;
|
|
width: 320rpx;
|
|
height: 320rpx;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.user-center-card__header {
|
|
margin-top: 192rpx;
|
|
margin-bottom: 48rpx;
|
|
height: 96rpx;
|
|
line-height: 48rpx;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
color: var(--text-inverse);
|
|
position: relative;
|
|
}
|
|
|
|
.user-center-card__header__avatar {
|
|
width: 128rpx;
|
|
height: 128rpx;
|
|
margin-top: -16rpx;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 4rpx solid rgba(255, 255, 255, 0.6);
|
|
box-shadow: 0 8rpx 24rpx rgba(229, 84, 15, 0.35);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.user-center-card__header__name {
|
|
font-size: 38rpx;
|
|
line-height: 48rpx;
|
|
color: var(--text-inverse);
|
|
font-weight: 600;
|
|
margin-left: 24rpx;
|
|
margin-right: 16rpx;
|
|
}
|
|
|
|
.user-center-card__header__transparent {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
background-color: transparent;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.user-center-card__icon {
|
|
line-height: 96rpx;
|
|
}
|