prism-okaidia.css 1.7 KB

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