github-markdown.css 5.6 KB

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