stylesheet.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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. background-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: 25px;
  65. padding-bottom: 25px;
  66. }
  67. header h1 {
  68. font-family: 'Roboto Mono', 'Helvetica Neue', Helvetica, Arial, serif;
  69. font-size: 38px; font-weight: 300;
  70. line-height: 1.2;
  71. color: #fff;
  72. text-transform: uppercase;
  73. cursor: pointer;
  74. }
  75. header a,
  76. header a:hover {
  77. color: #fff;
  78. }
  79. .light {
  80. font-weight: 100;
  81. }
  82. header h2 {
  83. font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, serif;
  84. font-size: 20px;
  85. font-weight: 400;
  86. line-height: 1.3;
  87. margin-top: 20px;
  88. color: #fff;
  89. }
  90. #container {
  91. min-height: 595px;
  92. }
  93. .inner {
  94. /*width: 620px;*/
  95. margin: 0 auto;
  96. padding: 0 30px;
  97. }
  98. #container .inner img {
  99. max-width: 100%;
  100. }
  101. #main_content {
  102. color: #fff;
  103. max-width: 620px;
  104. }
  105. #social {
  106. position: absolute;
  107. right: 50px;
  108. top: 30px;
  109. }
  110. #social a {
  111. padding: 0 8px;
  112. }
  113. a.button {
  114. display: block;
  115. float: left;
  116. width: 179px;
  117. padding: 12px 8px 12px 8px;
  118. margin-right: 14px;
  119. font-size: 15px;
  120. font-weight: bold;
  121. line-height: 25px;
  122. color: #303030;
  123. background: #fdfdfd; /* Old browsers */
  124. background: -moz-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* FF3.6+ */
  125. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f2f2f2)); /* Chrome,Safari4+ */
  126. background: -webkit-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */
  127. background: -o-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Opera 11.10+ */
  128. background: -ms-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* IE10+ */
  129. background: linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* W3C */
  130. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
  131. border-top: solid 1px #cbcbcb;
  132. border-right: solid 1px #b7b7b7;
  133. border-bottom: solid 1px #b3b3b3;
  134. border-left: solid 1px #b7b7b7;
  135. border-radius: 30px;
  136. -webkit-box-shadow: 10px 10px 5px #888;
  137. -moz-box-shadow: 10px 10px 5px #888;
  138. box-shadow: 0px 1px 5px #e8e8e8;
  139. -moz-border-radius: 30px;
  140. -webkit-border-radius: 30px;
  141. }
  142. a.button:hover {
  143. background: #fafafa; /* Old browsers */
  144. background: -moz-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* FF3.6+ */
  145. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f6f6f6)); /* Chrome,Safari4+ */
  146. background: -webkit-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
  147. background: -o-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Opera 11.10+ */
  148. background: -ms-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* IE10+ */
  149. background: linear-gradient(top, #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
  150. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
  151. border-top: solid 1px #b7b7b7;
  152. border-right: solid 1px #b3b3b3;
  153. border-bottom: solid 1px #b3b3b3;
  154. border-left: solid 1px #b3b3b3;
  155. }
  156. a.button span {
  157. display: block;
  158. height: 23px;
  159. padding-left: 50px;
  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. nav {
  292. position: absolute;
  293. top: 35px;
  294. right: 160px;
  295. }
  296. nav li {
  297. display: inline;
  298. padding-left: 0;
  299. padding-right: 20px;
  300. }
  301. /* MISC */
  302. .clearfix:after {
  303. display: block;
  304. height: 0;
  305. clear: both;
  306. visibility: hidden;
  307. content: '.';
  308. }
  309. .clearfix {display: inline-block;}
  310. * html .clearfix {height: 1%;}
  311. .clearfix {display: block;}
  312. /* #Media Queries
  313. ================================================== */
  314. /* Smaller than standard 960 (devices and browsers) */
  315. @media only screen and (max-width: 959px) { }
  316. /* Tablet Portrait size to standard 960 (devices and browsers) */
  317. @media only screen and (min-width: 768px) and (max-width: 959px) { }
  318. /* All Mobile Sizes (devices and browser) */
  319. @media only screen and (max-width: 767px) {
  320. header {
  321. padding-top: 10px;
  322. padding-bottom: 10px;
  323. }
  324. .inner {
  325. width: 94%;
  326. margin: 0 auto;
  327. }
  328. }
  329. /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  330. @media only screen and (min-width: 480px) and (max-width: 767px) { }
  331. /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  332. @media only screen and (max-width: 479px) { }