main.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. /* fonts */
  2. @font-face {
  3. font-family: 'aller';
  4. src: url('https://d2xxklvztqk0jd.cloudfront.net/fonts/aller.ttf') format('truetype');
  5. font-weight: normal;
  6. font-style: normal;
  7. }
  8. @font-face {
  9. font-family: 'droidsans';
  10. src: url('https://d2xxklvztqk0jd.cloudfront.net/fonts/droidsans.ttf') format('truetype');
  11. font-weight: normal;
  12. font-style: normal;
  13. }
  14. @font-face {
  15. font-family: 'formatekonave';
  16. src: url('https://d2xxklvztqk0jd.cloudfront.net/fonts/formatekonave.ttf') format('truetype');
  17. font-weight: normal;
  18. font-style: normal;
  19. }
  20. /**
  21. * css reset
  22. * html5 display-role reset
  23. * and default styles
  24. */
  25. html, body, div, span, object, h1, h2, h3, h4, h5,
  26. h6, p, blockquote, pre, a, code, em, img, strong,
  27. dl, ol, ul, li, embed, footer, header, menu, nav,
  28. time, audio, video, progress {
  29. margin: 0;
  30. padding: 0;
  31. border: 0;
  32. font-size: 100%;
  33. font: inherit;
  34. vertical-align: baseline;
  35. }
  36. footer, header, menu, nav {
  37. display: block;
  38. }
  39. audio, canvas, progress, video {
  40. display: inline-block;
  41. vertical-align: baseline;
  42. }
  43. html {
  44. font-family: 'droidsans', helvetica;
  45. font-size: 32px;
  46. }
  47. body {
  48. line-height: 1.4;
  49. color: #333;
  50. background-color: #fff;
  51. }
  52. h1 {
  53. font-size: 2.25em;
  54. }
  55. h2 {
  56. font-size: 1.875em;
  57. }
  58. h3 {
  59. font-size: 1.5em;
  60. }
  61. h4 {
  62. font-size: 1.125em;
  63. }
  64. h1, h2, h3, h4, h5, h6 {
  65. font-family: 'aller', sans-serif, georgia;
  66. margin-top: 20px;
  67. margin-bottom: 12px;
  68. letter-spacing: 2px;
  69. }
  70. h3, h4 {
  71. margin-top: 15px;
  72. margin-bottom: 10px;
  73. }
  74. h5, h6 {
  75. margin-top: 10px;
  76. }
  77. h1, h2 {
  78. font-weight: bolder;
  79. }
  80. h3, h4, strong, b {
  81. font-weight: bold;
  82. }
  83. strong {
  84. font-size: 1.15em;
  85. }
  86. em {
  87. font-style: italic;
  88. font-weight: 200;
  89. }
  90. blockquote {
  91. font-family: "aller", sans-serif, helvetica;
  92. quotes: none;
  93. padding: 10px 20px;
  94. margin: 0 0 20px;
  95. font-size: 17.5px;
  96. border-left: 5px solid #eee;
  97. font-style: italic;
  98. }
  99. hr {
  100. height: 0;
  101. margin: 20px 0;
  102. border: 0;
  103. border-top: 1px solid #eee;
  104. }
  105. pre {
  106. font-family: 'formatekonave', monospace;
  107. }
  108. code {
  109. padding: 2px 4px;
  110. font-size: 0.9em;
  111. padding: 0.05em 4px;
  112. border-radius: 4px;
  113. background: #000;
  114. overflow-x: auto;
  115. color: #f8f8f8;
  116. }
  117. pre code {
  118. display: block;
  119. margin: 10px 0;
  120. padding: 0.5em;
  121. }
  122. ul {
  123. list-style: disc;
  124. }
  125. ol {
  126. list-style: decimal;
  127. }
  128. li {
  129. margin-left: 45px;
  130. margin-bottom: 5px;
  131. line-height: 1.25;
  132. }
  133. ul, ol, dl, p {
  134. margin-bottom: 10px;
  135. }
  136. a, a:visited {
  137. color: #337ab7;
  138. }
  139. a:hover, a:active {
  140. background-color: transparent;
  141. text-decoration: underline;
  142. outline: 0;
  143. color: inherit;
  144. }
  145. a:hover, a:focus {
  146. text-decoration: underline;
  147. color: #23527c;
  148. }
  149. a:focus {
  150. outline: thin dotted;
  151. text-decoration: underline;
  152. outline-offset: -2px;
  153. }
  154. h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited,
  155. h4 a, h4 a:visited, strong a, strong a:visited {
  156. color: #444;
  157. text-decoration: underline;
  158. }
  159. img {
  160. display: block;
  161. border: none;
  162. max-width: 100%;
  163. height: auto;
  164. vertical-align: middle;
  165. }
  166. /* containers */
  167. header, .content, footer {
  168. max-width: 980px;
  169. margin: 20px auto;
  170. padding: 0 2%;
  171. font-size: 1em;
  172. }
  173. /* header & navigation */
  174. header>a {
  175. color: #000;
  176. text-decoration: none;
  177. }
  178. header h1 {
  179. margin-bottom: 15px;
  180. }
  181. nav li {
  182. font-size: 1.5em;
  183. line-height: 2;
  184. display: inline;
  185. padding: 0 15px;
  186. }
  187. /* footer styles */
  188. footer {
  189. text-align: center;
  190. }
  191. footer .link {
  192. display: inline-block;
  193. width: 29px;
  194. height: 29px;
  195. margin: 0 15px;
  196. overflow: hidden;
  197. background-repeat: no-repeat;
  198. }
  199. footer .facebook {
  200. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/facebook.png');
  201. }
  202. footer .linkedin {
  203. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/linkedin.png');
  204. width: 34px;
  205. }
  206. footer .youtube {
  207. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/youtube.png');
  208. width: 41px;
  209. }
  210. footer .github {
  211. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/github.png');
  212. }
  213. footer .skype {
  214. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/skype.png');
  215. }
  216. /* clearfix */
  217. .group:after {
  218. content: "";
  219. display: table;
  220. clear: both;
  221. }
  222. /* responsive font sizes and link styles */
  223. @media only screen and (min-width: 981px) {
  224. html {
  225. font-size: 24px;
  226. }
  227. }
  228. @media only screen and (min-width: 1200px) {
  229. html {
  230. font-size: 16px;
  231. }
  232. a, a:hover, a:active, a:visited, h1 a, h2 a, h3 a, h4 a, strong a {
  233. text-decoration: none;
  234. }
  235. }