Files
peko-h5/view/peko/modules/charm/css/index.css
2023-11-16 21:41:53 +08:00

223 lines
4.2 KiB
CSS

html,
body {
width: 100%;
height: 100%;
}
img {
vertical-align: top;
}
.rank-three {
width: 100%;
height: 6.02667rem;
background: url("../images/top-bg.png");
background-size: 100% 100%;
}
.rank-three .rank-three-detail {
position: absolute;
z-index: 2;
width: 2.93333rem;
height: 4.26667rem;
display: flex;
flex-direction: column;
align-items: center;
}
.rank-three .rank-three-detail .user-img {
width: 2.58667rem;
height: 2.58667rem;
position: relative;
}
.rank-three .rank-three-detail .user-img .ranking-bg {
width: 2.58667rem;
height: 2.58667rem;
position: relative;
z-index: 3;
background: url("../images/one.png");
background-size: 100% 100%;
}
.rank-three .rank-three-detail .user-img img {
width: 1.6rem;
height: 1.6rem;
position: absolute;
top: 0.48rem;
left: 0.48rem;
border-radius: 50%;
}
.rank-three .rank-three-detail .user-img img.un-url {
background: #fff;
}
.rank-three .rank-three-detail .user-nick {
font-size: 0.37333rem;
font-weight: bold;
color: #fff;
}
.rank-three .rank-three-detail .user-grade {
display: flex;
height: 0.53333rem;
align-items: center;
}
.rank-three .rank-three-detail .user-grade img {
height: 0.5rem;
width: 1rem;
}
.rank-three .rank-three-detail .user-grade img:last-child {
height: 0.5rem;
width: 1rem;
margin-left: 0.05333rem;
}
.rank-three .rank-three-detail .user-grade img.active {
display: none;
}
.rank-three .rank-three-detail .user-charm {
height: 0.58667rem;
background: rgba(255, 255, 255, 0.2);
min-width: 1.86667rem;
padding: 0 0.08rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 0.29333rem;
}
.rank-three .rank-three-detail .user-charm img {
width: 0.32rem;
height: 0.26667rem;
margin-right: 0.05333rem;
}
.rank-three .rank-three-detail .user-charm span {
color: #7154ee;
font-size: 0.37333rem;
}
.rank-three .rank-three-detail:first-child {
top: 0.18667rem;
left: 3.52rem;
}
.rank-three .rank-three-detail:first-child .user-img .ranking-bg {
background: url("../images/one.png");
background-size: 100% 100%;
}
.rank-three .rank-three-detail:first-child .user-img img {
position: absolute;
}
.rank-three .rank-three-detail:nth-child(2) {
top: 1.04rem;
left: 0.53333rem;
}
.rank-three .rank-three-detail:nth-child(2) .user-img .ranking-bg {
background: url("../images/two.png");
background-size: 100% 100%;
}
.rank-three .rank-three-detail:nth-child(3) {
top: 1.28rem;
right: 0.53333rem;
}
.rank-three .rank-three-detail:nth-child(3) .user-img .ranking-bg {
background: url("../images/three.png");
background-size: 100% 100%;
}
.renk-other {
padding-bottom: 0.53333rem;
}
.renk-other .rank-other-detail {
margin-bottom: 0.53333rem;
display: flex;
align-items: center;
}
.renk-other .rank-other-detail .user-rank {
width: 1.2rem;
text-align: center;
font-size: 0.53333rem;
color: #333333;
}
.renk-other .rank-other-detail .user-img {
width: 1.33333rem;
height: 1.33333rem;
border-radius: 50%;
}
.renk-other .rank-other-detail .user-detail {
margin-left: 0.66667rem;
width: 4.8rem;
}
.renk-other .rank-other-detail .user-detail .nick {
font-size: 0.4rem;
font-weight: 600;
color: #333;
}
.renk-other .rank-other-detail .user-detail .user-grade {
display: flex;
height: 0.53333rem;
align-items: center;
}
.renk-other .rank-other-detail .user-detail .user-grade img {
height: 0.5rem;
width: 1rem;
}
.renk-other .rank-other-detail .user-detail .user-grade img:last-child {
height: 0.5rem;
width: 1rem;
margin-left: 0.05333rem;
}
.renk-other .rank-other-detail .user-detail .user-grade img.active {
display: none;
}
.renk-other .rank-other-detail .user-charm {
height: 0.58667rem;
background: rgba(255, 255, 255, 0.2);
width: 2.4rem;
display: flex;
align-items: center;
border-radius: 0.29333rem;
}
.renk-other .rank-other-detail .user-charm img {
width: 0.32rem;
height: 0.26667rem;
margin-right: 0.05333rem;
}
.renk-other .rank-other-detail .user-charm span {
color: #333;
font-size: 0.37333rem;
}
.message {
display: none;
position: fixed;
bottom: 0.53333rem;
left: 50%;
transform: translateX(-50%);
font-size: 0.42667rem;
color: #000;
}