stylesheet.css 7.4 KB

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