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

_markdown.less 8.2 kB

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: #c00;
  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:#000;
  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 #eee;
  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 #eee;
  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;color:#777;
  133. }
  134. h6 .anchor {
  135. line-height:1.1;
  136. }
  137. p,
  138. blockquote,
  139. ul,
  140. ol,
  141. dl,
  142. table,
  143. pre {
  144. margin-top: 0;
  145. margin-bottom: 16px;
  146. }
  147. blockquote {
  148. margin-left: 0;
  149. }
  150. hr {
  151. height:4px;
  152. padding:0;
  153. margin:16px 0;
  154. background-color:#e7e7e7;
  155. border:0 none;
  156. }
  157. ul,
  158. ol {
  159. padding-left:2em;
  160. }
  161. ul.no-list,
  162. ol.no-list {
  163. padding:0;
  164. list-style-type:none;
  165. }
  166. ul ul,
  167. ul ol,
  168. ol ol,
  169. ol ul {
  170. margin-top:0;
  171. margin-bottom:0;
  172. }
  173. ol ol,
  174. ul ol {
  175. list-style-type: lower-roman;
  176. }
  177. li>p {
  178. margin-top:0;
  179. }
  180. dl {
  181. padding:0;
  182. }
  183. dl dt {
  184. padding:0;
  185. margin-top:16px;
  186. font-size:1em;
  187. font-style:italic;
  188. font-weight:bold;
  189. }
  190. dl dd {
  191. padding:0 16px;
  192. margin-bottom:16px;
  193. }
  194. blockquote {
  195. padding:0 15px;
  196. color:#777;
  197. border-left:4px solid #ddd;
  198. }
  199. blockquote>:first-child {
  200. margin-top:0;
  201. }
  202. blockquote>:last-child {
  203. margin-bottom:0;
  204. }
  205. table {
  206. width:auto;
  207. overflow:auto;
  208. word-break:normal;
  209. word-break:keep-all;
  210. display:block;
  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. }