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 8.2KB

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