syntax-highlighter.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. /**
  2. * SyntaxHighlighter
  3. * http://alexgorbatchev.com/SyntaxHighlighter
  4. *
  5. * SyntaxHighlighter is donationware. If you are using it, please donate.
  6. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
  7. *
  8. * @version
  9. * 3.0.83 (July 02 2010)
  10. *
  11. * @copyright
  12. * Copyright (C) 2004-2010 Alex Gorbatchev.
  13. *
  14. * @license
  15. * Dual licensed under the MIT and GPL licenses.
  16. */
  17. .syntaxhighlighter a,
  18. .syntaxhighlighter div,
  19. .syntaxhighlighter code,
  20. .syntaxhighlighter table,
  21. .syntaxhighlighter table td,
  22. .syntaxhighlighter table tr,
  23. .syntaxhighlighter table tbody,
  24. .syntaxhighlighter table thead,
  25. .syntaxhighlighter table caption,
  26. .syntaxhighlighter textarea {
  27. -moz-border-radius: 0 0 0 0 !important;
  28. -webkit-border-radius: 0 0 0 0 !important;
  29. background: none !important;
  30. border: 0 !important;
  31. bottom: auto !important;
  32. float: none !important;
  33. height: auto !important;
  34. left: auto !important;
  35. line-height: 1.1em !important;
  36. margin: 0 !important;
  37. outline: 0 !important;
  38. overflow: visible !important;
  39. padding: 0 !important;
  40. position: static !important;
  41. right: auto !important;
  42. text-align: left !important;
  43. top: auto !important;
  44. vertical-align: baseline !important;
  45. width: auto !important;
  46. box-sizing: content-box !important;
  47. font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
  48. font-weight: normal !important;
  49. font-style: normal !important;
  50. font-size: 1em !important;
  51. min-height: inherit !important;
  52. min-height: auto !important;
  53. }
  54. .syntaxhighlighter {
  55. width: 100% !important;
  56. margin: 1em 0 1em 0 !important;
  57. position: relative !important;
  58. overflow: auto !important;
  59. font-size: 1em !important;
  60. }
  61. .syntaxhighlighter.source {
  62. overflow: hidden !important;
  63. }
  64. .syntaxhighlighter .bold {
  65. font-weight: bold !important;
  66. }
  67. .syntaxhighlighter .italic {
  68. font-style: italic !important;
  69. }
  70. .syntaxhighlighter .line {
  71. white-space: pre !important;
  72. }
  73. .syntaxhighlighter table {
  74. width: 100% !important;
  75. }
  76. .syntaxhighlighter table caption {
  77. text-align: left !important;
  78. padding: .5em 0 0.5em 1em !important;
  79. }
  80. .syntaxhighlighter table td.code {
  81. width: 100% !important;
  82. }
  83. .syntaxhighlighter table td.code .sh-container {
  84. position: relative !important;
  85. }
  86. .syntaxhighlighter table td.code .sh-container textarea {
  87. box-sizing: border-box !important;
  88. position: absolute !important;
  89. left: 0 !important;
  90. top: 0 !important;
  91. width: 100% !important;
  92. height: 100% !important;
  93. border: none !important;
  94. background: white !important;
  95. padding-left: 1em !important;
  96. overflow: hidden !important;
  97. white-space: pre !important;
  98. }
  99. .syntaxhighlighter table td.code .line {
  100. padding: 0 1em !important;
  101. }
  102. .syntaxhighlighter.show {
  103. display: block !important;
  104. }
  105. .syntaxhighlighter.collapsed table {
  106. display: none !important;
  107. }
  108. .syntaxhighlighter.collapsed .toolbar {
  109. padding: 0.1em 0.8em 0em 0.8em !important;
  110. font-size: 1em !important;
  111. position: static !important;
  112. width: auto !important;
  113. height: auto !important;
  114. }
  115. .syntaxhighlighter.collapsed .toolbar span {
  116. display: inline !important;
  117. margin-right: 1em !important;
  118. }
  119. .syntaxhighlighter.collapsed .toolbar span a {
  120. padding: 0 !important;
  121. display: none !important;
  122. }
  123. .syntaxhighlighter.collapsed .toolbar span a.expandSource {
  124. display: inline !important;
  125. }
  126. .syntaxhighlighter .toolbar {
  127. position: absolute !important;
  128. right: 1px !important;
  129. top: 1px !important;
  130. width: 11px !important;
  131. height: 11px !important;
  132. font-size: 10px !important;
  133. z-index: 10 !important;
  134. }
  135. .syntaxhighlighter .toolbar span.title {
  136. display: inline !important;
  137. }
  138. .syntaxhighlighter .toolbar a {
  139. display: block !important;
  140. text-align: center !important;
  141. text-decoration: none !important;
  142. padding-top: 1px !important;
  143. }
  144. .syntaxhighlighter .toolbar a.expandSource {
  145. display: none !important;
  146. }
  147. .syntaxhighlighter.ie {
  148. font-size: .9em !important;
  149. padding: 1px 0 1px 0 !important;
  150. }
  151. .syntaxhighlighter.ie .toolbar {
  152. line-height: 8px !important;
  153. }
  154. .syntaxhighlighter.ie .toolbar a {
  155. padding-top: 0px !important;
  156. }
  157. .syntaxhighlighter.printing .line.alt1 .content,
  158. .syntaxhighlighter.printing .line.alt2 .content,
  159. .syntaxhighlighter.printing .line.highlighted .number,
  160. .syntaxhighlighter.printing .line.highlighted.alt1 .content,
  161. .syntaxhighlighter.printing .line.highlighted.alt2 .content {
  162. background: none !important;
  163. }
  164. .syntaxhighlighter.printing .line .number {
  165. color: #bbbbbb !important;
  166. }
  167. .syntaxhighlighter.printing .line .content {
  168. color: black !important;
  169. }
  170. .syntaxhighlighter.printing .toolbar {
  171. display: none !important;
  172. }
  173. .syntaxhighlighter.printing a {
  174. text-decoration: none !important;
  175. }
  176. .syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
  177. color: black !important;
  178. }
  179. .syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
  180. color: #008200 !important;
  181. }
  182. .syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
  183. color: blue !important;
  184. }
  185. .syntaxhighlighter.printing .keyword {
  186. color: #006699 !important;
  187. font-weight: bold !important;
  188. }
  189. .syntaxhighlighter.printing .preprocessor {
  190. color: gray !important;
  191. }
  192. .syntaxhighlighter.printing .variable {
  193. color: #aa7700 !important;
  194. }
  195. .syntaxhighlighter.printing .value {
  196. color: #009900 !important;
  197. }
  198. .syntaxhighlighter.printing .functions {
  199. color: #ff1493 !important;
  200. }
  201. .syntaxhighlighter.printing .constants {
  202. color: #0066cc !important;
  203. }
  204. .syntaxhighlighter.printing .script {
  205. font-weight: bold !important;
  206. }
  207. .syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
  208. color: gray !important;
  209. }
  210. .syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
  211. color: #ff1493 !important;
  212. }
  213. .syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
  214. color: red !important;
  215. }
  216. .syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
  217. color: black !important;
  218. }
  219. .syntaxhighlighter div.code .line {
  220. list-style: decimal;
  221. padding-left: 10px;
  222. white-space:normal !important;
  223. border-left: 3px solid #6ce26c !important;
  224. }
  225. .syntaxhighlighter div.code {
  226. word-break: break-all;
  227. padding-left: 4px !important;
  228. }
  229. .syntaxhighlighter div.code .sh-container .line:hover {
  230. background-color: #f1f1f1 !important;
  231. }
  232. /*===============Theme==============*/
  233. .syntaxhighlighter {
  234. background-color: white !important;
  235. }
  236. .syntaxhighlighter .line.alt1 {
  237. background-color: white !important;
  238. }
  239. .syntaxhighlighter .line.alt2 {
  240. background-color: white !important;
  241. }
  242. .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
  243. background-color: #e0e0e0 !important;
  244. }
  245. .syntaxhighlighter .line.highlighted.number {
  246. color: black !important;
  247. }
  248. .syntaxhighlighter table caption {
  249. color: black !important;
  250. }
  251. .syntaxhighlighter.printing .line .content {
  252. border: none !important;
  253. }
  254. .syntaxhighlighter.collapsed {
  255. overflow: visible !important;
  256. }
  257. .syntaxhighlighter.collapsed .toolbar {
  258. color: blue !important;
  259. background: white !important;
  260. border: 1px solid #6ce26c !important;
  261. }
  262. .syntaxhighlighter.collapsed .toolbar a {
  263. color: blue !important;
  264. }
  265. .syntaxhighlighter.collapsed .toolbar a:hover {
  266. color: red !important;
  267. }
  268. .syntaxhighlighter .toolbar {
  269. color: white !important;
  270. background: #6ce26c !important;
  271. border: none !important;
  272. }
  273. .syntaxhighlighter .toolbar a {
  274. color: white !important;
  275. }
  276. .syntaxhighlighter .toolbar a:hover {
  277. color: black !important;
  278. }
  279. .syntaxhighlighter .plain, .syntaxhighlighter .plain a {
  280. color: black !important;
  281. }
  282. .syntaxhighlighter .comments, .syntaxhighlighter .comments a {
  283. color: #008200 !important;
  284. }
  285. .syntaxhighlighter .string, .syntaxhighlighter .string a {
  286. color: blue !important;
  287. }
  288. .syntaxhighlighter .keyword {
  289. color: #006699 !important;
  290. }
  291. .syntaxhighlighter .preprocessor {
  292. color: gray !important;
  293. }
  294. .syntaxhighlighter .variable {
  295. color: #aa7700 !important;
  296. }
  297. .syntaxhighlighter .value {
  298. color: #009900 !important;
  299. }
  300. .syntaxhighlighter .functions {
  301. color: #ff1493 !important;
  302. }
  303. .syntaxhighlighter .constants {
  304. color: #0066cc !important;
  305. }
  306. .syntaxhighlighter .script {
  307. font-weight: bold !important;
  308. color: #006699 !important;
  309. background-color: none !important;
  310. }
  311. .syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
  312. color: gray !important;
  313. }
  314. .syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
  315. color: #ff1493 !important;
  316. }
  317. .syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
  318. color: red !important;
  319. }
  320. .syntaxhighlighter .keyword {
  321. font-weight: bold !important;
  322. }