GitHub2.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. body {
  2. font-family: Helvetica, arial, sans-serif;
  3. font-size: 14px;
  4. line-height: 1.6;
  5. padding-top: 10px;
  6. padding-bottom: 10px;
  7. background-color: white;
  8. padding: 30px; }
  9. body > *:first-child {
  10. margin-top: 0 !important; }
  11. body > *:last-child {
  12. margin-bottom: 0 !important; }
  13. a {
  14. color: #4183C4; }
  15. a.absent {
  16. color: #cc0000; }
  17. a.anchor {
  18. display: block;
  19. padding-left: 30px;
  20. margin-left: -30px;
  21. cursor: pointer;
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. bottom: 0; }
  26. h1, h2, h3, h4, h5, h6 {
  27. margin: 20px 0 10px;
  28. padding: 0;
  29. font-weight: bold;
  30. -webkit-font-smoothing: antialiased;
  31. cursor: text;
  32. position: relative; }
  33. h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor {
  34. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA09pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2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A34B4Q76HUBelAfJYSA0CuMIEaRP8wGIkGMA54bgQIMACAmkXJi0hKJQAAAABJRU5ErkJggg==) no-repeat 10px center;
  35. text-decoration: none; }
  36. h1 tt, h1 code {
  37. font-size: inherit; }
  38. h2 tt, h2 code {
  39. font-size: inherit; }
  40. h3 tt, h3 code {
  41. font-size: inherit; }
  42. h4 tt, h4 code {
  43. font-size: inherit; }
  44. h5 tt, h5 code {
  45. font-size: inherit; }
  46. h6 tt, h6 code {
  47. font-size: inherit; }
  48. h1 {
  49. font-size: 28px;
  50. color: black; }
  51. h2 {
  52. font-size: 24px;
  53. border-bottom: 1px solid #cccccc;
  54. color: black; }
  55. h3 {
  56. font-size: 18px; }
  57. h4 {
  58. font-size: 16px; }
  59. h5 {
  60. font-size: 14px; }
  61. h6 {
  62. color: #777777;
  63. font-size: 14px; }
  64. p, blockquote, ul, ol, dl, li, table, pre {
  65. margin: 15px 0; }
  66. hr {
  67. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;
  68. border: 0 none;
  69. color: #cccccc;
  70. height: 4px;
  71. padding: 0;
  72. }
  73. body > h2:first-child {
  74. margin-top: 0;
  75. padding-top: 0; }
  76. body > h1:first-child {
  77. margin-top: 0;
  78. padding-top: 0; }
  79. body > h1:first-child + h2 {
  80. margin-top: 0;
  81. padding-top: 0; }
  82. body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child {
  83. margin-top: 0;
  84. padding-top: 0; }
  85. a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
  86. margin-top: 0;
  87. padding-top: 0; }
  88. h1 p, h2 p, h3 p, h4 p, h5 p, h6 p {
  89. margin-top: 0; }
  90. li p.first {
  91. display: inline-block; }
  92. li {
  93. margin: 0; }
  94. ul, ol {
  95. padding-left: 30px; }
  96. ul :first-child, ol :first-child {
  97. margin-top: 0; }
  98. dl {
  99. padding: 0; }
  100. dl dt {
  101. font-size: 14px;
  102. font-weight: bold;
  103. font-style: italic;
  104. padding: 0;
  105. margin: 15px 0 5px; }
  106. dl dt:first-child {
  107. padding: 0; }
  108. dl dt > :first-child {
  109. margin-top: 0; }
  110. dl dt > :last-child {
  111. margin-bottom: 0; }
  112. dl dd {
  113. margin: 0 0 15px;
  114. padding: 0 15px; }
  115. dl dd > :first-child {
  116. margin-top: 0; }
  117. dl dd > :last-child {
  118. margin-bottom: 0; }
  119. blockquote {
  120. border-left: 4px solid #dddddd;
  121. padding: 0 15px;
  122. color: #777777; }
  123. blockquote > :first-child {
  124. margin-top: 0; }
  125. blockquote > :last-child {
  126. margin-bottom: 0; }
  127. table {
  128. padding: 0;border-collapse: collapse; }
  129. table tr {
  130. border-top: 1px solid #cccccc;
  131. background-color: white;
  132. margin: 0;
  133. padding: 0; }
  134. table tr:nth-child(2n) {
  135. background-color: #f8f8f8; }
  136. table tr th {
  137. font-weight: bold;
  138. border: 1px solid #cccccc;
  139. margin: 0;
  140. padding: 6px 13px; }
  141. table tr td {
  142. border: 1px solid #cccccc;
  143. margin: 0;
  144. padding: 6px 13px; }
  145. table tr th :first-child, table tr td :first-child {
  146. margin-top: 0; }
  147. table tr th :last-child, table tr td :last-child {
  148. margin-bottom: 0; }
  149. img {
  150. max-width: 100%; }
  151. span.frame {
  152. display: block;
  153. overflow: hidden; }
  154. span.frame > span {
  155. border: 1px solid #dddddd;
  156. display: block;
  157. float: left;
  158. overflow: hidden;
  159. margin: 13px 0 0;
  160. padding: 7px;
  161. width: auto; }
  162. span.frame span img {
  163. display: block;
  164. float: left; }
  165. span.frame span span {
  166. clear: both;
  167. color: #333333;
  168. display: block;
  169. padding: 5px 0 0; }
  170. span.align-center {
  171. display: block;
  172. overflow: hidden;
  173. clear: both; }
  174. span.align-center > span {
  175. display: block;
  176. overflow: hidden;
  177. margin: 13px auto 0;
  178. text-align: center; }
  179. span.align-center span img {
  180. margin: 0 auto;
  181. text-align: center; }
  182. span.align-right {
  183. display: block;
  184. overflow: hidden;
  185. clear: both; }
  186. span.align-right > span {
  187. display: block;
  188. overflow: hidden;
  189. margin: 13px 0 0;
  190. text-align: right; }
  191. span.align-right span img {
  192. margin: 0;
  193. text-align: right; }
  194. span.float-left {
  195. display: block;
  196. margin-right: 13px;
  197. overflow: hidden;
  198. float: left; }
  199. span.float-left span {
  200. margin: 13px 0 0; }
  201. span.float-right {
  202. display: block;
  203. margin-left: 13px;
  204. overflow: hidden;
  205. float: right; }
  206. span.float-right > span {
  207. display: block;
  208. overflow: hidden;
  209. margin: 13px auto 0;
  210. text-align: right; }
  211. code, tt {
  212. margin: 0 2px;
  213. padding: 0 5px;
  214. white-space: nowrap;
  215. border: 1px solid #eaeaea;
  216. background-color: #f8f8f8;
  217. border-radius: 3px; }
  218. pre code {
  219. margin: 0;
  220. padding: 0;
  221. white-space: pre;
  222. border: none;
  223. background: transparent; }
  224. .highlight pre {
  225. background-color: #f8f8f8;
  226. border: 1px solid #cccccc;
  227. font-size: 13px;
  228. line-height: 19px;
  229. overflow: auto;
  230. padding: 6px 10px;
  231. border-radius: 3px; }
  232. pre {
  233. background-color: #f8f8f8;
  234. border: 1px solid #cccccc;
  235. font-size: 13px;
  236. line-height: 19px;
  237. overflow: auto;
  238. padding: 6px 10px;
  239. border-radius: 3px; }
  240. pre code, pre tt {
  241. background-color: transparent;
  242. border: none; }
  243. sup {
  244. font-size: 0.83em;
  245. vertical-align: super;
  246. line-height: 0;
  247. }
  248. * {
  249. -webkit-print-color-adjust: exact;
  250. }
  251. @media screen and (min-width: 914px) {
  252. body {
  253. width: 854px;
  254. margin:0 auto;
  255. }
  256. }
  257. @media print {
  258. table, pre {
  259. page-break-inside: avoid;
  260. }
  261. pre {
  262. word-wrap: break-word;
  263. }
  264. }