stylesheet.css 7.5 KB

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