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.

497 lines
8.1 KiB

  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. display:block;
  212. }
  213. table th {
  214. font-weight:bold;
  215. }
  216. table th,
  217. table td {
  218. padding: 6px 13px !important;
  219. border: 1px solid #ddd !important;
  220. }
  221. table tr {
  222. background-color:#fff;
  223. border-top:1px solid #ccc;
  224. }
  225. table tr:nth-child(2n) {
  226. background-color:#f8f8f8;
  227. }
  228. img {
  229. max-width:100%;
  230. box-sizing:border-box;
  231. }
  232. .emoji {
  233. max-width:none;
  234. }
  235. span.frame {
  236. display:block;
  237. overflow:hidden;
  238. }
  239. span.frame>span {
  240. display:block;
  241. float:left;
  242. width:auto;
  243. padding:7px;
  244. margin:13px 0 0;
  245. overflow:hidden;
  246. border:1px solid #ddd;
  247. }
  248. span.frame span img {
  249. display:block;
  250. float:left;
  251. }
  252. span.frame span span {
  253. display:block;
  254. padding:5px 0 0;
  255. clear:both;
  256. color:#333;
  257. }
  258. span.align-center {
  259. display:block;
  260. overflow:hidden;
  261. clear:both;
  262. }
  263. span.align-center>span {
  264. display:block;
  265. margin:13px auto 0;
  266. overflow:hidden;
  267. text-align:center;
  268. }
  269. span.align-center span img {
  270. margin:0 auto;
  271. text-align:center;
  272. }
  273. span.align-right {
  274. display:block;
  275. overflow:hidden;
  276. clear:both;
  277. }
  278. span.align-right>span {
  279. display:block;
  280. margin:13px 0 0;
  281. overflow:hidden;
  282. text-align:right;
  283. }
  284. span.align-right span img {
  285. margin:0;
  286. text-align:right;
  287. }
  288. span.float-left {
  289. display:block;
  290. float:left;
  291. margin-right:13px;
  292. overflow:hidden;
  293. }
  294. span.float-left span {
  295. margin:13px 0 0;
  296. }
  297. span.float-right {
  298. display:block;
  299. float:right;
  300. margin-left:13px;
  301. overflow:hidden;
  302. }
  303. span.float-right>span {
  304. display:block;
  305. margin:13px auto 0;
  306. overflow:hidden;
  307. text-align:right;
  308. }
  309. code,
  310. tt {
  311. padding:0;
  312. padding-top:0.2em;
  313. padding-bottom:0.2em;
  314. margin:0;
  315. font-size:85%;
  316. background-color:rgba(0,0,0,0.04);
  317. border-radius:3px;
  318. }
  319. code:before,
  320. code:after,
  321. tt:before,
  322. tt:after {
  323. letter-spacing:-0.2em;
  324. content:"\00a0";
  325. }
  326. code br,
  327. tt br {
  328. display:none;
  329. }
  330. del code {
  331. text-decoration:inherit;
  332. }
  333. pre>code {
  334. padding:0;
  335. margin:0;
  336. font-size:100%;
  337. word-break:normal;
  338. white-space:pre;
  339. background:transparent;
  340. border:0;
  341. }
  342. .highlight {
  343. margin-bottom:16px;
  344. }
  345. .highlight pre,
  346. pre {
  347. padding:16px;
  348. overflow:auto;
  349. font-size:85%;
  350. line-height:1.45;
  351. background-color:#f7f7f7;
  352. border-radius:3px;
  353. }
  354. .highlight pre {
  355. margin-bottom:0;
  356. word-break:normal;
  357. }
  358. pre {
  359. word-wrap:normal;
  360. }
  361. pre code,
  362. pre tt {
  363. display:inline;
  364. max-width:initial;
  365. padding:0;
  366. margin:0;
  367. overflow:initial;
  368. line-height:inherit;
  369. word-wrap:normal;
  370. background-color:transparent;
  371. border:0;
  372. }
  373. pre code:before,
  374. pre code:after,
  375. pre tt:before,
  376. pre tt:after {
  377. content:normal;
  378. }
  379. kbd {
  380. display:inline-block;
  381. padding:3px 5px;
  382. font-size:11px;
  383. line-height:10px;
  384. color:#555;
  385. vertical-align:middle;
  386. background-color:#fcfcfc;
  387. border:solid 1px #ccc;
  388. border-bottom-color:#bbb;
  389. border-radius:3px;
  390. box-shadow:inset 0 -1px 0 #bbb;
  391. }
  392. input[type="checkbox"] {
  393. vertical-align: middle !important;
  394. }
  395. .csv-data td,
  396. .csv-data th {
  397. padding:5px;
  398. overflow:hidden;
  399. font-size:12px;
  400. line-height:1;
  401. text-align:left;
  402. white-space:nowrap;
  403. }
  404. .csv-data .blob-num {
  405. padding:10px 8px 9px;
  406. text-align:right;
  407. background:#fff;border:0;
  408. }
  409. .csv-data tr {
  410. border-top:0;
  411. }
  412. .csv-data th {
  413. font-weight:bold;
  414. background:#f8f8f8;border-top:0;
  415. }
  416. .ui.list .list, ol.ui.list ol, ul.ui.list ul {
  417. padding-left: 2em;
  418. }
  419. }