stylesheet.css 7.5 KB

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