main.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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: 'fertigo_proregular';
  51. src: url('/fonts/fertigo_pro_regular-webfont.eot');
  52. src: url('/fonts/fertigo_pro_regular-webfont.eot?#iefix') format('embedded-opentype'),
  53. url('/fonts/fertigo_pro_regular-webfont.woff2') format('woff2'),
  54. url('/fonts/fertigo_pro_regular-webfont.woff') format('woff'),
  55. url('/fonts/fertigo_pro_regular-webfont.ttf') format('truetype'),
  56. url('/fonts/fertigo_pro_regular-webfont.svg#fertigo_proregular') format('svg');
  57. font-weight: normal;
  58. font-style: normal;
  59. }
  60. @font-face {
  61. font-family: 'allerbold';
  62. src: url('/fonts/aller_bd-webfont.eot');
  63. src: url('/fonts/aller_bd-webfont.eot?#iefix') format('embedded-opentype'),
  64. url('/fonts/aller_bd-webfont.woff2') format('woff2'),
  65. url('/fonts/aller_bd-webfont.woff') format('woff'),
  66. url('/fonts/aller_bd-webfont.ttf') format('truetype'),
  67. url('/fonts/aller_bd-webfont.svg#allerbold') format('svg');
  68. font-weight: normal;
  69. font-style: normal;
  70. }
  71. @font-face {
  72. font-family: 'allerbold_italic';
  73. src: url('/fonts/aller_bdit-webfont.eot');
  74. src: url('/fonts/aller_bdit-webfont.eot?#iefix') format('embedded-opentype'),
  75. url('/fonts/aller_bdit-webfont.woff2') format('woff2'),
  76. url('/fonts/aller_bdit-webfont.woff') format('woff'),
  77. url('/fonts/aller_bdit-webfont.ttf') format('truetype'),
  78. url('/fonts/aller_bdit-webfont.svg#allerbold_italic') format('svg');
  79. font-weight: normal;
  80. font-style: normal;
  81. }
  82. @font-face {
  83. font-family: 'aller_lightitalic';
  84. src: url('/fonts/aller_ltit-webfont.eot');
  85. src: url('/fonts/aller_ltit-webfont.eot?#iefix') format('embedded-opentype'),
  86. url('/fonts/aller_ltit-webfont.woff2') format('woff2'),
  87. url('/fonts/aller_ltit-webfont.woff') format('woff'),
  88. url('/fonts/aller_ltit-webfont.ttf') format('truetype'),
  89. url('/fonts/aller_ltit-webfont.svg#aller_lightitalic') format('svg');
  90. font-weight: normal;
  91. font-style: normal;
  92. }
  93. @font-face {
  94. font-family: 'alleritalic';
  95. src: url('/fonts/aller_it-webfont.eot');
  96. src: url('/fonts/aller_it-webfont.eot?#iefix') format('embedded-opentype'),
  97. url('/fonts/aller_it-webfont.woff2') format('woff2'),
  98. url('/fonts/aller_it-webfont.woff') format('woff'),
  99. url('/fonts/aller_it-webfont.ttf') format('truetype'),
  100. url('/fonts/aller_it-webfont.svg#alleritalic') format('svg');
  101. font-weight: normal;
  102. font-style: normal;
  103. }
  104. @font-face {
  105. font-family: 'aller_displayregular';
  106. src: url('/fonts/allerdisplay-webfont.eot');
  107. src: url('/fonts/allerdisplay-webfont.eot?#iefix') format('embedded-opentype'),
  108. url('/fonts/allerdisplay-webfont.woff2') format('woff2'),
  109. url('/fonts/allerdisplay-webfont.woff') format('woff'),
  110. url('/fonts/allerdisplay-webfont.ttf') format('truetype'),
  111. url('/fonts/allerdisplay-webfont.svg#aller_displayregular') format('svg');
  112. font-weight: normal;
  113. font-style: normal;
  114. }
  115. @font-face {
  116. font-family: 'aller_lightregular';
  117. src: url('/fonts/aller_lt-webfont.eot');
  118. src: url('/fonts/aller_lt-webfont.eot?#iefix') format('embedded-opentype'),
  119. url('/fonts/aller_lt-webfont.woff2') format('woff2'),
  120. url('/fonts/aller_lt-webfont.woff') format('woff'),
  121. url('/fonts/aller_lt-webfont.ttf') format('truetype'),
  122. url('/fonts/aller_lt-webfont.svg#aller_lightregular') format('svg');
  123. font-weight: normal;
  124. font-style: normal;
  125. }
  126. @font-face {
  127. font-family: 'allerregular';
  128. src: url('/fonts/aller_rg-webfont.eot');
  129. src: url('/fonts/aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
  130. url('/fonts/aller_rg-webfont.woff2') format('woff2'),
  131. url('/fonts/aller_rg-webfont.woff') format('woff'),
  132. url('/fonts/aller_rg-webfont.ttf') format('truetype'),
  133. url('/fonts/aller_rg-webfont.svg#allerregular') format('svg');
  134. font-weight: normal;
  135. font-style: normal;
  136. }
  137. @font-face {
  138. font-family: 'droid_sansbold';
  139. src: url('/fonts/droidsans-bold-webfont.eot');
  140. src: url('/fonts/droidsans-bold-webfont.eot?#iefix') format('embedded-opentype'),
  141. url('/fonts/droidsans-bold-webfont.woff2') format('woff2'),
  142. url('/fonts/droidsans-bold-webfont.woff') format('woff'),
  143. url('/fonts/droidsans-bold-webfont.ttf') format('truetype'),
  144. url('/fonts/droidsans-bold-webfont.svg#aller_lightregular') format('svg');
  145. font-weight: normal;
  146. font-style: normal;
  147. }
  148. @font-face {
  149. font-family: 'droid_sansregular';
  150. src: url('/fonts/droidsans-webfont.eot');
  151. src: url('/fonts/droidsans-webfont.eot?#iefix') format('embedded-opentype'),
  152. url('/fonts/droidsans-webfont.woff2') format('woff2'),
  153. url('/fonts/droidsans-webfont.woff') format('woff'),
  154. url('/fonts/droidsans-webfont.ttf') format('truetype'),
  155. url('/fonts/droidsans-webfont.svg#allerregular') format('svg');
  156. font-weight: normal;
  157. font-style: normal;
  158. }
  159. /* default styles */
  160. html {
  161. font-family: 'droid_sansregular', 'fertigo_proregular', helvetica;
  162. }
  163. h1, h2, h3, h4 {
  164. font-family: 'allerbold', sans-serif, georgia, helvetica;
  165. margin-bottom: 15px;
  166. }
  167. h1, h2 {
  168. font-weight: bolder;
  169. }
  170. h3, h4 {
  171. font-weight: bold;
  172. }
  173. h1 {
  174. font-size: 250%;
  175. }
  176. h2 {
  177. font-size: 200%;
  178. }
  179. h3 {
  180. font-size: 150%;
  181. }
  182. p {
  183. margin-bottom: 10px;
  184. }
  185. /* default sizes */
  186. header, .content, footer {
  187. width: 80%;
  188. margin: 20px auto;
  189. }
  190. /* header & navigation */
  191. header>a {
  192. color: #000;
  193. text-decoration: none;
  194. }
  195. header h1 {
  196. margin-bottom: 15px;
  197. }
  198. nav li {
  199. display: inline;
  200. padding: 0 15px;
  201. }
  202. /* content styles */
  203. .content h2, .content h3, .content h4 {
  204. text-decoration: underline;
  205. }
  206. /* footer styles */
  207. footer {
  208. text-align: center;
  209. }
  210. footer .link {
  211. display: inline-block;
  212. width: 29px;
  213. height: 29px;
  214. margin: 0 15px;
  215. overflow: hidden;
  216. background-repeat: no-repeat;
  217. }
  218. footer .facebook {
  219. background-image: url('/images/facebook.png');
  220. }
  221. footer .linkedin {
  222. background-image: url('/images/linkedin2.png');
  223. width: 34px;
  224. }
  225. footer .youtube {
  226. background-image: url('/images/youtube2.png');
  227. width: 41px;
  228. }
  229. footer .github {
  230. background-image: url('/images/github.png');
  231. }
  232. footer .skype {
  233. background-image: url('/images/skype.png');
  234. }
  235. /* Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net> */
  236. .hljs {
  237. display: block;
  238. overflow-x: auto;
  239. padding: 0.5em;
  240. background: #000;
  241. color: #f8f8f8;
  242. -webkit-text-size-adjust: none;
  243. }
  244. .hljs-comment,
  245. .hljs-javadoc {
  246. color: #aeaeae;
  247. font-style: italic;
  248. }
  249. .hljs-keyword,
  250. .ruby .hljs-function .hljs-keyword,
  251. .hljs-request,
  252. .hljs-status,
  253. .nginx .hljs-title {
  254. color: #e28964;
  255. }
  256. .hljs-function .hljs-keyword,
  257. .hljs-sub .hljs-keyword,
  258. .method,
  259. .hljs-list .hljs-title {
  260. color: #99cf50;
  261. }
  262. .hljs-string,
  263. .hljs-tag .hljs-value,
  264. .hljs-cdata,
  265. .hljs-filter .hljs-argument,
  266. .hljs-attr_selector,
  267. .apache .hljs-cbracket,
  268. .hljs-date,
  269. .tex .hljs-command,
  270. .coffeescript .hljs-attribute {
  271. color: #65b042;
  272. }
  273. .hljs-subst {
  274. color: #daefa3;
  275. }
  276. .hljs-regexp {
  277. color: #e9c062;
  278. }
  279. .hljs-title,
  280. .hljs-sub .hljs-identifier,
  281. .hljs-pi,
  282. .hljs-tag,
  283. .hljs-tag .hljs-keyword,
  284. .hljs-decorator,
  285. .hljs-shebang,
  286. .hljs-prompt {
  287. color: #89bdff;
  288. }
  289. .hljs-class .hljs-title,
  290. .hljs-type,
  291. .smalltalk .hljs-class,
  292. .hljs-javadoctag,
  293. .hljs-yardoctag,
  294. .hljs-phpdoc,
  295. .hljs-dartdoc {
  296. text-decoration: underline;
  297. }
  298. .hljs-symbol,
  299. .ruby .hljs-symbol .hljs-string,
  300. .hljs-number {
  301. color: #3387cc;
  302. }
  303. .hljs-params,
  304. .hljs-variable,
  305. .clojure .hljs-attribute {
  306. color: #3e87e3;
  307. }
  308. .css .hljs-tag,
  309. .hljs-rules .hljs-property,
  310. .hljs-pseudo,
  311. .tex .hljs-special {
  312. color: #cda869;
  313. }
  314. .css .hljs-class {
  315. color: #9b703f;
  316. }
  317. .hljs-rules .hljs-keyword {
  318. color: #c5af75;
  319. }
  320. .hljs-rules .hljs-value {
  321. color: #cf6a4c;
  322. }
  323. .css .hljs-id {
  324. color: #8b98ab;
  325. }
  326. .hljs-annotation,
  327. .apache .hljs-sqbracket,
  328. .nginx .hljs-built_in {
  329. color: #9b859d;
  330. }
  331. .hljs-preprocessor,
  332. .hljs-pragma {
  333. color: #8996a8;
  334. }
  335. .hljs-hexcolor,
  336. .css .hljs-value .hljs-number {
  337. color: #dd7b3b;
  338. }
  339. .css .hljs-function {
  340. color: #dad085;
  341. }
  342. .diff .hljs-header,
  343. .hljs-chunk,
  344. .tex .hljs-formula {
  345. background-color: #0e2231;
  346. color: #f8f8f8;
  347. font-style: italic;
  348. }
  349. .diff .hljs-change {
  350. background-color: #4a410d;
  351. color: #f8f8f8;
  352. }
  353. .hljs-addition {
  354. background-color: #253b22;
  355. color: #f8f8f8;
  356. }
  357. .hljs-deletion {
  358. background-color: #420e09;
  359. color: #f8f8f8;
  360. }
  361. .coffeescript .javascript,
  362. .javascript .xml,
  363. .tex .hljs-formula,
  364. .xml .javascript,
  365. .xml .vbscript,
  366. .xml .css,
  367. .xml .hljs-cdata {
  368. opacity: 0.5;
  369. }
  370. /* clearfix */
  371. .group:after {
  372. content: "";
  373. display: table;
  374. clear: both;
  375. }