style.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. @charset "UTF-8";
  2. /****** 头部 ******/
  3. .header {
  4. width: 100%;
  5. height: 123px;
  6. background: url("../images/header.png") no-repeat center 0;
  7. background-size: 100%;
  8. display: flex;
  9. justify-content: center;
  10. z-index: 0;
  11. position: relative;
  12. }
  13. .header h1 {
  14. font-family: "title";
  15. font-size: 30px;
  16. margin-top: 16px;
  17. text-align: center;
  18. text-shadow: 0 0 10px #0078FF;
  19. }
  20. .time {
  21. position: absolute;
  22. right: 0;
  23. font-size: 12px;
  24. font-weight: normal;
  25. padding: 40px 20px 0 0;
  26. }
  27. /****** 主体 ******/
  28. .body-content {
  29. width: 100%;
  30. height: calc(100% - 100px);
  31. position: relative;
  32. display: flex;
  33. justify-content: space-between;
  34. z-index: 1;
  35. margin-top: -40px;
  36. }
  37. .side {
  38. width: 464px;
  39. height: 100%;
  40. display: flex;
  41. justify-content: center;
  42. align-content: space-between;
  43. flex-wrap: wrap;
  44. }
  45. .center {
  46. /* width: calc(100% - 1008px);*/
  47. width: 880px;
  48. height: 100%;
  49. display: flex;
  50. justify-content: center;
  51. align-content: space-between;
  52. flex-wrap: wrap;
  53. }
  54. .center-1 {
  55. width: 100%;
  56. height: 63%;
  57. position: relative;
  58. }
  59. .center-2 {
  60. width: 100%;
  61. height: 30%;
  62. padding-bottom: 1%;
  63. }
  64. .content-box {
  65. width: 100%;
  66. height: 30%;
  67. padding-bottom: 3%;
  68. }
  69. .box-title {
  70. width: 100%;
  71. height: 39px;
  72. font-family: "title";
  73. font-size: 18px;
  74. color: #FFFFFF;
  75. text-shadow: 0 0 14px #0078FF;
  76. background: url("../images/title-bg.png") no-repeat center 0;
  77. background-size: 100%;
  78. display: flex;
  79. align-items: center;
  80. text-indent: 10px;
  81. }
  82. .chart-box {
  83. width: 100%;
  84. height: calc(100% - 39px);
  85. padding-top: 20px;
  86. overflow: hidden;
  87. /* background: #444;*/
  88. }
  89. /****** 菜单 ******/
  90. .nav {
  91. width: 100%;
  92. display: flex;
  93. justify-content: space-around;
  94. padding: 20px 70px;
  95. }
  96. .nav-items {
  97. width: 100px;
  98. height: 110px;
  99. display: flex;
  100. justify-content: center;
  101. align-content: space-between;
  102. flex-wrap: wrap;
  103. cursor: pointer;
  104. opacity: 0.5;
  105. transition: all 0.2s ease-in-out;
  106. }
  107. .nav-items h2 {
  108. font-size: 14px;
  109. font-weight: 700;
  110. }
  111. .nav-1 {
  112. width: 100px;
  113. height: 80px;
  114. background: url("../images/menu-icon-1.svg") no-repeat center 0;
  115. background-size: 100%;
  116. }
  117. .nav-2 {
  118. width: 100px;
  119. height: 80px;
  120. background: url("../images/menu-icon-2.svg") no-repeat center 0;
  121. background-size: 100%;
  122. }
  123. .nav-3 {
  124. width: 100px;
  125. height: 80px;
  126. background: url("../images/menu-icon-3.svg") no-repeat center 0;
  127. background-size: 100%;
  128. }
  129. .nav-4 {
  130. width: 100px;
  131. height: 80px;
  132. background: url("../images/menu-icon-4.svg") no-repeat center 0;
  133. background-size: 100%;
  134. }
  135. .nav-items:hover, .nav-active {
  136. opacity: 1;
  137. }
  138. /****** 统计 ******/
  139. .s-box {
  140. width: 100%;
  141. height: calc(100% - 150px);
  142. position: relative;
  143. }
  144. .statistics {
  145. width: 217px;
  146. position: absolute;
  147. background-size: 100%;
  148. }
  149. .t-1 {
  150. width: 217px;
  151. height: 118px;
  152. background: url("../images/t-1.svg") no-repeat 0 0;
  153. top: 40%;
  154. left: 7%;
  155. }
  156. .t-2 {
  157. width: 217px;
  158. height: 118px;
  159. background: url("../images/t-2.svg") no-repeat 0 0;
  160. top: 26%;
  161. right: 17%;
  162. }
  163. .t-3 {
  164. width: 237px;
  165. height: 138px;
  166. background: url("../images/t-3.svg") no-repeat 0 0;
  167. top: 60%;
  168. right: 6%;
  169. }
  170. .s-title {
  171. font-size: 14px;
  172. color: #81B1C7;
  173. }
  174. .s-number {
  175. font-family: "number";
  176. font-size: 30px;
  177. color: #FFFFFF;
  178. }
  179. /****** 点动画 ******/
  180. .waves {
  181. position: relative;
  182. width: 20px;
  183. height: 20px;
  184. border-radius: 50%;
  185. -webkit-backface-visibility: hidden;
  186. }
  187. .wave, .waves:before, .waves:after {
  188. position: absolute;
  189. background: #EEC36C;
  190. width: 20px;
  191. height: 20px;
  192. content: "";
  193. display: block;
  194. border-radius: 50%;
  195. -webkit-backface-visibility: hidden;
  196. }
  197. .waves:before {
  198. animation: wave-animate 3s infinite ease-out;
  199. }
  200. .waves:after {
  201. opacity: 0;
  202. animation: wave-animate 3s 1.5s infinite ease-out;
  203. }
  204. @keyframes wave-animate {
  205. 0% {
  206. transform: scale(0);
  207. opacity: 1;
  208. transform-origin: center;
  209. }
  210. 100% {
  211. transform: scale(3);
  212. opacity: 0;
  213. transform-origin: center;
  214. }
  215. }
  216. .box-bigtitle {
  217. width: 100%;
  218. height: 40px;
  219. font-family: "title";
  220. font-size: 18px;
  221. color: #FFFFFF;
  222. text-align: center;
  223. text-shadow: 0 0 14px #0078FF;
  224. background: url("../images/big-title-bg.svg") no-repeat center 0;
  225. background-size: 100%;
  226. display: flex;
  227. justify-content: center;
  228. align-items: center;
  229. }
  230. /****** tab ******/
  231. .tab-content {
  232. width: 100%;
  233. display: flex;
  234. justify-content: center;
  235. margin-bottom: 20px;
  236. }
  237. .tab-item {
  238. font-size: 12px;
  239. color: #848A9B;
  240. text-align: center;
  241. border: solid 1px #848A9B;
  242. border-radius: 30px;
  243. padding: 5px 15px;
  244. margin: 0 5px;
  245. cursor: pointer;
  246. transition: all 0.2s ease-in-out;
  247. }
  248. .tab-item:hover, .tab-active {
  249. color: #77F8FF;
  250. text-shadow: 0 0 10px #0078FF;
  251. border: 1px solid #00F5FF;
  252. box-shadow: inset 0 1px 10px #0088FF;
  253. }
  254. /****** 排行 ******/
  255. .ranking-1 {
  256. display: flex;
  257. justify-content: center;
  258. position: relative;
  259. }
  260. .ranking-1-item {
  261. width: 109px;
  262. height: 150px;
  263. background-size: 100%;
  264. display: flex;
  265. justify-content: center;
  266. align-content: center;
  267. flex-wrap: wrap;
  268. position: absolute;
  269. }
  270. .NO1 {
  271. height: 170px;
  272. margin: 0 20px 0 20px;
  273. background: url("../images/b-1.svg") no-repeat center 0;
  274. animation: jump 1s alternate infinite ease-in-out;
  275. }
  276. .NO2 {
  277. left: 35px;
  278. background: url("../images/b-2.svg") no-repeat center 0;
  279. }
  280. .NO3 {
  281. right: 35px;
  282. background: url("../images/b-3.svg") no-repeat center 0;
  283. }
  284. @keyframes jump {
  285. 0% {
  286. top: -20px;
  287. }
  288. 100% {
  289. top: -10px;
  290. }
  291. }
  292. .ranking-1-item-name {
  293. width: 100%;
  294. font-size: 16px;
  295. color: #77F8FF;
  296. text-align: center;
  297. margin: 60px 0 5px 0;
  298. }
  299. .ranking-1-item-number {
  300. width: 100%;
  301. font-family: "number";
  302. font-size: 18px;
  303. color: #81B1C7;
  304. text-align: center;
  305. }
  306. .ranking-2 {
  307. width: 100%;
  308. height: calc(100% - 48px);
  309. display: flex;
  310. flex-wrap: wrap;
  311. align-content: space-between;
  312. }
  313. .ranking-2-item {
  314. width: 100%;
  315. height: 20px;
  316. display: flex;
  317. align-items: center;
  318. }
  319. .ranking-number {
  320. width: 20px;
  321. height: 20px;
  322. font-family: "title";
  323. font-size: 12px;
  324. color: #77F8FF;
  325. text-shadow: 0 0 10px #0078FF;
  326. display: flex;
  327. justify-content: center;
  328. align-items: center;
  329. background: url("../images/ranking-number-bg.svg") no-repeat center 0;
  330. background-size: 100%;
  331. }
  332. .ranking-column {
  333. height: 10px;
  334. background-image: linear-gradient(90deg, rgba(0, 168, 255, 0.00) 0%, #006FFF 100%);
  335. margin: 0 5px 0 12px;
  336. position: relative;
  337. font-size: 12px;
  338. text-align: right;
  339. line-height: 9px;
  340. padding-right: 5px;
  341. }
  342. .ranking-column:before {
  343. content: '';
  344. width: 1px;
  345. height: 20px;
  346. background: #557786;
  347. left: 0;
  348. top: -5px;
  349. position: absolute;
  350. }
  351. .ranking-name {
  352. font-size: 14px;
  353. font-weight: 700;
  354. }
  355. /****** 列表 ******/
  356. .text-list {
  357. width: 100%;
  358. display: flex;
  359. flex-wrap: wrap;
  360. animation: imagesLoop 15s linear 1s infinite normal;
  361. }
  362. .text-list-item {
  363. width: 100%;
  364. height: 48px;
  365. display: flex;
  366. justify-content: space-between;
  367. align-items: center;
  368. border-bottom: solid 1px rgba(119, 248, 255, 0.2);
  369. }
  370. .list-left {
  371. width: calc(100% - 95px);
  372. font-size: 14px;
  373. font-weight: normal;
  374. overflow: hidden;
  375. text-overflow: ellipsis;
  376. white-space: nowrap;
  377. }
  378. .list-right {
  379. width: 85px;
  380. font-size: 12px;
  381. color: #81B1C7;
  382. font-weight: normal;
  383. }
  384. @keyframes imagesLoop {
  385. 0% {
  386. transform: translateY(0px);
  387. }
  388. 100% {
  389. transform: translateY(-480px);
  390. }
  391. }