stylesheet.css 7.6 KB

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