1
0

github.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. .entry-content blockquote:before,.entry-content blockquote:after {
  2. display: none
  3. }
  4. .entry-content {
  5. -ms-text-size-adjust: 100%;
  6. -webkit-text-size-adjust: 100%;
  7. line-height: 1.5;
  8. color: #24292e;
  9. /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";*/
  10. font-size: 16px;
  11. line-height: 1.5;
  12. word-wrap: break-word;
  13. }
  14. .entry-content .pl-c {
  15. color: #6a737d;
  16. }
  17. .entry-content .pl-c1,
  18. .entry-content .pl-s .pl-v {
  19. color: #005cc5;
  20. }
  21. .entry-content .pl-e,
  22. .entry-content .pl-en {
  23. color: #6f42c1;
  24. }
  25. .entry-content .pl-smi,
  26. .entry-content .pl-s .pl-s1 {
  27. color: #24292e;
  28. }
  29. .entry-content .pl-ent {
  30. color: #22863a;
  31. }
  32. .entry-content .pl-k {
  33. color: #d73a49;
  34. }
  35. .entry-content .pl-s,
  36. .entry-content .pl-pds,
  37. .entry-content .pl-s .pl-pse .pl-s1,
  38. .entry-content .pl-sr,
  39. .entry-content .pl-sr .pl-cce,
  40. .entry-content .pl-sr .pl-sre,
  41. .entry-content .pl-sr .pl-sra {
  42. color: #032f62;
  43. }
  44. .entry-content .pl-v,
  45. .entry-content .pl-smw {
  46. color: #e36209;
  47. }
  48. .entry-content .pl-bu {
  49. color: #b31d28;
  50. }
  51. .entry-content .pl-ii {
  52. color: #fafbfc;
  53. background-color: #b31d28;
  54. }
  55. .entry-content .pl-c2 {
  56. color: #fafbfc;
  57. background-color: #d73a49;
  58. }
  59. .entry-content .pl-c2::before {
  60. content: "^M";
  61. }
  62. .entry-content .pl-sr .pl-cce {
  63. font-weight: bold;
  64. color: #22863a;
  65. }
  66. .entry-content .pl-ml {
  67. color: #735c0f;
  68. }
  69. .entry-content .pl-mh,
  70. .entry-content .pl-mh .pl-en,
  71. .entry-content .pl-ms {
  72. font-weight: bold;
  73. color: #005cc5;
  74. }
  75. .entry-content .pl-mi {
  76. font-style: italic;
  77. color: #24292e;
  78. }
  79. .entry-content .pl-mb {
  80. font-weight: bold;
  81. color: #24292e;
  82. }
  83. .entry-content .pl-md {
  84. color: #b31d28;
  85. background-color: #ffeef0;
  86. }
  87. .entry-content .pl-mi1 {
  88. color: #22863a;
  89. background-color: #f0fff4;
  90. }
  91. .entry-content .pl-mc {
  92. color: #e36209;
  93. background-color: #ffebda;
  94. }
  95. .entry-content .pl-mi2 {
  96. color: #f6f8fa;
  97. background-color: #005cc5;
  98. }
  99. .entry-content .pl-mdr {
  100. font-weight: bold;
  101. color: #6f42c1;
  102. }
  103. .entry-content .pl-ba {
  104. color: #586069;
  105. }
  106. .entry-content .pl-sg {
  107. color: #959da5;
  108. }
  109. .entry-content .pl-corl {
  110. text-decoration: underline;
  111. color: #032f62;
  112. }
  113. .entry-content .octicon {
  114. display: inline-block;
  115. vertical-align: text-top;
  116. fill: currentColor;
  117. }
  118. .entry-content a {
  119. background-color: transparent;
  120. }
  121. .entry-content a:active,
  122. .entry-content a:hover {
  123. outline-width: 0;
  124. }
  125. .entry-content strong {
  126. font-weight: inherit;
  127. }
  128. .entry-content strong {
  129. font-weight: bolder;
  130. }
  131. .entry-content h1 {
  132. font-size: 2em;
  133. margin: 0.67em 0;
  134. }
  135. .entry-content img {
  136. border-style: none;
  137. }
  138. .entry-content kbd {
  139. font-family: monospace, monospace;
  140. font-size: 1em;
  141. }
  142. .entry-content hr {
  143. box-sizing: content-box;
  144. height: 0;
  145. overflow: visible;
  146. }
  147. .entry-content input {
  148. font: inherit;
  149. margin: 0;
  150. }
  151. .entry-content input {
  152. overflow: visible;
  153. }
  154. .entry-content [type="checkbox"] {
  155. box-sizing: border-box;
  156. padding: 0;
  157. }
  158. .entry-content * {
  159. box-sizing: border-box;
  160. }
  161. .entry-content input {
  162. font-family: inherit;
  163. font-size: inherit;
  164. line-height: inherit;
  165. }
  166. .entry-content a {
  167. text-decoration: none;
  168. }
  169. .entry-content a:hover {
  170. text-decoration: underline;
  171. }
  172. .entry-content strong {
  173. font-weight: 600;
  174. }
  175. .entry-content hr {
  176. height: 0;
  177. margin: 15px 0;
  178. overflow: hidden;
  179. background: transparent;
  180. border: 0;
  181. border-bottom: 1px solid #dfe2e5;
  182. }
  183. .entry-content hr::before {
  184. display: table;
  185. content: "";
  186. }
  187. .entry-content hr::after {
  188. display: table;
  189. clear: both;
  190. content: "";
  191. }
  192. .entry-content table {
  193. border-spacing: 0;
  194. border-collapse: collapse;
  195. }
  196. .entry-content td,
  197. .entry-content th {
  198. padding: 0;
  199. }
  200. .entry-content h1,
  201. .entry-content h2,
  202. .entry-content h3,
  203. .entry-content h4,
  204. .entry-content h5,
  205. .entry-content h6 {
  206. margin-top: 0;
  207. margin-bottom: 0;
  208. }
  209. .entry-content h1 {
  210. font-size: 32px;
  211. font-weight: 600;
  212. }
  213. .entry-content h2 {
  214. font-size: 24px;
  215. font-weight: 600;
  216. }
  217. .entry-content h3 {
  218. font-size: 20px;
  219. font-weight: 600;
  220. }
  221. .entry-content h4 {
  222. font-size: 16px;
  223. font-weight: 600;
  224. }
  225. .entry-content h5 {
  226. font-size: 14px;
  227. font-weight: 600;
  228. }
  229. .entry-content h6 {
  230. font-size: 12px;
  231. font-weight: 600;
  232. }
  233. .entry-content p {
  234. margin-top: 0;
  235. margin-bottom: 10px;
  236. }
  237. .entry-content blockquote {
  238. margin: 0;
  239. }
  240. .entry-content ul,
  241. .entry-content ol {
  242. padding-left: 0;
  243. margin-top: 0;
  244. margin-bottom: 0;
  245. }
  246. .entry-content ol ol,
  247. .entry-content ul ol {
  248. list-style-type: lower-roman;
  249. }
  250. .entry-content ul ul ol,
  251. .entry-content ul ol ol,
  252. .entry-content ol ul ol,
  253. .entry-content ol ol ol {
  254. list-style-type: lower-alpha;
  255. }
  256. .entry-content dd {
  257. margin-left: 0;
  258. }
  259. .entry-content .octicon {
  260. vertical-align: text-bottom;
  261. }
  262. .entry-content .pl-0 {
  263. padding-left: 0 !important;
  264. }
  265. .entry-content .pl-1 {
  266. padding-left: 4px !important;
  267. }
  268. .entry-content .pl-2 {
  269. padding-left: 8px !important;
  270. }
  271. .entry-content .pl-3 {
  272. padding-left: 16px !important;
  273. }
  274. .entry-content .pl-4 {
  275. padding-left: 24px !important;
  276. }
  277. .entry-content .pl-5 {
  278. padding-left: 32px !important;
  279. }
  280. .entry-content .pl-6 {
  281. padding-left: 40px !important;
  282. }
  283. .entry-content::before {
  284. display: table;
  285. content: "";
  286. }
  287. .entry-content::after {
  288. display: table;
  289. clear: both;
  290. content: "";
  291. }
  292. .entry-content>*:first-child {
  293. margin-top: 0 !important;
  294. }
  295. .entry-content>*:last-child {
  296. margin-bottom: 0 !important;
  297. }
  298. .entry-content a:not([href]) {
  299. color: inherit;
  300. text-decoration: none;
  301. }
  302. .entry-content .anchor {
  303. float: left;
  304. padding-right: 4px;
  305. margin-left: -20px;
  306. line-height: 1;
  307. }
  308. .entry-content .anchor:focus {
  309. outline: none;
  310. }
  311. .entry-content p,
  312. .entry-content blockquote,
  313. .entry-content ul,
  314. .entry-content ol,
  315. .entry-content dl,
  316. .entry-content table {
  317. margin-top: 0;
  318. margin-bottom: 16px;
  319. }
  320. .entry-content hr {
  321. height: 0.25em;
  322. padding: 0;
  323. margin: 24px 0;
  324. background-color: #e1e4e8;
  325. border: 0;
  326. }
  327. .entry-content blockquote {
  328. padding: 0 1em;
  329. color: #6a737d;
  330. border-left: 0.25em solid #dfe2e5;
  331. }
  332. .entry-content blockquote>:first-child {
  333. margin-top: 0;
  334. }
  335. .entry-content blockquote>:last-child {
  336. margin-bottom: 0;
  337. }
  338. .entry-content kbd {
  339. display: inline-block;
  340. padding: 3px 5px;
  341. font-size: 11px;
  342. line-height: 10px;
  343. color: #444d56;
  344. vertical-align: middle;
  345. background-color: #fafbfc;
  346. border: solid 1px #c6cbd1;
  347. border-bottom-color: #959da5;
  348. border-radius: 3px;
  349. box-shadow: inset 0 -1px 0 #959da5;
  350. }
  351. .entry-content h1,
  352. .entry-content h2,
  353. .entry-content h3,
  354. .entry-content h4,
  355. .entry-content h5,
  356. .entry-content h6 {
  357. margin-top: 24px;
  358. margin-bottom: 16px;
  359. font-weight: 600;
  360. line-height: 1.25;
  361. }
  362. .entry-content h1 .octicon-link,
  363. .entry-content h2 .octicon-link,
  364. .entry-content h3 .octicon-link,
  365. .entry-content h4 .octicon-link,
  366. .entry-content h5 .octicon-link,
  367. .entry-content h6 .octicon-link {
  368. color: #1b1f23;
  369. vertical-align: middle;
  370. visibility: hidden;
  371. }
  372. .entry-content h1:hover .anchor,
  373. .entry-content h2:hover .anchor,
  374. .entry-content h3:hover .anchor,
  375. .entry-content h4:hover .anchor,
  376. .entry-content h5:hover .anchor,
  377. .entry-content h6:hover .anchor {
  378. text-decoration: none;
  379. }
  380. .entry-content h1:hover .anchor .octicon-link,
  381. .entry-content h2:hover .anchor .octicon-link,
  382. .entry-content h3:hover .anchor .octicon-link,
  383. .entry-content h4:hover .anchor .octicon-link,
  384. .entry-content h5:hover .anchor .octicon-link,
  385. .entry-content h6:hover .anchor .octicon-link {
  386. visibility: visible;
  387. }
  388. .entry-content h1 {
  389. padding-bottom: 0.3em;
  390. font-size: 2em;
  391. border-bottom: 1px solid #eaecef;
  392. }
  393. .entry-content h2 {
  394. padding-bottom: 0.3em;
  395. font-size: 1.5em;
  396. border-bottom: 1px solid #eaecef;
  397. }
  398. .entry-content h3 {
  399. font-size: 1.25em;
  400. }
  401. .entry-content h4 {
  402. font-size: 1em;
  403. }
  404. .entry-content h5 {
  405. font-size: 0.875em;
  406. }
  407. .entry-content h6 {
  408. font-size: 0.85em;
  409. color: #6a737d;
  410. }
  411. .entry-content ul,
  412. .entry-content ol {
  413. padding-left: 2em;
  414. }
  415. .entry-content ul ul,
  416. .entry-content ul ol,
  417. .entry-content ol ol,
  418. .entry-content ol ul {
  419. margin-top: 0;
  420. margin-bottom: 0;
  421. }
  422. .entry-content li {
  423. word-wrap: break-all;
  424. }
  425. .entry-content li>p {
  426. margin-top: 16px;
  427. }
  428. .entry-content li+li {
  429. margin-top: 0.25em;
  430. }
  431. .entry-content dl {
  432. padding: 0;
  433. }
  434. .entry-content dl dt {
  435. padding: 0;
  436. margin-top: 16px;
  437. font-size: 1em;
  438. font-style: italic;
  439. font-weight: 600;
  440. }
  441. .entry-content dl dd {
  442. padding: 0 16px;
  443. margin-bottom: 16px;
  444. }
  445. .entry-content table {
  446. display: block;
  447. width: 100%;
  448. overflow: auto;
  449. }
  450. .entry-content table th {
  451. font-weight: 600;
  452. }
  453. .entry-content table th,
  454. .entry-content table td {
  455. padding: 6px 13px;
  456. border: 1px solid #dfe2e5;
  457. }
  458. .entry-content table tr {
  459. background-color: #fff;
  460. border-top: 1px solid #c6cbd1;
  461. }
  462. .entry-content table tr:nth-child(2n) {
  463. background-color: #f6f8fa;
  464. }
  465. .entry-content img {
  466. max-width: 100%;
  467. box-sizing: content-box;
  468. background-color: #fff;
  469. }
  470. .entry-content img[align=right] {
  471. padding-left: 20px;
  472. }
  473. .entry-content img[align=left] {
  474. padding-right: 20px;
  475. }
  476. .entry-content .full-commit .btn-outline:not(:disabled):hover {
  477. color: #005cc5;
  478. border-color: #005cc5;
  479. }
  480. .entry-content kbd {
  481. display: inline-block;
  482. padding: 3px 5px;
  483. font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  484. line-height: 10px;
  485. color: #444d56;
  486. vertical-align: middle;
  487. background-color: #fafbfc;
  488. border: solid 1px #d1d5da;
  489. border-bottom-color: #c6cbd1;
  490. border-radius: 3px;
  491. box-shadow: inset 0 -1px 0 #c6cbd1;
  492. }
  493. .entry-content :checked+.radio-label {
  494. position: relative;
  495. z-index: 1;
  496. border-color: #0366d6;
  497. }
  498. .entry-content .task-list-item {
  499. list-style-type: none;
  500. }
  501. .entry-content .task-list-item+.task-list-item {
  502. margin-top: 3px;
  503. }
  504. .entry-content .task-list-item input {
  505. margin: 0 0.2em 0.25em -1.6em;
  506. vertical-align: middle;
  507. }
  508. .entry-content hr {
  509. border-bottom-color: #eee;
  510. }
  511. /*fix mac code*/
  512. .entry-content pre.highlight-wrap {
  513. position: relative;
  514. background: #21252b;
  515. border-radius: 5px;
  516. font: 15px/22px 'Fira Code','Noto Sans SC';
  517. line-height: 1.6;
  518. margin-bottom: 1.6em;
  519. max-width: 100%;
  520. overflow: auto;
  521. text-shadow: none;
  522. color: #000;
  523. padding-top: 30px;
  524. box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .4)
  525. }
  526. .entry-content pre.highlight-wrap:before {
  527. content: " ";
  528. position: absolute;
  529. -webkit-border-radius: 50%;
  530. border-radius: 50%;
  531. background: #fc625d;
  532. width: 12px;
  533. height: 12px;
  534. left: 12px;
  535. margin-top: -18px;
  536. -webkit-box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
  537. box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
  538. z-index: 2
  539. }
  540. .entry-content pre.highlight-wrap .copy-code {
  541. color: #fff;
  542. position: absolute;
  543. float: right;
  544. right: 10px;
  545. top: 0;
  546. padding-top: 4px;
  547. padding-right: 2px;
  548. z-index: 2;
  549. font-size: 16px;
  550. }
  551. .entry-content pre.highlight-wrap .copy-code:hover {
  552. color: rgba(255,255,255,.5);
  553. }
  554. .entry-content pre .hljs-ln-line span::-moz-selection,
  555. .entry-content pre .hljs-ln-line::-moz-selection {
  556. background: #fff;
  557. color: #21252b
  558. }
  559. .entry-content pre .hljs-ln-line span::selection,
  560. .entry-content pre .hljs-ln-line::selection {
  561. background: #fff;
  562. color: #21252b
  563. }
  564. .entry-content pre.highlight-wrap code::-webkit-scrollbar {
  565. height: 10x !important;
  566. width: 10x !important;
  567. background-color: #1d1f21 !important
  568. }
  569. .entry-content pre.highlight-wrap code::-webkit-scrollbar-track {
  570. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3) !important;
  571. border-radius: 10px !important;
  572. background-color: #21252b !important
  573. }
  574. .entry-content pre.highlight-wrap code::-webkit-scrollbar-thumb {
  575. border-radius: 10px !important;
  576. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .5) !important;
  577. background-color: #21252b !important
  578. }
  579. .entry-content pre table.hljs-ln::-webkit-scrollbar {
  580. height: 10x !important;
  581. width: 10x !important;
  582. background-color: #1d1f21 !important;
  583. }
  584. .entry-content pre table.hljs-ln::-webkit-scrollbar-track {
  585. background-color: #41454a;
  586. }
  587. .entry-content pre table.hljs-ln::-webkit-scrollbar-thumb {
  588. border-radius: 10px !important;
  589. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .5) !important;
  590. background-color: #21252b !important;
  591. }
  592. .entry-content pre.highlight-wrap code {
  593. background: #1d1f21;
  594. color: #fff;
  595. word-break: break-word;
  596. font-family: 'Fira Code','Noto Sans SC';
  597. padding: 2px;
  598. text-shadow: none;
  599. border-radius: 0 0 5px 5px;
  600. }
  601. .entry-content pre.highlight-wrap code[data-rel]:before {
  602. color: #fff;
  603. content: attr(data-rel);
  604. height: 30px;
  605. line-height: 30px;
  606. background: #21252b;
  607. font-size: 16px;
  608. position: absolute;
  609. margin-top: -30px;
  610. left: 0;
  611. width: 100%;
  612. font-family: 'Fira Code','Noto Sans SC';
  613. font-weight: 700;
  614. padding: 0 80px;
  615. text-indent: 15px;
  616. text-align: center;
  617. float: left;
  618. z-index: 1;
  619. border-radius: 5px 5px 0 0;
  620. border-top-left-radius: 5px;
  621. border-top-right-radius: 5px;
  622. border-bottom-right-radius: 0;
  623. border-bottom-left-radius: 0;
  624. pointer-events: none
  625. }
  626. .entry-content pre .hljs {
  627. display: block;
  628. overflow-x: auto;
  629. padding: .5em;
  630. color: #abb2bf;
  631. background: rgba(254, 250, 199, .5);
  632. border-radius: 10px
  633. }
  634. .entry-content pre .hljs-comment,
  635. .entry-content pre .hljs-quote {
  636. color: #888f96;
  637. font-style: italic
  638. }
  639. .entry-content pre .hljs-doctag,
  640. .entry-content pre .hljs-formula,
  641. .entry-content pre .hljs-keyword {
  642. color: #c678dd
  643. }
  644. .entry-content pre .hljs-deletion,
  645. .entry-content pre .hljs-name,
  646. .entry-content pre .hljs-section,
  647. .entry-content pre .hljs-selector-tag,
  648. .entry-content pre .hljs-subst {
  649. color: #e06c75
  650. }
  651. .entry-content pre .hljs-literal {
  652. color: #56b6c2
  653. }
  654. .entry-content pre .hljs-addition,
  655. .entry-content pre .hljs-attribute,
  656. .entry-content pre .hljs-meta-string,
  657. .entry-content pre .hljs-regexp,
  658. .entry-content pre .hljs-string {
  659. color: #98c379
  660. }
  661. .entry-content pre .hljs-built_in,
  662. .entry-content pre .hljs-class .hljs-title {
  663. color: #e6c07b
  664. }
  665. .entry-content pre .hljs-attr,
  666. .entry-content pre .hljs-number,
  667. .entry-content pre .hljs-selector-attr,
  668. .entry-content pre .hljs-selector-class,
  669. .entry-content pre .hljs-selector-pseudo,
  670. .entry-content pre .hljs-template-variable,
  671. .entry-content pre .hljs-type,
  672. .entry-content pre .hljs-variable {
  673. color: #d19a66
  674. }
  675. .entry-content pre .hljs-bullet,
  676. .entry-content pre .hljs-link,
  677. .entry-content pre .hljs-meta,
  678. .entry-content pre .hljs-selector-id,
  679. .entry-content pre .hljs-symbol,
  680. .entry-content pre .hljs-title {
  681. color: #61aeee
  682. }
  683. .entry-content pre .hljs-emphasis {
  684. font-style: italic
  685. }
  686. .entry-content pre .hljs-strong {
  687. font-weight: 700
  688. }
  689. .entry-content pre .hljs-link {
  690. text-decoration: underline
  691. }
  692. .entry-content pre .hljs-ln {
  693. margin: 6px 0 0 0 !important
  694. }
  695. .entry-content pre td .hljs-ln-numbers {
  696. -webkit-touch-callout: none;
  697. -webkit-user-select: none;
  698. -khtml-user-select: none;
  699. -moz-user-select: none;
  700. -ms-user-select: none;
  701. user-select: none;
  702. text-align: center;
  703. color: #888f96;
  704. background: #1d1f21;
  705. font-family: 'Fira Code','Noto Sans SC';
  706. vertical-align: top;
  707. position: absolute;
  708. left: 0;
  709. width: 30px
  710. }
  711. .entry-content pre .hljs-ln-code .hljs-ln-line {
  712. margin-left: 22px;
  713. }
  714. .entry-content pre .hljs-ln-code .hljs-ln-line:hover {
  715. background-color: rgba(255, 255, 255, .1)
  716. }
  717. .entry-content pre .hljs-ln{border-collapse:collapse}
  718. .entry-content pre .hljs-ln td{padding:0}
  719. .entry-content pre .hljs-ln-n:before{content:attr(data-line-number)}
  720. /*fix*/
  721. .entry-content pre table tr {
  722. background-color: transparent;
  723. border-top: none;
  724. }
  725. .entry-content pre table th, .entry-content pre table td {
  726. border: none;
  727. }
  728. .entry-content pre table tr {
  729. background-color: transparent;
  730. border-top: 0;
  731. }
  732. .entry-content pre table tr:nth-child(2n) {
  733. background-color: transparent;
  734. }
  735. .code-block-fullscreen {
  736. position: fixed !important;
  737. top: 0 !important;
  738. left: 0 !important;
  739. width: 100% !important;
  740. height: 100% !important;
  741. min-width: 100% !important;
  742. z-index: 9999999 !important;
  743. margin: 0 !important;
  744. animation: elastic 1s !important
  745. }
  746. .code-block-fullscreen code {
  747. --widthA: 100%;
  748. --widthB: calc(var(--widthA) - 30px);
  749. height: var(--widthB) !important;
  750. min-height: 99% !important;
  751. overflow-y: hidden !important;
  752. overflow-x: auto !important;
  753. height: auto !important
  754. }
  755. .code-block-fullscreen-html-scroll {
  756. overflow: hidden !important
  757. }
  758. /*other fix*/
  759. .entry-content ol,.entry-content ul {
  760. margin: auto !important;
  761. }
  762. .hljs-ln-code.hljs-ln-line {
  763. margin-left: 25px;
  764. padding-left: 30px !important
  765. }
  766. .hljs-ln-code.hljs-ln-line:hover {
  767. background-color: rgba(255, 255, 255, .1)
  768. }