stylesheet.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. /*******************************************************************************
  2. Slate Theme for Github Pages
  3. by Jason Costello, @jsncostello
  4. *******************************************************************************/
  5. @import url(pygment_trac.css);
  6. /*******************************************************************************
  7. MeyerWeb Reset
  8. *******************************************************************************/
  9. html, body, div, span, applet, object, iframe,
  10. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  11. a, abbr, acronym, address, big, cite, code,
  12. del, dfn, em, img, ins, kbd, q, s, samp,
  13. small, strike, strong, sub, sup, tt, var,
  14. b, u, i, center,
  15. dl, dt, dd, ol, ul, li,
  16. fieldset, form, label, legend,
  17. table, caption, tbody, tfoot, thead, tr, th, td,
  18. article, aside, canvas, details, embed,
  19. figure, figcaption, footer, header, hgroup,
  20. menu, nav, output, ruby, section, summary,
  21. time, mark, audio, video {
  22. margin: 0;
  23. padding: 0;
  24. border: 0;
  25. font: inherit;
  26. vertical-align: baseline;
  27. }
  28. /* HTML5 display-role reset for older browsers */
  29. article, aside, details, figcaption, figure,
  30. footer, header, hgroup, menu, nav, section {
  31. display: block;
  32. }
  33. ol, ul {
  34. list-style: none;
  35. }
  36. blockquote, q {
  37. }
  38. table {
  39. border-collapse: collapse;
  40. border-spacing: 0;
  41. }
  42. a:focus {
  43. outline: none;
  44. }
  45. /*******************************************************************************
  46. Theme Styles
  47. *******************************************************************************/
  48. body {
  49. box-sizing: border-box;
  50. color:#373737;
  51. background: #212121;
  52. font-size: 16px;
  53. font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  54. line-height: 1.5;
  55. -webkit-font-smoothing: antialiased;
  56. }
  57. h1, h2, h3, h4, h5, h6 {
  58. margin: 10px 0;
  59. font-weight: 700;
  60. color:#222222;
  61. font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
  62. letter-spacing: -1px;
  63. }
  64. h1 {
  65. font-size: 36px;
  66. font-weight: 700;
  67. }
  68. h2 {
  69. padding-bottom: 10px;
  70. font-size: 32px;
  71. background: url('../images/bg_hr.png') repeat-x bottom;
  72. }
  73. h3 {
  74. font-size: 24px;
  75. }
  76. h4 {
  77. font-size: 21px;
  78. }
  79. h5 {
  80. font-size: 18px;
  81. }
  82. h6 {
  83. font-size: 16px;
  84. }
  85. p {
  86. margin: 10px 0 15px 0;
  87. }
  88. footer p {
  89. color: #f2f2f2;
  90. }
  91. a {
  92. text-decoration: none;
  93. color: #007edf;
  94. text-shadow: none;
  95. transition: color 0.5s ease;
  96. transition: text-shadow 0.5s ease;
  97. -moz-transition: color 0.5s ease;
  98. -moz-transition: text-shadow 0.5s ease;
  99. -o-transition: color 0.5s ease;
  100. -o-transition: text-shadow 0.5s ease;
  101. -ms-transition: color 0.5s ease;
  102. -ms-transition: text-shadow 0.5s ease;
  103. }
  104. #main_content a:hover {
  105. color: #0069ba;
  106. text-shadow: #0090ff 0px 0px 2px;
  107. }
  108. footer a:hover {
  109. color: #43adff;
  110. text-shadow: #0090ff 0px 0px 2px;
  111. }
  112. em {
  113. font-style: italic;
  114. }
  115. strong {
  116. font-weight: bold;
  117. }
  118. img {
  119. position: relative;
  120. margin: 0 auto;
  121. max-width: 739px;
  122. padding: 5px;
  123. margin: 10px 0 10px 0;
  124. border: 1px solid #ebebeb;
  125. box-shadow: 0 0 5px #ebebeb;
  126. -webkit-box-shadow: 0 0 5px #ebebeb;
  127. -moz-box-shadow: 0 0 5px #ebebeb;
  128. -o-box-shadow: 0 0 5px #ebebeb;
  129. -ms-box-shadow: 0 0 5px #ebebeb;
  130. }
  131. pre, code {
  132. width: 100%;
  133. color: #222;
  134. background-color: #fff;
  135. font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  136. font-size: 14px;
  137. border-radius: 2px;
  138. -moz-border-radius: 2px;
  139. -webkit-border-radius: 2px;
  140. }
  141. pre {
  142. width: 100%;
  143. padding: 10px;
  144. box-shadow: 0 0 10px rgba(0,0,0,.1);
  145. overflow: auto;
  146. }
  147. code {
  148. padding: 3px;
  149. margin: 0 3px;
  150. box-shadow: 0 0 10px rgba(0,0,0,.1);
  151. }
  152. pre code {
  153. display: block;
  154. box-shadow: none;
  155. }
  156. blockquote {
  157. color: #666;
  158. margin-bottom: 20px;
  159. padding: 0 0 0 20px;
  160. border-left: 3px solid #bbb;
  161. }
  162. ul, ol, dl {
  163. margin-bottom: 15px
  164. }
  165. ul li {
  166. list-style: inside;
  167. padding-left: 20px;
  168. }
  169. ol li {
  170. list-style: decimal inside;
  171. padding-left: 20px;
  172. }
  173. dl dt {
  174. font-weight: bold;
  175. }
  176. dl dd {
  177. padding-left: 20px;
  178. font-style: italic;
  179. }
  180. dl p {
  181. padding-left: 20px;
  182. font-style: italic;
  183. }
  184. hr {
  185. height: 1px;
  186. margin-bottom: 5px;
  187. border: none;
  188. background: url('../images/bg_hr.png') repeat-x center;
  189. }
  190. table {
  191. border: 1px solid #373737;
  192. margin-bottom: 20px;
  193. text-align: left;
  194. }
  195. th {
  196. font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  197. padding: 10px;
  198. background: #373737;
  199. color: #fff;
  200. }
  201. td {
  202. padding: 10px;
  203. border: 1px solid #373737;
  204. }
  205. form {
  206. background: #f2f2f2;
  207. padding: 20px;
  208. }
  209. img {
  210. width: 100%;
  211. max-width: 100%;
  212. }
  213. /*******************************************************************************
  214. Full-Width Styles
  215. *******************************************************************************/
  216. .outer {
  217. width: 100%;
  218. }
  219. .inner {
  220. position: relative;
  221. max-width: 640px;
  222. padding: 20px 10px;
  223. margin: 0 auto;
  224. }
  225. #forkme_banner {
  226. display: block;
  227. position: absolute;
  228. top:0;
  229. right: 10px;
  230. z-index: 10;
  231. padding: 10px 50px 10px 10px;
  232. color: #fff;
  233. background: url('../images/blacktocat.png') #0090ff no-repeat 95% 50%;
  234. font-weight: 700;
  235. box-shadow: 0 0 10px rgba(0,0,0,.5);
  236. border-bottom-left-radius: 2px;
  237. border-bottom-right-radius: 2px;
  238. }
  239. #header_wrap {
  240. background: #212121;
  241. background: -moz-linear-gradient(top, #373737, #212121);
  242. background: -webkit-linear-gradient(top, #373737, #212121);
  243. background: -ms-linear-gradient(top, #373737, #212121);
  244. background: -o-linear-gradient(top, #373737, #212121);
  245. background: linear-gradient(top, #373737, #212121);
  246. }
  247. #header_wrap .inner {
  248. padding: 50px 10px 30px 10px;
  249. }
  250. #project_title {
  251. margin: 0;
  252. color: #fff;
  253. font-size: 42px;
  254. font-weight: 700;
  255. text-shadow: #111 0px 0px 10px;
  256. }
  257. #project_tagline {
  258. color: #fff;
  259. font-size: 24px;
  260. font-weight: 300;
  261. background: none;
  262. text-shadow: #111 0px 0px 10px;
  263. }
  264. #downloads {
  265. position: absolute;
  266. width: 210px;
  267. z-index: 10;
  268. bottom: -40px;
  269. right: 0;
  270. height: 70px;
  271. background: url('../images/icon_download.png') no-repeat 0% 90%;
  272. }
  273. .zip_download_link {
  274. display: block;
  275. float: right;
  276. width: 90px;
  277. height:70px;
  278. text-indent: -5000px;
  279. overflow: hidden;
  280. background: url(../images/sprite_download.png) no-repeat bottom left;
  281. }
  282. .tar_download_link {
  283. display: block;
  284. float: right;
  285. width: 90px;
  286. height:70px;
  287. text-indent: -5000px;
  288. overflow: hidden;
  289. background: url(../images/sprite_download.png) no-repeat bottom right;
  290. margin-left: 10px;
  291. }
  292. .zip_download_link:hover {
  293. background: url(../images/sprite_download.png) no-repeat top left;
  294. }
  295. .tar_download_link:hover {
  296. background: url(../images/sprite_download.png) no-repeat top right;
  297. }
  298. #main_content_wrap {
  299. background: #f2f2f2;
  300. border-top: 1px solid #111;
  301. border-bottom: 1px solid #111;
  302. }
  303. #main_content {
  304. padding-top: 40px;
  305. }
  306. #footer_wrap {
  307. background: #212121;
  308. }
  309. /*******************************************************************************
  310. Small Device Styles
  311. *******************************************************************************/
  312. @media screen and (max-width: 480px) {
  313. body {
  314. font-size:14px;
  315. }
  316. #downloads {
  317. display: none;
  318. }
  319. .inner {
  320. min-width: 320px;
  321. max-width: 480px;
  322. }
  323. #project_title {
  324. font-size: 32px;
  325. }
  326. h1 {
  327. font-size: 28px;
  328. }
  329. h2 {
  330. font-size: 24px;
  331. }
  332. h3 {
  333. font-size: 21px;
  334. }
  335. h4 {
  336. font-size: 18px;
  337. }
  338. h5 {
  339. font-size: 14px;
  340. }
  341. h6 {
  342. font-size: 12px;
  343. }
  344. code, pre {
  345. min-width: 320px;
  346. max-width: 480px;
  347. font-size: 11px;
  348. }
  349. }