Files
peko-h5/view/peko/activity/act-61/css/index.css
2022-09-08 18:22:18 +08:00

223 lines
4.0 KiB
CSS

@font-face {
font-family: 'pingfang';
src: url("../fonts/PingFangSCRegular.ttf");
src: url("../fonts/PingFangSCRegular.ttf") format("woff"), url("../fonts/PingFangSCRegular.ttf") format("truetype"), url("../fonts/PingFangSCRegular.ttf") format("svg");
}
html,
body {
background: #BAE9FB;
font-family: 'pingfang';
}
.max {
width: 10rem;
margin: 0 auto;
height: 35.76rem;
background: url("../images/bg.png") no-repeat;
background-size: 100% 13.49333rem;
position: relative;
}
.max .canter {
position: absolute;
top: 8.02667rem;
left: 50%;
transform: translateX(-50%);
width: 9.2rem;
height: 24rem;
background: url("../images/game.png") no-repeat;
background-size: 100% 100%;
}
.max .canter .game-button {
width: 100%;
height: 8rem;
display: flex;
flex-direction: column;
align-items: center;
}
.max .canter .game-button .game-tit {
width: 5.48rem;
height: 1.8rem;
margin-top: 1.21333rem;
}
.max .canter .game-button .game-show {
width: 2.68rem;
height: 0.94667rem;
margin-top: 0.45333rem;
}
.max .canter .game-button div {
display: flex;
width: 82%;
justify-content: space-around;
margin-top: 0.48rem;
}
.max .canter .game-button div p {
width: 2.93333rem;
height: 0.85333rem;
}
.max .canter .game-button div p:first-child {
background: url("../images/m2.png") no-repeat;
background-size: 100% 100%;
}
.max .canter .game-button div p:last-child {
background: url("../images/m1.png") no-repeat;
background-size: 100% 100%;
}
.max .bottom {
width: 9.2rem;
height: 13.33333rem;
margin-top: 2.61333rem;
box-sizing: border-box;
padding: 0rem 0.70667rem;
}
.max .bottom .expalin-list {
font-size: 0.4rem;
overflow: hidden;
}
.max .bottom .expalin-list p {
float: left;
}
.max .bottom .expalin-list p:first-child {
width: 0.8rem;
margin-top: 0.05333rem;
}
.max .bottom .expalin-list p:first-child span {
font-weight: bold;
}
.max .bottom .expalin-list p:last-child {
width: 6.66667rem;
line-height: 0.61333rem;
}
.max .bottom .expalin-list p:last-child span {
line-height: 0.61333rem;
font-weight: 900;
color: #042099;
}
.max .bottom .expalin-list p:last-child span span {
color: #35A4FE;
}
.max .bottom .expalin-list .serial {
display: inline-block;
border-radius: 50%;
background: #81D0FF;
width: 0.48rem;
color: #056EC3;
line-height: 0.48rem;
text-align: center;
}
.max .bottom .apple {
text-align: center;
margin-top: 1.2rem;
font-size: 0.32rem;
color: #1D7DFF;
}
.max .bottom .gift {
height: 5.6rem;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 0.94667rem;
box-sizing: border-box;
overflow: hidden;
}
.max .bottom .gift div {
position: relative;
}
.max .bottom .gift div span {
position: absolute;
width: 1.86667rem;
right: -0.93333rem;
top: -0.4rem;
line-height: 0.66667rem;
background: #FFFF00;
border-radius: 0.13333rem;
text-align: center;
font-weight: bold;
}
.max .bottom .gift img {
width: 3.2rem;
height: 3.2rem;
}
.max .bottom .gift p {
font-size: 0.34667rem;
color: #031877;
text-align: center;
font-weight: bold;
margin-top: 0.2rem;
}
.max .bottom .explain {
margin: 0.48rem 0 0.29333rem;
margin-left: -0.22667rem;
display: block;
width: 2.17333rem;
height: 0.8rem;
background: url("../images/explain.png") no-repeat;
background-size: 100% 100%;
}
.max .user {
width: 10rem;
height: 2.4rem;
position: fixed;
background: #81d0ff;
bottom: 0;
left: 0;
display: flex;
align-items: center;
color: #15209e;
border-top: 2px solid #15209e;
}
.max .user img {
width: 1.6rem;
height: 1.6rem;
overflow: hidden;
border-radius: 50%;
margin-left: 0.4rem;
}
.max .user .user-name {
width: 3.2rem;
font-size: 0.4rem;
font-weight: bold;
margin-left: 0.53333rem;
}
.max .user .receive,
.max .user .out {
text-align: center;
width: 2rem;
}
.max .user .receive span,
.max .user .out span {
display: block;
font-weight: bold;
font-size: 0.37333rem;
line-height: 0.53333rem;
}