You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_markdown.less 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. .markdown:not(code) {
  2. overflow: hidden;
  3. font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
  4. font-size: 16px;
  5. line-height: 1.6 !important;
  6. word-wrap: break-word;
  7. &.file-view {
  8. padding: 2em 2em 2em !important;
  9. }
  10. >*:first-child {
  11. margin-top: 0 !important;
  12. }
  13. >*:last-child {
  14. margin-bottom: 0 !important;
  15. }
  16. a:not([href]) {
  17. color: inherit;
  18. text-decoration: none;
  19. }
  20. .absent {
  21. color: #c00;
  22. }
  23. .anchor {
  24. position: absolute;
  25. top: 0;
  26. left: 0;
  27. display: block;
  28. padding-right: 6px;
  29. padding-left: 30px;
  30. margin-left: -30px;
  31. }
  32. .anchor:focus {
  33. outline: none;
  34. }
  35. h1,
  36. h2,
  37. h3,
  38. h4,
  39. h5,
  40. h6 {
  41. position: relative;
  42. margin-top: 1em;
  43. margin-bottom: 16px;
  44. font-weight: bold;
  45. line-height: 1.4;
  46. &:first-of-type {
  47. margin-top: 0 !important;
  48. }
  49. }
  50. h1 .octicon-link,
  51. h2 .octicon-link,
  52. h3 .octicon-link,
  53. h4 .octicon-link,
  54. h5 .octicon-link,
  55. h6 .octicon-link {
  56. display:none;
  57. color:#000;
  58. vertical-align:middle;
  59. }
  60. h1:hover .anchor,
  61. h2:hover .anchor,
  62. h3:hover .anchor,
  63. h4:hover .anchor,
  64. h5:hover .anchor,
  65. h6:hover .anchor {
  66. padding-left:8px;
  67. margin-left:-30px;
  68. text-decoration:none;
  69. }
  70. h1:hover .anchor .octicon-link,
  71. h2:hover .anchor .octicon-link,
  72. h3:hover .anchor .octicon-link,
  73. h4:hover .anchor .octicon-link,
  74. h5:hover .anchor .octicon-link,
  75. h6:hover .anchor .octicon-link {
  76. display:inline-block;
  77. }
  78. h1 tt,
  79. h1 code,
  80. h2 tt,
  81. h2 code,
  82. h3 tt,
  83. h3 code,
  84. h4 tt,
  85. h4 code,
  86. h5 tt,
  87. h5 code,
  88. h6 tt,
  89. h6 code {
  90. font-size:inherit;
  91. }
  92. h1 {
  93. padding-bottom:0.3em;
  94. font-size:2.25em;
  95. line-height:1.2;
  96. border-bottom:1px solid #eee;
  97. }
  98. h1 .anchor {
  99. line-height:1;
  100. }
  101. h2 {
  102. padding-bottom:0.3em;
  103. font-size:1.75em;
  104. line-height:1.225;
  105. border-bottom:1px solid #eee;
  106. }
  107. h2 .anchor {
  108. line-height:1;
  109. }
  110. h3 {
  111. font-size:1.5em;
  112. line-height:1.43;
  113. }
  114. h3 .anchor {
  115. line-height:1.2;
  116. }
  117. h4 {
  118. font-size:1.25em;
  119. }
  120. h4 .anchor {
  121. line-height:1.2;
  122. }
  123. h5 {
  124. font-size:1em;
  125. }
  126. h5 .anchor {
  127. line-height:1.1;
  128. }
  129. h6 {
  130. font-size:1em;color:#777;
  131. }
  132. h6 .anchor {
  133. line-height:1.1;
  134. }
  135. p,
  136. blockquote,
  137. ul,
  138. ol,
  139. dl,
  140. table,
  141. pre {
  142. margin-top: 0;
  143. margin-bottom: 16px;
  144. }
  145. blockquote {
  146. margin-left: 0;
  147. }
  148. hr {
  149. height:4px;
  150. padding:0;
  151. margin:16px 0;
  152. background-color:#e7e7e7;
  153. border:0 none;
  154. }
  155. ul,
  156. ol {
  157. padding-left:2em;
  158. }
  159. ul.no-list,
  160. ol.no-list {
  161. padding:0;
  162. list-style-type:none;
  163. }
  164. ul ul,
  165. ul ol,
  166. ol ol,
  167. ol ul {
  168. margin-top:0;
  169. margin-bottom:0;
  170. }
  171. ol ol,
  172. ul ol {
  173. list-style-type: lower-roman;
  174. }
  175. li>p {
  176. margin-top:0;
  177. }
  178. dl {
  179. padding:0;
  180. }
  181. dl dt {
  182. padding:0;
  183. margin-top:16px;
  184. font-size:1em;
  185. font-style:italic;
  186. font-weight:bold;
  187. }
  188. dl dd {
  189. padding:0 16px;
  190. margin-bottom:16px;
  191. }
  192. blockquote {
  193. padding:0 15px;
  194. color:#777;
  195. border-left:4px solid #ddd;
  196. }
  197. blockquote>:first-child {
  198. margin-top:0;
  199. }
  200. blockquote>:last-child {
  201. margin-bottom:0;
  202. }
  203. table {
  204. width:auto;
  205. overflow:auto;
  206. word-break:normal;
  207. word-break:keep-all;
  208. }
  209. table th {
  210. font-weight:bold;
  211. }
  212. table th,
  213. table td {
  214. padding: 6px 13px !important;
  215. border: 1px solid #ddd !important;
  216. }
  217. table tr {
  218. background-color:#fff;
  219. border-top:1px solid #ccc;
  220. }
  221. table tr:nth-child(2n) {
  222. background-color:#f8f8f8;
  223. }
  224. img {
  225. max-width:100%;
  226. box-sizing:border-box;
  227. }
  228. .emoji {
  229. max-width:none;
  230. }
  231. span.frame {
  232. display:block;
  233. overflow:hidden;
  234. }
  235. span.frame>span {
  236. display:block;
  237. float:left;
  238. width:auto;
  239. padding:7px;
  240. margin:13px 0 0;
  241. overflow:hidden;
  242. border:1px solid #ddd;
  243. }
  244. span.frame span img {
  245. display:block;
  246. float:left;
  247. }
  248. span.frame span span {
  249. display:block;
  250. padding:5px 0 0;
  251. clear:both;
  252. color:#333;
  253. }
  254. span.align-center {
  255. display:block;
  256. overflow:hidden;
  257. clear:both;
  258. }
  259. span.align-center>span {
  260. display:block;
  261. margin:13px auto 0;
  262. overflow:hidden;
  263. text-align:center;
  264. }
  265. span.align-center span img {
  266. margin:0 auto;
  267. text-align:center;
  268. }
  269. span.align-right {
  270. display:block;
  271. overflow:hidden;
  272. clear:both;
  273. }
  274. span.align-right>span {
  275. display:block;
  276. margin:13px 0 0;
  277. overflow:hidden;
  278. text-align:right;
  279. }
  280. span.align-right span img {
  281. margin:0;
  282. text-align:right;
  283. }
  284. span.float-left {
  285. display:block;
  286. float:left;
  287. margin-right:13px;
  288. overflow:hidden;
  289. }
  290. span.float-left span {
  291. margin:13px 0 0;
  292. }
  293. span.float-right {
  294. display:block;
  295. float:right;
  296. margin-left:13px;
  297. overflow:hidden;
  298. }
  299. span.float-right>span {
  300. display:block;
  301. margin:13px auto 0;
  302. overflow:hidden;
  303. text-align:right;
  304. }
  305. code,
  306. tt {
  307. padding:0;
  308. padding-top:0.2em;
  309. padding-bottom:0.2em;
  310. margin:0;
  311. font-size:85%;
  312. background-color:rgba(0,0,0,0.04);
  313. border-radius:3px;
  314. }
  315. code:before,
  316. code:after,
  317. tt:before,
  318. tt:after {
  319. letter-spacing:-0.2em;
  320. content:"\00a0";
  321. }
  322. code br,
  323. tt br {
  324. display:none;
  325. }
  326. del code {
  327. text-decoration:inherit;
  328. }
  329. pre>code {
  330. padding:0;
  331. margin:0;
  332. font-size:100%;
  333. word-break:normal;
  334. white-space:pre;
  335. background:transparent;
  336. border:0;
  337. }
  338. .highlight {
  339. margin-bottom:16px;
  340. }
  341. .highlight pre,
  342. pre {
  343. padding:16px;
  344. overflow:auto;
  345. font-size:85%;
  346. line-height:1.45;
  347. background-color:#f7f7f7;
  348. border-radius:3px;
  349. }
  350. .highlight pre {
  351. margin-bottom:0;
  352. word-break:normal;
  353. }
  354. pre {
  355. word-wrap:normal;
  356. }
  357. pre code,
  358. pre tt {
  359. display:inline;
  360. max-width:initial;
  361. padding:0;
  362. margin:0;
  363. overflow:initial;
  364. line-height:inherit;
  365. word-wrap:normal;
  366. background-color:transparent;
  367. border:0;
  368. }
  369. pre code:before,
  370. pre code:after,
  371. pre tt:before,
  372. pre tt:after {
  373. content:normal;
  374. }
  375. kbd {
  376. display:inline-block;
  377. padding:3px 5px;
  378. font-size:11px;
  379. line-height:10px;
  380. color:#555;
  381. vertical-align:middle;
  382. background-color:#fcfcfc;
  383. border:solid 1px #ccc;
  384. border-bottom-color:#bbb;
  385. border-radius:3px;
  386. box-shadow:inset 0 -1px 0 #bbb;
  387. }
  388. input[type="checkbox"] {
  389. vertical-align: middle !important;
  390. }
  391. .csv-data td,
  392. .csv-data th {
  393. padding:5px;
  394. overflow:hidden;
  395. font-size:12px;
  396. line-height:1;
  397. text-align:left;
  398. white-space:nowrap;
  399. }
  400. .csv-data .blob-num {
  401. padding:10px 8px 9px;
  402. text-align:right;
  403. background:#fff;border:0;
  404. }
  405. .csv-data tr {
  406. border-top:0;
  407. }
  408. .csv-data th {
  409. font-weight:bold;
  410. background:#f8f8f8;border-top:0;
  411. }
  412. .ui.list .list, ol.ui.list ol, ul.ui.list ul {
  413. padding-left: 2em;
  414. }
  415. }