@charset "UTF-8"; /****** 头部 ******/ .header { width: 100%; height: 123px; background: url("../images/header.png") no-repeat center 0; background-size: 100%; display: flex; justify-content: center; z-index: 0; position: relative; } .header h1 { font-family: "title"; font-size: 30px; margin-top: 16px; text-align: center; text-shadow: 0 0 10px #0078FF; } .time { position: absolute; right: 0; font-size: 12px; font-weight: normal; padding: 40px 20px 0 0; } /****** 主体 ******/ .body-content { width: 100%; height: calc(100% - 100px); position: relative; display: flex; justify-content: space-between; z-index: 1; margin-top: -40px; } .side { width: 464px; height: 100%; display: flex; justify-content: center; align-content: space-between; flex-wrap: wrap; } .center { /* width: calc(100% - 1008px);*/ width: 880px; height: 100%; display: flex; justify-content: center; align-content: space-between; flex-wrap: wrap; } .center-1 { width: 100%; height: 63%; position: relative; } .center-2 { width: 100%; height: 30%; padding-bottom: 1%; } .content-box { width: 100%; height: 30%; padding-bottom: 3%; } .box-title { width: 100%; height: 39px; font-family: "title"; font-size: 18px; color: #FFFFFF; text-shadow: 0 0 14px #0078FF; background: url("../images/title-bg.png") no-repeat center 0; background-size: 100%; display: flex; align-items: center; text-indent: 10px; } .chart-box { width: 100%; height: calc(100% - 39px); padding-top: 20px; overflow: hidden; /* background: #444;*/ } /****** 菜单 ******/ .nav { width: 100%; display: flex; justify-content: space-around; padding: 20px 70px; } .nav-items { width: 100px; height: 110px; display: flex; justify-content: center; align-content: space-between; flex-wrap: wrap; cursor: pointer; opacity: 0.5; transition: all 0.2s ease-in-out; } .nav-items h2 { font-size: 14px; font-weight: 700; } .nav-1 { width: 100px; height: 80px; background: url("../images/menu-icon-1.svg") no-repeat center 0; background-size: 100%; } .nav-2 { width: 100px; height: 80px; background: url("../images/menu-icon-2.svg") no-repeat center 0; background-size: 100%; } .nav-3 { width: 100px; height: 80px; background: url("../images/menu-icon-3.svg") no-repeat center 0; background-size: 100%; } .nav-4 { width: 100px; height: 80px; background: url("../images/menu-icon-4.svg") no-repeat center 0; background-size: 100%; } .nav-items:hover, .nav-active { opacity: 1; } /****** 统计 ******/ .s-box { width: 100%; height: calc(100% - 150px); position: relative; } .statistics { width: 217px; position: absolute; background-size: 100%; } .t-1 { width: 217px; height: 118px; background: url("../images/t-1.svg") no-repeat 0 0; top: 40%; left: 7%; } .t-2 { width: 217px; height: 118px; background: url("../images/t-2.svg") no-repeat 0 0; top: 26%; right: 17%; } .t-3 { width: 237px; height: 138px; background: url("../images/t-3.svg") no-repeat 0 0; top: 60%; right: 6%; } .s-title { font-size: 14px; color: #81B1C7; } .s-number { font-family: "number"; font-size: 30px; color: #FFFFFF; } /****** 点动画 ******/ .waves { position: relative; width: 20px; height: 20px; border-radius: 50%; -webkit-backface-visibility: hidden; } .wave, .waves:before, .waves:after { position: absolute; background: #EEC36C; width: 20px; height: 20px; content: ""; display: block; border-radius: 50%; -webkit-backface-visibility: hidden; } .waves:before { animation: wave-animate 3s infinite ease-out; } .waves:after { opacity: 0; animation: wave-animate 3s 1.5s infinite ease-out; } @keyframes wave-animate { 0% { transform: scale(0); opacity: 1; transform-origin: center; } 100% { transform: scale(3); opacity: 0; transform-origin: center; } } .box-bigtitle { width: 100%; height: 40px; font-family: "title"; font-size: 18px; color: #FFFFFF; text-align: center; text-shadow: 0 0 14px #0078FF; background: url("../images/big-title-bg.svg") no-repeat center 0; background-size: 100%; display: flex; justify-content: center; align-items: center; } /****** tab ******/ .tab-content { width: 100%; display: flex; justify-content: center; margin-bottom: 20px; } .tab-item { font-size: 12px; color: #848A9B; text-align: center; border: solid 1px #848A9B; border-radius: 30px; padding: 5px 15px; margin: 0 5px; cursor: pointer; transition: all 0.2s ease-in-out; } .tab-item:hover, .tab-active { color: #77F8FF; text-shadow: 0 0 10px #0078FF; border: 1px solid #00F5FF; box-shadow: inset 0 1px 10px #0088FF; } /****** 排行 ******/ .ranking-1 { display: flex; justify-content: center; position: relative; } .ranking-1-item { width: 109px; height: 150px; background-size: 100%; display: flex; justify-content: center; align-content: center; flex-wrap: wrap; position: absolute; } .NO1 { height: 170px; margin: 0 20px 0 20px; background: url("../images/b-1.svg") no-repeat center 0; animation: jump 1s alternate infinite ease-in-out; } .NO2 { left: 35px; background: url("../images/b-2.svg") no-repeat center 0; } .NO3 { right: 35px; background: url("../images/b-3.svg") no-repeat center 0; } @keyframes jump { 0% { top: -20px; } 100% { top: -10px; } } .ranking-1-item-name { width: 100%; font-size: 16px; color: #77F8FF; text-align: center; margin: 60px 0 5px 0; } .ranking-1-item-number { width: 100%; font-family: "number"; font-size: 18px; color: #81B1C7; text-align: center; } .ranking-2 { width: 100%; height: calc(100% - 48px); display: flex; flex-wrap: wrap; align-content: space-between; } .ranking-2-item { width: 100%; height: 20px; display: flex; align-items: center; } .ranking-number { width: 20px; height: 20px; font-family: "title"; font-size: 12px; color: #77F8FF; text-shadow: 0 0 10px #0078FF; display: flex; justify-content: center; align-items: center; background: url("../images/ranking-number-bg.svg") no-repeat center 0; background-size: 100%; } .ranking-column { height: 10px; background-image: linear-gradient(90deg, rgba(0, 168, 255, 0.00) 0%, #006FFF 100%); margin: 0 5px 0 12px; position: relative; font-size: 12px; text-align: right; line-height: 9px; padding-right: 5px; } .ranking-column:before { content: ''; width: 1px; height: 20px; background: #557786; left: 0; top: -5px; position: absolute; } .ranking-name { font-size: 14px; font-weight: 700; } /****** 列表 ******/ .text-list { width: 100%; display: flex; flex-wrap: wrap; animation: imagesLoop 15s linear 1s infinite normal; } .text-list-item { width: 100%; height: 48px; display: flex; justify-content: space-between; align-items: center; border-bottom: solid 1px rgba(119, 248, 255, 0.2); } .list-left { width: calc(100% - 95px); font-size: 14px; font-weight: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .list-right { width: 85px; font-size: 12px; color: #81B1C7; font-weight: normal; } @keyframes imagesLoop { 0% { transform: translateY(0px); } 100% { transform: translateY(-480px); } }