No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prism-solarizedlight.css 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*
  2. Solarized Color Schemes originally by Ethan Schoonover
  3. http://ethanschoonover.com/solarized
  4. Ported for PrismJS by Hector Matos
  5. Website: https://krakendev.io
  6. Twitter Handle: https://twitter.com/allonsykraken)
  7. */
  8. /*
  9. SOLARIZED HEX
  10. --------- -------
  11. base03 #002b36
  12. base02 #073642
  13. base01 #586e75
  14. base00 #657b83
  15. base0 #839496
  16. base1 #93a1a1
  17. base2 #eee8d5
  18. base3 #fdf6e3
  19. yellow #b58900
  20. orange #cb4b16
  21. red #dc322f
  22. magenta #d33682
  23. violet #6c71c4
  24. blue #268bd2
  25. cyan #2aa198
  26. green #859900
  27. */
  28. code[class*="language-"],
  29. pre[class*="language-"] {
  30. color: #657b83; /* base00 */
  31. font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  32. text-align: left;
  33. white-space: pre;
  34. word-spacing: normal;
  35. word-break: normal;
  36. word-wrap: normal;
  37. line-height: 1.5;
  38. -moz-tab-size: 4;
  39. -o-tab-size: 4;
  40. tab-size: 4;
  41. -webkit-hyphens: none;
  42. -moz-hyphens: none;
  43. -ms-hyphens: none;
  44. hyphens: none;
  45. }
  46. pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
  47. code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
  48. background: #073642; /* base02 */
  49. }
  50. pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
  51. code[class*="language-"]::selection, code[class*="language-"] ::selection {
  52. background: #073642; /* base02 */
  53. }
  54. /* Code blocks */
  55. pre[class*="language-"] {
  56. padding: 1em;
  57. margin: .5em 0;
  58. overflow: auto;
  59. border-radius: 0.3em;
  60. }
  61. :not(pre) > code[class*="language-"],
  62. pre[class*="language-"] {
  63. background-color: #fdf6e3; /* base3 */
  64. }
  65. /* Inline code */
  66. :not(pre) > code[class*="language-"] {
  67. padding: .1em;
  68. border-radius: .3em;
  69. }
  70. .token.comment,
  71. .token.prolog,
  72. .token.doctype,
  73. .token.cdata {
  74. color: #93a1a1; /* base1 */
  75. }
  76. .token.punctuation {
  77. color: #586e75; /* base01 */
  78. }
  79. .namespace {
  80. opacity: .7;
  81. }
  82. .token.property,
  83. .token.tag,
  84. .token.boolean,
  85. .token.number,
  86. .token.constant,
  87. .token.symbol,
  88. .token.deleted {
  89. color: #268bd2; /* blue */
  90. }
  91. .token.selector,
  92. .token.attr-name,
  93. .token.string,
  94. .token.char,
  95. .token.builtin,
  96. .token.url,
  97. .token.inserted {
  98. color: #2aa198; /* cyan */
  99. }
  100. .token.entity {
  101. color: #657b83; /* base00 */
  102. background: #eee8d5; /* base2 */
  103. }
  104. .token.atrule,
  105. .token.attr-value,
  106. .token.keyword {
  107. color: #859900; /* green */
  108. }
  109. .token.function,
  110. .token.class-name {
  111. color: #b58900; /* yellow */
  112. }
  113. .token.regex,
  114. .token.important,
  115. .token.variable {
  116. color: #cb4b16; /* orange */
  117. }
  118. .token.important,
  119. .token.bold {
  120. font-weight: bold;
  121. }
  122. .token.italic {
  123. font-style: italic;
  124. }
  125. .token.entity {
  126. cursor: help;
  127. }