index.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. li {
  7. list-style: none;
  8. }
  9. @font-face {
  10. font-family: electronicFont;
  11. src: url(../font/DS-DIGIT.TTF);
  12. }
  13. body {
  14. background: url(../images//bg.jpg) no-repeat top center;
  15. /* background-color: grey; */
  16. line-height: 1.15;
  17. }
  18. header {
  19. position: relative;
  20. height: 1.25rem;
  21. background: url(../images/head_bg.png) no-repeat;
  22. background-size: 100% 100%;
  23. }
  24. header h1 {
  25. font-size: 0.475rem;
  26. color: rgba(255, 255, 255, 0.87);
  27. text-align: center;
  28. line-height: 1rem;
  29. }
  30. header .show-time {
  31. position: absolute;
  32. top: 0;
  33. right: 0.375rem;
  34. line-height: 0.9375rem;
  35. color: rgba(255, 255, 255, 0.7);
  36. font-size: 0.25rem;
  37. }
  38. .mainbox {
  39. display: flex;
  40. min-width: 1024px;
  41. max-height: 1920px;
  42. margin: 0 auto;
  43. padding: 0.125rem 0.125rem 0;
  44. }
  45. .mainbox .column {
  46. flex: 3;
  47. }
  48. .mainbox .column:nth-child(2) {
  49. flex: 5;
  50. margin: 0 0.125rem 0.1875rem;
  51. overflow: hidden;
  52. }
  53. .mainbox .panel {
  54. position: relative;
  55. height: 3.875rem;
  56. /* margin-top: 30px; */
  57. padding: 0 0.1875rem 0.5rem;
  58. margin-bottom: 0.1875rem;
  59. border: 1px solid rgba(25, 186, 139, 0.17);
  60. background: url(../images/line.png) rgba(255, 255, 255, 0.03);
  61. }
  62. .mainbox .panel::before {
  63. position: absolute;
  64. top: 0;
  65. left: 0;
  66. width: 10px;
  67. height: 10px;
  68. border-left: 2px solid #02a6b5;
  69. border-top: 2px solid #02a6b5;
  70. content: '';
  71. }
  72. .mainbox .panel::after {
  73. position: absolute;
  74. top: 0;
  75. right: 0;
  76. width: 10px;
  77. height: 10px;
  78. border-right: 2px solid #02a6b5;
  79. border-top: 2px solid #02a6b5;
  80. content: '';
  81. }
  82. .mainbox .panel .panel-footer {
  83. position: absolute;
  84. bottom: 0;
  85. left: 0;
  86. width: 100%;
  87. }
  88. .mainbox .panel .panel-footer::before {
  89. position: absolute;
  90. bottom: 0;
  91. left: 0;
  92. width: 10px;
  93. height: 10px;
  94. border-left: 2px solid #02a6b5;
  95. border-bottom: 2px solid #02a6b5;
  96. content: '';
  97. }
  98. .mainbox .panel .panel-footer::after {
  99. position: absolute;
  100. bottom: 0;
  101. right: 0;
  102. width: 10px;
  103. height: 10px;
  104. border-right: 2px solid #02a6b5;
  105. border-bottom: 2px solid #02a6b5;
  106. content: '';
  107. }
  108. .mainbox .panel h2 {
  109. height: 0.6rem;
  110. color: #fff;
  111. line-height: 0.6rem;
  112. text-align: center;
  113. font-size: 0.25rem;
  114. font-weight: 400;
  115. }
  116. .mainbox .panel h2 a {
  117. color: #a7a7a7;
  118. text-decoration: none;
  119. margin: 0 0.125rem;
  120. }
  121. .mainbox .panel h2 .a-active {
  122. color: #fff;
  123. }
  124. .mainbox .panel .chart {
  125. height: 3rem;
  126. }
  127. .no {
  128. background-color: rgba(101, 132, 226, 0.1);
  129. padding: 0.1875rem;
  130. }
  131. .no .no-hd {
  132. position: relative;
  133. border: 1px solid rgba(25, 186, 139, 0.17);
  134. }
  135. .no .no-hd::before {
  136. position: absolute;
  137. top: 0;
  138. left: 0;
  139. width: 0.375rem;
  140. height: 0.125rem;
  141. border-top: 2px solid #02a6b5;
  142. border-left: 2px solid #02a6b5;
  143. content: '';
  144. }
  145. .no .no-hd::after {
  146. position: absolute;
  147. bottom: 0;
  148. right: 0;
  149. width: 0.375rem;
  150. height: 0.125rem;
  151. border-bottom: 2px solid #02a6b5;
  152. border-right: 2px solid #02a6b5;
  153. content: '';
  154. }
  155. .no .no-hd ul {
  156. display: flex;
  157. }
  158. .no .no-hd ul li {
  159. position: relative;
  160. flex: 1;
  161. line-height: 1rem;
  162. font-size: 0.875rem;
  163. color: #ffeb7b;
  164. text-align: center;
  165. font-family: electronicFont;
  166. }
  167. .no .no-hd ul li:first-child::after {
  168. content: '';
  169. position: absolute;
  170. top: 25%;
  171. right: 0;
  172. height: 50%;
  173. width: 1px;
  174. background-color: rgba(255, 255, 255, 0.3);
  175. }
  176. .no .no-bd ul {
  177. display: flex;
  178. }
  179. .no .no-bd ul li {
  180. flex: 1;
  181. text-align: center;
  182. color: rgba(255, 255, 255, 0.7);
  183. font-size: 0.225rem;
  184. height: 0.5rem;
  185. line-height: 0.5rem;
  186. padding-top: 0.125rem;
  187. }
  188. .map {
  189. position: relative;
  190. height: 10.125rem;
  191. }
  192. .map .map1 {
  193. width: 6.475rem;
  194. height: 6.475rem;
  195. position: absolute;
  196. top: 50%;
  197. left: 50%;
  198. transform: translate(-50%, -50%);
  199. background: url(../images/map.png);
  200. background-size: 100% 100%;
  201. opacity: 0.3;
  202. }
  203. .map .map2 {
  204. position: absolute;
  205. top: 50%;
  206. left: 50%;
  207. transform: translate(-50%, -50%);
  208. width: 8.0375rem;
  209. height: 8.0375rem;
  210. background: url(../images/lbx.png);
  211. background-size: 100% 100%;
  212. animation: rotate1 15s linear infinite;
  213. opacity: 0.6;
  214. }
  215. .map .map3 {
  216. position: absolute;
  217. top: 50%;
  218. left: 50%;
  219. transform: translate(-50%, -50%);
  220. width: 7.075rem;
  221. height: 7.075rem;
  222. background: url(../images/jt.png);
  223. background-size: 100% 100%;
  224. animation: rotate2 15s linear infinite;
  225. }
  226. .map .chart {
  227. position: absolute;
  228. top: 0;
  229. left: 0;
  230. height: 10.125rem;
  231. width: 100%;
  232. }
  233. @keyframes rotate1 {
  234. from {
  235. transform: translate(-50%, -50%) rotate(0deg);
  236. }
  237. to {
  238. transform: translate(-50%, -50%) rotate(360deg);
  239. }
  240. }
  241. @keyframes rotate2 {
  242. from {
  243. transform: translate(-50%, -50%) rotate(360deg);
  244. }
  245. to {
  246. transform: translate(-50%, -50%) rotate(0deg);
  247. }
  248. }
  249. /* 约束屏幕尺寸 */
  250. @media screen and (max-width: 1024px) {
  251. html {
  252. font-size: 42px !important;
  253. }
  254. }
  255. @media screen and (min-width: 1920px) {
  256. html {
  257. font-size: 80px !important;
  258. }
  259. }