main.css 9.8 KB

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