Files
persionalBrand/packages/template-acheng-campus-food/miniapp/components/templates/acheng-profile/acheng-profile.wxss
T

115 lines
2.0 KiB
Plaintext

.profile-card {
overflow: hidden;
border: 1rpx solid #f5f5f4;
border-radius: 48rpx;
background: #fff;
box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.04);
}
.portrait {
position: relative;
height: 416rpx;
background: #e7e5e4;
}
.portrait image {
width: 100%;
height: 100%;
object-position: top;
}
.identity {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
padding: 32rpx;
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
color: #fff;
}
.badge {
margin-bottom: 8rpx;
padding: 4rpx 16rpx;
border-radius: 99rpx;
background: #f97316;
color: #fff;
font-size: 20rpx;
font-weight: 700;
}
.name {
display: block;
font-size: 32rpx;
font-weight: 700;
}
.title {
display: block;
margin-top: 4rpx;
color: #e7e5e4;
font-size: 22rpx;
}
.story {
padding: 32rpx;
}
.story-lead {
display: block;
margin-bottom: 20rpx;
color: #1c1917;
font-size: 28rpx;
font-weight: 500;
line-height: 1.6;
white-space: pre-wrap;
}
.bio {
display: block;
color: #44403c;
font-size: 24rpx;
line-height: 1.65;
white-space: pre-wrap;
}
.standards {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16rpx;
margin-top: 32rpx;
padding-top: 24rpx;
border-top: 1rpx solid #f5f5f4;
}
.standard {
padding: 20rpx 8rpx;
text-align: center;
border: 1rpx solid #f5f5f4;
border-radius: 32rpx;
background: #fafaf9;
}
.standard-icon {
display: block;
width: 40rpx;
height: 40rpx;
margin: 0 auto 8rpx;
}
.standard-title,
.standard-detail {
display: block;
}
.standard-title {
color: #292524;
font-size: 22rpx;
font-weight: 700;
}
.standard-detail {
margin-top: 4rpx;
color: #a8a29e;
font-size: 18rpx;
line-height: 1.5;
}
.credential-copy {
margin-top: 24rpx;
padding-top: 24rpx;
border-top: 1rpx solid #f5f5f4;
}
.credential-title {
display: block;
margin-bottom: 8rpx;
font-size: 24rpx;
font-weight: 700;
}