github.css 1.5 KB

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