Files
peko-h5/view/peko/activity/act-2023-qx/css/index.css
2023-08-18 19:36:31 +08:00

201 lines
4.1 KiB
CSS

body {
width: 100%;
height: 21.6533333333rem;
background: linear-gradient(90deg, #9980FF, #EB8FEA);
margin: 0 auto;
box-sizing: border-box;
}
.back {
position: fixed;
top: 0.9333333333rem;
left: 0.4533333333rem;
z-index: 9999;
width: 0.8266666667rem;
height: 0.8266666667rem;
}
.back img {
width: 100%;
height: 100%;
}
.back p {
color: #fff;
font-size: 0.4266666667rem;
position: absolute;
width: 9rem;
left: 0;
top: 0;
height: 100%;
text-align: center;
line-height: 0.8266666667rem;
}
.header {
width: 10rem;
height: 10.9066666667rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto -1.4rem;
position: relative;
}
.header .rule {
width: 1.84rem;
height: 0.6133333333rem;
line-height: 0.6133333333rem;
text-align: center;
position: absolute;
top: 0.8666666667rem;
right: 0;
color: #F8F3FC;
font-size: 0.3466666667rem;
background: url(../images/rule_bg.png) no-repeat;
background-size: 100% 100%;
}
.betrothal {
width: 9.28rem;
height: 4.2533333333rem;
background: url(../images/betrothal.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0.4rem;
position: relative;
z-index: 2;
box-sizing: border-box;
padding-top: 1.5733333333rem;
}
.betrothal .swiper {
width: 8.52rem;
height: 2.32rem;
margin: 0 auto 0;
overflow: hidden;
}
.betrothal .swiper .swiper-wrapper .swiper-slide img {
display: block;
width: 100%;
height: 100%;
}
.tab {
width: 9.3333333333rem;
height: 1.0666666667rem;
display: flex;
justify-content: space-between;
margin: 0 auto 0.16rem;
}
.tab div {
width: 25%;
height: 100%;
}
.tab1 {
background: url(../images/tab1.png) no-repeat;
background-size: 100% 100%;
}
.tab2 {
background: url(../images/tab2.png) no-repeat;
background-size: 100% 100%;
}
.tab3 {
background: url(../images/tab3.png) no-repeat;
background-size: 100% 100%;
}
.tab4 {
background: url(../images/tab4.png) no-repeat;
background-size: 100% 100%;
}
.blessingBag {
width: 8.88rem;
height: 5.04rem;
background: url(../images/blessingBag.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0.4933333333rem;
position: relative;
}
.blessingBag .blessingBag_in {
width: 7.9rem;
height: 2rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 2.4rem;
border-radius: 0.1333333333rem;
overflow: hidden;
}
.blessingBag .blessingBag_in::-webkit-scrollbar {
width: 0;
display: none;
}
.blessingBag .blessingBag_in ul {
height: 100%;
width: 11.2rem;
position: absolute;
left: 0;
animation: scrollLeft 3s linear infinite;
}
.blessingBag .blessingBag_in ul li {
width: 1.8666666667rem;
height: 1.8666666667rem;
background: url(../images/blessingBagLiBg.png) no-repeat;
background-size: 100% 100%;
float: left;
margin-top: 0.045rem;
position: relative;
}
.blessingBag .blessingBag_in ul li img {
position: absolute;
left: 51%;
top: 50%;
border-radius: 50%;
width: 1.2533333333rem;
height: 1.2533333333rem;
transform: translate(-50%, -50%);
}
.blessingBag .blessingBag_in ul li b {
padding: 0 0.0933333333rem;
height: 0.2666666667rem;
line-height: 0.2666666667rem;
text-align: center;
color: #fff;
background: linear-gradient(0deg, #DC87FF, #BF2BED, #DD89FF);
font-size: 0.1733333333rem;
border-radius: 0px 0.1333333333rem 0px 0.2533333333rem;
position: absolute;
top: 0.1066666667rem;
right: 0.0666666667rem;
}
.blessingBag .blessingBag_in ul li p {
width: 1.68rem;
height: 0.3146666667rem;
line-height: 0.3146666667rem;
background: linear-gradient(90deg, #FB80C3, rgba(253, 252, 254, 0.1));
position: absolute;
left: 0.0933333333rem;
bottom: 0.2933333333rem;
color: #fff;
font-size: 0.1733333333rem;
box-sizing: border-box;
padding-left: 0.0666666667rem;
}
@keyframes scrollLeft {
0% {
left: 0;
}
100% {
left: -3.3rem;
}
}
.magpieBridge {
width: 9.28rem;
height: 9.7333333333rem;
background: url(../images/magpieBridge.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0.4933333333rem;
}
/*# sourceMappingURL=index.css.map */