style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. @media screen and (min-width: 768px) {
  2. body {
  3. width: 748px;
  4. margin: 40px auto;
  5. }
  6. }
  7. /*!
  8. * Mifa v0.2.0
  9. * https://github.com/phodal/mifa#readme
  10. *
  11. * Copyright (c) 2018 Phodal Huang
  12. * Licensed under the MIT license
  13. */
  14. .color-primary {
  15. color: #384452;
  16. background-color: #384452;
  17. }
  18. .color-grey {
  19. color: #d1d8df;
  20. background-color: #d1d8df;
  21. }
  22. .color-green {
  23. color: #1abc9c;
  24. background-color: #1abc9c;
  25. }
  26. .color-dark-grey {
  27. color: #5e6772;
  28. background-color: #5e6772;
  29. }
  30. .color-blue {
  31. color: #23B7F3;
  32. background-color: #23B7F3;
  33. }
  34. .color-code-grey {
  35. color: #eef1f5;
  36. background-color: #eef1f5;
  37. }
  38. .color-red {
  39. color: #f53d3d;
  40. background-color: #f53d3d;
  41. }
  42. .color-yellow {
  43. color: #ffff3a;
  44. background-color: #ffff3a;
  45. }
  46. .color-light-grey {
  47. color: #fdfdfd;
  48. background-color: #fdfdfd;
  49. }
  50. *,
  51. *:after,
  52. *:before {
  53. box-sizing: inherit;
  54. }
  55. html {
  56. box-sizing: border-box;
  57. font-size: 62.5%;
  58. }
  59. body {
  60. color: #384452;
  61. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
  62. font-size: 1.6em;
  63. font-weight: 300;
  64. letter-spacing: .01em;
  65. line-height: 1.6;
  66. }
  67. blockquote {
  68. border-left: 0.3rem solid #1abc9c;
  69. margin-left: 0;
  70. margin-right: 0;
  71. padding: 1rem 1.5rem;
  72. }
  73. blockquote *:last-child {
  74. margin-bottom: 0;
  75. }
  76. q:before {
  77. color: #1abc9c;
  78. content: open-quote;
  79. font-size: 4em;
  80. line-height: 0.1em;
  81. margin-right: 0.25em;
  82. vertical-align: -0.4em;
  83. }
  84. q:after {
  85. content: none;
  86. }
  87. .button,
  88. button,
  89. input[type='button'],
  90. input[type='reset'],
  91. input[type='submit'] {
  92. background-color: #384452;
  93. border: 0.1rem solid #384452;
  94. border-radius: .4rem;
  95. color: #fff;
  96. cursor: pointer;
  97. display: inline-block;
  98. font-size: 1.1rem;
  99. font-weight: 700;
  100. height: 3.8rem;
  101. letter-spacing: .1rem;
  102. line-height: 3.8rem;
  103. padding: 0 3.0rem;
  104. text-align: center;
  105. text-decoration: none;
  106. text-transform: uppercase;
  107. white-space: nowrap;
  108. }
  109. .button:focus, .button:hover,
  110. button:focus,
  111. button:hover,
  112. input[type='button']:focus,
  113. input[type='button']:hover,
  114. input[type='reset']:focus,
  115. input[type='reset']:hover,
  116. input[type='submit']:focus,
  117. input[type='submit']:hover {
  118. background-color: #1abc9c;
  119. border-color: #1abc9c;
  120. color: #fff;
  121. outline: 0;
  122. }
  123. .button[disabled],
  124. button[disabled],
  125. input[type='button'][disabled],
  126. input[type='reset'][disabled],
  127. input[type='submit'][disabled] {
  128. cursor: default;
  129. opacity: .5;
  130. }
  131. .button[disabled]:focus, .button[disabled]:hover,
  132. button[disabled]:focus,
  133. button[disabled]:hover,
  134. input[type='button'][disabled]:focus,
  135. input[type='button'][disabled]:hover,
  136. input[type='reset'][disabled]:focus,
  137. input[type='reset'][disabled]:hover,
  138. input[type='submit'][disabled]:focus,
  139. input[type='submit'][disabled]:hover {
  140. background-color: #384452;
  141. border-color: #384452;
  142. }
  143. .button.button-outline,
  144. button.button-outline,
  145. input[type='button'].button-outline,
  146. input[type='reset'].button-outline,
  147. input[type='submit'].button-outline {
  148. background-color: transparent;
  149. color: #384452;
  150. }
  151. .button.button-outline:focus, .button.button-outline:hover,
  152. button.button-outline:focus,
  153. button.button-outline:hover,
  154. input[type='button'].button-outline:focus,
  155. input[type='button'].button-outline:hover,
  156. input[type='reset'].button-outline:focus,
  157. input[type='reset'].button-outline:hover,
  158. input[type='submit'].button-outline:focus,
  159. input[type='submit'].button-outline:hover {
  160. background-color: transparent;
  161. border-color: #1abc9c;
  162. color: #1abc9c;
  163. }
  164. .button.button-outline[disabled]:focus, .button.button-outline[disabled]:hover,
  165. button.button-outline[disabled]:focus,
  166. button.button-outline[disabled]:hover,
  167. input[type='button'].button-outline[disabled]:focus,
  168. input[type='button'].button-outline[disabled]:hover,
  169. input[type='reset'].button-outline[disabled]:focus,
  170. input[type='reset'].button-outline[disabled]:hover,
  171. input[type='submit'].button-outline[disabled]:focus,
  172. input[type='submit'].button-outline[disabled]:hover {
  173. border-color: inherit;
  174. color: #384452;
  175. }
  176. .button.button-clear,
  177. button.button-clear,
  178. input[type='button'].button-clear,
  179. input[type='reset'].button-clear,
  180. input[type='submit'].button-clear {
  181. background-color: transparent;
  182. border-color: transparent;
  183. color: #384452;
  184. }
  185. .button.button-clear:focus, .button.button-clear:hover,
  186. button.button-clear:focus,
  187. button.button-clear:hover,
  188. input[type='button'].button-clear:focus,
  189. input[type='button'].button-clear:hover,
  190. input[type='reset'].button-clear:focus,
  191. input[type='reset'].button-clear:hover,
  192. input[type='submit'].button-clear:focus,
  193. input[type='submit'].button-clear:hover {
  194. background-color: transparent;
  195. border-color: transparent;
  196. color: #1abc9c;
  197. }
  198. .button.button-clear[disabled]:focus, .button.button-clear[disabled]:hover,
  199. button.button-clear[disabled]:focus,
  200. button.button-clear[disabled]:hover,
  201. input[type='button'].button-clear[disabled]:focus,
  202. input[type='button'].button-clear[disabled]:hover,
  203. input[type='reset'].button-clear[disabled]:focus,
  204. input[type='reset'].button-clear[disabled]:hover,
  205. input[type='submit'].button-clear[disabled]:focus,
  206. input[type='submit'].button-clear[disabled]:hover {
  207. color: #384452;
  208. }
  209. code {
  210. background: #eef1f5;
  211. border-radius: .4rem;
  212. font-size: 86%;
  213. margin: 0 .2rem;
  214. padding: .2rem .5rem;
  215. white-space: nowrap;
  216. }
  217. pre {
  218. background: #eef1f5;
  219. border-left: 0.3rem solid #1abc9c;
  220. overflow-y: hidden;
  221. }
  222. pre > code {
  223. border-radius: 0;
  224. display: block;
  225. padding: 1rem 1.5rem;
  226. white-space: pre;
  227. }
  228. hr {
  229. border: 0;
  230. border-top: 0.1rem solid #384452;
  231. margin: 3.0rem 0;
  232. }
  233. input[type='email'],
  234. input[type='number'],
  235. input[type='password'],
  236. input[type='search'],
  237. input[type='tel'],
  238. input[type='text'],
  239. input[type='url'],
  240. input:not([type]),
  241. textarea,
  242. select {
  243. -webkit-appearance: none;
  244. -moz-appearance: none;
  245. appearance: none;
  246. background-color: transparent;
  247. border: 0.1rem solid #d1d8df;
  248. border-radius: .4rem;
  249. box-shadow: none;
  250. box-sizing: inherit;
  251. height: 3.8rem;
  252. padding: .6rem 1.0rem;
  253. width: 100%;
  254. }
  255. input[type='email']:focus,
  256. input[type='number']:focus,
  257. input[type='password']:focus,
  258. input[type='search']:focus,
  259. input[type='tel']:focus,
  260. input[type='text']:focus,
  261. input[type='url']:focus,
  262. input:not([type]):focus,
  263. textarea:focus,
  264. select:focus {
  265. border-color: #1abc9c;
  266. outline: 0;
  267. }
  268. select {
  269. background: url('data:image/svg+xml;utf8,<svg width="28" height="15" viewBox="0 0 28 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon fill="%235e6772" id="Shape" points="14.3216327 0 7.99510204 5.87878267 1.67836735 0.00773727648 0 1.56757221 7.99510204 9 16 1.55983494"></polygon></svg>') center right no-repeat;
  270. padding-right: 3.0rem;
  271. }
  272. select:focus {
  273. background-image: url('data:image/svg+xml;utf8,<svg width="28" height="15" viewBox="0 0 28 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon fill="%231abc9c" id="Shape" points="14.3216327 0 7.99510204 5.87878267 1.67836735 0.00773727648 0 1.56757221 7.99510204 9 16 1.55983494"></polygon></svg>');
  274. }
  275. textarea {
  276. min-height: 6.5rem;
  277. }
  278. label,
  279. legend {
  280. display: block;
  281. font-size: 1.6rem;
  282. font-weight: 700;
  283. margin-bottom: .5rem;
  284. }
  285. fieldset {
  286. border-width: 0;
  287. padding: 0;
  288. }
  289. input[type='checkbox'],
  290. input[type='radio'] {
  291. display: inline;
  292. }
  293. .label-inline {
  294. display: inline-block;
  295. font-weight: normal;
  296. margin-left: .5rem;
  297. }
  298. .container {
  299. margin: 0 auto;
  300. max-width: 112.0rem;
  301. padding: 0 2.0rem;
  302. position: relative;
  303. width: 100%;
  304. }
  305. .row {
  306. display: flex;
  307. flex-direction: column;
  308. padding: 0;
  309. width: 100%;
  310. }
  311. .row.row-no-padding {
  312. padding: 0;
  313. }
  314. .row.row-no-padding > .column {
  315. padding: 0;
  316. }
  317. .row.row-wrap {
  318. flex-wrap: wrap;
  319. }
  320. .row.row-top {
  321. align-items: flex-start;
  322. }
  323. .row.row-bottom {
  324. align-items: flex-end;
  325. }
  326. .row.row-center {
  327. align-items: center;
  328. }
  329. .row.row-stretch {
  330. align-items: stretch;
  331. }
  332. .row.row-baseline {
  333. align-items: baseline;
  334. }
  335. .row .column {
  336. display: block;
  337. flex: 1 1 auto;
  338. margin-left: 0;
  339. max-width: 100%;
  340. width: 100%;
  341. }
  342. .row .column.column-offset-10 {
  343. margin-left: 10%;
  344. }
  345. .row .column.column-offset-20 {
  346. margin-left: 20%;
  347. }
  348. .row .column.column-offset-25 {
  349. margin-left: 25%;
  350. }
  351. .row .column.column-offset-33, .row .column.column-offset-34 {
  352. margin-left: 33.3333%;
  353. }
  354. .row .column.column-offset-50 {
  355. margin-left: 50%;
  356. }
  357. .row .column.column-offset-66, .row .column.column-offset-67 {
  358. margin-left: 66.6666%;
  359. }
  360. .row .column.column-offset-75 {
  361. margin-left: 75%;
  362. }
  363. .row .column.column-offset-80 {
  364. margin-left: 80%;
  365. }
  366. .row .column.column-offset-90 {
  367. margin-left: 90%;
  368. }
  369. .row .column.column-10 {
  370. flex: 0 0 10%;
  371. max-width: 10%;
  372. }
  373. .row .column.column-20 {
  374. flex: 0 0 20%;
  375. max-width: 20%;
  376. }
  377. .row .column.column-25 {
  378. flex: 0 0 25%;
  379. max-width: 25%;
  380. }
  381. .row .column.column-33, .row .column.column-34 {
  382. flex: 0 0 33.3333%;
  383. max-width: 33.3333%;
  384. }
  385. .row .column.column-40 {
  386. flex: 0 0 40%;
  387. max-width: 40%;
  388. }
  389. .row .column.column-50 {
  390. flex: 0 0 50%;
  391. max-width: 50%;
  392. }
  393. .row .column.column-60 {
  394. flex: 0 0 60%;
  395. max-width: 60%;
  396. }
  397. .row .column.column-66, .row .column.column-67 {
  398. flex: 0 0 66.6666%;
  399. max-width: 66.6666%;
  400. }
  401. .row .column.column-75 {
  402. flex: 0 0 75%;
  403. max-width: 75%;
  404. }
  405. .row .column.column-80 {
  406. flex: 0 0 80%;
  407. max-width: 80%;
  408. }
  409. .row .column.column-90 {
  410. flex: 0 0 90%;
  411. max-width: 90%;
  412. }
  413. .row .column .column-top {
  414. align-self: flex-start;
  415. }
  416. .row .column .column-bottom {
  417. align-self: flex-end;
  418. }
  419. .row .column .column-center {
  420. -ms-grid-row-align: center;
  421. align-self: center;
  422. }
  423. @media (min-width: 40rem) {
  424. .row {
  425. flex-direction: row;
  426. margin-left: -1.0rem;
  427. width: calc(100% + 2.0rem);
  428. }
  429. .row .column {
  430. margin-bottom: inherit;
  431. padding: 0 1.0rem;
  432. }
  433. }
  434. img {
  435. max-width: 100%;
  436. }
  437. a {
  438. color: #1abc9c;
  439. text-decoration: none;
  440. }
  441. a:focus, a:hover {
  442. color: #23B7F3;
  443. }
  444. dl,
  445. ol,
  446. ul {
  447. list-style: none;
  448. margin-top: 0;
  449. padding-left: 0;
  450. }
  451. dl dl,
  452. dl ol,
  453. dl ul,
  454. ol dl,
  455. ol ol,
  456. ol ul,
  457. ul dl,
  458. ul ol,
  459. ul ul {
  460. font-size: 90%;
  461. margin: 1.5rem 0 1.5rem 3.0rem;
  462. }
  463. ol {
  464. list-style: decimal inside;
  465. }
  466. ul {
  467. list-style: circle inside;
  468. }
  469. .button,
  470. button,
  471. dd,
  472. dt,
  473. li {
  474. margin-bottom: 1.0rem;
  475. }
  476. fieldset,
  477. input,
  478. select,
  479. textarea {
  480. margin-bottom: 1.5rem;
  481. }
  482. blockquote,
  483. dl,
  484. figure,
  485. form,
  486. ol,
  487. p,
  488. pre,
  489. table,
  490. ul {
  491. margin-bottom: 2.5rem;
  492. }
  493. table {
  494. border-spacing: 0;
  495. width: 100%;
  496. }
  497. table thead th,
  498. thead th {
  499. border-top: 0.1rem solid #d1d8df;
  500. background: #fdfdfd;
  501. }
  502. tbody tr:nth-child(even) {
  503. background: #fdfdfd;
  504. }
  505. tbody tr:nth-child(odd) {
  506. background: #eef1f5;
  507. }
  508. td,
  509. th {
  510. border-bottom: 0.1rem solid #d1d8df;
  511. padding: 1.2rem 1.5rem;
  512. text-align: left;
  513. }
  514. td:first-child,
  515. th:first-child {
  516. padding-left: 0;
  517. }
  518. td:last-child,
  519. th:last-child {
  520. padding-right: 0;
  521. }
  522. u {
  523. text-decoration: none;
  524. border-bottom: 1px dashed;
  525. }
  526. a {
  527. text-decoration: none;
  528. }
  529. u {
  530. background: #ffff3a;
  531. }
  532. b,
  533. strong {
  534. font-weight: bold;
  535. }
  536. p {
  537. margin-top: 0;
  538. }
  539. h1,
  540. h2,
  541. h3,
  542. h4,
  543. h5,
  544. h6 {
  545. font-weight: 300;
  546. letter-spacing: -.1rem;
  547. margin-bottom: 2.0rem;
  548. margin-top: 0;
  549. }
  550. h1 {
  551. font-size: 4.0rem;
  552. line-height: 1.2;
  553. }
  554. h2 {
  555. font-size: 3.2rem;
  556. line-height: 1.25;
  557. }
  558. h3 {
  559. font-size: 2.8rem;
  560. line-height: 1.3;
  561. }
  562. h4 {
  563. font-size: 2.4rem;
  564. letter-spacing: -.08rem;
  565. line-height: 1.35;
  566. }
  567. h5 {
  568. font-size: 2.0rem;
  569. letter-spacing: -.05rem;
  570. line-height: 1.5;
  571. }
  572. h6 {
  573. font-size: 1.6rem;
  574. letter-spacing: 0;
  575. line-height: 1.4;
  576. }
  577. .clearfix:after {
  578. clear: both;
  579. content: ' ';
  580. display: table;
  581. }
  582. .float-left {
  583. float: left;
  584. }
  585. .float-right {
  586. float: right;
  587. }