theme-default.style.css 17 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085
  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 .annotation {
  759. background-color: #292929;
  760. color: #fff;
  761. padding: 0 28px;
  762. margin: 0;
  763. width: 50%;
  764. float: right;
  765. clear: right;
  766. box-sizing: border-box;
  767. text-shadow: 0 1px 2px rgba(0, 0, 0, .4)
  768. }
  769. .content .annotation pre {
  770. padding: 0 0;
  771. width: 100%;
  772. float: none;
  773. }
  774. .content blockquote>p,
  775. .content pre>p {
  776. margin: 0
  777. }
  778. .content blockquote a,
  779. .content pre a {
  780. color: #fff;
  781. text-decoration: none;
  782. border-bottom: 1px dashed #ccc
  783. }
  784. .content blockquote>p {
  785. background-color: #1c1c1c;
  786. border-radius: 5px;
  787. padding: 13px;
  788. color: #ccc;
  789. border-top: 1px solid #000;
  790. border-bottom: 1px solid #404040
  791. }
  792. @media (max-width:930px) {
  793. .tocify-wrapper {
  794. left: -230px
  795. }
  796. .tocify-wrapper.open {
  797. left: 0
  798. }
  799. .page-wrapper {
  800. margin-left: 0
  801. }
  802. #nav-button {
  803. display: block
  804. }
  805. .tocify-wrapper .tocify-item>a {
  806. padding-top: .3em;
  807. padding-bottom: .3em
  808. }
  809. }
  810. @media (max-width:700px) {
  811. .dark-box {
  812. display: none
  813. }
  814. .tocify-wrapper .lang-selector {
  815. display: block
  816. }
  817. .page-wrapper .lang-selector {
  818. display: none
  819. }
  820. .content>aside,
  821. .content>details,
  822. .content>dl,
  823. .content>h1,
  824. .content>h2,
  825. .content>h3,
  826. .content>h4,
  827. .content>h5,
  828. .content>h6,
  829. .content>ol,
  830. .content>p,
  831. .content>table,
  832. .content>ul,
  833. .content>div,
  834. .content>form>aside,
  835. .content>form>details,
  836. .content>form>h1,
  837. .content>form>h2,
  838. .content>form>h3,
  839. .content>form>h4,
  840. .content>form>h5,
  841. .content>form>h6,
  842. .content>form>p,
  843. .content>form>table,
  844. .content>form>ul,
  845. .content>form>div {
  846. margin-right: 0;
  847. }
  848. .content blockquote,
  849. .content pre {
  850. float: none;
  851. width: auto
  852. }
  853. .content .annotation {
  854. float: none;
  855. width: auto
  856. }
  857. }
  858. .badge {
  859. padding: 1px 9px 2px;
  860. white-space: nowrap;
  861. -webkit-border-radius: 9px;
  862. -moz-border-radius: 9px;
  863. border-radius: 9px;
  864. color: #ffffff;
  865. text-shadow: none !important;
  866. font-weight: bold;
  867. }
  868. .badge.badge-darkred {
  869. background-color: darkred;
  870. }
  871. .badge.badge-red {
  872. background-color: red;
  873. }
  874. .badge.badge-blue {
  875. background-color: blue;
  876. }
  877. .badge.badge-darkblue {
  878. background-color: darkblue;
  879. }
  880. .badge.badge-green {
  881. background-color: green;
  882. }
  883. .badge.badge-darkgreen {
  884. background-color: darkgreen;
  885. }
  886. .badge.badge-purple {
  887. background-color: purple;
  888. }
  889. .badge.badge-black {
  890. background-color: black;
  891. }
  892. .badge.badge-grey {
  893. background-color: grey;
  894. }
  895. .fancy-heading-panel {
  896. background-color: lightgrey;
  897. border-radius: 5px;
  898. padding-left: 5px !important;
  899. padding-top: 5px !important;
  900. padding-bottom: 5px !important;
  901. margin-left: 25px;
  902. margin-right: 10px;
  903. width: 47%;
  904. }
  905. @media screen and (max-width: 700px) {
  906. .fancy-heading-panel {
  907. width: 95%;
  908. }
  909. }
  910. button {
  911. border: none;
  912. }
  913. * {
  914. /* Foreground, Background */
  915. scrollbar-color: #3c4c67 transparent;
  916. }
  917. *::-webkit-scrollbar { /* Background */
  918. width: 10px;
  919. height: 10px;
  920. background: transparent;
  921. }
  922. *::-webkit-scrollbar-thumb { /* Foreground */
  923. background: #626161;
  924. }