sunlight.default.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. /* global styles */
  2. .sunlight-container {
  3. clear: both !important;
  4. position: relative !important;
  5. margin: 10px 0 !important;
  6. }
  7. .sunlight-code-container {
  8. clear: both !important;
  9. position: relative !important;
  10. border: none;
  11. border-color: #969696 !important;
  12. background-color: #FFFFFF !important;
  13. }
  14. .sunlight-highlighted, .sunlight-container, .sunlight-container textarea {
  15. font-family: Consolas, Inconsolata, Monaco, "Courier New" !important;
  16. font-size: 12px !important;
  17. line-height: 15px !important;
  18. }
  19. .sunlight-highlighted, .sunlight-container textarea {
  20. color: #000000 !important;
  21. margin: 0 !important;
  22. }
  23. .sunlight-container textarea {
  24. padding-left: 0 !important;
  25. margin-left: 0 !important;
  26. margin-right: 0 !important;
  27. padding-right: 0 !important;
  28. }
  29. .sunlight-code-container > .sunlight-highlighted {
  30. white-space: pre;
  31. overflow-x: auto;
  32. overflow-y: hidden; /* ie requires this wtf? */
  33. }
  34. .sunlight-highlighted {
  35. z-index: 1;
  36. position: relative;
  37. }
  38. .sunlight-highlighted * {
  39. background: transparent;
  40. }
  41. .sunlight-line-number-margin {
  42. float: left !important;
  43. margin-right: 5px !important;
  44. margin-top: 0 !important;
  45. margin-bottom: 0 !important;
  46. padding: 0 !important;
  47. padding-right: 4px !important;
  48. padding-left: 4px !important;
  49. border-right: 1px solid #CCCCCC !important;
  50. background-color: #EEEEEE !important;
  51. color: #848484 !important;
  52. text-align: right !important;
  53. position: relative;
  54. z-index: 3;
  55. }
  56. .sunlight-highlighted a, .sunlight-line-number-margin a {
  57. border: none !important;
  58. text-decoration: none !important;
  59. font-weight: normal !important;
  60. font-style: normal !important;
  61. padding: 0 !important;
  62. }
  63. .sunlight-line-number-margin a {
  64. color: inherit !important;
  65. }
  66. .sunlight-line-highlight-overlay {
  67. position: absolute;
  68. top: 0;
  69. left: 0;
  70. width: 100%;
  71. z-index: 0;
  72. }
  73. .sunlight-line-highlight-overlay div {
  74. height: 15px;
  75. width: 100%;
  76. }
  77. .sunlight-line-highlight-overlay .sunlight-line-highlight-active {
  78. background-color: #E7FCFA;
  79. }
  80. /* menu */
  81. .sunlight-menu {
  82. background-color: #FFFFCC;
  83. color: #000000;
  84. }
  85. .sunlight-menu ul {
  86. margin: 0 !important;
  87. padding: 0 !important;
  88. list-style-type: none !important;
  89. }
  90. .sunlight-menu li {
  91. float: right !important;
  92. margin-left: 5px !important;
  93. }
  94. .sunlight-menu a, .sunlight-menu img {
  95. color: #000099 !important;
  96. text-decoration: none !important;
  97. border: none !important;
  98. }
  99. .sunlight-string,
  100. .sunlight-char,
  101. .sunlight-heredoc,
  102. .sunlight-heredocDeclaration,
  103. .sunlight-nowdoc,
  104. .sunlight-longString,
  105. .sunlight-rawString,
  106. .sunlight-binaryString,
  107. .sunlight-rawLongString,
  108. .sunlight-binaryLongString,
  109. .sunlight-verbatimString,
  110. .sunlight-diff .sunlight-removed {
  111. color: #990000 !important;
  112. }
  113. .sunlight-ident,
  114. .sunlight-operator,
  115. .sunlight-punctuation,
  116. .sunlight-delimiter,
  117. .sunlight-diff .sunlight-unchanged {
  118. color: #000000 !important;
  119. }
  120. .sunlight-comment,
  121. .sunlight-xmlDocCommentContent,
  122. .sunlight-nginx .sunlight-ssiCommand,
  123. .sunlight-sln .sunlight-formatDeclaration,
  124. .sunlight-diff .sunlight-added {
  125. color: #009900 !important;
  126. }
  127. .sunlight-number,
  128. .sunlight-guid,
  129. .sunlight-cdata {
  130. color: #CC6600 !important;
  131. }
  132. .sunlight-named-ident,
  133. .sunlight-constant,
  134. .sunlight-javascript .sunlight-globalVariable,
  135. .sunlight-globalObject,
  136. .sunlight-python .sunlight-attribute,
  137. .sunlight-nginx .sunlight-context,
  138. .sunlight-httpd .sunlight-context,
  139. .sunlight-haskell .sunlight-class,
  140. .sunlight-haskell .sunlight-type,
  141. .sunlight-lisp .sunlight-declarationSpecifier,
  142. .sunlight-erlang .sunlight-userDefinedFunction,
  143. .sunlight-diff .sunlight-header {
  144. color: #2B91AF !important;
  145. }
  146. .sunlight-keyword,
  147. .sunlight-languageConstruct,
  148. .sunlight-css
  149. .sunlight-element,
  150. .sunlight-bash .sunlight-command,
  151. .sunlight-specialOperator,
  152. .sunlight-erlang .sunlight-moduleAttribute,
  153. .sunlight-xml .sunlight-tagName,
  154. .sunlight-xml .sunlight-operator,
  155. .sunlight-diff .sunlight-modified {
  156. color: #0000FF !important;
  157. }
  158. .sunlight-shortOpenTag,
  159. .sunlight-openTag,
  160. .sunlight-closeTag,
  161. .sunlight-xmlOpenTag,
  162. .sunlight-xmlCloseTag,
  163. .sunlight-aspOpenTag,
  164. .sunlight-aspCloseTag,
  165. .sunlight-label,
  166. .sunlight-css .sunlight-importantFlag {
  167. background-color: #FFFF99 !important;
  168. color: #000000 !important;
  169. }
  170. .sunlight-function,
  171. .sunlight-globalFunction,
  172. .sunlight-ruby .sunlight-specialFunction,
  173. .sunlight-objective-c .sunlight-messageDestination,
  174. .sunlight-6502asm .sunlight-illegalOpcode,
  175. .sunlight-powershell .sunlight-switch,
  176. .sunlight-lisp .sunlight-macro,
  177. .sunlight-lisp .sunlight-specialForm,
  178. .sunlight-lisp .sunlight-type,
  179. .sunlight-sln .sunlight-sectionName,
  180. .sunlight-diff .sunlight-rangeInfo {
  181. color: #B069AF !important;
  182. }
  183. .sunlight-variable,
  184. .sunlight-specialVariable,
  185. .sunlight-environmentVariable,
  186. .sunlight-objective-c .sunlight-messageArgumentName,
  187. .sunlight-lisp .sunlight-globalVariable,
  188. .sunlight-ruby .sunlight-globalVariable,
  189. .sunlight-ruby .sunlight-instanceVariable,
  190. .sunlight-sln .sunlight-operator {
  191. color: #325484 !important;
  192. }
  193. .sunlight-regexLiteral,
  194. .sunlight-lisp .sunlight-operator,
  195. .sunlight-6502asm .sunlight-pseudoOp,
  196. .sunlight-erlang .sunlight-macro {
  197. color: #FF00B2 !important;
  198. }
  199. .sunlight-specialVariable {
  200. font-style: italic !important;
  201. font-weight: bold !important;
  202. }
  203. .sunlight-csharp .sunlight-pragma,
  204. .sunlight-preprocessorDirective,
  205. .sunlight-vb .sunlight-compilerDirective,
  206. .sunlight-diff .sunlight-mergeHeader,
  207. .sunlight-diff .sunlight-noNewLine {
  208. color: #999999 !important;
  209. font-style: italic !important;
  210. }
  211. .sunlight-xmlDocCommentMeta,
  212. .sunlight-java .sunlight-annotation,
  213. .sunlight-scala .sunlight-annotation,
  214. .sunlight-docComment {
  215. color: #808080 !important;
  216. }
  217. .sunlight-quotedIdent,
  218. .sunlight-ruby .sunlight-subshellCommand,
  219. .sunlight-lisp .sunlight-keywordArgument,
  220. .sunlight-haskell .sunlight-infixOperator,
  221. .sunlight-erlang .sunlight-quotedAtom {
  222. color: #999900 !important;
  223. }
  224. /* xml */
  225. .sunlight-xml .sunlight-string {
  226. color: #990099 !important;
  227. }
  228. .sunlight-xml .sunlight-attribute {
  229. color: #FF0000 !important;
  230. }
  231. .sunlight-xml .sunlight-entity {
  232. background-color: #EEEEEE !important;
  233. color: #000000 !important;
  234. border: 1px solid #000000 !important;
  235. }
  236. .sunlight-xml .sunlight-doctype {
  237. color: #2B91AF !important;
  238. }
  239. /* javascript */
  240. .sunlight-javascript .sunlight-reservedWord {
  241. font-style: italic !important;
  242. }
  243. /* css */
  244. .sunlight-css .sunlight-microsoftFilterPrefix {
  245. color: #FF00FF !important;
  246. }
  247. .sunlight-css .sunlight-rule {
  248. color: #0099FF !important;
  249. }
  250. .sunlight-css .sunlight-keyword {
  251. color: #4E65B8 !important;
  252. }
  253. .sunlight-css .sunlight-class {
  254. color: #FF0000 !important;
  255. }
  256. .sunlight-css .sunlight-id {
  257. color: #8A8E13 !important;
  258. }
  259. .sunlight-css .sunlight-pseudoClass,
  260. .sunlight-css .sunlight-pseudoElement {
  261. color: #368B87 !important;
  262. }
  263. /* bash */
  264. .sunlight-bash .sunlight-hashBang {
  265. color: #3D97F5 !important;
  266. }
  267. .sunlight-bash .sunlight-verbatimCommand {
  268. color: #999900 !important;
  269. }
  270. .sunlight-bash .sunlight-variable,
  271. .sunlight-bash .sunlight-specialVariable {
  272. color: #FF0000 !important;
  273. }
  274. /* python */
  275. .sunlight-python .sunlight-specialMethod {
  276. font-weight: bold !important;
  277. color: #A07DD3;
  278. }
  279. /* ruby */
  280. .sunlight-ruby .sunlight-symbol {
  281. font-weight: bold !important;
  282. color: #ED7272 !important;
  283. }
  284. /* brainfuck */
  285. .sunlight-brainfuck {
  286. font-weight: bold !important;
  287. color: #000000 !important;
  288. }
  289. .sunlight-brainfuck .sunlight-increment {
  290. background-color: #FF9900 !important;
  291. }
  292. .sunlight-brainfuck .sunlight-decrement {
  293. background-color: #FF99FF !important;
  294. }
  295. .sunlight-brainfuck .sunlight-incrementPointer {
  296. background-color: #FFFF99 !important;
  297. }
  298. .sunlight-brainfuck .sunlight-decrementPointer {
  299. background-color: #66CCFF !important;
  300. }
  301. .sunlight-brainfuck .sunlight-read {
  302. background-color: #FFFFFF !important;
  303. }
  304. .sunlight-brainfuck .sunlight-write {
  305. background-color: #99FF99 !important;
  306. }
  307. .sunlight-brainfuck .sunlight-openLoop, .sunlight-brainfuck .sunlight-closeLoop {
  308. background-color: #FFFFFF !important;
  309. }
  310. /* 6502 asm */
  311. .sunlight-6502asm .sunlight-label {
  312. font-weight: bold !important;
  313. color: #000000 !important;
  314. background: none !important;
  315. }
  316. /* lisp */
  317. .sunlight-lisp .sunlight-macro {
  318. font-style: italic !important;
  319. }
  320. /* erlang */
  321. .sunlight-erlang .sunlight-atom {
  322. font-weight: bold !important;
  323. }