main.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 100%;
  22. font: inherit;
  23. vertical-align: baseline;
  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-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. /* fonts */
  49. @font-face {
  50. font-family: 'allerregular';
  51. src: url('https://d2xxklvztqk0jd.cloudfront.net/fonts/aller_rg-webfont.woff?') format('woff'),
  52. url('https://d2xxklvztqk0jd.cloudfront.net/fonts/aller_rg-webfont.ttf') format('truetype');
  53. font-weight: normal;
  54. font-style: normal;
  55. }
  56. @font-face {
  57. font-family: 'droid_sansregular';
  58. src: url('https://d2xxklvztqk0jd.cloudfront.net/fonts/droidsans-webfont.woff?') format('woff'),
  59. url('https://d2xxklvztqk0jd.cloudfront.net/fonts/droidsans-webfont.ttf') format('truetype');
  60. font-weight: normal;
  61. font-style: normal;
  62. }
  63. /* default styles */
  64. html {
  65. font-family: 'droid_sansregular', helvetica;
  66. }
  67. body, caption, th, td, input, textarea, select, option, legend, fieldset, h1, h2, h3, h4, h5, h6 {
  68. font-size-adjust: 0.5;
  69. }
  70. h1 {
  71. font-size: 2em;
  72. line-height: 1.25;
  73. }
  74. h2 {
  75. font-size: 1.625em;
  76. line-height: 1.15384615;
  77. }
  78. h3 {
  79. font-size: 1.375em;
  80. line-height: 1.13636364;
  81. }
  82. h4 {
  83. font-size: 1.125em;
  84. line-height: 1.11111111;
  85. }
  86. blockquote, strong {
  87. font-size: 1.25em;
  88. line-height: 1.25;
  89. }
  90. h1, h2, h3, h4 {
  91. font-family: 'allerregular', sans-serif, georgia;
  92. margin-bottom: 15px;
  93. margin-top: 20px;
  94. letter-spacing: 2px;
  95. }
  96. h1, h2 {
  97. font-weight: bolder;
  98. }
  99. h3, h4, strong {
  100. font-weight: bold;
  101. }
  102. p, ul {
  103. margin-bottom: 10px;
  104. }
  105. li {
  106. margin-left: 45px;
  107. list-style-type: disc;
  108. }
  109. p>a, li>a {
  110. text-decoration: underline;
  111. }
  112. a, a:hover, a:active, a:visited {
  113. color: #000;
  114. text-decoration: none;
  115. }
  116. a>img {
  117. border: none;
  118. }
  119. img {
  120. max-width: 100%;
  121. }
  122. /* default sizes */
  123. header, .content, footer {
  124. max-width: 980px;
  125. margin: 20px auto;
  126. padding: 0 2%;
  127. font-size: 1em;
  128. line-height: 1.25;
  129. }
  130. /* header & navigation */
  131. header>a {
  132. color: #000;
  133. text-decoration: none;
  134. }
  135. header h1 {
  136. margin-bottom: 15px;
  137. }
  138. nav li {
  139. font-size: 1.375em;
  140. line-height: 1.13636364;
  141. display: inline;
  142. padding: 0 15px;
  143. }
  144. /* content styles */
  145. /* footer styles */
  146. footer {
  147. text-align: center;
  148. }
  149. footer .link {
  150. display: inline-block;
  151. width: 29px;
  152. height: 29px;
  153. margin: 0 15px;
  154. overflow: hidden;
  155. background-repeat: no-repeat;
  156. }
  157. footer .facebook {
  158. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/facebook.png');
  159. }
  160. footer .linkedin {
  161. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/linkedin.png');
  162. width: 34px;
  163. }
  164. footer .youtube {
  165. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/youtube.png');
  166. width: 41px;
  167. }
  168. footer .github {
  169. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/github.png');
  170. }
  171. footer .skype {
  172. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/skype.png');
  173. }
  174. /* clearfix */
  175. .group:after {
  176. content: "";
  177. display: table;
  178. clear: both;
  179. }
  180. /* responsive styles */
  181. @media (min-width: 43.75em) {
  182. header, .content, footer {
  183. font-size: 1em;
  184. line-height: 1.375;
  185. }
  186. h1 {
  187. font-size: 2.5em;
  188. line-height: 1.125;
  189. }
  190. h2, nav li {
  191. font-size: 2em;
  192. line-height: 1.25;
  193. }
  194. h3 {
  195. font-size: 1.5em;
  196. line-height: 1.25;
  197. }
  198. h4 {
  199. line-height: 1.22222222;
  200. }
  201. blockquote {
  202. font-size: 1.5em;
  203. line-height: 1.45833333;
  204. }
  205. }
  206. @media (min-width: 56.25em) {
  207. h1 {
  208. font-size: 3em;
  209. line-height: 1.05;
  210. }
  211. h2, nav li {
  212. font-size: 2.25em;
  213. line-height: 1.25;
  214. }
  215. h3 {
  216. font-size: 1.75em;
  217. line-height: 1.25;
  218. }
  219. }