global.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
  2. *,
  3. *::before,
  4. *::after {
  5. margin: 0;
  6. padding: 0;
  7. box-sizing: border-box;
  8. }
  9. /* Document
  10. ========================================================================== */
  11. /**
  12. * 1. Correct the line height in all browsers.
  13. * 2. Prevent adjustments of font size after orientation changes in iOS.
  14. */
  15. html {
  16. line-height: 1.15;
  17. /* 1 */
  18. -webkit-text-size-adjust: 100%;
  19. /* 2 */
  20. }
  21. /* Sections
  22. ========================================================================== */
  23. /**
  24. * Remove the margin in all browsers.
  25. */
  26. body {
  27. margin: 0;
  28. }
  29. /**
  30. * Render the `main` element consistently in IE.
  31. */
  32. main {
  33. display: block;
  34. }
  35. /**
  36. * Correct the font size and margin on `h1` elements within `section` and
  37. * `article` contexts in Chrome, Firefox, and Safari.
  38. */
  39. h1 {
  40. font-size: 2em;
  41. margin: 0.67em 0;
  42. }
  43. /* Grouping content
  44. ========================================================================== */
  45. /**
  46. * 1. Add the correct box sizing in Firefox.
  47. * 2. Show the overflow in Edge and IE.
  48. */
  49. hr {
  50. box-sizing: content-box;
  51. /* 1 */
  52. height: 0;
  53. /* 1 */
  54. overflow: visible;
  55. /* 2 */
  56. }
  57. /**
  58. * 1. Correct the inheritance and scaling of font size in all browsers.
  59. * 2. Correct the odd `em` font sizing in all browsers.
  60. */
  61. pre {
  62. font-family: monospace, monospace;
  63. /* 1 */
  64. font-size: 1em;
  65. /* 2 */
  66. }
  67. /* Text-level semantics
  68. ========================================================================== */
  69. /**
  70. * Remove the gray background on active links in IE 10.
  71. */
  72. a {
  73. background-color: transparent;
  74. }
  75. /**
  76. * 1. Remove the bottom border in Chrome 57-
  77. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  78. */
  79. abbr[title] {
  80. border-bottom: none;
  81. /* 1 */
  82. text-decoration: underline;
  83. /* 2 */
  84. text-decoration: underline dotted;
  85. /* 2 */
  86. }
  87. /**
  88. * Add the correct font weight in Chrome, Edge, and Safari.
  89. */
  90. b,
  91. strong {
  92. font-weight: bolder;
  93. }
  94. /**
  95. * 1. Correct the inheritance and scaling of font size in all browsers.
  96. * 2. Correct the odd `em` font sizing in all browsers.
  97. */
  98. code,
  99. kbd,
  100. samp {
  101. font-family: monospace, monospace;
  102. /* 1 */
  103. font-size: 1em;
  104. /* 2 */
  105. }
  106. /**
  107. * Add the correct font size in all browsers.
  108. */
  109. small {
  110. font-size: 80%;
  111. }
  112. /**
  113. * Prevent `sub` and `sup` elements from affecting the line height in
  114. * all browsers.
  115. */
  116. sub,
  117. sup {
  118. font-size: 75%;
  119. line-height: 0;
  120. position: relative;
  121. vertical-align: baseline;
  122. }
  123. sub {
  124. bottom: -0.25em;
  125. }
  126. sup {
  127. top: -0.5em;
  128. }
  129. /* Embedded content
  130. ========================================================================== */
  131. /**
  132. * Remove the border on images inside links in IE 10.
  133. */
  134. img {
  135. border-style: none;
  136. }
  137. /* Forms
  138. ========================================================================== */
  139. /**
  140. * 1. Change the font styles in all browsers.
  141. * 2. Remove the margin in Firefox and Safari.
  142. */
  143. button,
  144. input,
  145. optgroup,
  146. select,
  147. textarea {
  148. font-family: inherit;
  149. /* 1 */
  150. font-size: 100%;
  151. /* 1 */
  152. line-height: 1.15;
  153. /* 1 */
  154. margin: 0;
  155. /* 2 */
  156. }
  157. /**
  158. * Show the overflow in IE.
  159. * 1. Show the overflow in Edge.
  160. */
  161. button,
  162. input {
  163. /* 1 */
  164. overflow: visible;
  165. }
  166. /**
  167. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  168. * 1. Remove the inheritance of text transform in Firefox.
  169. */
  170. button,
  171. select {
  172. /* 1 */
  173. text-transform: none;
  174. }
  175. /**
  176. * Correct the inability to style clickable types in iOS and Safari.
  177. */
  178. button,
  179. [type="button"],
  180. [type="reset"],
  181. [type="submit"] {
  182. -webkit-appearance: button;
  183. }
  184. /**
  185. * Remove the inner border and padding in Firefox.
  186. */
  187. button::-moz-focus-inner,
  188. [type="button"]::-moz-focus-inner,
  189. [type="reset"]::-moz-focus-inner,
  190. [type="submit"]::-moz-focus-inner {
  191. border-style: none;
  192. padding: 0;
  193. }
  194. /**
  195. * Restore the focus styles unset by the previous rule.
  196. */
  197. button:-moz-focusring,
  198. [type="button"]:-moz-focusring,
  199. [type="reset"]:-moz-focusring,
  200. [type="submit"]:-moz-focusring {
  201. outline: 1px dotted ButtonText;
  202. }
  203. /**
  204. * Correct the padding in Firefox.
  205. */
  206. fieldset {
  207. padding: 0.35em 0.75em 0.625em;
  208. }
  209. /**
  210. * 1. Correct the text wrapping in Edge and IE.
  211. * 2. Correct the color inheritance from `fieldset` elements in IE.
  212. * 3. Remove the padding so developers are not caught out when they zero out
  213. * `fieldset` elements in all browsers.
  214. */
  215. legend {
  216. box-sizing: border-box;
  217. /* 1 */
  218. color: inherit;
  219. /* 2 */
  220. display: table;
  221. /* 1 */
  222. max-width: 100%;
  223. /* 1 */
  224. padding: 0;
  225. /* 3 */
  226. white-space: normal;
  227. /* 1 */
  228. }
  229. /**
  230. * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  231. */
  232. progress {
  233. vertical-align: baseline;
  234. }
  235. /**
  236. * Remove the default vertical scrollbar in IE 10+.
  237. */
  238. textarea {
  239. overflow: auto;
  240. }
  241. /**
  242. * 1. Add the correct box sizing in IE 10.
  243. * 2. Remove the padding in IE 10.
  244. */
  245. [type="checkbox"],
  246. [type="radio"] {
  247. box-sizing: border-box;
  248. /* 1 */
  249. padding: 0;
  250. /* 2 */
  251. }
  252. /**
  253. * Correct the cursor style of increment and decrement buttons in Chrome.
  254. */
  255. [type="number"]::-webkit-inner-spin-button,
  256. [type="number"]::-webkit-outer-spin-button {
  257. height: auto;
  258. }
  259. /**
  260. * 1. Correct the odd appearance in Chrome and Safari.
  261. * 2. Correct the outline style in Safari.
  262. */
  263. [type="search"] {
  264. -webkit-appearance: textfield;
  265. /* 1 */
  266. outline-offset: -2px;
  267. /* 2 */
  268. }
  269. /**
  270. * Remove the inner padding in Chrome and Safari on macOS.
  271. */
  272. [type="search"]::-webkit-search-decoration {
  273. -webkit-appearance: none;
  274. }
  275. /**
  276. * 1. Correct the inability to style clickable types in iOS and Safari.
  277. * 2. Change font properties to `inherit` in Safari.
  278. */
  279. ::-webkit-file-upload-button {
  280. -webkit-appearance: button;
  281. /* 1 */
  282. font: inherit;
  283. /* 2 */
  284. }
  285. /* Interactive
  286. ========================================================================== */
  287. /*
  288. * Add the correct display in Edge, IE 10+, and Firefox.
  289. */
  290. details {
  291. display: block;
  292. }
  293. /*
  294. * Add the correct display in all browsers.
  295. */
  296. summary {
  297. display: list-item;
  298. }
  299. /* Misc
  300. ========================================================================== */
  301. /**
  302. * Add the correct display in IE 10+.
  303. */
  304. template {
  305. display: none;
  306. }
  307. /**
  308. * Add the correct display in IE 10.
  309. */
  310. [hidden] {
  311. display: none;
  312. }
  313. /*最大宽度*/
  314. /*头部高度*/
  315. html,
  316. body {
  317. height: 100%;
  318. overflow: hidden;
  319. }
  320. body {
  321. font-family: "Microsoft YaHei";
  322. -webkit-user-select: text;
  323. -moz-user-select: text;
  324. -ms-user-select: text;
  325. user-select: text;
  326. outline: none;
  327. -webkit-appearance: none;
  328. -moz-appearance: none;
  329. appearance: none;
  330. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  331. }
  332. .icon {
  333. display: inline-block;
  334. }
  335. .clearfix:after {
  336. visibility: hidden;
  337. display: block;
  338. font-size: 0;
  339. content: " ";
  340. clear: both;
  341. height: 0;
  342. }
  343. .clearfix {
  344. display: block;
  345. }
  346. section.max-width {
  347. width: 1200px;
  348. margin: 0 auto;
  349. }
  350. .swiper-slide {
  351. text-align: center;
  352. font-size: 18px;
  353. background: #fff;
  354. /* Center slide text vertically */
  355. display: -webkit-box;
  356. display: -ms-flexbox;
  357. display: -webkit-flex;
  358. display: flex;
  359. -webkit-box-pack: center;
  360. -ms-flex-pack: center;
  361. -webkit-justify-content: center;
  362. justify-content: center;
  363. -webkit-box-align: center;
  364. -ms-flex-align: center;
  365. -webkit-align-items: center;
  366. align-items: center;
  367. }
  368. .el-message {
  369. min-width: 100px !important;
  370. top: 25% !important;
  371. white-space: nowrap;
  372. }