shThemeKodoc.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /**
  2. * SyntaxHighlighter
  3. * http://alexgorbatchev.com/
  4. *
  5. * SyntaxHighlighter is donationware. If you are using it, please donate.
  6. * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
  7. *
  8. * @version
  9. * 2.1.364 (October 15 2009)
  10. *
  11. * @copyright
  12. * Copyright (C) 2004-2017 Alex Gorbatchev.
  13. *
  14. * @license
  15. * This file is part of SyntaxHighlighter.
  16. *
  17. * SyntaxHighlighter is free software: you can redistribute it and/or modify
  18. * it under the terms of the GNU Lesser General Public License as published by
  19. * the Free Software Foundation, either version 3 of the License, or
  20. * (at your option) any later version.
  21. *
  22. * SyntaxHighlighter is distributed in the hope that it will be useful,
  23. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. * GNU General Public License for more details.
  26. *
  27. * You should have received a copy of the GNU General Public License
  28. * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
  29. */
  30. /************************************
  31. * Default Syntax Highlighter theme.
  32. *
  33. * Interface elements.
  34. ************************************/
  35. .syntaxhighlighter
  36. {
  37. }
  38. .syntaxhighlighter
  39. {
  40. width: 100% !important;
  41. margin: 0 !important;
  42. padding: 1px !important; /* adds a little border on top and bottom */
  43. position: relative !important;
  44. /*background-color: #fff !important;*/
  45. }
  46. /* Highlighed line number */
  47. .syntaxhighlighter .line.highlighted .number
  48. {
  49. color: black !important;
  50. }
  51. /* Highlighed line */
  52. .syntaxhighlighter .line.highlighted.alt1,
  53. .syntaxhighlighter .line.highlighted.alt2
  54. {
  55. background-color: #e0e0e0 !important;
  56. }
  57. /* Gutter line numbers */
  58. .syntaxhighlighter .line .number
  59. {
  60. color: #afafaf !important;
  61. }
  62. /* Add border to the lines */
  63. .syntaxhighlighter .line .content
  64. {
  65. border-left: none !important;
  66. padding-left: 0 !important;
  67. color: #000 !important;
  68. }
  69. .syntaxhighlighter.printing .line .content
  70. {
  71. border: 0 !important;
  72. }
  73. /* First line */
  74. .syntaxhighlighter .line.alt1
  75. {
  76. /*background-color: #fff !important;*/
  77. }
  78. /* Second line */
  79. .syntaxhighlighter .line.alt2
  80. {
  81. /*background-color: #F8F8F8 !important;*/
  82. }
  83. .syntaxhighlighter .toolbar
  84. {
  85. background-color: #F8F8F8 !important;
  86. border: #E7E5DC solid 1px !important;
  87. }
  88. .syntaxhighlighter .toolbar a
  89. {
  90. color: #a0a0a0 !important;
  91. }
  92. .syntaxhighlighter .toolbar a:hover
  93. {
  94. color: red !important;
  95. }
  96. /************************************
  97. * Actual syntax highlighter colors.
  98. ************************************/
  99. .syntaxhighlighter .plain,
  100. .syntaxhighlighter .plain a
  101. {
  102. color: #000 !important;
  103. }
  104. .syntaxhighlighter .comments,
  105. .syntaxhighlighter .comments a
  106. {
  107. color: #008200 !important;
  108. }
  109. .syntaxhighlighter .string,
  110. .syntaxhighlighter .string a
  111. {
  112. color: blue !important;
  113. }
  114. .syntaxhighlighter .keyword
  115. {
  116. color: #069 !important;
  117. font-weight: bold !important;
  118. }
  119. .syntaxhighlighter .preprocessor
  120. {
  121. color: gray !important;
  122. }
  123. .syntaxhighlighter .variable
  124. {
  125. color: #a70 !important;
  126. }
  127. .syntaxhighlighter .value
  128. {
  129. color: #090 !important;
  130. }
  131. .syntaxhighlighter .functions
  132. {
  133. color: #ff1493 !important;
  134. }
  135. .syntaxhighlighter .constants
  136. {
  137. color: #0066CC !important;
  138. }
  139. .syntaxhighlighter .script
  140. {
  141. background-color: yellow !important;
  142. }
  143. .syntaxhighlighter .color1,
  144. .syntaxhighlighter .color1 a
  145. {
  146. color: #808080 !important;
  147. }
  148. .syntaxhighlighter .color2,
  149. .syntaxhighlighter .color2 a
  150. {
  151. color: #ff1493 !important;
  152. }
  153. .syntaxhighlighter .color3,
  154. .syntaxhighlighter .color3 a
  155. {
  156. color: red !important;
  157. }