stylesheet.css 7.4KB

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