main.css 4.5 KB

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