docco.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*
  2. Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars)
  3. */
  4. .hljs {
  5. display: block;
  6. overflow-x: auto;
  7. padding: 0.5em;
  8. color: #000;
  9. background: #f8f8ff;
  10. -webkit-text-size-adjust: none;
  11. }
  12. .hljs-comment,
  13. .diff .hljs-header {
  14. color: #408080;
  15. font-style: italic;
  16. }
  17. .hljs-keyword,
  18. .assignment,
  19. .hljs-literal,
  20. .css .rule .hljs-keyword,
  21. .hljs-winutils,
  22. .javascript .hljs-title,
  23. .lisp .hljs-title,
  24. .hljs-subst {
  25. color: #954121;
  26. }
  27. .hljs-number,
  28. .hljs-hexcolor {
  29. color: #40a070;
  30. }
  31. .hljs-string,
  32. .hljs-tag .hljs-value,
  33. .hljs-doctag,
  34. .tex .hljs-formula,
  35. .hljs-name {
  36. color: #219161;
  37. }
  38. .hljs-title,
  39. .hljs-id {
  40. color: #19469d;
  41. }
  42. .hljs-params {
  43. color: #00f;
  44. }
  45. .javascript .hljs-title,
  46. .lisp .hljs-title,
  47. .hljs-subst {
  48. font-weight: normal;
  49. }
  50. .hljs-class .hljs-title,
  51. .haskell .hljs-label,
  52. .tex .hljs-command {
  53. color: #458;
  54. font-weight: bold;
  55. }
  56. .hljs-tag,
  57. .hljs-tag .hljs-title,
  58. .hljs-rule .hljs-property,
  59. .django .hljs-tag .hljs-keyword {
  60. color: #000080;
  61. font-weight: normal;
  62. }
  63. .hljs-attribute,
  64. .hljs-variable,
  65. .instancevar,
  66. .lisp .hljs-body {
  67. color: #008080;
  68. }
  69. .hljs-regexp {
  70. color: #b68;
  71. }
  72. .hljs-class {
  73. color: #458;
  74. font-weight: bold;
  75. }
  76. .hljs-symbol,
  77. .ruby .hljs-symbol .hljs-string,
  78. .ruby .hljs-symbol .hljs-keyword,
  79. .ruby .hljs-symbol .keymethods,
  80. .lisp .hljs-keyword,
  81. .tex .hljs-special,
  82. .input_number {
  83. color: #990073;
  84. }
  85. .builtin,
  86. .constructor,
  87. .hljs-built_in,
  88. .lisp .hljs-title {
  89. color: #0086b3;
  90. }
  91. .hljs-preprocessor,
  92. .hljs-pragma,
  93. .hljs-pi,
  94. .hljs-doctype,
  95. .hljs-shebang,
  96. .hljs-cdata {
  97. color: #999;
  98. font-weight: bold;
  99. }
  100. .hljs-deletion {
  101. background: #fdd;
  102. }
  103. .hljs-addition {
  104. background: #dfd;
  105. }
  106. .diff .hljs-change {
  107. background: #0086b3;
  108. }
  109. .hljs-chunk {
  110. color: #aaa;
  111. }
  112. .tex .hljs-formula {
  113. opacity: 0.5;
  114. }