Files

275 lines
5.8 KiB
CSS

@font-face {
font-family: 'pingfang-bold';
src: url("../../../common/fonts/PingFang Bold.ttf");
src: url("../../../common/fonts/PingFang Bold.ttf") format("woff"), url("../../../common/fonts/PingFang Bold.ttf") format("truetype"), url("../../../common/fonts/PingFang Bold.ttf") format("svg");
}
@font-face {
font-family: 'din-medium';
src: url("../../../common/fonts/DINCond-Medium.ttf");
src: url("../../../common/fonts/DINCond-Medium.ttf") format("woff"), url("../../../common/fonts/DINCond-Medium.ttf") format("truetype"), url("../../../common/fonts/DINCond-Medium.ttf") format("svg");
}
@font-face {
font-family: 'pingfang-medium';
src: url("../../../common/fonts/PingFang-Medium.ttf");
src: url("../../../common/fonts/PingFang-Medium.ttf") format("woff"), url("../../../common/fonts/PingFang-Medium.ttf") format("truetype"), url("../../../common/fonts/PingFang-Medium.ttf") format("svg");
}
@font-face {
font-family: 'pingfang-regular';
src: url("../../../common/fonts/PingFang-Regular.ttf");
src: url("../../../common/fonts/PingFang-Regular.ttf") format("woff"), url("../../../common/fonts/PingFang-Regular.ttf") format("truetype"), url("../../../common/fonts/PingFang-Regular.ttf") format("svg");
}
html, body {
font-family: 'pingfang-bold';
position: relative;
}
.rank-top {
height: 6.66667rem;
background-image: linear-gradient(#3491F5, #60C7FC);
overflow: hidden;
}
.rank-top .tab-wrap {
font-family: 'pingfang-regular';
width: 5.33333rem;
height: 0.93333rem;
background-color: #7ABDF9;
border-radius: 0.48rem;
margin: 0.48rem auto 0.29333rem;
}
.rank-top .tab-wrap span {
display: inline-block;
width: 2.53333rem;
height: 0.8rem;
line-height: 0.8rem;
text-align: center;
font-size: 0.4rem;
color: white;
margin-top: 0.06667rem;
}
.rank-top .tab-wrap span:first-child {
margin-left: 0.08rem;
}
.rank-top .tab-wrap .active {
background-color: white;
color: #3C9BF7;
border-radius: 0.4rem;
}
.rank-top .topthree-wrap {
position: relative;
}
.rank-top .topthree-wrap .info-wrap {
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
width: 2.66667rem;
height: 3.2rem;
background-image: linear-gradient(#3F9EF7, #52B6FA);
margin-top: 1.68rem;
border-radius: 0.26667rem 0.26667rem 0 0;
}
.rank-top .topthree-wrap .info-wrap:first-child {
width: 3.2rem;
height: 3.73333rem;
margin-top: 1.14667rem;
left: 50%;
transform: translateX(-50%);
}
.rank-top .topthree-wrap .info-wrap:nth-child(2) {
left: 0.48rem;
}
.rank-top .topthree-wrap .info-wrap:nth-child(2) .avatar {
width: 1.86667rem;
height: 2.53333rem;
margin-top: -1.14667rem;
}
.rank-top .topthree-wrap .info-wrap:nth-child(2) .avatar p {
background-image: url("../images/second.png");
}
.rank-top .topthree-wrap .info-wrap:nth-child(2) .avatar img {
width: 1.86667rem;
height: 1.86667rem;
top: -1.97333rem;
}
.rank-top .topthree-wrap .info-wrap:nth-child(3) {
right: 0.48rem;
}
.rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar {
width: 1.86667rem;
height: 2.53333rem;
margin-top: -1.14667rem;
}
.rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar p {
background-image: url("../images/third.png");
}
.rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar img {
width: 1.86667rem;
height: 1.86667rem;
top: -1.97333rem;
}
.rank-top .topthree-wrap .info-wrap .avatar {
width: 2.13333rem;
height: 2.85333rem;
margin-top: -0.93333rem;
}
.rank-top .topthree-wrap .info-wrap .avatar p {
position: relative;
z-index: 99;
height: 100%;
background: url("../images/first.png") no-repeat 0 0/100% 100%;
}
.rank-top .topthree-wrap .info-wrap .avatar img {
position: relative;
z-index: 9;
top: -2.24rem;
width: 2.13333rem;
height: 2.13333rem;
border-radius: 50%;
}
.rank-top .topthree-wrap .info-wrap .nick, .rank-top .topthree-wrap .info-wrap .diamond-num {
font-size: 0.4rem;
font-weight: bold;
color: white;
margin: 0.21333rem 0;
}
.rank-top .topthree-wrap .info-wrap .diamond-num {
font-family: 'din-medium';
margin: 0;
}
.other-rank {
overflow: auto;
position: absolute;
width: 100%;
border-radius: 0.4rem 0.4rem 0 0;
margin-top: -0.34667rem;
background-color: white;
padding: 0.53333rem 0.77333rem 0;
box-sizing: border-box;
}
.other-rank li {
display: flex;
align-items: center;
margin-bottom: 0.53333rem;
}
.other-rank li:last-child {
margin-bottom: 1.86667rem;
}
.other-rank li .index {
display: inline-block;
width: 0.4rem;
font-size: 0.4rem;
font-weight: bold;
color: #333333;
}
.other-rank li .others-info {
flex: 1;
display: flex;
align-items: center;
margin-left: 0.4rem;
}
.other-rank li .others-info img {
width: 1.33333rem;
height: 1.33333rem;
border-radius: 50%;
margin-right: 0.26667rem;
}
.other-rank li .others-info .others-nick {
font-size: 0.37333rem;
font-weight: bold;
color: #333333;
}
.other-rank li .others-diamond-num {
font-size: 0.34667rem;
font-weight: bold;
color: #ED7B50;
}
.mine {
position: fixed;
left: 0;
bottom: 0;
z-index: 999;
width: 100%;
height: 1.6rem;
background-color: rgba(0, 0, 0, 0.8);
padding: 0 0.77333rem;
box-sizing: border-box;
display: flex;
align-items: center;
}
.mine .mine-rank {
font-size: 0.34667rem;
font-weight: bold;
color: white;
}
.mine .mine-info {
flex: 1;
display: flex;
align-items: center;
}
.mine .mine-info img {
width: 1.33333rem;
height: 1.33333rem;
border-radius: 50%;
margin-left: 0.4rem;
margin-right: 0.26667rem;
}
.mine .mine-info .mine-nick {
font-size: 0.37333rem;
font-weight: bold;
color: white;
}
.mine .mine-diamond-num {
font-size: 0.34667rem;
font-weight: bold;
color: #ED7B50;
}
.no-in-app {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 99999;
background-color: white;
}