stylesheet.css 7.5 KB

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