many small updates
[pharext/pharext.org] / public / highlight / styles / railscasts.css
1 /*
2
3 Railscasts-like style (c) Visoft, Inc. (Damien White)
4
5 */
6
7 .hljs {
8 display: block;
9 overflow-x: auto;
10 padding: 0.5em;
11 background: #232323;
12 color: #e6e1dc;
13 -webkit-text-size-adjust: none;
14 }
15
16 .hljs-comment,
17 .hljs-javadoc,
18 .hljs-shebang {
19 color: #bc9458;
20 font-style: italic;
21 }
22
23 .hljs-keyword,
24 .ruby .hljs-function .hljs-keyword,
25 .hljs-request,
26 .hljs-status,
27 .nginx .hljs-title,
28 .method,
29 .hljs-list .hljs-title {
30 color: #c26230;
31 }
32
33 .hljs-string,
34 .hljs-number,
35 .hljs-regexp,
36 .hljs-tag .hljs-value,
37 .hljs-cdata,
38 .hljs-filter .hljs-argument,
39 .hljs-attr_selector,
40 .apache .hljs-cbracket,
41 .hljs-date,
42 .tex .hljs-command,
43 .asciidoc .hljs-link_label,
44 .markdown .hljs-link_label {
45 color: #a5c261;
46 }
47
48 .hljs-subst {
49 color: #519f50;
50 }
51
52 .hljs-tag,
53 .hljs-tag .hljs-keyword,
54 .hljs-tag .hljs-title,
55 .hljs-doctype,
56 .hljs-sub .hljs-identifier,
57 .hljs-pi,
58 .input_number {
59 color: #e8bf6a;
60 }
61
62 .hljs-identifier {
63 color: #d0d0ff;
64 }
65
66 .hljs-class .hljs-title,
67 .hljs-type,
68 .smalltalk .hljs-class,
69 .hljs-javadoctag,
70 .hljs-yardoctag,
71 .hljs-phpdoc,
72 .hljs-dartdoc {
73 text-decoration: none;
74 }
75
76 .hljs-constant,
77 .hljs-name {
78 color: #da4939;
79 }
80
81
82 .hljs-symbol,
83 .hljs-built_in,
84 .ruby .hljs-symbol .hljs-string,
85 .ruby .hljs-symbol .hljs-identifier,
86 .asciidoc .hljs-link_url,
87 .markdown .hljs-link_url,
88 .hljs-attribute {
89 color: #6d9cbe;
90 }
91
92 .asciidoc .hljs-link_url,
93 .markdown .hljs-link_url {
94 text-decoration: underline;
95 }
96
97
98
99 .hljs-params,
100 .hljs-variable,
101 .clojure .hljs-attribute {
102 color: #d0d0ff;
103 }
104
105 .css .hljs-tag,
106 .hljs-rule .hljs-property,
107 .hljs-pseudo,
108 .tex .hljs-special {
109 color: #cda869;
110 }
111
112 .css .hljs-class {
113 color: #9b703f;
114 }
115
116 .hljs-rule .hljs-keyword {
117 color: #c5af75;
118 }
119
120 .hljs-rule .hljs-value {
121 color: #cf6a4c;
122 }
123
124 .css .hljs-id {
125 color: #8b98ab;
126 }
127
128 .hljs-annotation,
129 .apache .hljs-sqbracket,
130 .nginx .hljs-built_in {
131 color: #9b859d;
132 }
133
134 .hljs-preprocessor,
135 .hljs-preprocessor *,
136 .hljs-pragma {
137 color: #8996a8 !important;
138 }
139
140 .hljs-hexcolor,
141 .css .hljs-value .hljs-number {
142 color: #a5c261;
143 }
144
145 .hljs-title,
146 .hljs-decorator,
147 .css .hljs-function {
148 color: #ffc66d;
149 }
150
151 .diff .hljs-header,
152 .hljs-chunk {
153 background-color: #2f33ab;
154 color: #e6e1dc;
155 display: inline-block;
156 width: 100%;
157 }
158
159 .diff .hljs-change {
160 background-color: #4a410d;
161 color: #f8f8f8;
162 display: inline-block;
163 width: 100%;
164 }
165
166 .hljs-addition {
167 background-color: #144212;
168 color: #e6e1dc;
169 display: inline-block;
170 width: 100%;
171 }
172
173 .hljs-deletion {
174 background-color: #600;
175 color: #e6e1dc;
176 display: inline-block;
177 width: 100%;
178 }
179
180 .coffeescript .javascript,
181 .javascript .xml,
182 .tex .hljs-formula,
183 .xml .javascript,
184 .xml .vbscript,
185 .xml .css,
186 .xml .hljs-cdata {
187 opacity: 0.7;
188 }