stylesheet.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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. padding: 0;
  19. margin: 0;
  20. font: inherit;
  21. font-size: 100%;
  22. vertical-align: baseline;
  23. border: 0;
  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-spacing: 0;
  46. border-collapse: collapse;
  47. }
  48. /* LAYOUT STYLES */
  49. body {
  50. font-family: 'Helvetica Neue', Helvetica, Arial, serif;
  51. font-size: 1em;
  52. line-height: 1.5;
  53. color: #6d6d6d;
  54. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  55. background: #e7e7e7 url(../images/body-bg.png) 0 0 repeat;
  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;
  69. font-size: 48px; font-weight: 900;
  70. line-height: 1.2;
  71. color: #303030;
  72. letter-spacing: -1px;
  73. }
  74. header h2 {
  75. font-size: 24px;
  76. font-weight: normal;
  77. line-height: 1.3;
  78. color: #aaa;
  79. letter-spacing: -1px;
  80. }
  81. #container {
  82. min-height: 595px;
  83. background: transparent url(../images/highlight-bg.jpg) 50% 0 no-repeat;
  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. display: block;
  97. float: left;
  98. width: 179px;
  99. padding: 12px 8px 12px 8px;
  100. margin-right: 14px;
  101. font-size: 15px;
  102. font-weight: bold;
  103. line-height: 25px;
  104. color: #303030;
  105. background: #fdfdfd; /* Old browsers */
  106. background: -moz-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* FF3.6+ */
  107. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f2f2f2)); /* Chrome,Safari4+ */
  108. background: -webkit-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */
  109. background: -o-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Opera 11.10+ */
  110. background: -ms-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* IE10+ */
  111. background: linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* W3C */
  112. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
  113. border-top: solid 1px #cbcbcb;
  114. border-right: solid 1px #b7b7b7;
  115. border-bottom: solid 1px #b3b3b3;
  116. border-left: solid 1px #b7b7b7;
  117. border-radius: 30px;
  118. -webkit-box-shadow: 10px 10px 5px #888;
  119. -moz-box-shadow: 10px 10px 5px #888;
  120. box-shadow: 0px 1px 5px #e8e8e8;
  121. -moz-border-radius: 30px;
  122. -webkit-border-radius: 30px;
  123. }
  124. a.button:hover {
  125. background: #fafafa; /* Old browsers */
  126. background: -moz-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* FF3.6+ */
  127. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f6f6f6)); /* Chrome,Safari4+ */
  128. background: -webkit-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
  129. background: -o-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Opera 11.10+ */
  130. background: -ms-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* IE10+ */
  131. background: linear-gradient(top, #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
  132. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
  133. border-top: solid 1px #b7b7b7;
  134. border-right: solid 1px #b3b3b3;
  135. border-bottom: solid 1px #b3b3b3;
  136. border-left: solid 1px #b3b3b3;
  137. }
  138. a.button span {
  139. display: block;
  140. height: 23px;
  141. padding-left: 50px;
  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. margin-bottom: 30px;
  157. font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal;
  158. font-size: 14px;
  159. color: #222;
  160. }
  161. code {
  162. padding: 0 3px;
  163. background-color: #f2f2f2;
  164. border: solid 1px #ddd;
  165. }
  166. pre {
  167. padding: 20px;
  168. overflow: auto;
  169. color: #f2f2f2;
  170. text-shadow: none;
  171. background: #303030;
  172. }
  173. pre code {
  174. padding: 0;
  175. color: #f2f2f2;
  176. background-color: #303030;
  177. border: none;
  178. }
  179. ul, ol, dl {
  180. margin-bottom: 20px;
  181. }
  182. /* COMMON STYLES */
  183. hr {
  184. height: 1px;
  185. padding-bottom: 1em;
  186. margin-top: 1em;
  187. line-height: 1px;
  188. background: transparent url('../images/hr.png') 50% 0 no-repeat;
  189. border: none;
  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. font-weight: 300;
  206. text-align: center;
  207. border: 1px solid #ebebeb;
  208. }
  209. form {
  210. padding: 20px;
  211. background: #f2f2f2;
  212. }
  213. /* GENERAL ELEMENT TYPE STYLES */
  214. h1 {
  215. font-size: 32px;
  216. }
  217. h2 {
  218. margin-bottom: 8px;
  219. font-size: 22px;
  220. font-weight: bold;
  221. color: #303030;
  222. }
  223. h3 {
  224. margin-bottom: 8px;
  225. font-size: 18px;
  226. font-weight: bold;
  227. color: #d5000d;
  228. }
  229. h4 {
  230. font-size: 16px;
  231. font-weight: bold;
  232. color: #303030;
  233. }
  234. h5 {
  235. font-size: 1em;
  236. color: #303030;
  237. }
  238. h6 {
  239. font-size: .8em;
  240. color: #303030;
  241. }
  242. p {
  243. margin-bottom: 20px;
  244. font-weight: 300;
  245. }
  246. a {
  247. text-decoration: none;
  248. }
  249. p a {
  250. font-weight: 400;
  251. }
  252. blockquote {
  253. padding: 0 0 0 30px;
  254. margin-bottom: 20px;
  255. font-size: 1.6em;
  256. border-left: 10px solid #e9e9e9;
  257. }
  258. ul li {
  259. list-style-position: inside;
  260. list-style: disc;
  261. padding-left: 20px;
  262. }
  263. ol li {
  264. list-style-position: inside;
  265. list-style: decimal;
  266. padding-left: 3px;
  267. }
  268. dl dt {
  269. color: #303030;
  270. }
  271. footer {
  272. padding-top: 20px;
  273. padding-bottom: 30px;
  274. margin-top: 40px;
  275. font-size: 13px;
  276. color: #aaa;
  277. background: transparent url('../images/hr.png') 0 0 no-repeat;
  278. }
  279. footer a {
  280. color: #666;
  281. }
  282. footer a:hover {
  283. color: #444;
  284. }
  285. /* MISC */
  286. .clearfix:after {
  287. display: block;
  288. height: 0;
  289. clear: both;
  290. visibility: hidden;
  291. content: '.';
  292. }
  293. .clearfix {display: inline-block;}
  294. * html .clearfix {height: 1%;}
  295. .clearfix {display: block;}
  296. /* #Media Queries
  297. ================================================== */
  298. /* Smaller than standard 960 (devices and browsers) */
  299. @media only screen and (max-width: 959px) { }
  300. /* Tablet Portrait size to standard 960 (devices and browsers) */
  301. @media only screen and (min-width: 768px) and (max-width: 959px) { }
  302. /* All Mobile Sizes (devices and browser) */
  303. @media only screen and (max-width: 767px) {
  304. header {
  305. padding-top: 10px;
  306. padding-bottom: 10px;
  307. }
  308. #downloads {
  309. margin-bottom: 25px;
  310. }
  311. #download-zip, #download-tar-gz {
  312. display: none;
  313. }
  314. .inner {
  315. width: 94%;
  316. margin: 0 auto;
  317. }
  318. }
  319. /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  320. @media only screen and (min-width: 480px) and (max-width: 767px) { }
  321. /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  322. @media only screen and (max-width: 479px) { }