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.

499 lines
8.2 KiB

  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. 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;
  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: #777777;
  198. border-left: 4px solid #dddddd;
  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: 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 #dddddd !important;
  219. }
  220. table tr {
  221. background-color: #ffffff;
  222. border-top: 1px solid #cccccc;
  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 #dddddd;
  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: #333333;
  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.2em 0;
  311. margin: 0;
  312. font-size: 85%;
  313. background-color: rgba(0, 0, 0, 0.04);
  314. border-radius: 3px;
  315. }
  316. code:before,
  317. code:after,
  318. tt:before,
  319. tt:after {
  320. letter-spacing: -0.2em;
  321. content: "\00a0";
  322. }
  323. code br,
  324. tt br {
  325. display: none;
  326. }
  327. del code {
  328. text-decoration: inherit;
  329. }
  330. pre > code {
  331. padding: 0;
  332. margin: 0;
  333. font-size: 100%;
  334. word-break: normal;
  335. white-space: pre;
  336. background: transparent;
  337. border: 0;
  338. }
  339. .highlight {
  340. margin-bottom: 16px;
  341. }
  342. .highlight pre,
  343. pre {
  344. padding: 16px;
  345. overflow: auto;
  346. font-size: 85%;
  347. line-height: 1.45;
  348. background-color: #f7f7f7;
  349. border-radius: 3px;
  350. }
  351. .highlight pre {
  352. margin-bottom: 0;
  353. word-break: normal;
  354. }
  355. pre {
  356. word-wrap: normal;
  357. }
  358. pre code,
  359. pre tt {
  360. display: inline;
  361. max-width: initial;
  362. padding: 0;
  363. margin: 0;
  364. overflow: initial;
  365. line-height: inherit;
  366. word-wrap: normal;
  367. background-color: transparent;
  368. border: 0;
  369. }
  370. pre code:before,
  371. pre code:after,
  372. pre tt:before,
  373. pre tt:after {
  374. content: normal;
  375. }
  376. kbd {
  377. display: inline-block;
  378. padding: 3px 5px;
  379. font-size: 11px;
  380. line-height: 10px;
  381. color: #555555;
  382. vertical-align: middle;
  383. background-color: #fcfcfc;
  384. border: solid 1px #cccccc;
  385. border-bottom-color: #bbbbbb;
  386. border-radius: 3px;
  387. box-shadow: inset 0 -1px 0 #bbbbbb;
  388. }
  389. input[type="checkbox"] {
  390. vertical-align: middle !important;
  391. }
  392. .csv-data td,
  393. .csv-data th {
  394. padding: 5px;
  395. overflow: hidden;
  396. font-size: 12px;
  397. line-height: 1;
  398. text-align: left;
  399. white-space: nowrap;
  400. }
  401. .csv-data .blob-num {
  402. padding: 10px 8px 9px;
  403. text-align: right;
  404. background: #ffffff;
  405. border: 0;
  406. }
  407. .csv-data tr {
  408. border-top: 0;
  409. }
  410. .csv-data th {
  411. font-weight: bold;
  412. background: #f8f8f8;
  413. border-top: 0;
  414. }
  415. .ui.list .list,
  416. ol.ui.list ol,
  417. ul.ui.list ul {
  418. padding-left: 2em;
  419. }
  420. }