UNPKG

8.31 kBCSSView Raw
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: #626262 !important;
12 background-color: #262626 !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: #FFFFFF !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 #9A9A9A !important;
50 background-color: #3E3E3E !important;
51 color: #9A9A9A !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-style: normal !important;
60 padding: 0 !important;
61}
62.sunlight-line-number-margin a {
63 color: inherit !important;
64}
65.sunlight-line-highlight-overlay {
66 position: absolute;
67 top: 0;
68 left: 0;
69 width: 100%;
70 z-index: 0;
71}
72.sunlight-line-highlight-overlay div {
73 height: 15px;
74 width: 100%;
75}
76.sunlight-line-highlight-overlay .sunlight-line-highlight-active {
77 background-color: #4B4B4B;
78}
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
100
101
102
103.sunlight-string,
104.sunlight-char,
105.sunlight-heredoc,
106.sunlight-heredocDeclaration,
107.sunlight-nowdoc,
108.sunlight-longString,
109.sunlight-rawString,
110.sunlight-binaryString,
111.sunlight-verbatimString,
112.sunlight-rawLongString,
113.sunlight-binaryLongString,
114.sunlight-diff .sunlight-added {
115 color: #55EB54 !important;
116}
117.sunlight-operator,
118.sunlight-punctuation,
119.sunlight-delimiter {
120 color: #B1EDEC !important;
121}
122.sunlight-ident,
123.sunlight-diff .sunlight-unchanged {
124 color: #E0E0E0 !important;
125 font-weight: bold !important;
126}
127.sunlight-comment,
128.sunlight-xmlDocCommentContent,
129.sunlight-nginx .sunlight-ssiCommand,
130.sunlight-sln .sunlight-formatDeclaration,
131.sunlight-diff .sunlight-mergeHeader,
132.sunlight-diff .sunlight-noNewLine {
133 color: #787D31 !important;
134}
135.sunlight-number,
136.sunlight-cdata,
137.sunlight-guid,
138.sunlight-diff .sunlight-modified {
139 color: #F7BA7E !important;
140 font-weight: bold !important;
141}
142.sunlight-named-ident,
143.sunlight-xml .sunlight-attribute,
144.sunlight-constant,
145.sunlight-javascript .sunlight-globalVariable,
146.sunlight-globalObject,
147.sunlight-css .sunlight-id,
148.sunlight-python .sunlight-attribute,
149.sunlight-nginx .sunlight-context,
150.sunlight-httpd .sunlight-context,
151.sunlight-lisp .sunlight-declarationSpecifier,
152.sunlight-erlang .sunlight-userDefinedFunction,
153.sunlight-diff .sunlight-removed {
154 color: #FBBDEE !important;
155 font-weight: bold !important;
156}
157.sunlight-keyword,
158.sunlight-languageConstruct,
159.sunlight-specialOperator,
160.sunlight-xml .sunlight-tagName,
161.sunlight-xml .sunlight-operator,
162.sunlight-bash .sunlight-command,
163.sunlight-erlang .sunlight-moduleAttribute {
164 color: #A3CCF7 !important;
165 font-weight: bold !important;
166}
167.sunlight-shortOpenTag,
168.sunlight-openTag,
169.sunlight-closeTag,
170.sunlight-xmlOpenTag,
171.sunlight-xmlCloseTag,
172.sunlight-aspOpenTag,
173.sunlight-aspCloseTag,
174.sunlight-label,
175.sunlight-css .sunlight-importantFlag {
176 background-color: #7373C1 !important;
177}
178.sunlight-content {
179 color: #FFFFFF !important;
180 font-weight: bold !important;
181}
182.sunlight-function,
183.sunlight-globalFunction,
184.sunlight-objective-c .sunlight-messageDestination,
185.sunlight-ruby .sunlight-specialFunction,
186.sunlight-6502asm .sunlight-illegalOpcode,
187.sunlight-powershell .sunlight-switch,
188.sunlight-lisp .sunlight-macro,
189.sunlight-lisp .sunlight-specialForm,
190.sunlight-lisp .sunlight-type,
191.sunlight-sln .sunlight-sectionName,
192.sunlight-diff .sunlight-header {
193 color: #C8BBF1 !important;
194 font-weight: bold !important;
195}
196.sunlight-variable,
197.sunlight-environmentVariable,
198.sunlight-specialVariable,
199.sunlight-objective-c .sunlight-messageArgumentName,
200.sunlight-lisp .sunlight-globalVariable,
201.sunlight-ruby .sunlight-globalVariable,
202.sunlight-ruby .sunlight-instanceVariable {
203 color: #F5E5B0 !important;
204 font-weight: bold !important;
205}
206.sunlight-regexLiteral,
207.sunlight-lisp .sunlight-operator,
208.sunlight-6502asm .sunlight-pseudoOp,
209.sunlight-erlang .sunlight-macro,
210.sunlight-diff .sunlight-rangeInfo {
211 color: #E0F16A !important;
212}
213.sunlight-specialVariable {
214 font-style: italic !important;
215 font-weight: bold !important;
216}
217.sunlight-csharp .sunlight-pragma,
218.sunlight-preprocessorDirective,
219.sunlight-vb .sunlight-compilerDirective {
220 color: #666363 !important;
221 font-style: italic !important;
222}
223.sunlight-xmlDocCommentMeta,
224.sunlight-java .sunlight-annotation,
225.sunlight-scala .sunlight-annotation,
226.sunlight-docComment {
227 color: #666363 !important;
228}
229.sunlight-quotedIdent,
230.sunlight-ruby .sunlight-subshellCommand,
231.sunlight-lisp .sunlight-keywordArgument,
232.sunlight-haskell .sunlight-infixOperator,
233.sunlight-erlang .sunlight-quotedAtom {
234 color: #F8CA16 !important;
235}
236
237
238
239
240/* html/xml */
241.sunlight-xml .sunlight-tagName,
242.sunlight-xml .sunlight-operator,
243.sunlight-xml .sunlight-attribute {
244 font-weight: normal !important;
245}
246.sunlight-doctype {
247 color: #DEB9B2 !important;
248 font-style: italic !important;
249}
250.sunlight-xml .sunlight-entity {
251 background-color: #E6E585 !important;
252 color: #000000 !important;
253}
254
255/* javascript */
256.sunlight-javascript .sunlight-reservedWord {
257 font-style: italic !important;
258}
259
260/* css */
261.sunlight-css .sunlight-element {
262 color: #E9EE97 !important;
263}
264.sunlight-css .sunlight-microsoftFilterPrefix {
265 color: #C9FF9F !important;
266}
267.sunlight-css .sunlight-rule {
268 color: #0099FF !important;
269}
270.sunlight-css .sunlight-class {
271 color: #E78282 !important;
272}
273.sunlight-css .sunlight-pseudoClass, .sunlight-css .sunlight-pseudoElement {
274 color: #73D693 !important;
275}
276
277/* bash */
278.sunlight-bash .sunlight-hashBang {
279 color: #FFFF00 !important;
280}
281
282.sunlight-bash .sunlight-verbatimCommand {
283 color: #BBA4EE !important;
284}
285.sunlight-bash .sunlight-variable,
286.sunlight-bash .sunlight-specialVariable {
287 color: #ED8585 !important;
288}
289
290/* python */
291.sunlight-python .sunlight-specialMethod {
292 font-weight: bold !important;
293 color: #B0A3C2;
294}
295
296/* ruby */
297.sunlight-ruby .sunlight-symbol {
298 font-weight: bold !important;
299 color: #90EEA2 !important;
300}
301
302/* brainfuck */
303.sunlight-brainfuck {
304 font-weight: bold !important;
305 color: #000000 !important;
306}
307.sunlight-brainfuck .sunlight-increment {
308 background-color: #FF9900 !important;
309}
310.sunlight-brainfuck .sunlight-decrement {
311 background-color: #FF99FF !important;
312}
313.sunlight-brainfuck .sunlight-incrementPointer {
314 background-color: #FFFF99 !important;
315}
316.sunlight-brainfuck .sunlight-decrementPointer {
317 background-color: #66CCFF !important;
318}
319.sunlight-brainfuck .sunlight-read {
320 background-color: #FFFFFF !important;
321}
322.sunlight-brainfuck .sunlight-write {
323 background-color: #99FF99 !important;
324}
325.sunlight-brainfuck .sunlight-openLoop, .sunlight-brainfuck .sunlight-closeLoop {
326 background-color: #FFFFFF !important;
327}
328
329/* 6502 asm */
330.sunlight-6502asm .sunlight-label {
331 background: none !important;
332 color: #FFFFFF !important;
333 text-decoration: underline !important;
334}
335
336/* lisp */
337.sunlight-lisp .sunlight-macro {
338 font-style: italic !important;
339}
340
341/* erlang */
342.sunlight-erlang .sunlight-atom {
343 color: #FFFFFF !important;
344 font-weight: bold !important;
345}
\No newline at end of file