hljs-railscasts.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /*
  2. Railscasts-like style (c) Visoft, Inc. (Damien White)
  3. */
  4. .theme-dark .hljs {
  5. display: block;
  6. overflow-x: auto;
  7. padding: 0.5em;
  8. background: #232323;
  9. color: #e6e1dc;
  10. }
  11. .theme-dark .hljs-comment,
  12. .theme-dark .hljs-quote {
  13. color: #bc9458;
  14. font-style: italic;
  15. }
  16. .theme-dark .hljs-keyword,
  17. .theme-dark .hljs-selector-tag {
  18. color: #c26230;
  19. }
  20. .theme-dark .hljs-string,
  21. .theme-dark .hljs-number,
  22. .theme-dark .hljs-regexp,
  23. .theme-dark .hljs-variable,
  24. .theme-dark .hljs-template-variable {
  25. color: #a5c261;
  26. }
  27. .theme-dark .hljs-subst {
  28. color: #519f50;
  29. }
  30. .theme-dark .hljs-tag,
  31. .theme-dark .hljs-name {
  32. color: #e8bf6a;
  33. }
  34. .theme-dark .hljs-type {
  35. color: #da4939;
  36. }
  37. .theme-dark .hljs-symbol,
  38. .theme-dark .hljs-bullet,
  39. .theme-dark .hljs-built_in,
  40. .theme-dark .hljs-builtin-name,
  41. .theme-dark .hljs-attr,
  42. .theme-dark .hljs-link {
  43. color: #6d9cbe;
  44. }
  45. .theme-dark .hljs-params {
  46. color: #d0d0ff;
  47. }
  48. .theme-dark .hljs-attribute {
  49. color: #cda869;
  50. }
  51. .theme-dark .hljs-meta {
  52. color: #9b859d;
  53. }
  54. .theme-dark .hljs-title,
  55. .theme-dark .hljs-section {
  56. color: #ffc66d;
  57. }
  58. .theme-dark .hljs-addition {
  59. background-color: #144212;
  60. color: #e6e1dc;
  61. display: inline-block;
  62. width: 100%;
  63. }
  64. .theme-dark .hljs-deletion {
  65. background-color: #600;
  66. color: #e6e1dc;
  67. display: inline-block;
  68. width: 100%;
  69. }
  70. .theme-dark .hljs-selector-class {
  71. color: #9b703f;
  72. }
  73. .theme-dark .hljs-selector-id {
  74. color: #8b98ab;
  75. }
  76. .theme-dark .hljs-emphasis {
  77. font-style: italic;
  78. }
  79. .theme-dark .hljs-strong {
  80. font-weight: bold;
  81. }
  82. .theme-dark .hljs-link {
  83. text-decoration: underline;
  84. }