theme-default.style.css 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090
  1. /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
  2. html {
  3. font-family: 'Open Sans', sans-serif;
  4. font-size: 1.2em;
  5. -ms-text-size-adjust: 100%;
  6. -webkit-text-size-adjust: 100%
  7. }
  8. body {
  9. margin: 0
  10. }
  11. article,
  12. aside,
  13. details,
  14. figcaption,
  15. figure,
  16. footer,
  17. header,
  18. hgroup,
  19. main,
  20. menu,
  21. nav,
  22. section {
  23. display: block
  24. }
  25. summary {
  26. cursor: pointer;
  27. }
  28. audio,
  29. canvas,
  30. progress,
  31. video {
  32. display: inline-block;
  33. vertical-align: baseline
  34. }
  35. audio:not([controls]) {
  36. display: none;
  37. height: 0
  38. }
  39. [hidden],
  40. template {
  41. display: none
  42. }
  43. a {
  44. background-color: transparent
  45. }
  46. a:active,
  47. a:hover {
  48. outline: 0
  49. }
  50. abbr[title] {
  51. border-bottom: 1px dotted
  52. }
  53. b,
  54. strong {
  55. font-weight: 700
  56. }
  57. dfn {
  58. font-style: italic
  59. }
  60. h1 {
  61. font-size: 2em;
  62. margin: .67em 0
  63. }
  64. mark {
  65. background: #ff0;
  66. color: #000
  67. }
  68. small {
  69. font-size: 80%
  70. }
  71. sub,
  72. sup {
  73. font-size: 75%;
  74. line-height: 0;
  75. position: relative;
  76. vertical-align: baseline
  77. }
  78. sup {
  79. top: -.5em
  80. }
  81. sub {
  82. bottom: -.25em
  83. }
  84. img {
  85. border: 0
  86. }
  87. svg:not(:root) {
  88. overflow: hidden
  89. }
  90. figure {
  91. margin: 1em 40px
  92. }
  93. hr {
  94. box-sizing: content-box;
  95. height: 0
  96. }
  97. pre {
  98. overflow: auto
  99. }
  100. code,
  101. kbd,
  102. pre,
  103. samp {
  104. font-family: monospace, monospace;
  105. font-size: 1em
  106. }
  107. button,
  108. input,
  109. optgroup,
  110. select,
  111. textarea {
  112. color: inherit;
  113. font: inherit;
  114. margin: 0
  115. }
  116. button {
  117. overflow: visible
  118. }
  119. button,
  120. select {
  121. text-transform: none
  122. }
  123. button,
  124. html input[type=button],
  125. input[type=reset],
  126. input[type=submit] {
  127. -webkit-appearance: button;
  128. cursor: pointer
  129. }
  130. button[disabled],
  131. html input[disabled] {
  132. cursor: default
  133. }
  134. button::-moz-focus-inner,
  135. input::-moz-focus-inner {
  136. border: 0;
  137. padding: 0
  138. }
  139. input {
  140. line-height: normal
  141. }
  142. input[type=checkbox],
  143. input[type=radio] {
  144. box-sizing: border-box;
  145. padding: 0
  146. }
  147. input[type=number]::-webkit-inner-spin-button,
  148. input[type=number]::-webkit-outer-spin-button {
  149. height: auto
  150. }
  151. input[type=search] {
  152. -webkit-appearance: textfield;
  153. box-sizing: content-box
  154. }
  155. input[type=search]::-webkit-search-cancel-button,
  156. input[type=search]::-webkit-search-decoration {
  157. -webkit-appearance: none
  158. }
  159. fieldset {
  160. border: 1px solid silver;
  161. margin: 0 2px;
  162. padding: .35em .625em .75em
  163. }
  164. legend {
  165. border: 0;
  166. padding: 0
  167. }
  168. textarea {
  169. overflow: auto
  170. }
  171. optgroup {
  172. font-weight: 700
  173. }
  174. table {
  175. border-collapse: collapse;
  176. border-spacing: 0
  177. }
  178. td,
  179. th {
  180. padding: 0
  181. }
  182. body,
  183. html {
  184. font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, Microsoft Yahei, 微软雅黑, STXihei, 华文细黑, sans-serif;
  185. font-size: 16px;
  186. }
  187. .content h1,
  188. .content h2,
  189. .content h3,
  190. .content h4,
  191. .content h5,
  192. .content h6 {
  193. font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, Microsoft Yahei, 微软雅黑, STXihei, 华文细黑, sans-serif;
  194. }
  195. .content h1,
  196. .content h2,
  197. .content h3,
  198. .content h4,
  199. .content h5,
  200. .content h6 {
  201. font-weight: 700
  202. }
  203. .content code,
  204. .content pre {
  205. font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  206. font-size: 14px;
  207. line-height: 1.5
  208. }
  209. .content code {
  210. word-break: break-all;
  211. word-break: break-word;
  212. -webkit-hyphens: auto;
  213. -ms-hyphens: auto;
  214. hyphens: auto
  215. }
  216. .content aside.notice:before,
  217. .content aside.success:before,
  218. .content aside.warning:before,
  219. .tocify-wrapper>.search:before {
  220. font-family: 'Open Sans', sans-serif;
  221. speak: none;
  222. font-style: normal;
  223. font-variant: normal;
  224. text-transform: none;
  225. line-height: 1
  226. }
  227. .content aside.warning:before {
  228. content: "✋"
  229. }
  230. .content aside.notice:before {
  231. content: "ℹ"
  232. }
  233. .content aside.success:before {
  234. content: "✅"
  235. }
  236. .tocify-wrapper>.search:before {
  237. content: "🔎"
  238. }
  239. .highlight .c,
  240. .highlight .c1,
  241. .highlight .cm,
  242. .highlight .cs {
  243. color: #909090
  244. }
  245. .highlight,
  246. .highlight .w {
  247. background-color: #292929
  248. }
  249. .hljs {
  250. display: block;
  251. overflow-x: auto;
  252. padding: .5em;
  253. background: #23241f
  254. }
  255. .hljs,
  256. .hljs-subst,
  257. .hljs-tag {
  258. color: #f8f8f2
  259. }
  260. .hljs-emphasis,
  261. .hljs-strong {
  262. color: #a8a8a2
  263. }
  264. .hljs-bullet,
  265. .hljs-link,
  266. .hljs-literal,
  267. .hljs-number,
  268. .hljs-quote,
  269. .hljs-regexp {
  270. color: #ae81ff
  271. }
  272. .hljs-code,
  273. .hljs-section,
  274. .hljs-selector-class,
  275. .hljs-title {
  276. color: #a6e22e
  277. }
  278. .hljs-strong {
  279. font-weight: 700
  280. }
  281. .hljs-emphasis {
  282. font-style: italic
  283. }
  284. .hljs-attr,
  285. .hljs-keyword,
  286. .hljs-name,
  287. .hljs-selector-tag {
  288. color: #f92672
  289. }
  290. .hljs-attribute,
  291. .hljs-symbol {
  292. color: #66d9ef
  293. }
  294. .hljs-class .hljs-title,
  295. .hljs-params {
  296. color: #f8f8f2
  297. }
  298. .hljs-addition,
  299. .hljs-built_in,
  300. .hljs-builtin-name,
  301. .hljs-selector-attr,
  302. .hljs-selector-id,
  303. .hljs-selector-pseudo,
  304. .hljs-string,
  305. .hljs-template-variable,
  306. .hljs-type,
  307. .hljs-variable {
  308. color: #e6db74
  309. }
  310. .hljs-comment,
  311. .hljs-deletion,
  312. .hljs-meta {
  313. color: #75715e
  314. }
  315. body,
  316. html {
  317. color: #333;
  318. padding: 0;
  319. margin: 0;
  320. -webkit-font-smoothing: antialiased;
  321. -moz-osx-font-smoothing: grayscale;
  322. background-color: whitesmoke;
  323. height: 100%;
  324. -webkit-text-size-adjust: none
  325. }
  326. #toc>ul>li>a>span {
  327. float: right;
  328. background-color: #2484ff;
  329. border-radius: 40px;
  330. width: 20px
  331. }
  332. .tocify-wrapper {
  333. transition: left .3s ease-in-out;
  334. overflow-y: auto;
  335. overflow-x: hidden;
  336. position: fixed;
  337. z-index: 30;
  338. top: 0;
  339. left: 0;
  340. bottom: 0;
  341. width: 230px;
  342. background-color: #393939;
  343. font-size: 13px;
  344. font-weight: 700
  345. }
  346. .tocify-wrapper .lang-selector {
  347. display: none
  348. }
  349. .tocify-wrapper .lang-selector a {
  350. padding-top: .5em;
  351. padding-bottom: .5em
  352. }
  353. .tocify-wrapper>img {
  354. display: block
  355. }
  356. .tocify-wrapper>.search {
  357. position: relative
  358. }
  359. .tocify-wrapper>.search input {
  360. background: #393939;
  361. border-width: 0 0 1px;
  362. border-color: #666;
  363. padding: 6px 0 6px 20px;
  364. box-sizing: border-box;
  365. margin: 10px 15px;
  366. width: 200px;
  367. outline: none;
  368. color: #fff;
  369. border-radius: 0
  370. }
  371. .tocify-wrapper>.search:before {
  372. position: absolute;
  373. top: 17px;
  374. left: 15px;
  375. color: #fff
  376. }
  377. .tocify-wrapper img+.tocify {
  378. margin-top: 20px
  379. }
  380. .tocify-wrapper .search-results {
  381. margin-top: 0;
  382. box-sizing: border-box;
  383. height: 0;
  384. overflow-y: auto;
  385. overflow-x: hidden;
  386. transition-property: height, margin;
  387. transition-duration: .18s;
  388. transition-timing-function: ease-in-out;
  389. background: linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 8px), linear-gradient(0deg, rgba(0, 0, 0, .2), transparent 8px), linear-gradient(180deg, #000, transparent 1.5px), linear-gradient(0deg, #939393, hsla(0, 0%, 58%, 0) 1.5px), #262626
  390. }
  391. .tocify-wrapper .search-results.visible {
  392. height: 30%;
  393. margin-bottom: 1em
  394. }
  395. .tocify-wrapper .search-results li {
  396. margin: 1em 15px;
  397. line-height: 1
  398. }
  399. .tocify-wrapper a {
  400. color: #fff;
  401. text-decoration: none
  402. }
  403. .tocify-wrapper .search-results a:hover {
  404. text-decoration: underline
  405. }
  406. .tocify-wrapper .toc-footer li,
  407. .tocify-wrapper .tocify-item>a {
  408. padding: 0 15px;
  409. display: block;
  410. overflow-x: hidden;
  411. white-space: nowrap;
  412. text-overflow: ellipsis
  413. }
  414. .tocify-wrapper .tocify-item.level-3>a {
  415. padding: 0 25px;
  416. }
  417. .tocify-wrapper li,
  418. .tocify-wrapper ul {
  419. list-style: none;
  420. margin: 0;
  421. padding: 0;
  422. line-height: 28px
  423. }
  424. .tocify-wrapper li {
  425. color: #fff;
  426. transition-property: background;
  427. transition-timing-function: linear;
  428. transition-duration: .23s
  429. }
  430. .tocify-wrapper .tocify-focus {
  431. box-shadow: 0 1px 0 #000;
  432. background-color: #2467af;
  433. color: #fff;
  434. font-weight: bold;
  435. }
  436. .tocify-wrapper .tocify-subheader {
  437. display: none;
  438. background-color: #262626;
  439. font-weight: 500;
  440. background: linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 8px), linear-gradient(0deg, rgba(0, 0, 0, .2), transparent 8px), linear-gradient(180deg, #000, transparent 1.5px), linear-gradient(0deg, #939393, hsla(0, 0%, 58%, 0) 1.5px), #262626
  441. }
  442. .tocify-wrapper .jets-searching .tocify-subheader,
  443. .tocify-wrapper .tocify-subheader.visible {
  444. display: block;
  445. }
  446. .tocify-wrapper .tocify-subheader .tocify-item>a {
  447. padding-left: 25px;
  448. font-size: 12px
  449. }
  450. .tocify-wrapper .tocify-subheader .tocify-item.level-3>a {
  451. padding-left: 35px;
  452. }
  453. .tocify-wrapper .tocify-subheader>li:last-child {
  454. box-shadow: none
  455. }
  456. .tocify-wrapper .toc-footer {
  457. padding: 1em 0;
  458. margin-top: 1em;
  459. border-top: 1px dashed #666
  460. }
  461. .tocify-wrapper .toc-footer a,
  462. .tocify-wrapper .toc-footer li {
  463. color: #fff;
  464. text-decoration: none
  465. }
  466. .tocify-wrapper .toc-footer a:hover {
  467. text-decoration: underline
  468. }
  469. .tocify-wrapper .toc-footer li {
  470. font-size: .8em;
  471. line-height: 1.7;
  472. text-decoration: none
  473. }
  474. #nav-button {
  475. padding: 0 1.5em 5em 0;
  476. display: none;
  477. position: fixed;
  478. top: 0;
  479. left: 0;
  480. z-index: 100;
  481. color: #000;
  482. text-decoration: none;
  483. font-weight: 700;
  484. opacity: .7;
  485. line-height: 16px;
  486. transition: left .3s ease-in-out
  487. }
  488. #nav-button span {
  489. display: block;
  490. padding: 6px;
  491. background-color: rgba(234, 242, 246, .7);
  492. -webkit-transform-origin: 0 0;
  493. transform-origin: 0 0;
  494. -webkit-transform: rotate(-90deg) translate(-100%);
  495. transform: rotate(-90deg) translate(-100%);
  496. border-radius: 0 0 0 5px
  497. }
  498. #nav-button img {
  499. height: 16px;
  500. vertical-align: bottom
  501. }
  502. #nav-button:hover {
  503. opacity: 1
  504. }
  505. #nav-button.open {
  506. left: 230px
  507. }
  508. .page-wrapper {
  509. margin-left: 230px;
  510. position: relative;
  511. z-index: 10;
  512. background-color: #eaf2f6;
  513. min-height: 100%;
  514. padding-bottom: 1px
  515. }
  516. .page-wrapper .dark-box {
  517. width: 50%;
  518. background-color: #393939;
  519. position: absolute;
  520. right: 0;
  521. top: 0;
  522. bottom: 0
  523. }
  524. .page-wrapper .lang-selector {
  525. position: fixed;
  526. z-index: 50;
  527. border-bottom: 5px solid #393939
  528. }
  529. .lang-selector {
  530. background-color: #222;
  531. width: 100%;
  532. font-weight: 700
  533. }
  534. .lang-selector button {
  535. display: block;
  536. float: left;
  537. color: #fff;
  538. text-decoration: none;
  539. padding: 0 10px;
  540. line-height: 30px;
  541. outline: 0;
  542. background: transparent;
  543. border: none;
  544. }
  545. .lang-selector button:active,
  546. .lang-selector button:hover,
  547. .lang-selector button:focus {
  548. background-color: #111;
  549. color: #fff
  550. }
  551. .lang-selector button.active {
  552. background-color: #393939;
  553. color: #fff
  554. }
  555. .lang-selector:after {
  556. content: '';
  557. clear: both;
  558. display: block
  559. }
  560. .content {
  561. position: relative;
  562. z-index: 30
  563. }
  564. .content:after {
  565. content: '';
  566. display: block;
  567. clear: both
  568. }
  569. .content>aside,
  570. .content>details,
  571. .content>dl,
  572. .content>h1,
  573. .content>h2,
  574. .content>h3,
  575. .content>h4,
  576. .content>h5,
  577. .content>h6,
  578. .content>ol,
  579. .content>p,
  580. .content>table,
  581. .content>ul,
  582. .content>div,
  583. .content>form>aside,
  584. .content>form>details,
  585. .content>form>h1,
  586. .content>form>h2,
  587. .content>form>h3,
  588. .content>form>h4,
  589. .content>form>h5,
  590. .content>form>h6,
  591. .content>form>p,
  592. .content>form>table,
  593. .content>form>ul,
  594. .content>form>div {
  595. margin-right: 50%;
  596. padding: 0 28px;
  597. box-sizing: border-box;
  598. display: block;
  599. text-shadow: 0 1px 0 #fff
  600. }
  601. .content>ol,
  602. .content>ul {
  603. padding-left: 43px
  604. }
  605. .content>div,
  606. .content>h1,
  607. .content>h2 {
  608. clear: both
  609. }
  610. .content h1 {
  611. font-size: 30px;
  612. padding-top: .5em;
  613. padding-bottom: .5em;
  614. border-bottom: 1px solid #ccc;
  615. margin-bottom: 21px;
  616. margin-top: 2em;
  617. border-top: 1px solid #ddd;
  618. background-image: linear-gradient(180deg, #fff, #f9f9f9)
  619. }
  620. .content div:first-child+h1,
  621. .content h1:first-child {
  622. border-top-width: 0;
  623. margin-top: 0
  624. }
  625. .content h2 {
  626. font-size: 20px;
  627. margin-top: 4em;
  628. margin-bottom: 0;
  629. border-top: 1px solid #ccc;
  630. padding-top: 1.2em;
  631. padding-bottom: 1.2em;
  632. background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .4), hsla(0, 0%, 100%, 0))
  633. }
  634. .content h1+div+h2,
  635. .content h1+h2 {
  636. margin-top: -21px;
  637. border-top: none
  638. }
  639. .content h3,
  640. .content h4,
  641. .content h5,
  642. .content h6 {
  643. font-size: 15px;
  644. margin-top: 2.5em;
  645. margin-bottom: .8em
  646. }
  647. .content h4,
  648. .content h5,
  649. .content h6 {
  650. font-size: 10px
  651. }
  652. .content hr {
  653. margin: 2em 0;
  654. border-top: 2px solid #393939;
  655. border-bottom: 2px solid #eaf2f6
  656. }
  657. .content table {
  658. margin-bottom: 1em;
  659. overflow: auto
  660. }
  661. .content table td,
  662. .content table th {
  663. text-align: left;
  664. vertical-align: top;
  665. line-height: 1.6
  666. }
  667. .content table th {
  668. padding: 5px 10px;
  669. border-bottom: 1px solid #ccc;
  670. vertical-align: bottom
  671. }
  672. .content table td {
  673. padding: 10px
  674. }
  675. .content table tr:last-child {
  676. border-bottom: 1px solid #ccc
  677. }
  678. .content table tr:nth-child(odd)>td {
  679. background-color: #ebf3f6
  680. }
  681. .content table tr:nth-child(even)>td {
  682. background-color: #ebf2f6
  683. }
  684. .content dt {
  685. font-weight: 700
  686. }
  687. .content dd {
  688. margin-left: 15px
  689. }
  690. .content dd,
  691. .content dt,
  692. .content li,
  693. .content p {
  694. line-height: 1.6;
  695. margin-top: 0
  696. }
  697. .content img {
  698. max-width: 100%
  699. }
  700. .content code {
  701. padding: 3px;
  702. border-radius: 3px
  703. }
  704. .content pre>code {
  705. background-color: transparent;
  706. padding: 0
  707. }
  708. .content aside {
  709. padding-top: 1em;
  710. padding-bottom: 1em;
  711. margin-top: 1.5em;
  712. margin-bottom: 1.5em;
  713. background: #292929;
  714. line-height: 1.6;
  715. color: #c8c8c8;
  716. text-shadow: none;
  717. }
  718. .content aside.info {
  719. background: #8fbcd4;
  720. text-shadow: 0 1px 0 #a0c6da;
  721. color: initial;
  722. }
  723. .content aside.warning {
  724. background-color: #c97a7e;
  725. text-shadow: 0 1px 0 #d18e91;
  726. color: initial;
  727. }
  728. .content aside.success {
  729. background-color: #6ac174;
  730. text-shadow: 0 1px 0 #80ca89;
  731. color: initial;
  732. }
  733. .content aside:before {
  734. vertical-align: middle;
  735. padding-right: .5em;
  736. font-size: 14px
  737. }
  738. .content .search-highlight {
  739. padding: 2px;
  740. margin: -2px;
  741. border-radius: 4px;
  742. border: 1px solid #f7e633;
  743. text-shadow: 1px 1px 0 #666;
  744. background: linear-gradient(to top left, #f7e633, #f1d32f)
  745. }
  746. .content blockquote,
  747. .content pre {
  748. background-color: #292929;
  749. color: #fff;
  750. padding: 1.5em 28px;
  751. margin: 0;
  752. width: 50%;
  753. float: right;
  754. clear: right;
  755. box-sizing: border-box;
  756. text-shadow: 0 1px 2px rgba(0, 0, 0, .4)
  757. }
  758. .content blockquote pre.sf-dump,
  759. .content pre pre.sf-dump {
  760. width: 100%;
  761. }
  762. .content .annotation {
  763. background-color: #292929;
  764. color: #fff;
  765. padding: 0 28px;
  766. margin: 0;
  767. width: 50%;
  768. float: right;
  769. clear: right;
  770. box-sizing: border-box;
  771. text-shadow: 0 1px 2px rgba(0, 0, 0, .4)
  772. }
  773. .content .annotation pre {
  774. padding: 0 0;
  775. width: 100%;
  776. float: none;
  777. }
  778. .content blockquote>p,
  779. .content pre>p {
  780. margin: 0
  781. }
  782. .content blockquote a,
  783. .content pre a {
  784. color: #fff;
  785. text-decoration: none;
  786. border-bottom: 1px dashed #ccc
  787. }
  788. .content blockquote>p {
  789. background-color: #1c1c1c;
  790. border-radius: 5px;
  791. padding: 13px;
  792. color: #ccc;
  793. border-top: 1px solid #000;
  794. border-bottom: 1px solid #404040
  795. }
  796. @media (max-width:930px) {
  797. .tocify-wrapper {
  798. left: -230px
  799. }
  800. .tocify-wrapper.open {
  801. left: 0
  802. }
  803. .page-wrapper {
  804. margin-left: 0
  805. }
  806. #nav-button {
  807. display: block
  808. }
  809. .tocify-wrapper .tocify-item>a {
  810. padding-top: .3em;
  811. padding-bottom: .3em
  812. }
  813. }
  814. @media (max-width:700px) {
  815. .dark-box {
  816. display: none
  817. }
  818. .tocify-wrapper .lang-selector {
  819. display: block
  820. }
  821. .page-wrapper .lang-selector {
  822. display: none
  823. }
  824. .content>aside,
  825. .content>details,
  826. .content>dl,
  827. .content>h1,
  828. .content>h2,
  829. .content>h3,
  830. .content>h4,
  831. .content>h5,
  832. .content>h6,
  833. .content>ol,
  834. .content>p,
  835. .content>table,
  836. .content>ul,
  837. .content>div,
  838. .content>form>aside,
  839. .content>form>details,
  840. .content>form>h1,
  841. .content>form>h2,
  842. .content>form>h3,
  843. .content>form>h4,
  844. .content>form>h5,
  845. .content>form>h6,
  846. .content>form>p,
  847. .content>form>table,
  848. .content>form>ul,
  849. .content>form>div {
  850. margin-right: 0;
  851. }
  852. .content blockquote,
  853. .content pre {
  854. float: none;
  855. width: auto
  856. }
  857. .content .annotation {
  858. float: none;
  859. width: auto
  860. }
  861. }
  862. .badge {
  863. padding: 1px 9px 2px;
  864. white-space: nowrap;
  865. -webkit-border-radius: 9px;
  866. -moz-border-radius: 9px;
  867. border-radius: 9px;
  868. color: #ffffff;
  869. text-shadow: none !important;
  870. font-weight: bold;
  871. }
  872. .badge.badge-darkred {
  873. background-color: darkred;
  874. }
  875. .badge.badge-red {
  876. background-color: red;
  877. }
  878. .badge.badge-blue {
  879. background-color: blue;
  880. }
  881. .badge.badge-darkblue {
  882. background-color: darkblue;
  883. }
  884. .badge.badge-green {
  885. background-color: green;
  886. }
  887. .badge.badge-darkgreen {
  888. background-color: darkgreen;
  889. }
  890. .badge.badge-purple {
  891. background-color: purple;
  892. }
  893. .badge.badge-black {
  894. background-color: black;
  895. }
  896. .badge.badge-grey {
  897. background-color: grey;
  898. }
  899. .fancy-heading-panel {
  900. background-color: lightgrey;
  901. border-radius: 5px;
  902. padding-left: 5px !important;
  903. padding-top: 5px !important;
  904. padding-bottom: 5px !important;
  905. margin-left: 25px;
  906. margin-right: 10px;
  907. width: 47%;
  908. }
  909. @media screen and (max-width: 700px) {
  910. .fancy-heading-panel {
  911. width: 95%;
  912. }
  913. }
  914. button {
  915. border: none;
  916. }
  917. * {
  918. /* Foreground, Background */
  919. scrollbar-color: #3c4c67 transparent;
  920. }
  921. *::-webkit-scrollbar { /* Background */
  922. width: 10px;
  923. height: 10px;
  924. background: transparent;
  925. }
  926. *::-webkit-scrollbar-thumb { /* Foreground */
  927. background: #626161;
  928. }