common.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. body,
  2. div,
  3. span,
  4. header,
  5. footer,
  6. nav,
  7. section,
  8. aside,
  9. article,
  10. ul,
  11. dl,
  12. dt,
  13. dd,
  14. li,
  15. a,
  16. p,
  17. h1,
  18. h2,
  19. h3,
  20. h4,
  21. h5,
  22. h6,
  23. i,
  24. em,
  25. b,
  26. textarea,
  27. button,
  28. input,
  29. select,
  30. figure,
  31. figcaption,
  32. {
  33. padding: 0;
  34. margin: 0;
  35. list-style: none;
  36. font-style: normal;
  37. text-decoration: none;
  38. border: none;
  39. font-weight: normal;
  40. font-family: "Microsoft Yahei";
  41. -webkit-tap-highlight-color: transparent;
  42. -webkit-font-smoothing: antialiased;
  43. &:hover {
  44. outline: none;
  45. }
  46. }
  47. article,
  48. aside,
  49. footer,
  50. header,
  51. nav,
  52. section {
  53. display: block
  54. }
  55. h1 {
  56. font-size: 2em;
  57. margin: .67em 0
  58. }
  59. figcaption,
  60. figure,
  61. main {
  62. display: block
  63. }
  64. figure {
  65. margin: 1em 40px
  66. }
  67. hr {
  68. box-sizing: content-box;
  69. height: 0;
  70. overflow: visible
  71. }
  72. pre {
  73. font-family: monospace, monospace;
  74. font-size: 1em
  75. }
  76. a {
  77. background-color: transparent;
  78. -webkit-text-decoration-skip: objects
  79. }
  80. a:active,
  81. a:hover {
  82. outline-width: 0
  83. }
  84. abbr[title] {
  85. border-bottom: none;
  86. text-decoration: underline;
  87. text-decoration: underline dotted
  88. }
  89. b,
  90. strong {
  91. font-weight: inherit;
  92. font-weight: bolder
  93. }
  94. code,
  95. kbd,
  96. samp {
  97. font-family: monospace, monospace;
  98. font-size: 1em
  99. }
  100. dfn {
  101. font-style: italic
  102. }
  103. mark {
  104. background-color: #ff0;
  105. color: #000
  106. }
  107. small {
  108. font-size: 80%
  109. }
  110. sub,
  111. sup {
  112. font-size: 75%;
  113. line-height: 0;
  114. position: relative;
  115. vertical-align: baseline
  116. }
  117. sub {
  118. bottom: -.25em
  119. }
  120. sup {
  121. top: -.5em
  122. }
  123. audio,
  124. video {
  125. display: inline-block
  126. }
  127. audio:not([controls]) {
  128. display: none;
  129. height: 0
  130. }
  131. img {
  132. display: block;
  133. border-style: none
  134. }
  135. svg:not(:root) {
  136. overflow: hidden
  137. }
  138. button,
  139. input,
  140. optgroup,
  141. select,
  142. textarea {
  143. font-family: sans-serif;
  144. font-size: 100%;
  145. line-height: 1.15;
  146. margin: 0
  147. }
  148. button,
  149. input {
  150. overflow: visible
  151. }
  152. button,
  153. select {
  154. text-transform: none
  155. }
  156. [type=reset],
  157. [type=submit],
  158. button,
  159. html [type=button] {
  160. -webkit-appearance: button
  161. }
  162. [type=button]::-moz-focus-inner,
  163. [type=reset]::-moz-focus-inner,
  164. [type=submit]::-moz-focus-inner,
  165. button::-moz-focus-inner {
  166. border-style: none;
  167. padding: 0
  168. }
  169. [type=button]:-moz-focusring,
  170. [type=reset]:-moz-focusring,
  171. [type=submit]:-moz-focusring,
  172. button:-moz-focusring {
  173. outline: 1px dotted ButtonText
  174. }
  175. fieldset {
  176. border: 1px solid silver;
  177. margin: 0 2px;
  178. padding: .35em .625em .75em
  179. }
  180. legend {
  181. box-sizing: border-box;
  182. color: inherit;
  183. display: table;
  184. max-width: 100%;
  185. padding: 0;
  186. white-space: normal
  187. }
  188. progress {
  189. display: inline-block;
  190. vertical-align: baseline
  191. }
  192. textarea {
  193. overflow: auto;
  194. resize: vertical
  195. }
  196. [type=checkbox],
  197. [type=radio] {
  198. box-sizing: border-box;
  199. padding: 0
  200. }
  201. [type=number]::-webkit-inner-spin-button,
  202. [type=number]::-webkit-outer-spin-button {
  203. height: auto
  204. }
  205. [type=search] {
  206. -webkit-appearance: textfield;
  207. outline-offset: -2px
  208. }
  209. [type=search]::-webkit-search-cancel-button,
  210. [type=search]::-webkit-search-decoration {
  211. -webkit-appearance: none
  212. }
  213. ::-webkit-file-upload-button {
  214. -webkit-appearance: button;
  215. font: inherit
  216. }
  217. details,
  218. menu {
  219. display: block
  220. }
  221. summary {
  222. display: list-item
  223. }
  224. canvas {
  225. display: inline-block
  226. }
  227. [hidden],
  228. template {
  229. display: none
  230. }
  231. * {
  232. -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
  233. }
  234. *,
  235. :after,
  236. :before {
  237. box-sizing: border-box
  238. }
  239. .clearfix:after {
  240. visibility: hidden;
  241. clear: both;
  242. display: block;
  243. content: ".";
  244. height: 0
  245. }
  246. .clearfix {
  247. *zoom: 1
  248. }
  249. body {
  250. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, \\5FAE\8F6F\96C5\9ED1, Arial, sans-serif;
  251. font-size: 12px;
  252. line-height: 1.5;
  253. color: #495060;
  254. background-color: #fff;
  255. -webkit-font-smoothing: antialiased;
  256. -moz-osx-font-smoothing: grayscale
  257. }
  258. article,
  259. aside,
  260. blockquote,
  261. body,
  262. button,
  263. dd,
  264. details,
  265. div,
  266. dl,
  267. dt,
  268. fieldset,
  269. figcaption,
  270. figure,
  271. footer,
  272. form,
  273. h1,
  274. h2,
  275. h3,
  276. h4,
  277. h5,
  278. h6,
  279. header,
  280. hgroup,
  281. hr,
  282. input,
  283. legend,
  284. li,
  285. menu,
  286. nav,
  287. ol,
  288. p,
  289. section,
  290. td,
  291. textarea,
  292. th,
  293. ul {
  294. margin: 0;
  295. padding: 0
  296. }
  297. button,
  298. input,
  299. select,
  300. textarea {
  301. font-family: inherit;
  302. font-size: inherit;
  303. line-height: inherit
  304. }
  305. ol,
  306. ul {
  307. list-style: none
  308. }
  309. input::-ms-clear,
  310. input::-ms-reveal {
  311. display: none
  312. }
  313. a {
  314. color: #3a8ee6;
  315. background: transparent;
  316. text-decoration: none;
  317. outline: none;
  318. cursor: pointer;
  319. transition: color .2s ease
  320. }
  321. a:hover {
  322. color: #3a8ee6
  323. }
  324. a:active {
  325. color: #3a8ee6
  326. }
  327. a:active,
  328. a:hover {
  329. outline: 0;
  330. text-decoration: none
  331. }
  332. a[disabled] {
  333. color: #ccc;
  334. cursor: not-allowed;
  335. pointer-events: none
  336. }
  337. code,
  338. kbd,
  339. pre,
  340. samp {
  341. font-family: Consolas, Menlo, Courier, monospace
  342. }
  343. /*color*/
  344. .c_main {
  345. color: #3a8ee6;
  346. }
  347. .orange {
  348. color: #ff6f06;
  349. }
  350. .white {
  351. color: #FFFFFF;
  352. }
  353. .red {
  354. color: red;
  355. }
  356. .blue {
  357. color: #3a8ee6;
  358. }
  359. .green {
  360. color: #67C23A;
  361. }
  362. .gray {
  363. color: #CCCCCC;
  364. }
  365. .gray3 {
  366. color: #333333;
  367. }
  368. .gray6 {
  369. color: #666666;
  370. }
  371. .gray9 {
  372. color: #999999;
  373. }
  374. /*background*/
  375. .bg-blue {
  376. background: #3a8ee6;
  377. }
  378. .bg-green {
  379. background: #67C23A;
  380. }
  381. .bg-orange {
  382. background: #E6A23C;
  383. }
  384. .bg-red {
  385. background: #F56C6C;
  386. }
  387. .bg-gray {
  388. background: #909399;
  389. }
  390. /*font*/
  391. .f14 {
  392. font-size: 14px;
  393. }
  394. .f16 {
  395. font-size: 16px;
  396. }
  397. .f18 {
  398. font-size: 18px;
  399. }
  400. .f20 {
  401. font-size: 20px;
  402. }
  403. .f24 {
  404. font-size: 24px;
  405. }
  406. .f30 {
  407. font-size: 30px;
  408. }
  409. .fb {
  410. font-weight: bold;
  411. }
  412. .text-d-line {
  413. text-decoration: line-through;
  414. }
  415. /*position*/
  416. .pr {
  417. position: relative;
  418. }
  419. .pa {
  420. position: absolute;
  421. }
  422. /*float*/
  423. .fl {
  424. float: left;
  425. }
  426. .fr {
  427. float: right;
  428. }
  429. /*width*/
  430. .max-w460 {
  431. max-width: 460px;
  432. }
  433. .w-auto {
  434. width: auto;
  435. }
  436. .percent-w50 {
  437. width: 50%;
  438. }
  439. .percent-w100 {
  440. width: 100%;
  441. }
  442. /*margin*/
  443. .mt10 {
  444. margin-top: 10px;
  445. }
  446. .mt16 {
  447. margin-top: 16px;
  448. }
  449. .mt30 {
  450. margin-top: 30px;
  451. }
  452. .mt50 {
  453. margin-top: 50px;
  454. }
  455. .mb16 {
  456. margin-bottom: 16px;
  457. }
  458. .mb18 {
  459. margin-bottom: 18px;
  460. }
  461. .ml4 {
  462. margin-left: 4px;
  463. }
  464. .ml10 {
  465. margin-left: 10px;
  466. }
  467. .ml20 {
  468. margin-left: 20px;
  469. }
  470. .ml30 {
  471. margin-left: 30px;
  472. }
  473. .mr10 {
  474. margin-right: 10px;
  475. }
  476. /*padding*/
  477. .p2 {
  478. padding: 2px;
  479. }
  480. .p10 {
  481. padding: 10px;
  482. }
  483. .p20 {
  484. padding: 20px;
  485. }
  486. .p30 {
  487. padding: 30px;
  488. }
  489. .p-4-0 {
  490. padding: 4px 0;
  491. }
  492. .p-6-0 {
  493. padding: 6px 0;
  494. }
  495. .p-10-0 {
  496. padding: 10px 0;
  497. }
  498. .p-20-0 {
  499. padding: 20px 0;
  500. }
  501. .p-30-0 {
  502. padding: 30px 0;
  503. }
  504. .p-0-10 {
  505. padding: 0 10px;
  506. }
  507. .p-0-20 {
  508. padding: 0 20px;
  509. }
  510. .p-0-30 {
  511. padding: 0 30px;
  512. }
  513. .pt16 {
  514. padding-top: 16px;
  515. }
  516. .pt30 {
  517. padding-top: 30px;
  518. }
  519. .pl10 {
  520. padding-left: 10px;
  521. }
  522. .pl16 {
  523. padding-left: 16px;
  524. }
  525. .pr16 {
  526. padding-right: 16px;
  527. }
  528. .pb16 {
  529. padding-bottom: 16px;
  530. }
  531. .pb50 {
  532. padding-bottom: 50px;
  533. }
  534. /*line height*/
  535. .lh18 {
  536. line-height: 18px;
  537. }
  538. .lh24 {
  539. line-height: 24px;
  540. }
  541. .lh30 {
  542. line-height: 30px;
  543. }
  544. /*text-align*/
  545. .tl {
  546. text-align: left;
  547. }
  548. .tr {
  549. text-align: right;
  550. }
  551. .tc {
  552. text-align: center;
  553. }
  554. /*display*/
  555. .d-c-c {
  556. display: flex;
  557. justify-content: center;
  558. align-items: center;
  559. }
  560. .d-s-c {
  561. display: flex;
  562. justify-content: flex-start;
  563. align-items: center;
  564. }
  565. .d-s-s {
  566. display: flex;
  567. justify-content: flex-start;
  568. align-items: flex-start;
  569. }
  570. .d-e-c {
  571. display: flex;
  572. justify-content: flex-end;
  573. align-items: center;
  574. }
  575. .d-b-c {
  576. display: flex;
  577. justify-content: space-between;
  578. align-items: center;
  579. }
  580. .d-b-s {
  581. display: flex;
  582. justify-content: space-between;
  583. align-items: flex-start;
  584. }
  585. .d-a-c {
  586. display: flex;
  587. justify-content: space-around;
  588. align-items: center;
  589. }
  590. .d-s-stretch {
  591. display: flex;
  592. justify-content: space-around;
  593. align-items: stretch;
  594. }
  595. .d-c {
  596. flex-direction: column;
  597. }
  598. .d-r {
  599. flex-direction: row;
  600. }
  601. .f-w {
  602. flex-wrap: wrap;
  603. }
  604. .flex-1 {
  605. flex: 1;
  606. }
  607. .text-d-line-through {
  608. text-decoration: line-through;
  609. }
  610. /*width*/
  611. .ww100 {
  612. width: 100%;
  613. }
  614. /*ellipsis*/
  615. .text-ellipsis {
  616. word-wrap: normal;
  617. text-overflow: ellipsis;
  618. white-space: nowrap;
  619. overflow: hidden;
  620. }
  621. .text-ellipsis-2 {
  622. display: -webkit-box;
  623. word-break: break-all;
  624. text-overflow: ellipsis;
  625. overflow: hidden;
  626. -webkit-box-orient: vertical;
  627. -webkit-line-clamp: 2;
  628. }
  629. /*border*/
  630. .border {
  631. border: 1px solid #DDDDDD;
  632. }
  633. .border-b {
  634. border-bottom: 1px solid #DDDDDD;
  635. }
  636. .border-r {
  637. border-right: 1px solid #DDDDDD;
  638. }
  639. .border-l {
  640. border-left: 1px solid #DDDDDD;
  641. }
  642. .border-t {
  643. border-top: 1px solid #DDDDDD;
  644. }
  645. .border-b-d {
  646. border-bottom: 1px dashed #DDDDDD;
  647. }
  648. .radius {
  649. border-radius: 50%;
  650. }