prism-okaidia.css 1.8 KB

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