prims.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript */
  2. /**
  3. * okaidia theme for JavaScript, CSS and HTML
  4. * Loosely based on Monokai textmate theme by http://www.monokai.nl/
  5. * @author ocodia
  6. */
  7. code[class*="language-"],
  8. pre[class*="language-"] {
  9. color: #f8f8f2;
  10. text-shadow: 0 1px rgba(0,0,0,0.3);
  11. font-family: Consolas, Monaco, 'Andale Mono', monospace;
  12. direction: ltr;
  13. text-align: left;
  14. white-space: pre;
  15. word-spacing: normal;
  16. word-break: normal;
  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. color: #f92672;
  58. }
  59. .token.boolean,
  60. .token.number{
  61. color: #ae81ff;
  62. }
  63. .token.selector,
  64. .token.attr-name,
  65. .token.string,
  66. .token.builtin {
  67. color: #a6e22e;
  68. }
  69. .token.operator,
  70. .token.entity,
  71. .token.url,
  72. .language-css .token.string,
  73. .style .token.string,
  74. .token.variable {
  75. color: #f8f8f2;
  76. }
  77. .token.atrule,
  78. .token.attr-value
  79. {
  80. color: #e6db74;
  81. }
  82. .token.keyword{
  83. color: #66d9ef;
  84. }
  85. .token.regex,
  86. .token.important {
  87. color: #fd971f;
  88. }
  89. .token.important {
  90. font-weight: bold;
  91. }
  92. .token.entity {
  93. cursor: help;
  94. }