/* header */ .top { width: 100%; position: fixed; background: #fff; top: 0; z-index: 555; } .header { width: 94%; padding: 3%; display: flex; align-items: center; border-bottom: none; } .header div { float: left; position: relative; } .header .logo { width: .37rem; height: .23rem; } .header img { width: 100%; } .search { width: 2.7rem; height: .32rem; padding-left: .06rem; padding-right: .17rem; } .search img { width: 0.18rem; position: absolute; top: 0.07rem; left: 0.15rem; } .search input { width: 2.4rem; height: 100%; padding-left: 0.35rem; border: none; border-radius: .16rem; background-color: #f9f9f9; } .search input::-webkit-input-placeholder { font-size: .14rem; } .menu { width: .2rem; } .nav { width: 100%; overflow: auto; border-bottom: 0.01rem solid #EEEEEE; display: none; } .nav li { width: 20%; height: 0.44rem; float: left; display: flex; align-items: center; justify-content: center; } .nav li a { display: block; width: 100%; height: 100%; font-size: 0.16rem; text-align: center; line-height: 0.44rem; } /* right side bar */ .warp-sidebar { display: none; width: 100%; height: 100%; position: fixed; top: 0.54rem; background-color: rgba(0, 0, 0, 0.7); z-index: 9999; } .sidebar { width: 2.56rem; height: calc(100% - 0.54rem); background: #fff; position: absolute; right: -2.56rem; overflow: auto; } .user-heade { height: 1.15rem; text-align: center; font-size: .18rem; font-weight: bold; background: #F9F9F9; } .user-heade div { width: 0.64rem; margin: auto; padding-top: .11rem; } .user-heade img { width: 100%; height: 100%; border-radius: 50%; } .user-heade p { margin-top: 0.05rem; } .sidebar-nav li { width: 100%; height: 0.435rem; font-size: 0.15rem; font-weight: bold; border-top: solid 0.01rem #EEEEEE; } .sidebar-nav li:last-child img { margin-left: 0.33rem; } .sidebar-nav li a { width: 100%; height: 100%; text-align: center; display: flex; align-items: center; justify-content: center; } .sidebar-nav li img { width: 0.18rem; margin-right: 0.12rem; } .sidebar>p { font-size: 0.14rem; color: #999999; text-align: center; padding: 0.15rem; border-top: 0.01rem solid #EEEEEE; } .sidebar>a { color: #fff; font-size: 0.18rem; display: flex; width: 100%; height: 0.45rem; align-items: center; justify-content: center; background: #FF9E33; transition: background-color .2s ease-in-out 0s; } /* slide */ .warp-content { margin-top: 0.6rem; } .swiper-container { width: 100%; height: 100%; } .swiper-slide { font-size: 18px; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .swiper-slide { width: 3.35rem; height: 1.4rem; margin-top: 0.05rem; } .swiper-slide-active { width: 3.35rem; height: 1.5rem; margin-top: 0rem; } .swiper-slide a { display: block; width: 100%; height: 100%; } .swiper-slide a img { height: 100%; width: 100%; border-radius: 0.05rem; } .swiper-pagination-bullet { background: #fff; opacity: 1; width: 0.08rem; height: 0.08rem; } .swiper-pagination-bullet-active { background: #51a7ff; } /* classified-nav */ .classified-nav { display: flex; justify-content: space-around; padding: 0.25rem 0 0.1rem 0; border-bottom: 0.1rem solid #F9F9F9; } .classified-nav a { display: block; width: 0.5rem; font-size: 0.14rem; text-align: center; } .classified-nav a img { width: 0.3rem; display: block; margin: auto; margin-bottom: 0.08rem; } /* hot game */ .hot-game .title, .new-game .title, .open-service .title { padding: 0.14rem 0.1rem; font-size: 0.16rem; } .hot-game .title img, .new-game .title img { width: 0.22rem; float: left; margin-right: 0.07rem; } .hot-game-list { display: flex; justify-content: space-around; margin: 0 0.05rem; } .hot-game-info { width: 1.11rem; color: #fff; text-align: center; border-radius: 0.05rem; } .hot-game-info a { color: #fff; } .hot-game-info:first-child { background: url(../../images/mobile/bg/yellow.png); background-size: 100% 100%; } .hot-game-info:nth-child(2) { background: url(../../images/mobile/bg/red.png); background-size: 100% 100%; } .hot-game-info:nth-child(3) { background: url(../../images/mobile/bg/purple.png); background-size: 100% 100%; } .hot-game-info img { width: 0.74rem; height: 0.74rem; margin-top: 0.14rem; margin-bottom: 0.05rem; border-radius: 0.15rem; } .hot-game-info h4 { font-size: 0.12rem; margin: auto; width: 0.74rem; height: 0.24rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hot-game-info p { font-size: 0.1rem; margin-bottom: 0.05rem; } .hot-game-info p span { padding: 0 0.04rem; } .hot-game-info .download a { color: #fff; font-size: 0.14rem; width: 100%; height: 0.3rem; align-items: center; display: flex; justify-content: center; } .more-hot-game { color: #BCBCBC; font-size: 0.14rem; display: block; text-align: center; padding: 0.18rem 1.4rem; border-bottom: 0.1rem solid #f9f9f9; } .more-hot-game img { width: 0.16rem; margin-left: 0.05rem; margin-top: 0.03rem; } /* new game && recommend game*/ .new-game .title { overflow: auto; border-bottom: 0.01rem solid #F9F9F9; } .open-service .title { overflow: auto; } .new-game .title h4, .open-service .title h4 { float: left; } .new-game .title a, .open-service .title a { float: right; color: #BCBCBC; font-size: 0.14rem; } .new-game-list { display: flex; flex-wrap: wrap; justify-content: space-around; padding-top: 0.08rem; padding-bottom: 0.2rem; border-bottom: 0.1rem solid #F9F9F9; } .new-game-info { width: 25%; text-align: center; margin: 0.08rem 0; } .new-game-info img { width: 0.67rem; height: 0.67rem; margin-bottom: 0.12rem; } .new-game-info h4 { font-size: 0.15rem; margin: auto; width: 0.74rem; height: 0.24rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .new-game-info p { text-align: center; font-size: 0.12rem; color: #999999; } .new-game-info p span { padding: 0 0.04rem; } .new-game-info .download a { display: flex; align-items: center; justify-content: center; width: 0.63rem; height: 0.28rem; color: #FF9A1C; font-size: 0.14rem; border: 0.01rem solid #FF9A1C; border-radius: 0.2rem; margin: auto; margin-top: 0.12rem; } /* rank list */ .rank { border-bottom: 0.1rem solid #f9f9f9; } .top-three { background: url(../../images/mobile/bg/rank-bg.png); background-size: 100% 100%; } .top-three i { display: block; float: left; width: 5px; height: 16px; background: #fff; border-radius: 2px; margin: 0.05rem 0.1rem 0 0; } .top-three h4 { color: #fff; font-size: 0.16rem; padding: 0.1rem; } .top-three-list { display: flex; justify-content: space-around; margin: 0 0.05rem; align-items: flex-end; padding-bottom: 0.1rem; } .top-three-list h4 { color: #262626; font-size: 0.15rem; padding: 0 0.14rem; height: 0.22rem; margin: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .top-three-list p { font-size: 0.12rem; } .top-three-list .download a { display: block; color: #fff; font-size: 0.14rem; background: #FFB90F; width: 0.63rem; height: 0.28rem; margin: 0.08rem auto; line-height: 0.28rem; text-align: center; border-radius: 0.2rem; } .top-three-list p span { padding: 0 0.03rem; } .top-two-info { position: relative; width: 1.04rem; text-align: center; background: #FFFFFF; border-radius: 0.1rem; } .top-two-info .game-icon { width: 0.73rem; height: 0.73rem; margin: 0.15rem 0; } .top-two-info .rank-icon { position: absolute; width: 0.18rem; right: 0.03rem; top: 0.04rem; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=0.45); } .top-one-info { position: relative; width: 1.23rem; text-align: center; background: #FFFFFF; border-radius: 0.1rem; } .top-one-info .game-icon { width: 0.93rem; height: 0.93rem; margin-top: 0.15rem; margin-bottom: 0.08rem; } .top-one-info .rank-icon { position: absolute; width: 0.23rem; right: 0; top: 0; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=0.45); } .top-three-info { position: relative; width: 0.92rem; text-align: center; background: #FFFFFF; border-radius: 0.1rem; } .top-three-info .game-icon { width: 0.6rem; height: 0.6rem; margin: 0.15rem 0; } .top-three-info .rank-icon { position: absolute; width: 0.16rem; right: 0.05rem; top: 0.04rem; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=0.45); } .game-info { position: relative; margin: 0.1rem; display: flex; align-items: center; /* justify-content: space-between; */ padding-bottom: 0.1rem; border-bottom: 0.01rem solid #EEEEEE; } .game-info:last-child { border-bottom: none; } .rankid { position: absolute; font-size: 0.15rem; color: #fff; left: 0; width: 0.55rem; height: 0.32rem; top: 0px; line-height: 0.25rem; padding-left: 0.05rem; font-family: ButterBody; background: linear-gradient(-40deg, transparent 62%, #FF9A1C 0%); background-size: 100% 100%; border-top-left-radius: 0.15rem; } .game-info img { width: 0.67rem; float: left; border-radius: 0.15rem; } .game-info .content { float: left; width: 2rem; height: 0.67rem; margin-left: 0.1rem; display: flex; flex-wrap: wrap; align-items: center; } .game-info .content h4 { padding: 0; font-size: 0.14rem; border-bottom: none; width: 100%; height: 0.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .game-info .content p { width: 100%; color: #999999; font-size: 0.12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .game-info .content p span { padding: 0.04rem; } .game-info .download a, .game-info .order a { display: flex; align-items: center; justify-content: center; float: right; color: #FF9A1C; font-size: 0.14rem; background: #FFF; width: 0.63rem; height: 0.28rem; border: 0.01rem solid #FF9A1C; border-radius: 0.2rem; } /* open server */ .open-service { border-bottom: 0.1rem solid #F9F9F9; } .open-service .title span { width: 5px; height: 16px; display: block; float: left; margin-top: 0.04rem; margin-right: 0.1rem; background: #FF9A1C; border-radius: 2px; } .highlight { color: #FFB50F !important; } .game-info .gift { width: 0.23rem; position: absolute; top: -7px; left: 0.5rem; } /* Game Category */ .game-category { background: #F9F9F9; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 0.1rem; } .game-category-list { width: 1.73rem; height: 0.93rem; display: flex; align-items: center; background: #fff; margin-bottom: 0.1rem; } .game-category-list img { width: 0.75rem; height: 0.75rem; margin-left: 0.13rem; } .game-category-list .content { margin-left: 0.2rem; } .game-category-list .content h4 { font-size: 0.18rem; margin-bottom: 0.24rem; } .game-category-list .content p { font-size: 0.12rem; color: #999999; } /* 6y app download */ .app-download { padding: 0.1rem 0.2rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.1rem solid #f9f9f9; } .app-download img { width: 0.31rem; } .app-download p { font-size: 0.15rem; font-weight: bold; } /* adv bottom */ .adv-bottom { position: fixed; bottom: 0; width: 100%; color: #fff; padding: 0.1rem; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; z-index: 111; } .adv-bottom img { width: 0.4rem; margin-right: 0.1rem; } .adv-bottom a { display: block; width: 0.82rem; height: 0.28rem; line-height: 0.28rem; text-align: center; color: #fff; font-size: 0.14rem; background: #FF9E33; border-radius: 0.2rem; } .adv-bottom .close { width: 0.15rem; margin-left: 0.05rem; margin-top: -0.35rem; } .adv-bottom div { margin-right: 0.7rem; } .adv-bottom h4 { font-size: 0.15rem; } .adv-bottom p { font-size: 0.12rem; } /* footer */ .footer { padding-top: 0.25rem; padding-bottom: 0.75rem; } .footer p,.bottom-link p { display: flex; justify-content: space-between; } .footer p:before, .bottom-link p:before, .footer p:after, .bottom-link p:after { content: ''; display: block; } .bottom-link{ padding-top: 0.25rem; } .bottom-link p a, .bottom-link p span { font-size: 0.14rem; font-weight: bold; } .footer .copyright a { font-size: 0.12rem; font-weight: normal; color: #B2B2B2; }