main.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. h1, h2, h3, h4 {
  68. font-family: 'allerregular', sans-serif, georgia;
  69. margin-bottom: 15px;
  70. margin-top: 20px;
  71. letter-spacing: 2px;
  72. }
  73. h1, h2 {
  74. font-weight: bolder;
  75. }
  76. h3, h4, strong {
  77. font-weight: bold;
  78. }
  79. h1 {
  80. font-size: 250%;
  81. }
  82. h2 {
  83. font-size: 200%;
  84. }
  85. h3 {
  86. font-size: 150%;
  87. }
  88. strong {
  89. line-height: 125%;
  90. }
  91. p, ul {
  92. margin-bottom: 10px;
  93. }
  94. li {
  95. margin-left: 45px;
  96. list-style-type: disc;
  97. line-height: 115%;
  98. }
  99. a, a:hover, a:active, a:visited {
  100. color: #000;
  101. }
  102. a>img {
  103. border: none;
  104. }
  105. /* default sizes */
  106. header, .content, footer {
  107. width: 80%;
  108. margin: 20px auto;
  109. }
  110. /* header & navigation */
  111. header>a {
  112. color: #000;
  113. text-decoration: none;
  114. }
  115. header h1 {
  116. margin-bottom: 15px;
  117. }
  118. nav li {
  119. display: inline;
  120. padding: 0 15px;
  121. }
  122. /* content styles */
  123. /* footer styles */
  124. footer {
  125. text-align: center;
  126. }
  127. footer .link {
  128. display: inline-block;
  129. width: 29px;
  130. height: 29px;
  131. margin: 0 15px;
  132. overflow: hidden;
  133. background-repeat: no-repeat;
  134. }
  135. footer .facebook {
  136. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/facebook.png');
  137. }
  138. footer .linkedin {
  139. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/linkedin.png');
  140. width: 34px;
  141. }
  142. footer .youtube {
  143. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/youtube.png');
  144. width: 41px;
  145. }
  146. footer .github {
  147. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/github.png');
  148. }
  149. footer .skype {
  150. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/skype.png');
  151. }
  152. /* clearfix */
  153. .group:after {
  154. content: "";
  155. display: table;
  156. clear: both;
  157. }