stylesheet.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2. v2.0 | 20110126
  3. License: none (public domain)
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header, hgroup,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 100%;
  22. font: inherit;
  23. vertical-align: baseline;
  24. }
  25. /* HTML5 display-role reset for older browsers */
  26. article, aside, details, figcaption, figure,
  27. footer, header, hgroup, menu, nav, section {
  28. display: block;
  29. }
  30. body {
  31. line-height: 1;
  32. }
  33. ol, ul {
  34. list-style: none;
  35. }
  36. blockquote, q {
  37. quotes: none;
  38. }
  39. blockquote:before, blockquote:after,
  40. q:before, q:after {
  41. content: '';
  42. content: none;
  43. }
  44. table {
  45. border-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. /* LAYOUT STYLES */
  49. body {
  50. font-size: 1em;
  51. line-height: 1.5;
  52. background: #e7e7e7 url(../images/body-bg.png) 0 0 repeat;
  53. font-family: 'Helvetica Neue', Helvetica, Arial, serif;
  54. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  55. color: #6d6d6d;
  56. }
  57. a {
  58. color: #d5000d;
  59. }
  60. a:hover {
  61. color: #c5000c;
  62. }
  63. header {
  64. padding-top: 35px;
  65. padding-bottom: 25px;
  66. }
  67. header h1 {
  68. font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif; font-weight: 900;
  69. letter-spacing: -1px;
  70. font-size: 48px;
  71. color: #303030;
  72. line-height: 1.2;
  73. }
  74. header h2 {
  75. letter-spacing: -1px;
  76. font-size: 24px;
  77. color: #aaa;
  78. font-weight: normal;
  79. line-height: 1.3;
  80. }
  81. #container {
  82. background: transparent url(../images/highlight-bg.jpg) 50% 0 no-repeat;
  83. min-height: 595px;
  84. }
  85. .inner {
  86. width: 620px;
  87. margin: 0 auto;
  88. }
  89. #container .inner img {
  90. max-width: 100%;
  91. }
  92. #downloads {
  93. margin-bottom: 40px;
  94. }
  95. a.button {
  96. -moz-border-radius: 30px;
  97. -webkit-border-radius: 30px;
  98. border-radius: 30px;
  99. border-top: solid 1px #cbcbcb;
  100. border-left: solid 1px #b7b7b7;
  101. border-right: solid 1px #b7b7b7;
  102. border-bottom: solid 1px #b3b3b3;
  103. color: #303030;
  104. line-height: 25px;
  105. font-weight: bold;
  106. font-size: 15px;
  107. padding: 12px 8px 12px 8px;
  108. display: block;
  109. float: left;
  110. width: 179px;
  111. margin-right: 14px;
  112. background: #fdfdfd; /* Old browsers */
  113. background: -moz-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* FF3.6+ */
  114. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f2f2f2)); /* Chrome,Safari4+ */
  115. background: -webkit-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */
  116. background: -o-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Opera 11.10+ */
  117. background: -ms-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* IE10+ */
  118. background: linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* W3C */
  119. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
  120. -webkit-box-shadow: 10px 10px 5px #888;
  121. -moz-box-shadow: 10px 10px 5px #888;
  122. box-shadow: 0px 1px 5px #e8e8e8;
  123. }
  124. a.button:hover {
  125. border-top: solid 1px #b7b7b7;
  126. border-left: solid 1px #b3b3b3;
  127. border-right: solid 1px #b3b3b3;
  128. border-bottom: solid 1px #b3b3b3;
  129. background: #fafafa; /* Old browsers */
  130. background: -moz-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* FF3.6+ */
  131. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f6f6f6)); /* Chrome,Safari4+ */
  132. background: -webkit-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
  133. background: -o-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Opera 11.10+ */
  134. background: -ms-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* IE10+ */
  135. background: linear-gradient(top, #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
  136. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
  137. }
  138. a.button span {
  139. padding-left: 50px;
  140. display: block;
  141. height: 23px;
  142. }
  143. #download-zip span {
  144. background: transparent url(../images/zip-icon.png) 12px 50% no-repeat;
  145. }
  146. #download-tar-gz span {
  147. background: transparent url(../images/tar-gz-icon.png) 12px 50% no-repeat;
  148. }
  149. #view-on-github span {
  150. background: transparent url(../images/octocat-icon.png) 12px 50% no-repeat;
  151. }
  152. #view-on-github {
  153. margin-right: 0;
  154. }
  155. code, pre {
  156. font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal;
  157. color: #222;
  158. margin-bottom: 30px;
  159. font-size: 14px;
  160. }
  161. code {
  162. background-color: #f2f2f2;
  163. border: solid 1px #ddd;
  164. padding: 0 3px;
  165. }
  166. pre {
  167. padding: 20px;
  168. background: #303030;
  169. color: #f2f2f2;
  170. text-shadow: none;
  171. overflow: auto;
  172. }
  173. pre code {
  174. color: #f2f2f2;
  175. background-color: #303030;
  176. border: none;
  177. padding: 0;
  178. }
  179. ul, ol, dl {
  180. margin-bottom: 20px;
  181. }
  182. /* COMMON STYLES */
  183. hr {
  184. height: 1px;
  185. line-height: 1px;
  186. margin-top: 1em;
  187. padding-bottom: 1em;
  188. border: none;
  189. background: transparent url('../images/hr.png') 50% 0 no-repeat;
  190. }
  191. strong {
  192. font-weight: bold;
  193. }
  194. em {
  195. font-style: italic;
  196. }
  197. table {
  198. width: 100%;
  199. border: 1px solid #ebebeb;
  200. }
  201. th {
  202. font-weight: 500;
  203. }
  204. td {
  205. border: 1px solid #ebebeb;
  206. text-align: center;
  207. font-weight: 300;
  208. }
  209. form {
  210. background: #f2f2f2;
  211. padding: 20px;
  212. }
  213. /* GENERAL ELEMENT TYPE STYLES */
  214. h1 {
  215. font-size: 32px;
  216. }
  217. h2 {
  218. font-size: 22px;
  219. font-weight: bold;
  220. color: #303030;
  221. margin-bottom: 8px;
  222. }
  223. h3 {
  224. color: #d5000d;
  225. font-size: 18px;
  226. font-weight: bold;
  227. margin-bottom: 8px;
  228. }
  229. h4 {
  230. font-size: 16px;
  231. color: #303030;
  232. font-weight: bold;
  233. }
  234. h5 {
  235. font-size: 1em;
  236. color: #303030;
  237. }
  238. h6 {
  239. font-size: .8em;
  240. color: #303030;
  241. }
  242. p {
  243. font-weight: 300;
  244. margin-bottom: 20px;
  245. }
  246. a {
  247. text-decoration: none;
  248. }
  249. p a {
  250. font-weight: 400;
  251. }
  252. blockquote {
  253. font-size: 1.6em;
  254. border-left: 10px solid #e9e9e9;
  255. margin-bottom: 20px;
  256. padding: 0 0 0 30px;
  257. }
  258. ul li {
  259. list-style: disc inside;
  260. padding-left: 20px;
  261. }
  262. ol li {
  263. list-style: decimal inside;
  264. padding-left: 3px;
  265. }
  266. dl dt {
  267. color: #303030;
  268. }
  269. footer {
  270. background: transparent url('../images/hr.png') 0 0 no-repeat;
  271. margin-top: 40px;
  272. padding-top: 20px;
  273. padding-bottom: 30px;
  274. font-size: 13px;
  275. color: #aaa;
  276. }
  277. footer a {
  278. color: #666;
  279. }
  280. footer a:hover {
  281. color: #444;
  282. }
  283. /* MISC */
  284. .clearfix:after {
  285. clear: both;
  286. content: '.';
  287. display: block;
  288. visibility: hidden;
  289. height: 0;
  290. }
  291. .clearfix {display: inline-block;}
  292. * html .clearfix {height: 1%;}
  293. .clearfix {display: block;}
  294. /* #Media Queries
  295. ================================================== */
  296. /* Smaller than standard 960 (devices and browsers) */
  297. @media only screen and (max-width: 959px) {}
  298. /* Tablet Portrait size to standard 960 (devices and browsers) */
  299. @media only screen and (min-width: 768px) and (max-width: 959px) {}
  300. /* All Mobile Sizes (devices and browser) */
  301. @media only screen and (max-width: 767px) {
  302. header {
  303. padding-top: 10px;
  304. padding-bottom: 10px;
  305. }
  306. #downloads {
  307. margin-bottom: 25px;
  308. }
  309. #download-zip, #download-tar-gz {
  310. display: none;
  311. }
  312. .inner {
  313. width: 94%;
  314. margin: 0 auto;
  315. }
  316. }
  317. /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  318. @media only screen and (min-width: 480px) and (max-width: 767px) {}
  319. /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  320. @media only screen and (max-width: 479px) {}