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.6KB

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