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

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