base.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. body {
  2. min-height: 100vh;
  3. font-size: 16px;
  4. color: #272727;
  5. font-family: "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif;
  6. }
  7. h1,
  8. h2,
  9. h3,
  10. h4,
  11. h5,
  12. h6,
  13. p {
  14. margin: 0;
  15. font-size: 16px;
  16. }
  17. ul,
  18. ol {
  19. margin: 0;
  20. padding: 0;
  21. }
  22. li {
  23. padding: 0;
  24. list-style-type: none;
  25. }
  26. a {
  27. text-decoration: none;
  28. color: #272727;
  29. }
  30. ::-webkit-scrollbar {
  31. width: 8px;
  32. height: 8px;
  33. background-color: #f5f5f5;
  34. }
  35. ::-webkit-scrollbar-thumb {
  36. border-radius: 4px;
  37. background-color: #cccecf;
  38. }
  39. .container {
  40. width: 1200px;
  41. margin: 0 auto;
  42. }
  43. .flex {
  44. display: flex;
  45. justify-content: space-between;
  46. align-items: center;
  47. }
  48. .fl {
  49. float: left !important;
  50. }
  51. .fr {
  52. float: right !important;
  53. }
  54. .clearfix::after {
  55. content: "";
  56. display: block;
  57. clear: both;
  58. }
  59. .mt18 {
  60. margin-top: 18px;
  61. }
  62. .mr18 {
  63. margin-right: 18px;
  64. }
  65. .mb18 {
  66. margin-bottom: 18px;
  67. }
  68. .ml18 {
  69. margin-left: 18px;
  70. }
  71. .section-title {
  72. position: relative;
  73. text-align: center;
  74. height: 66px;
  75. }
  76. .section-title img {
  77. display: block;
  78. height: 50px;
  79. margin: 0 auto;
  80. }
  81. .section-title h3 {
  82. position: absolute;
  83. left: 50%;
  84. bottom: 0;
  85. transform: translateX(-50%);
  86. font-size: 34px;
  87. font-weight: normal;
  88. }
  89. .header {
  90. position: sticky;
  91. width: 100%;
  92. left: 0;
  93. top: 0;
  94. z-index: 99;
  95. background-color: #fff;
  96. }
  97. .header .logo h1 {
  98. font-size: 0;
  99. }
  100. .header .logo img {
  101. display: block;
  102. height: 42px;
  103. }
  104. .header .nav {
  105. display: flex;
  106. align-items: center;
  107. height: 68px;
  108. }
  109. .header .nav li {
  110. position: relative;
  111. height: 100%;
  112. margin-left: 56px;
  113. }
  114. .header .nav li:hover::after {
  115. opacity: 1;
  116. }
  117. .header .nav li:hover a {
  118. color: #0688d2;
  119. }
  120. .header .nav li:first-child {
  121. margin-left: 0;
  122. }
  123. .header .nav li::after {
  124. content: "";
  125. opacity: 0;
  126. width: 100%;
  127. height: 3px;
  128. position: absolute;
  129. left: 0;
  130. bottom: 0;
  131. background-color: #0688d2;
  132. transition: all 0.2s;
  133. }
  134. .header .nav li.active::after {
  135. opacity: 1;
  136. }
  137. .header .nav li.active a {
  138. color: #0688d2;
  139. }
  140. .header .nav li a {
  141. display: block;
  142. line-height: 68px;
  143. transition: all 0.2s;
  144. }
  145. .footer {
  146. margin-top: 120px;
  147. padding-top: 38px;
  148. padding-bottom: 24px;
  149. background: #1b1b1b;
  150. }
  151. .footer .container .section {
  152. margin-right: 180px;
  153. }
  154. .footer .container .section .item {
  155. position: relative;
  156. color: rgba(255, 255, 255, 0.5);
  157. margin-top: 20px;
  158. padding-left: 30px;
  159. font-size: 12px;
  160. }
  161. .footer .container .section .item::before {
  162. content: "";
  163. display: block;
  164. width: 20px;
  165. height: 20px;
  166. background-color: #fff;
  167. position: absolute;
  168. left: 0;
  169. top: 50%;
  170. transform: translateY(-50%);
  171. }
  172. .footer .container .section .item.mobile span:last-child {
  173. margin-left: 16px;
  174. }
  175. .footer .container .nav {
  176. margin-left: 110px;
  177. }
  178. .footer .container .nav li {
  179. margin-top: 25px;
  180. text-align: center;
  181. }
  182. .footer .container .nav li:first-child {
  183. margin-top: 12px;
  184. }
  185. .footer .container .nav li a {
  186. font-size: 14px;
  187. color: rgba(255, 255, 255, 0.5);
  188. }
  189. .footer .container .nav li a:hover {
  190. color: #0688d2;
  191. }
  192. .footer .container .qrcode {
  193. padding: 7px;
  194. background: rgba(255, 255, 255, 0.06);
  195. }
  196. .footer .container .qrcode img {
  197. display: block;
  198. width: 94px;
  199. height: 94px;
  200. background-color: #fff;
  201. }
  202. .footer .container .qrcode .tip {
  203. font-size: 12px;
  204. color: #ffffff;
  205. margin-top: 5px;
  206. text-align: center;
  207. }
  208. .footer .line {
  209. width: 100%;
  210. height: 1px;
  211. background-color: rgba(255, 255, 255, 0.3);
  212. margin: 32px 0 24px;
  213. }
  214. .footer .link {
  215. display: flex;
  216. justify-content: center;
  217. align-items: center;
  218. }
  219. .footer .link i {
  220. display: block;
  221. height: 10px;
  222. width: 1px;
  223. background-color: rgba(255, 255, 255, 0.4);
  224. margin: 0 16px;
  225. }
  226. .footer .link a {
  227. color: rgba(255, 255, 255, 0.4);
  228. font-size: 12px;
  229. }
  230. .footer .link a:hover {
  231. color: #0688d2;
  232. }
  233. .footer .copyright {
  234. margin-top: 20px;
  235. text-align: center;
  236. color: rgba(255, 255, 255, 0.4);
  237. font-size: 12px;
  238. }
  239. .footer .copyright a {
  240. color: rgba(255, 255, 255, 0.8);
  241. text-decoration: underline;
  242. }
  243. .footer .copyright * {
  244. margin: 0 24px;
  245. }