github.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /*
  2. github.com style (c) Vasily Polovnyov <vast@whiteants.net>
  3. */
  4. .hljs {
  5. display: block; padding: 0.5em;
  6. color: #333;
  7. background: #f8f8f8
  8. }
  9. .hljs-comment,
  10. .hljs-template_comment,
  11. .diff .hljs-header,
  12. .hljs-javadoc {
  13. color: #998;
  14. font-style: italic
  15. }
  16. .hljs-keyword,
  17. .css .rule .hljs-keyword,
  18. .hljs-winutils,
  19. .javascript .hljs-title,
  20. .nginx .hljs-title,
  21. .hljs-subst,
  22. .hljs-request,
  23. .hljs-status {
  24. color: #333;
  25. font-weight: bold
  26. }
  27. .hljs-number,
  28. .hljs-hexcolor,
  29. .ruby .hljs-constant {
  30. color: #099;
  31. }
  32. .hljs-string,
  33. .hljs-tag .hljs-value,
  34. .hljs-phpdoc,
  35. .tex .hljs-formula {
  36. color: #d14
  37. }
  38. .hljs-title,
  39. .hljs-id,
  40. .coffeescript .hljs-params,
  41. .scss .hljs-preprocessor {
  42. color: #900;
  43. font-weight: bold
  44. }
  45. .javascript .hljs-title,
  46. .lisp .hljs-title,
  47. .clojure .hljs-title,
  48. .hljs-subst {
  49. font-weight: normal
  50. }
  51. .hljs-class .hljs-title,
  52. .haskell .hljs-type,
  53. .vhdl .hljs-literal,
  54. .tex .hljs-command {
  55. color: #458;
  56. font-weight: bold
  57. }
  58. .hljs-tag,
  59. .hljs-tag .hljs-title,
  60. .hljs-rules .hljs-property,
  61. .django .hljs-tag .hljs-keyword {
  62. color: #000080;
  63. font-weight: normal
  64. }
  65. .hljs-attribute,
  66. .lisp .hljs-body {
  67. color: #008080
  68. }
  69. .hljs-variable,
  70. .hljs-regexp {
  71. color: #009926;
  72. font-weight: bold
  73. }
  74. .hljs-symbol,
  75. .ruby .hljs-symbol .hljs-string,
  76. .lisp .hljs-keyword,
  77. .tex .hljs-special,
  78. .hljs-prompt {
  79. color: #990073
  80. }
  81. .hljs-built_in,
  82. .lisp .hljs-title,
  83. .clojure .hljs-built_in {
  84. color: #0086b3
  85. }
  86. .hljs-preprocessor,
  87. .hljs-pragma,
  88. .hljs-pi,
  89. .hljs-doctype,
  90. .hljs-shebang,
  91. .hljs-cdata {
  92. color: #999;
  93. font-weight: bold
  94. }
  95. .hljs-deletion {
  96. background: #fdd
  97. }
  98. .hljs-addition {
  99. background: #dfd
  100. }
  101. .diff .hljs-change {
  102. background: #0086b3
  103. }
  104. .hljs-chunk {
  105. color: #aaa
  106. }