prism.css 2.0 KB

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