vue.css 17 KB

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