main.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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, ul {
  183. margin-bottom: 10px;
  184. }
  185. li {
  186. margin-left: 45px;
  187. }
  188. /* default sizes */
  189. header, .content, footer {
  190. width: 80%;
  191. margin: 20px auto;
  192. }
  193. /* header & navigation */
  194. header>a {
  195. color: #000;
  196. text-decoration: none;
  197. }
  198. header h1 {
  199. margin-bottom: 15px;
  200. }
  201. nav li {
  202. display: inline;
  203. padding: 0 15px;
  204. }
  205. /* content styles */
  206. .content h2, .content h3, .content h4 {
  207. text-decoration: underline;
  208. }
  209. /* footer styles */
  210. footer {
  211. text-align: center;
  212. }
  213. footer .link {
  214. display: inline-block;
  215. width: 29px;
  216. height: 29px;
  217. margin: 0 15px;
  218. overflow: hidden;
  219. background-repeat: no-repeat;
  220. }
  221. footer .facebook {
  222. background-image: url('/images/facebook.png');
  223. }
  224. footer .linkedin {
  225. background-image: url('/images/linkedin2.png');
  226. width: 34px;
  227. }
  228. footer .youtube {
  229. background-image: url('/images/youtube2.png');
  230. width: 41px;
  231. }
  232. footer .github {
  233. background-image: url('/images/github.png');
  234. }
  235. footer .skype {
  236. background-image: url('/images/skype.png');
  237. }
  238. /* Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net> */
  239. .hljs {
  240. display: block;
  241. overflow-x: auto;
  242. padding: 0.5em;
  243. background: #000;
  244. color: #f8f8f8;
  245. -webkit-text-size-adjust: none;
  246. }
  247. .hljs-comment,
  248. .hljs-javadoc {
  249. color: #aeaeae;
  250. font-style: italic;
  251. }
  252. .hljs-keyword,
  253. .ruby .hljs-function .hljs-keyword,
  254. .hljs-request,
  255. .hljs-status,
  256. .nginx .hljs-title {
  257. color: #e28964;
  258. }
  259. .hljs-function .hljs-keyword,
  260. .hljs-sub .hljs-keyword,
  261. .method,
  262. .hljs-list .hljs-title {
  263. color: #99cf50;
  264. }
  265. .hljs-string,
  266. .hljs-tag .hljs-value,
  267. .hljs-cdata,
  268. .hljs-filter .hljs-argument,
  269. .hljs-attr_selector,
  270. .apache .hljs-cbracket,
  271. .hljs-date,
  272. .tex .hljs-command,
  273. .coffeescript .hljs-attribute {
  274. color: #65b042;
  275. }
  276. .hljs-subst {
  277. color: #daefa3;
  278. }
  279. .hljs-regexp {
  280. color: #e9c062;
  281. }
  282. .hljs-title,
  283. .hljs-sub .hljs-identifier,
  284. .hljs-pi,
  285. .hljs-tag,
  286. .hljs-tag .hljs-keyword,
  287. .hljs-decorator,
  288. .hljs-shebang,
  289. .hljs-prompt {
  290. color: #89bdff;
  291. }
  292. .hljs-class .hljs-title,
  293. .hljs-type,
  294. .smalltalk .hljs-class,
  295. .hljs-javadoctag,
  296. .hljs-yardoctag,
  297. .hljs-phpdoc,
  298. .hljs-dartdoc {
  299. text-decoration: underline;
  300. }
  301. .hljs-symbol,
  302. .ruby .hljs-symbol .hljs-string,
  303. .hljs-number {
  304. color: #3387cc;
  305. }
  306. .hljs-params,
  307. .hljs-variable,
  308. .clojure .hljs-attribute {
  309. color: #3e87e3;
  310. }
  311. .css .hljs-tag,
  312. .hljs-rules .hljs-property,
  313. .hljs-pseudo,
  314. .tex .hljs-special {
  315. color: #cda869;
  316. }
  317. .css .hljs-class {
  318. color: #9b703f;
  319. }
  320. .hljs-rules .hljs-keyword {
  321. color: #c5af75;
  322. }
  323. .hljs-rules .hljs-value {
  324. color: #cf6a4c;
  325. }
  326. .css .hljs-id {
  327. color: #8b98ab;
  328. }
  329. .hljs-annotation,
  330. .apache .hljs-sqbracket,
  331. .nginx .hljs-built_in {
  332. color: #9b859d;
  333. }
  334. .hljs-preprocessor,
  335. .hljs-pragma {
  336. color: #8996a8;
  337. }
  338. .hljs-hexcolor,
  339. .css .hljs-value .hljs-number {
  340. color: #dd7b3b;
  341. }
  342. .css .hljs-function {
  343. color: #dad085;
  344. }
  345. .diff .hljs-header,
  346. .hljs-chunk,
  347. .tex .hljs-formula {
  348. background-color: #0e2231;
  349. color: #f8f8f8;
  350. font-style: italic;
  351. }
  352. .diff .hljs-change {
  353. background-color: #4a410d;
  354. color: #f8f8f8;
  355. }
  356. .hljs-addition {
  357. background-color: #253b22;
  358. color: #f8f8f8;
  359. }
  360. .hljs-deletion {
  361. background-color: #420e09;
  362. color: #f8f8f8;
  363. }
  364. .coffeescript .javascript,
  365. .javascript .xml,
  366. .tex .hljs-formula,
  367. .xml .javascript,
  368. .xml .vbscript,
  369. .xml .css,
  370. .xml .hljs-cdata {
  371. opacity: 0.5;
  372. }
  373. /* clearfix */
  374. .group:after {
  375. content: "";
  376. display: table;
  377. clear: both;
  378. }