idea.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /*
  2. Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>
  3. */
  4. .hljs {
  5. display: block;
  6. overflow-x: auto;
  7. padding: 0.5em;
  8. color: #000;
  9. background: #fff;
  10. -webkit-text-size-adjust: none;
  11. }
  12. .hljs-subst,
  13. .hljs-title,
  14. .json .hljs-value {
  15. font-weight: normal;
  16. color: #000;
  17. }
  18. .hljs-comment,
  19. .diff .hljs-header {
  20. color: #808080;
  21. font-style: italic;
  22. }
  23. .hljs-annotation,
  24. .hljs-decorator,
  25. .hljs-preprocessor,
  26. .hljs-pragma,
  27. .hljs-doctype,
  28. .hljs-pi,
  29. .hljs-chunk,
  30. .hljs-shebang,
  31. .apache .hljs-cbracket,
  32. .hljs-prompt,
  33. .http .hljs-title {
  34. color: #808000;
  35. }
  36. .hljs-tag,
  37. .hljs-pi {
  38. background: #efefef;
  39. }
  40. .hljs-tag .hljs-title,
  41. .hljs-id,
  42. .hljs-attr_selector,
  43. .hljs-pseudo,
  44. .hljs-literal,
  45. .hljs-keyword,
  46. .hljs-hexcolor,
  47. .css .hljs-function,
  48. .ini .hljs-title,
  49. .css .hljs-class,
  50. .hljs-list .hljs-keyword,
  51. .nginx .hljs-title,
  52. .tex .hljs-command,
  53. .hljs-request,
  54. .hljs-status {
  55. font-weight: bold;
  56. color: #000080;
  57. }
  58. .hljs-attribute,
  59. .hljs-rule .hljs-keyword,
  60. .hljs-number,
  61. .hljs-date,
  62. .hljs-regexp,
  63. .tex .hljs-special {
  64. font-weight: bold;
  65. color: #0000ff;
  66. }
  67. .hljs-number,
  68. .hljs-regexp {
  69. font-weight: normal;
  70. }
  71. .hljs-string,
  72. .hljs-value,
  73. .hljs-filter .hljs-argument,
  74. .css .hljs-function .hljs-params,
  75. .apache .hljs-tag {
  76. color: #008000;
  77. font-weight: bold;
  78. }
  79. .hljs-symbol,
  80. .ruby .hljs-symbol .hljs-string,
  81. .hljs-char,
  82. .tex .hljs-formula {
  83. color: #000;
  84. background: #d0eded;
  85. font-style: italic;
  86. }
  87. .hljs-doctag {
  88. text-decoration: underline;
  89. }
  90. .hljs-variable,
  91. .hljs-envvar,
  92. .apache .hljs-sqbracket,
  93. .nginx .hljs-built_in,
  94. .hljs-name {
  95. color: #660e7a;
  96. }
  97. .hljs-addition {
  98. background: #baeeba;
  99. }
  100. .hljs-deletion {
  101. background: #ffc8bd;
  102. }
  103. .diff .hljs-change {
  104. background: #bccff9;
  105. }