idea.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. pre code.hljs {
  2. display: block;
  3. overflow-x: auto;
  4. padding: 1em
  5. }
  6. code.hljs {
  7. padding: 3px 5px
  8. }
  9. /*
  10. Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>
  11. */
  12. .hljs {
  13. color: #000;
  14. background: #fff
  15. }
  16. .hljs-subst,
  17. .hljs-title {
  18. font-weight: normal;
  19. color: #000
  20. }
  21. .hljs-comment,
  22. .hljs-quote {
  23. color: #808080;
  24. font-style: italic
  25. }
  26. .hljs-meta {
  27. color: #808000
  28. }
  29. .hljs-tag {
  30. background: #efefef
  31. }
  32. .hljs-section,
  33. .hljs-name,
  34. .hljs-literal,
  35. .hljs-keyword,
  36. .hljs-selector-tag,
  37. .hljs-type,
  38. .hljs-selector-id,
  39. .hljs-selector-class {
  40. font-weight: bold;
  41. color: #000080
  42. }
  43. .hljs-attribute,
  44. .hljs-number,
  45. .hljs-regexp,
  46. .hljs-link {
  47. font-weight: bold;
  48. color: #0000ff
  49. }
  50. .hljs-number,
  51. .hljs-regexp,
  52. .hljs-link {
  53. font-weight: normal
  54. }
  55. .hljs-string {
  56. color: #008000;
  57. font-weight: bold
  58. }
  59. .hljs-symbol,
  60. .hljs-bullet,
  61. .hljs-formula {
  62. color: #000;
  63. background: #d0eded;
  64. font-style: italic
  65. }
  66. .hljs-doctag {
  67. text-decoration: underline
  68. }
  69. .hljs-variable,
  70. .hljs-template-variable {
  71. color: #660e7a
  72. }
  73. .hljs-addition {
  74. background: #baeeba
  75. }
  76. .hljs-deletion {
  77. background: #ffc8bd
  78. }
  79. .hljs-emphasis {
  80. font-style: italic
  81. }
  82. .hljs-strong {
  83. font-weight: bold
  84. }