main.css 4.4 KB

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