prism-tomorrow.css 1.7 KB

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