index.css 4.7 KB

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