style@1.1.2.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041
  1. @import url('font.css');
  2. * {
  3. -webkit-font-smoothing: antialiased;
  4. -webkit-overflow-scrolling: touch;
  5. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  6. -webkit-text-size-adjust: none;
  7. -webkit-touch-callout: none;
  8. box-sizing: border-box;
  9. }
  10. body:not(.ready) {
  11. overflow: hidden;
  12. }
  13. body:not(.ready) [data-cloak],
  14. body:not(.ready) .app-nav,
  15. body:not(.ready) > nav {
  16. display: none;
  17. }
  18. div#app {
  19. font-size: 30px;
  20. font-weight: lighter;
  21. margin: 40vh auto;
  22. text-align: center;
  23. }
  24. div#app:empty::before {
  25. content: 'Loading...';
  26. }
  27. img.emoji {
  28. height: 1.2em;
  29. vertical-align: middle;
  30. }
  31. span.emoji {
  32. font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  33. font-size: 1.2em;
  34. vertical-align: middle;
  35. }
  36. .progress {
  37. background-color: #0074d9;
  38. background-color: var(--theme-color, #0074d9);
  39. height: 2px;
  40. left: 0px;
  41. position: fixed;
  42. right: 0px;
  43. top: 0px;
  44. transition: width 0.2s, opacity 0.4s;
  45. width: 0%;
  46. z-index: 999999;
  47. }
  48. .search a:hover {
  49. color: #0074d9;
  50. color: var(--theme-color, #0074d9);
  51. }
  52. .search .search-keyword {
  53. color: #0074d9;
  54. color: var(--theme-color, #0074d9);
  55. font-style: normal;
  56. font-weight: bold;
  57. }
  58. html,
  59. body {
  60. height: 100%;
  61. }
  62. body {
  63. -moz-osx-font-smoothing: grayscale;
  64. -webkit-font-smoothing: antialiased;
  65. color: #34495e;
  66. font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  67. font-size: 15px;
  68. letter-spacing: 0;
  69. margin: 0;
  70. overflow-x: hidden;
  71. }
  72. img {
  73. max-width: 100%;
  74. }
  75. a[disabled] {
  76. cursor: not-allowed;
  77. opacity: 0.6;
  78. }
  79. kbd {
  80. border: solid 1px #ccc;
  81. border-radius: 3px;
  82. display: inline-block;
  83. font-size: 12px !important;
  84. line-height: 12px;
  85. margin-bottom: 3px;
  86. padding: 3px 5px;
  87. vertical-align: middle;
  88. }
  89. li input[type='checkbox'] {
  90. margin: 0 0.2em 0.25em 0;
  91. vertical-align: middle;
  92. }
  93. .app-nav {
  94. padding: 10px 0px;
  95. position: fixed;
  96. right: 0;
  97. text-align: right;
  98. z-index: 10;
  99. background: transparent;
  100. height: 50px;
  101. left: 284px;
  102. top: 0;
  103. right: 0;
  104. }
  105. .app-nav.no-badge {
  106. margin: 0px 0px;
  107. }
  108. .app-nav p {
  109. margin: 0;
  110. }
  111. .app-nav > a {
  112. margin: 0 1rem;
  113. padding: 5px 0;
  114. }
  115. .app-nav ul,
  116. .app-nav li {
  117. display: inline-block;
  118. list-style: none;
  119. margin: 0;
  120. }
  121. .app-nav a {
  122. color: inherit;
  123. font-size: 16px;
  124. text-decoration: none;
  125. transition: color 0.3s;
  126. }
  127. .app-nav a:hover {
  128. color: #0074d9;
  129. color: var(--theme-color, #0074d9);
  130. }
  131. .app-nav a.active {
  132. border-bottom: 2px solid #0074d9;
  133. border-bottom: 2px solid var(--theme-color, #0074d9);
  134. color: #0074d9;
  135. color: var(--theme-color, #0074d9);
  136. }
  137. .app-nav li {
  138. display: inline-block;
  139. margin: 0 1rem;
  140. padding: 5px 0;
  141. position: relative;
  142. cursor: pointer;
  143. }
  144. .app-nav li ul {
  145. background-color: #fff;
  146. border: 1px solid #ddd;
  147. border-bottom-color: #ccc;
  148. border-radius: 4px;
  149. box-sizing: border-box;
  150. display: none;
  151. max-height: calc(100vh - 61px);
  152. overflow-y: auto;
  153. padding: 10px 0;
  154. position: absolute;
  155. right: -15px;
  156. text-align: left;
  157. top: 100%;
  158. white-space: nowrap;
  159. }
  160. .app-nav li ul li {
  161. display: block;
  162. font-size: 14px;
  163. line-height: 1rem;
  164. margin: 0;
  165. margin: 8px 14px;
  166. white-space: nowrap;
  167. }
  168. .app-nav li ul a {
  169. display: block;
  170. font-size: inherit;
  171. margin: 0;
  172. padding: 0;
  173. }
  174. .app-nav li ul a.active {
  175. border-bottom: 0;
  176. }
  177. .app-nav li:hover ul {
  178. display: block;
  179. }
  180. .github-corner {
  181. border-bottom: 0;
  182. position: fixed;
  183. right: 0;
  184. text-decoration: none;
  185. top: 0;
  186. z-index: 100;
  187. }
  188. .github-corner:hover .octo-arm {
  189. animation: octocat-wave 560ms ease-in-out;
  190. }
  191. .github-corner svg {
  192. color: #fff;
  193. fill: #0074d9;
  194. fill: var(--theme-color, #0074d9);
  195. height: 80px;
  196. width: 80px;
  197. }
  198. main {
  199. display: block;
  200. position: relative;
  201. width: 100vw;
  202. height: 100%;
  203. z-index: 0;
  204. }
  205. main.hidden {
  206. display: none;
  207. }
  208. .anchor {
  209. display: inline-block;
  210. text-decoration: none;
  211. transition: all 0.3s;
  212. }
  213. .anchor span {
  214. color: #34495e;
  215. }
  216. .anchor:hover {
  217. text-decoration: underline;
  218. }
  219. .sidebar {
  220. border-right: 1px solid rgba(0, 0, 0, 0.07);
  221. overflow-y: auto;
  222. padding: 40px 0 0;
  223. position: absolute;
  224. top: 0;
  225. bottom: 0;
  226. left: 0;
  227. transition: transform 250ms ease-out;
  228. width: 300px;
  229. z-index: 20;
  230. }
  231. .sidebar > h1 {
  232. margin: 0 auto 1rem 15px;
  233. font-size: 1.5rem;
  234. font-weight: 300;
  235. text-align: left;
  236. }
  237. .sidebar > h1 a {
  238. color: inherit;
  239. text-decoration: none;
  240. }
  241. .sidebar > h1 .app-nav {
  242. display: block;
  243. position: static;
  244. }
  245. .sidebar > h1 img {
  246. width: 150px;
  247. }
  248. .sidebar .sidebar-nav {
  249. line-height: 2em;
  250. padding-bottom: 40px;
  251. }
  252. .sidebar li.collapse .app-sub-sidebar {
  253. display: none;
  254. }
  255. .sidebar ul {
  256. margin: 0 0 0 15px;
  257. padding: 0;
  258. }
  259. .sidebar li > p {
  260. font-weight: 600;
  261. margin: 0;
  262. }
  263. .sidebar ul,
  264. .sidebar ul li {
  265. list-style: none;
  266. }
  267. .sidebar ul li a {
  268. border-bottom: none;
  269. display: block;
  270. }
  271. .sidebar ul li ul {
  272. padding-left: 20px;
  273. }
  274. .sidebar::-webkit-scrollbar {
  275. width: 4px;
  276. }
  277. .sidebar::-webkit-scrollbar-thumb {
  278. background: transparent;
  279. border-radius: 4px;
  280. }
  281. .sidebar:hover::-webkit-scrollbar-thumb {
  282. background: rgba(136, 136, 136, 0.4);
  283. }
  284. .sidebar:hover::-webkit-scrollbar-track {
  285. background: rgba(136, 136, 136, 0.1);
  286. }
  287. .sidebar-toggle {
  288. background-color: transparent;
  289. background-color: rgba(255, 255, 255, 0.8);
  290. border: 0;
  291. outline: none;
  292. padding: 10px;
  293. position: absolute;
  294. bottom: 0;
  295. left: 0;
  296. text-align: center;
  297. transition: opacity 0.3s;
  298. width: 284px;
  299. z-index: 30;
  300. cursor: pointer;
  301. }
  302. .sidebar-toggle:hover .sidebar-toggle-button {
  303. opacity: 0.4;
  304. }
  305. .sidebar-toggle span {
  306. background-color: #0074d9;
  307. background-color: var(--theme-color, #0074d9);
  308. display: block;
  309. margin-bottom: 4px;
  310. width: 16px;
  311. height: 2px;
  312. }
  313. body.sticky .sidebar,
  314. body.sticky .sidebar-toggle {
  315. position: fixed;
  316. }
  317. .content {
  318. padding-top: 60px;
  319. position: absolute;
  320. top: 0;
  321. right: 0;
  322. bottom: 0;
  323. left: 300px;
  324. transition: left 250ms ease;
  325. }
  326. .markdown-section {
  327. margin: 0 auto;
  328. max-width: 80%;
  329. padding: 30px 15px 40px 15px;
  330. position: relative;
  331. }
  332. .markdown-section > * {
  333. box-sizing: border-box;
  334. font-size: inherit;
  335. }
  336. .markdown-section > :first-child {
  337. margin-top: 0 !important;
  338. }
  339. .markdown-section hr {
  340. border: none;
  341. border-bottom: 1px solid #eee;
  342. margin: 2em 0;
  343. }
  344. .markdown-section iframe {
  345. border: 1px solid #eee;
  346. /* fix horizontal overflow on iOS Safari */
  347. width: 1px;
  348. min-width: 100%;
  349. }
  350. .markdown-section table {
  351. border-collapse: collapse;
  352. border-spacing: 0;
  353. display: block;
  354. margin-bottom: 1rem;
  355. overflow: auto;
  356. width: 100%;
  357. }
  358. .markdown-section th {
  359. border: 1px solid #ddd;
  360. font-weight: bold;
  361. padding: 6px 13px;
  362. }
  363. .markdown-section td {
  364. border: 1px solid #ddd;
  365. padding: 6px 13px;
  366. }
  367. .markdown-section tr {
  368. border-top: 1px solid #ccc;
  369. }
  370. .markdown-section tr:nth-child(2n) {
  371. background-color: #f8f8f8;
  372. }
  373. .markdown-section p.tip {
  374. background-color: #f8f8f8;
  375. border-bottom-right-radius: 2px;
  376. border-left: 4px solid #f66;
  377. border-top-right-radius: 2px;
  378. margin: 2em 0;
  379. padding: 12px 24px 12px 30px;
  380. position: relative;
  381. }
  382. .markdown-section p.tip:before {
  383. background-color: #f66;
  384. border-radius: 100%;
  385. color: #fff;
  386. content: '!';
  387. font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  388. font-size: 14px;
  389. font-weight: bold;
  390. left: -12px;
  391. line-height: 20px;
  392. position: absolute;
  393. height: 20px;
  394. width: 20px;
  395. text-align: center;
  396. top: 14px;
  397. }
  398. .markdown-section p.tip code {
  399. background-color: #efefef;
  400. }
  401. .markdown-section p.tip em {
  402. color: #34495e;
  403. }
  404. .markdown-section p.warn {
  405. background: rgba(66, 185, 131, 0.1);
  406. border-radius: 2px;
  407. padding: 1rem;
  408. }
  409. .markdown-section ul.task-list > li {
  410. list-style-type: none;
  411. }
  412. body.close .sidebar {
  413. transform: translateX(-300px);
  414. }
  415. body.close .sidebar-toggle {
  416. width: auto;
  417. }
  418. body.close .content {
  419. left: 0;
  420. }
  421. @media print {
  422. .github-corner,
  423. .sidebar-toggle,
  424. .sidebar,
  425. .app-nav {
  426. display: none;
  427. }
  428. }
  429. @media screen and (max-width: 768px) {
  430. .cover-main .features {
  431. flex-direction: column;
  432. }
  433. .cover-main .feature {
  434. max-width: 100% !important;
  435. padding: 0 2.5rem;
  436. }
  437. .github-corner,
  438. .sidebar-toggle,
  439. .sidebar {
  440. position: fixed;
  441. }
  442. .app-nav {
  443. margin-top: 16px;
  444. }
  445. .app-nav li ul {
  446. top: 30px;
  447. }
  448. main {
  449. height: auto;
  450. min-height: 100vh;
  451. overflow-x: hidden;
  452. }
  453. .sidebar {
  454. left: -300px;
  455. transition: transform 250ms ease-out;
  456. }
  457. .content {
  458. left: 0;
  459. max-width: 100vw;
  460. position: static;
  461. padding-top: 20px;
  462. transition: transform 250ms ease;
  463. }
  464. .app-nav,
  465. .github-corner {
  466. transition: transform 250ms ease-out;
  467. }
  468. .sidebar-toggle {
  469. background-color: transparent;
  470. width: auto;
  471. padding: 30px 30px 10px 10px;
  472. }
  473. body.close .sidebar {
  474. transform: translateX(300px);
  475. }
  476. body.close .sidebar-toggle {
  477. background-color: rgba(255, 255, 255, 0.8);
  478. transition: 1s background-color;
  479. width: 284px;
  480. padding: 10px;
  481. }
  482. body.close .content {
  483. transform: translateX(300px);
  484. }
  485. body.close .app-nav,
  486. body.close .github-corner {
  487. display: none;
  488. }
  489. .github-corner:hover .octo-arm {
  490. animation: none;
  491. }
  492. .github-corner .octo-arm {
  493. animation: octocat-wave 560ms ease-in-out;
  494. }
  495. }
  496. @keyframes octocat-wave {
  497. 0%,
  498. 100% {
  499. transform: rotate(0);
  500. }
  501. 20%,
  502. 60% {
  503. transform: rotate(-25deg);
  504. }
  505. 40%,
  506. 80% {
  507. transform: rotate(10deg);
  508. }
  509. }
  510. section.cover {
  511. position: relative;
  512. align-items: center;
  513. background-position: center center;
  514. background-repeat: no-repeat;
  515. background-size: cover;
  516. min-height: 100vh;
  517. width: 100%;
  518. display: none;
  519. }
  520. section.cover.show {
  521. display: flex;
  522. }
  523. section.cover.has-mask .mask {
  524. background-color: #fff;
  525. opacity: 0.8;
  526. position: absolute;
  527. top: 0;
  528. bottom: 0;
  529. width: 100%;
  530. }
  531. section.cover .cover-main {
  532. flex: 1;
  533. margin: 100px auto 0px;
  534. text-align: center;
  535. position: relative;
  536. max-width: 960px;
  537. }
  538. section.cover a {
  539. color: inherit;
  540. text-decoration: none;
  541. }
  542. section.cover a:hover {
  543. text-decoration: none;
  544. }
  545. section.cover p {
  546. line-height: 1.5rem;
  547. margin: 1em 0;
  548. }
  549. section.cover h1 {
  550. color: inherit;
  551. font-size: 2.5rem;
  552. font-weight: 300;
  553. margin: 0.625rem 0 2.5rem;
  554. position: relative;
  555. text-align: center;
  556. }
  557. section.cover h1 a {
  558. display: block;
  559. }
  560. section.cover h1 small {
  561. bottom: -0.4375rem;
  562. font-size: 1rem;
  563. position: absolute;
  564. }
  565. section.cover blockquote {
  566. font-size: 1.5rem;
  567. text-align: center;
  568. }
  569. section.cover ul {
  570. line-height: 1.8;
  571. list-style-type: none;
  572. margin: 1em auto;
  573. max-width: 500px;
  574. padding: 0;
  575. }
  576. section.cover .cover-main > p:last-child a {
  577. border-color: #0074d9;
  578. border-color: var(--theme-color, #0074d9);
  579. border-radius: 2rem;
  580. border-style: solid;
  581. border-width: 1px;
  582. box-sizing: border-box;
  583. color: #0074d9;
  584. color: var(--theme-color, #0074d9);
  585. display: inline-block;
  586. font-size: 1.05rem;
  587. letter-spacing: 0.1rem;
  588. margin: 0.5rem 1rem;
  589. padding: 0.75em 2rem;
  590. text-decoration: none;
  591. transition: all 0.15s ease;
  592. }
  593. section.cover .cover-main > p:last-child a:last-child {
  594. background-color: #0074d9;
  595. background-color: var(--theme-color, #0074d9);
  596. color: #fff;
  597. }
  598. section.cover .cover-main > p:last-child a:last-child:hover {
  599. color: inherit;
  600. opacity: 0.8;
  601. }
  602. section.cover .cover-main a[href='#/introduce']:last-child {
  603. border-color: #0074d9;
  604. border-radius: 2rem;
  605. border-style: solid;
  606. border-width: 1px;
  607. box-sizing: border-box;
  608. color: #fff;
  609. background: #0074d9;
  610. display: inline-block;
  611. font-size: 1.05rem;
  612. letter-spacing: 0.1rem;
  613. margin: 0.5rem 1rem;
  614. padding: 0.75em 2rem;
  615. text-decoration: none;
  616. transition: all 0.15s ease;
  617. }
  618. section.cover .cover-main a[href='#/introduce']:hover {
  619. color: inherit;
  620. opacity: 0.8;
  621. color: #fff;
  622. }
  623. section.cover .cover-main > p:last-child a:hover {
  624. color: inherit;
  625. }
  626. section.cover .cover-main .features {
  627. border-top: 1px solid #eaecef;
  628. padding: 1.2rem 0;
  629. margin-top: 2.5rem;
  630. display: flex;
  631. flex-wrap: wrap;
  632. align-items: flex-start;
  633. align-content: stretch;
  634. justify-content: space-between;
  635. }
  636. section.cover .cover-main .feature {
  637. flex-grow: 1;
  638. flex-basis: 30%;
  639. max-width: 30%;
  640. text-align: left;
  641. }
  642. section.cover blockquote > p > a {
  643. border-bottom: 2px solid #0074d9;
  644. border-bottom: 2px solid #0074d9;
  645. transition: color 0.3s;
  646. background: #0074d9;
  647. }
  648. section.cover blockquote > p > a:hover {
  649. color: #fff;
  650. }
  651. body {
  652. background-color: #fff;
  653. }
  654. /* sidebar */
  655. .sidebar {
  656. background-color: #fff;
  657. color: #364149;
  658. }
  659. .sidebar li {
  660. margin: 6px 0 6px 0;
  661. }
  662. .sidebar ul li a {
  663. color: #364149;
  664. font-size: 14px;
  665. font-weight: normal;
  666. overflow: hidden;
  667. text-decoration: none;
  668. text-overflow: ellipsis;
  669. white-space: nowrap;
  670. }
  671. .sidebar ul li a:hover {
  672. text-decoration: underline;
  673. }
  674. .sidebar ul li ul {
  675. padding: 0;
  676. }
  677. .sidebar ul li.active > a {
  678. border-right: 2px solid;
  679. color: #0074d9;
  680. color: var(--theme-color, #0074d9);
  681. font-weight: 600;
  682. }
  683. .app-sub-sidebar li::before {
  684. content: '-';
  685. padding-right: 4px;
  686. float: left;
  687. }
  688. /* markdown content found on pages */
  689. .markdown-section h1,
  690. .markdown-section h2,
  691. .markdown-section h3,
  692. .markdown-section h4,
  693. .markdown-section strong {
  694. color: #2c3e50;
  695. font-weight: 600;
  696. }
  697. .markdown-section a {
  698. color: #0074d9;
  699. color: var(--theme-color, #0074d9);
  700. font-weight: 600;
  701. }
  702. .markdown-section h1 {
  703. font-size: 2rem;
  704. margin: 0 0 1rem;
  705. }
  706. .markdown-section h2 {
  707. font-size: 1.75rem;
  708. margin: 45px 0 0.8rem;
  709. }
  710. .markdown-section h3 {
  711. font-size: 1.5rem;
  712. margin: 40px 0 0.6rem;
  713. }
  714. .markdown-section h4 {
  715. font-size: 1.25rem;
  716. }
  717. .markdown-section h5 {
  718. font-size: 1rem;
  719. }
  720. .markdown-section h6 {
  721. color: #777;
  722. font-size: 1rem;
  723. }
  724. .markdown-section figure,
  725. .markdown-section p {
  726. margin: 1.2em 0;
  727. }
  728. .markdown-section p,
  729. .markdown-section ul,
  730. .markdown-section ol {
  731. line-height: 1.6rem;
  732. word-spacing: 0.05rem;
  733. }
  734. .markdown-section ul,
  735. .markdown-section ol {
  736. padding-left: 1.5rem;
  737. }
  738. .markdown-section blockquote {
  739. border-left: 4px solid #0074d9;
  740. border-left: 4px solid var(--theme-color, #0074d9);
  741. color: #858585;
  742. margin: 2em 0;
  743. padding-left: 20px;
  744. }
  745. .markdown-section blockquote p {
  746. font-weight: 600;
  747. margin-left: 0;
  748. }
  749. .markdown-section iframe {
  750. margin: 1em 0;
  751. }
  752. .markdown-section em {
  753. color: #7f8c8d;
  754. }
  755. .markdown-section code,
  756. .markdown-section pre,
  757. .markdown-section output::after {
  758. font-family: 'Roboto Mono', Monaco, courier, monospace;
  759. }
  760. .markdown-section code,
  761. .markdown-section pre {
  762. background-color: #f8f8f8;
  763. }
  764. .markdown-section pre,
  765. .markdown-section output {
  766. margin: 1.2em 0;
  767. position: relative;
  768. }
  769. .markdown-section pre > code,
  770. .markdown-section output {
  771. border-radius: 2px;
  772. display: block;
  773. }
  774. .markdown-section pre > code,
  775. .markdown-section output::after {
  776. -moz-osx-font-smoothing: initial;
  777. -webkit-font-smoothing: initial;
  778. }
  779. .markdown-section code {
  780. border-radius: 2px;
  781. color: #e96900;
  782. margin: 0 2px;
  783. padding: 3px 5px;
  784. white-space: pre-wrap;
  785. }
  786. .markdown-section > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) code {
  787. font-size: 0.8rem;
  788. }
  789. .markdown-section pre {
  790. padding: 0 1.4rem;
  791. line-height: 1.5rem;
  792. overflow: auto;
  793. word-wrap: normal;
  794. }
  795. .markdown-section pre > code {
  796. color: #525252;
  797. font-size: 0.8rem;
  798. padding: 2.2em 5px;
  799. line-height: inherit;
  800. margin: 0 2px;
  801. max-width: inherit;
  802. overflow: inherit;
  803. white-space: inherit;
  804. }
  805. .markdown-section output {
  806. padding: 1.7rem 1.4rem;
  807. border: 1px dotted #ccc;
  808. }
  809. .markdown-section output > :first-child {
  810. margin-top: 0;
  811. }
  812. .markdown-section output > :last-child {
  813. margin-bottom: 0;
  814. }
  815. .markdown-section code::after,
  816. .markdown-section code::before,
  817. .markdown-section output::after,
  818. .markdown-section output::before {
  819. letter-spacing: 0.05rem;
  820. }
  821. .markdown-section pre::after,
  822. .markdown-section output::after {
  823. color: #ccc;
  824. font-size: 0.6rem;
  825. font-weight: 600;
  826. height: 15px;
  827. line-height: 15px;
  828. padding: 5px 10px 0;
  829. position: absolute;
  830. right: 0;
  831. text-align: right;
  832. top: 0;
  833. }
  834. .markdown-section pre::after,
  835. .markdown-section output::after {
  836. content: attr(data-lang);
  837. }
  838. /* code highlight */
  839. .token.comment,
  840. .token.prolog,
  841. .token.doctype,
  842. .token.cdata {
  843. color: #8e908c;
  844. }
  845. .token.namespace {
  846. opacity: 0.7;
  847. }
  848. .token.boolean,
  849. .token.number {
  850. color: #c76b29;
  851. }
  852. .token.punctuation {
  853. color: #525252;
  854. }
  855. .token.property {
  856. color: #c08b30;
  857. }
  858. .token.tag {
  859. color: #2973b7;
  860. }
  861. .token.string {
  862. color: #0074d9;
  863. color: var(--theme-color, #0074d9);
  864. }
  865. .token.selector {
  866. color: #6679cc;
  867. }
  868. .token.attr-name {
  869. color: #2973b7;
  870. }
  871. .token.entity,
  872. .token.url,
  873. .language-css .token.string,
  874. .style .token.string {
  875. color: #22a2c9;
  876. }
  877. .token.attr-value,
  878. .token.control,
  879. .token.directive,
  880. .token.unit {
  881. color: #0074d9;
  882. color: var(--theme-color, #0074d9);
  883. }
  884. .token.keyword,
  885. .token.function {
  886. color: #e96900;
  887. }
  888. .token.statement,
  889. .token.regex,
  890. .token.atrule {
  891. color: #22a2c9;
  892. }
  893. .token.placeholder,
  894. .token.variable {
  895. color: #3d8fd1;
  896. }
  897. .token.deleted {
  898. text-decoration: line-through;
  899. }
  900. .token.inserted {
  901. border-bottom: 1px dotted #202746;
  902. text-decoration: none;
  903. }
  904. .token.italic {
  905. font-style: italic;
  906. }
  907. .token.important,
  908. .token.bold {
  909. font-weight: bold;
  910. }
  911. .token.important {
  912. color: #c94922;
  913. }
  914. .token.entity {
  915. cursor: help;
  916. }
  917. code .token {
  918. -moz-osx-font-smoothing: initial;
  919. -webkit-font-smoothing: initial;
  920. min-height: 1.5rem;
  921. position: relative;
  922. left: auto;
  923. }
  924. section.cover .copyright {
  925. bottom: 5px;
  926. position: fixed;
  927. left: 0;
  928. right: 0;
  929. text-align: center;
  930. }
  931. main .content .copyright {
  932. bottom: 5px;
  933. position: absolute;
  934. left: 10px;
  935. right: 0;
  936. text-align: left;
  937. }
  938. .markdown-section .clklog-contact-items {
  939. position: fixed;
  940. right: 5px;
  941. top: calc((100vh - 168px) / 2);
  942. z-index: 9999;
  943. /* background-color: #eaf2fc; */
  944. /* border-radius: 56px; */
  945. width: 55px;
  946. padding-left: 0px;
  947. }
  948. .markdown-section .clklog-contact-items .clklog-contact-item {
  949. width: 55px;
  950. height: 55px;
  951. position: relative;
  952. margin: 5px 0;
  953. list-style: none;
  954. background-color: #eaf2fc;
  955. border-radius: 36px;
  956. }
  957. .markdown-section .clklog-contact-items .clklog-contact-item:hover .clklog-contact-item-content {
  958. display: block;
  959. position: absolute;
  960. left: -150px;
  961. top: 5px;
  962. z-index: 9999;
  963. background-color: #eaf2fc;
  964. }
  965. .markdown-section .clklog-contact-items .clklog-contact-item.phone:hover .clklog-contact-item-content {
  966. left: -138px;
  967. }
  968. .markdown-section .clklog-contact-items .clklog-contact-item.wechat:hover .clklog-contact-item-content {
  969. left: -150px;
  970. }
  971. .markdown-section .clklog-contact-items .clklog-contact-item.email:hover .clklog-contact-item-content {
  972. left: -140px;
  973. }
  974. .markdown-section .clklog-contact-items .clklog-contact-item .clklog-contact-item-content .triangle {
  975. display: inline-block;
  976. width: 0;
  977. height: 0;
  978. border-top: 8px solid transparent;
  979. border-bottom: 8px solid transparent;
  980. border-left: 8px solid #eaf2fc;
  981. position: absolute;
  982. right: -8px;
  983. top: 15px;
  984. }
  985. .markdown-section .clklog-contact-items .clklog-contact-item {
  986. background-position: center;
  987. background-repeat: no-repeat;
  988. cursor: pointer;
  989. }
  990. .markdown-section .clklog-contact-items .clklog-contact-item.phone .info {
  991. font-size: 20px;
  992. }
  993. .markdown-section .clklog-contact-items .clklog-contact-item.email .info {
  994. font-size: 16px;
  995. }
  996. .markdown-section .clklog-contact-items .clklog-contact-item.wechat .info {
  997. text-align: center;
  998. }
  999. .markdown-section .clklog-contact-items .clklog-contact-item.phone {
  1000. background-image: url(../imgs/phone.png);
  1001. }
  1002. .markdown-section .clklog-contact-items .clklog-contact-item.phone:hover {
  1003. background-image: url(../imgs/phone.png);
  1004. }
  1005. .markdown-section .clklog-contact-items .clklog-contact-item.wechat {
  1006. background-image: url(../imgs/wechat.png);
  1007. }
  1008. .markdown-section .clklog-contact-items .clklog-contact-item.wechat:hover {
  1009. background-image: url(../imgs/wechat.png);
  1010. }
  1011. .markdown-section .clklog-contact-items .clklog-contact-item.email {
  1012. background-image: url(../imgs/email.png);
  1013. }
  1014. .markdown-section .clklog-contact-items .clklog-contact-item.email:hover {
  1015. background-image: url(../imgs/email.png);
  1016. }
  1017. .markdown-section .clklog-contact-items .clklog-contact-item .clklog-contact-item-content {
  1018. display: none;
  1019. }
  1020. .markdown-section .clklog-contact-items .clklog-contact-item:hover .clklog-contact-item-content {
  1021. border-radius: 5px;
  1022. }
  1023. .markdown-section .clklog-contact-items .clklog-contact-item:hover .clklog-contact-item-content.wechat p {
  1024. text-align: center;
  1025. }
  1026. .markdown-section .clklog-contact-items .clklog-contact-item:hover .clklog-contact-item-content p {
  1027. margin-top: 0;
  1028. margin-bottom: 0;
  1029. }
  1030. .markdown-section .clklog-contact-items .clklog-contact-item:hover .clklog-contact-item-content.wechat p {
  1031. }
  1032. .markdown-section .clklog-contact-items .clklog-contact-item:hover .clklog-contact-item-content .contentwrap {
  1033. padding: 10px;
  1034. }