prism-tomorrow.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /**
  2. * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
  3. * Based on https://github.com/chriskempson/tomorrow-theme
  4. * @author Rose Pritchard
  5. */
  6. code[class*="language-"],
  7. pre[class*="language-"] {
  8. color: #ccc;
  9. font-family: Consolas, Monaco, 'Andale Mono', monospace;
  10. direction: ltr;
  11. text-align: left;
  12. white-space: pre;
  13. word-spacing: normal;
  14. word-break: normal;
  15. line-height: 1.5;
  16. -moz-tab-size: 4;
  17. -o-tab-size: 4;
  18. tab-size: 4;
  19. -webkit-hyphens: none;
  20. -moz-hyphens: none;
  21. -ms-hyphens: none;
  22. hyphens: none;
  23. }
  24. /* Code blocks */
  25. pre[class*="language-"] {
  26. padding: 1em;
  27. margin: .5em 0;
  28. overflow: auto;
  29. }
  30. :not(pre) > code[class*="language-"],
  31. pre[class*="language-"] {
  32. background: #2d2d2d;
  33. }
  34. /* Inline code */
  35. :not(pre) > code[class*="language-"] {
  36. padding: .1em;
  37. border-radius: .3em;
  38. }
  39. .token.comment,
  40. .token.block-comment,
  41. .token.prolog,
  42. .token.doctype,
  43. .token.cdata {
  44. color: #999;
  45. }
  46. .token.punctuation {
  47. color: #ccc;
  48. }
  49. .token.tag,
  50. .token.attr-name,
  51. .token.namespace,
  52. .token.deleted {
  53. color: #e2777a;
  54. }
  55. .token.function-name {
  56. color: #6196cc;
  57. }
  58. .token.boolean,
  59. .token.number,
  60. .token.function {
  61. color: #f08d49;
  62. }
  63. .token.property,
  64. .token.class-name,
  65. .token.constant,
  66. .token.symbol {
  67. color: #f8c555;
  68. }
  69. .token.selector,
  70. .token.important,
  71. .token.atrule,
  72. .token.keyword,
  73. .token.builtin {
  74. color: #cc99cd;
  75. }
  76. .token.string,
  77. .token.char,
  78. .token.attr-value,
  79. .token.regex,
  80. .token.variable {
  81. color: #7ec699;
  82. }
  83. .token.operator,
  84. .token.entity,
  85. .token.url {
  86. color: #67cdcc;
  87. }
  88. .token.important,
  89. .token.bold {
  90. font-weight: bold;
  91. }
  92. .token.italic {
  93. font-style: italic;
  94. }
  95. .token.entity {
  96. cursor: help;
  97. }
  98. .token.inserted {
  99. color: green;
  100. }