本站源代码
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

530 行
8.9KB

  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. }
  419. .repository.wiki.revisions {
  420. .ui.container > .ui.stackable.grid {
  421. -ms-flex-direction: row-reverse;
  422. flex-direction: row-reverse;
  423. > .header {
  424. margin-top: 0;
  425. .sub.header {
  426. padding-left: 52px;
  427. word-break: break-word;
  428. }
  429. }
  430. }
  431. }
  432. .file-revisions-btn {
  433. display: block;
  434. float: left;
  435. margin-bottom: 2px !important;
  436. padding: 11px !important;
  437. margin-right: 10px !important;
  438. i {
  439. -webkit-touch-callout: none;
  440. -webkit-user-select: none;
  441. -khtml-user-select: none;
  442. -moz-user-select: none;
  443. -ms-user-select: none;
  444. user-select: none;
  445. }
  446. }
上海开阖软件有限公司 沪ICP备12045867号-1