You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
1.1KB

  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. }
  11. .hljs-subst,
  12. .hljs-title {
  13. font-weight: normal;
  14. color: #000;
  15. }
  16. .hljs-comment,
  17. .hljs-quote {
  18. color: #808080;
  19. font-style: italic;
  20. }
  21. .hljs-meta {
  22. color: #808000;
  23. }
  24. .hljs-tag {
  25. background: #efefef;
  26. }
  27. .hljs-section,
  28. .hljs-name,
  29. .hljs-literal,
  30. .hljs-keyword,
  31. .hljs-selector-tag,
  32. .hljs-type,
  33. .hljs-selector-id,
  34. .hljs-selector-class {
  35. font-weight: bold;
  36. color: #000080;
  37. }
  38. .hljs-attribute,
  39. .hljs-number,
  40. .hljs-regexp,
  41. .hljs-link {
  42. font-weight: bold;
  43. color: #0000ff;
  44. }
  45. .hljs-number,
  46. .hljs-regexp,
  47. .hljs-link {
  48. font-weight: normal;
  49. }
  50. .hljs-string {
  51. color: #008000;
  52. font-weight: bold;
  53. }
  54. .hljs-symbol,
  55. .hljs-bullet,
  56. .hljs-formula {
  57. color: #000;
  58. background: #d0eded;
  59. font-style: italic;
  60. }
  61. .hljs-doctag {
  62. text-decoration: underline;
  63. }
  64. .hljs-variable,
  65. .hljs-template-variable {
  66. color: #660e7a;
  67. }
  68. .hljs-addition {
  69. background: #baeeba;
  70. }
  71. .hljs-deletion {
  72. background: #ffc8bd;
  73. }
  74. .hljs-emphasis {
  75. font-style: italic;
  76. }
  77. .hljs-strong {
  78. font-weight: bold;
  79. }