main.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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. /* default styles */
  49. h1, h2 {
  50. font-weight: bolder;
  51. }
  52. h3, h4 {
  53. font-weight: bold;
  54. }
  55. h1 {
  56. font-size: 250%;
  57. }
  58. h2 {
  59. font-size: 200%;
  60. }
  61. h3 {
  62. font-size: 150%;
  63. }
  64. /* default sizes */
  65. header, .content, footer {
  66. width: 80%;
  67. margin: 20px auto;
  68. }
  69. /* header & navigation */
  70. header>a {
  71. color: #000;
  72. text-decoration: none;
  73. }
  74. nav li {
  75. display: inline;
  76. padding: 0 15px;
  77. }
  78. /* content styles */
  79. .content h2, .content h3, .content h4 {
  80. text-decoration: underline;
  81. }
  82. /* footer styles */
  83. footer {
  84. text-align: center;
  85. }
  86. footer .link {
  87. display: inline-block;
  88. width: 29px;
  89. height: 29px;
  90. padding: 0px 8px;
  91. overflow: hidden;
  92. background-repeat: no-repeat;
  93. }
  94. footer .facebook {
  95. background-image: url('/images/facebook.png');
  96. }
  97. footer .linkedin {
  98. background-image: url('/images/linkedin2.png');
  99. width: 41px;
  100. }
  101. footer .youtube {
  102. background-image: url('/images/youtube2.png');
  103. width: 34px;
  104. }
  105. footer .github {
  106. background-image: url('/images/github.png');
  107. }
  108. footer .skype {
  109. background-image: url('/images/skype.png');
  110. }
  111. /* Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net> */
  112. .hljs {
  113. display: block;
  114. overflow-x: auto;
  115. padding: 0.5em;
  116. background: #000;
  117. color: #f8f8f8;
  118. -webkit-text-size-adjust: none;
  119. }
  120. .hljs-comment,
  121. .hljs-javadoc {
  122. color: #aeaeae;
  123. font-style: italic;
  124. }
  125. .hljs-keyword,
  126. .ruby .hljs-function .hljs-keyword,
  127. .hljs-request,
  128. .hljs-status,
  129. .nginx .hljs-title {
  130. color: #e28964;
  131. }
  132. .hljs-function .hljs-keyword,
  133. .hljs-sub .hljs-keyword,
  134. .method,
  135. .hljs-list .hljs-title {
  136. color: #99cf50;
  137. }
  138. .hljs-string,
  139. .hljs-tag .hljs-value,
  140. .hljs-cdata,
  141. .hljs-filter .hljs-argument,
  142. .hljs-attr_selector,
  143. .apache .hljs-cbracket,
  144. .hljs-date,
  145. .tex .hljs-command,
  146. .coffeescript .hljs-attribute {
  147. color: #65b042;
  148. }
  149. .hljs-subst {
  150. color: #daefa3;
  151. }
  152. .hljs-regexp {
  153. color: #e9c062;
  154. }
  155. .hljs-title,
  156. .hljs-sub .hljs-identifier,
  157. .hljs-pi,
  158. .hljs-tag,
  159. .hljs-tag .hljs-keyword,
  160. .hljs-decorator,
  161. .hljs-shebang,
  162. .hljs-prompt {
  163. color: #89bdff;
  164. }
  165. .hljs-class .hljs-title,
  166. .hljs-type,
  167. .smalltalk .hljs-class,
  168. .hljs-javadoctag,
  169. .hljs-yardoctag,
  170. .hljs-phpdoc,
  171. .hljs-dartdoc {
  172. text-decoration: underline;
  173. }
  174. .hljs-symbol,
  175. .ruby .hljs-symbol .hljs-string,
  176. .hljs-number {
  177. color: #3387cc;
  178. }
  179. .hljs-params,
  180. .hljs-variable,
  181. .clojure .hljs-attribute {
  182. color: #3e87e3;
  183. }
  184. .css .hljs-tag,
  185. .hljs-rules .hljs-property,
  186. .hljs-pseudo,
  187. .tex .hljs-special {
  188. color: #cda869;
  189. }
  190. .css .hljs-class {
  191. color: #9b703f;
  192. }
  193. .hljs-rules .hljs-keyword {
  194. color: #c5af75;
  195. }
  196. .hljs-rules .hljs-value {
  197. color: #cf6a4c;
  198. }
  199. .css .hljs-id {
  200. color: #8b98ab;
  201. }
  202. .hljs-annotation,
  203. .apache .hljs-sqbracket,
  204. .nginx .hljs-built_in {
  205. color: #9b859d;
  206. }
  207. .hljs-preprocessor,
  208. .hljs-pragma {
  209. color: #8996a8;
  210. }
  211. .hljs-hexcolor,
  212. .css .hljs-value .hljs-number {
  213. color: #dd7b3b;
  214. }
  215. .css .hljs-function {
  216. color: #dad085;
  217. }
  218. .diff .hljs-header,
  219. .hljs-chunk,
  220. .tex .hljs-formula {
  221. background-color: #0e2231;
  222. color: #f8f8f8;
  223. font-style: italic;
  224. }
  225. .diff .hljs-change {
  226. background-color: #4a410d;
  227. color: #f8f8f8;
  228. }
  229. .hljs-addition {
  230. background-color: #253b22;
  231. color: #f8f8f8;
  232. }
  233. .hljs-deletion {
  234. background-color: #420e09;
  235. color: #f8f8f8;
  236. }
  237. .coffeescript .javascript,
  238. .javascript .xml,
  239. .tex .hljs-formula,
  240. .xml .javascript,
  241. .xml .vbscript,
  242. .xml .css,
  243. .xml .hljs-cdata {
  244. opacity: 0.5;
  245. }
  246. /* clearfix */
  247. .group:after {
  248. content: "";
  249. display: table;
  250. clear: both;
  251. }