index.less 5.1 KB

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