index.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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: 1rem;
  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: 1。5rem;
  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. }
  74. &::after {
  75. position: absolute;
  76. top: 0;
  77. right: 0;
  78. content: "";
  79. width: 10px;
  80. height: 10px;
  81. border-top: 2px solid #02a6b5;
  82. border-right: 2px solid #02a6b5;
  83. }
  84. .panel-footer {
  85. position: absolute;
  86. left: 0;
  87. bottom: 0;
  88. width: 100%;
  89. &::before {
  90. position: absolute;
  91. bottom: 0;
  92. left: 0;
  93. content: "";
  94. width: 10px;
  95. height: 10px;
  96. border-bottom: 2px solid #02a6b5;
  97. border-left: 2px solid #02a6b5;
  98. }
  99. &::after {
  100. position: absolute;
  101. bottom: 0;
  102. right: 0;
  103. content: "";
  104. width: 10px;
  105. height: 10px;
  106. border-bottom: 2px solid #02a6b5;
  107. border-right: 2px solid #02a6b5;
  108. }
  109. }
  110. h2 {
  111. height: 0.6rem;
  112. line-height: 0.6rem;
  113. text-align: center;
  114. color: #fff;
  115. font-size: 0.25rem;
  116. font-weight: 400;
  117. a {
  118. margin: 0 0.1875rem;
  119. color: #fff;
  120. text-decoration: underline;
  121. }
  122. }
  123. .chart {
  124. height: 3rem;
  125. }
  126. }
  127. .no {
  128. background: rgba(101, 132, 226, 0.1);
  129. padding: 0.1875rem;
  130. .no-hd {
  131. position: relative;
  132. border: 1px solid rgba(25, 186, 139, 0.17);
  133. &::before {
  134. content: "";
  135. position: absolute;
  136. width: 30px;
  137. height: 10px;
  138. border-top: 2px solid #02a6b5;
  139. border-left: 2px solid #02a6b5;
  140. top: 0;
  141. left: 0;
  142. }
  143. &::after {
  144. content: "";
  145. position: absolute;
  146. width: 30px;
  147. height: 10px;
  148. border-bottom: 2px solid #02a6b5;
  149. border-right: 2px solid #02a6b5;
  150. right: 0;
  151. bottom: 0;
  152. }
  153. ul {
  154. display: flex;
  155. li {
  156. position: relative;
  157. flex: 1;
  158. text-align: center;
  159. height: 1rem;
  160. line-height: 1rem;
  161. font-size: 0.875rem;
  162. color: #ffeb7b;
  163. padding: 0.05rem 0;
  164. font-family: electronicFont;
  165. font-weight: bold;
  166. &:first-child::after {
  167. content: "";
  168. position: absolute;
  169. height: 50%;
  170. width: 1px;
  171. background: rgba(255, 255, 255, 0.2);
  172. right: 0;
  173. top: 25%;
  174. }
  175. }
  176. }
  177. }
  178. .no-bd ul {
  179. display: flex;
  180. li {
  181. flex: 1;
  182. height: 0.5rem;
  183. line-height: 0.5rem;
  184. text-align: center;
  185. font-size: 0.225rem;
  186. color: rgba(255, 255, 255, 0.7);
  187. padding-top: 0.125rem;
  188. }
  189. }
  190. }
  191. .map {
  192. position: relative;
  193. height: 10.125rem;
  194. .chart {
  195. position: absolute;
  196. top: 0;
  197. left: 0;
  198. z-index: 5;
  199. height: 10.125rem;
  200. width: 100%;
  201. }
  202. .map1,
  203. .map2,
  204. .map3 {
  205. position: absolute;
  206. top: 50%;
  207. left: 50%;
  208. transform: translate(-50%, -50%);
  209. width: 6.475rem;
  210. height: 6.475rem;
  211. background: url(../images/map.png) no-repeat;
  212. background-size: 100% 100%;
  213. opacity: 0.3;
  214. }
  215. .map2 {
  216. width: 8.0375rem;
  217. height: 8.0375rem;
  218. background-image: url(../images/lbx.png);
  219. opacity: 0.6;
  220. animation: rotate 15s linear infinite;
  221. z-index: 2;
  222. }
  223. .map3 {
  224. width: 7.075rem;
  225. height: 7.075rem;
  226. background-image: url(../images/jt.png);
  227. animation: rotate1 10s linear infinite;
  228. }
  229. @keyframes rotate {
  230. from {
  231. transform: translate(-50%, -50%) rotate(0deg);
  232. }
  233. to {
  234. transform: translate(-50%, -50%) rotate(360deg);
  235. }
  236. }
  237. @keyframes rotate1 {
  238. from {
  239. transform: translate(-50%, -50%) rotate(0deg);
  240. }
  241. to {
  242. transform: translate(-50%, -50%) rotate(-360deg);
  243. }
  244. }
  245. }
  246. @media screen and (max-width: 1024px) {
  247. html {
  248. font-size: 42px !important;
  249. }
  250. }
  251. @media screen and (min-width: 1920) {
  252. html {
  253. font-size: 80px !important;
  254. }
  255. }