main.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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. font-size: 0.9em;
  77. }
  78. h1, h2 {
  79. font-weight: bolder;
  80. }
  81. h3, h4, strong, b {
  82. font-weight: bold;
  83. }
  84. strong {
  85. font-size: 1.15em;
  86. }
  87. em {
  88. font-style: italic;
  89. font-weight: 200;
  90. }
  91. blockquote {
  92. font-family: "aller", sans-serif, helvetica;
  93. quotes: none;
  94. padding: 10px 20px;
  95. margin: 0 0 20px;
  96. font-size: 17.5px;
  97. border-left: 5px solid #eee;
  98. font-style: italic;
  99. }
  100. hr {
  101. height: 0;
  102. margin: 20px 0;
  103. border: 0;
  104. border-top: 1px solid #eee;
  105. }
  106. pre {
  107. font-family: 'formatekonave', monospace;
  108. }
  109. code {
  110. padding: 2px 4px;
  111. font-size: 0.9em;
  112. padding: 0.05em 4px;
  113. border-radius: 4px;
  114. background: #000;
  115. overflow-x: auto;
  116. color: #f8f8f8;
  117. }
  118. pre code {
  119. display: block;
  120. margin: 10px 0;
  121. padding: 0.5em;
  122. }
  123. ul {
  124. list-style: disc;
  125. }
  126. ol {
  127. list-style: decimal;
  128. }
  129. li {
  130. margin-left: 45px;
  131. margin-bottom: 5px;
  132. line-height: 1.25;
  133. }
  134. ul, ol, dl, p {
  135. margin-bottom: 10px;
  136. }
  137. a, a:visited {
  138. color: #337ab7;
  139. }
  140. a:hover, a:active {
  141. background-color: transparent;
  142. text-decoration: underline;
  143. outline: 0;
  144. color: inherit;
  145. }
  146. a:hover, a:focus {
  147. text-decoration: underline;
  148. color: #23527c;
  149. }
  150. a:focus {
  151. outline: thin dotted;
  152. text-decoration: underline;
  153. outline-offset: -2px;
  154. }
  155. h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited,
  156. h4 a, h4 a:visited, strong a, strong a:visited {
  157. color: #444;
  158. text-decoration: underline;
  159. }
  160. img {
  161. display: block;
  162. border: none;
  163. max-width: 100%;
  164. height: auto;
  165. vertical-align: middle;
  166. }
  167. /* containers */
  168. header, .content, footer {
  169. max-width: 980px;
  170. margin: 20px auto;
  171. padding: 0 2%;
  172. font-size: 1em;
  173. }
  174. /* header & navigation */
  175. header>a {
  176. color: #000;
  177. text-decoration: none;
  178. }
  179. header h1 {
  180. margin-bottom: 15px;
  181. }
  182. nav li {
  183. font-size: 1.5em;
  184. line-height: 2;
  185. display: inline;
  186. padding: 0 15px;
  187. }
  188. /* footer styles */
  189. footer {
  190. text-align: center;
  191. }
  192. footer .link {
  193. display: inline-block;
  194. width: 29px;
  195. height: 29px;
  196. margin: 0 15px;
  197. overflow: hidden;
  198. background-repeat: no-repeat;
  199. }
  200. footer .facebook {
  201. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/facebook.png');
  202. }
  203. footer .linkedin {
  204. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/linkedin.png');
  205. width: 34px;
  206. }
  207. footer .youtube {
  208. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/youtube.png');
  209. width: 41px;
  210. }
  211. footer .github {
  212. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/github.png');
  213. }
  214. footer .skype {
  215. background-image: url('https://d2xxklvztqk0jd.cloudfront.net/images/skype.png');
  216. }
  217. /* clearfix */
  218. .group:after {
  219. content: "";
  220. display: table;
  221. clear: both;
  222. }
  223. /* responsive font sizes and link styles */
  224. @media only screen and (min-width: 981px) {
  225. html {
  226. font-size: 24px;
  227. }
  228. }
  229. @media only screen and (min-width: 1200px) {
  230. html {
  231. font-size: 16px;
  232. }
  233. a, a:hover, a:active, a:visited, h1 a, h2 a, h3 a, h4 a, strong a {
  234. text-decoration: none;
  235. }
  236. }