volt-code_highlight 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +35 -0
- data/Rakefile +1 -0
- data/app/code_highlight/assets/css/agate.css +137 -0
- data/app/code_highlight/assets/css/androidstudio.css +53 -0
- data/app/code_highlight/assets/css/arta.css +138 -0
- data/app/code_highlight/assets/css/ascetic.css +52 -0
- data/app/code_highlight/assets/css/atelier-cave.dark.css +113 -0
- data/app/code_highlight/assets/css/atelier-cave.light.css +113 -0
- data/app/code_highlight/assets/css/atelier-dune.dark.css +94 -0
- data/app/code_highlight/assets/css/atelier-dune.light.css +94 -0
- data/app/code_highlight/assets/css/atelier-estuary.dark.css +113 -0
- data/app/code_highlight/assets/css/atelier-estuary.light.css +113 -0
- data/app/code_highlight/assets/css/atelier-forest.dark.css +94 -0
- data/app/code_highlight/assets/css/atelier-forest.light.css +94 -0
- data/app/code_highlight/assets/css/atelier-heath.dark.css +94 -0
- data/app/code_highlight/assets/css/atelier-heath.light.css +94 -0
- data/app/code_highlight/assets/css/atelier-lakeside.dark.css +94 -0
- data/app/code_highlight/assets/css/atelier-lakeside.light.css +94 -0
- data/app/code_highlight/assets/css/atelier-plateau.dark.css +113 -0
- data/app/code_highlight/assets/css/atelier-plateau.light.css +113 -0
- data/app/code_highlight/assets/css/atelier-savanna.dark.css +113 -0
- data/app/code_highlight/assets/css/atelier-savanna.light.css +113 -0
- data/app/code_highlight/assets/css/atelier-seaside.dark.css +94 -0
- data/app/code_highlight/assets/css/atelier-seaside.light.css +94 -0
- data/app/code_highlight/assets/css/atelier-sulphurpool.dark.css +94 -0
- data/app/code_highlight/assets/css/atelier-sulphurpool.light.css +94 -0
- data/app/code_highlight/assets/css/brown_paper.css +103 -0
- data/app/code_highlight/assets/css/brown_papersq.png +0 -0
- data/app/code_highlight/assets/css/codepen-embed.css +97 -0
- data/app/code_highlight/assets/css/color-brewer.css +165 -0
- data/app/code_highlight/assets/css/dark.css +103 -0
- data/app/code_highlight/assets/css/darkula.css +152 -0
- data/app/code_highlight/assets/css/default.css +155 -0
- data/app/code_highlight/assets/css/docco.css +134 -0
- data/app/code_highlight/assets/css/far.css +110 -0
- data/app/code_highlight/assets/css/foundation.css +135 -0
- data/app/code_highlight/assets/css/github-gist.css +218 -0
- data/app/code_highlight/assets/css/github.css +123 -0
- data/app/code_highlight/assets/css/googlecode.css +144 -0
- data/app/code_highlight/assets/css/grayscale.css +128 -0
- data/app/code_highlight/assets/css/hopscotch.css +95 -0
- data/app/code_highlight/assets/css/hybrid.css +164 -0
- data/app/code_highlight/assets/css/idea.css +122 -0
- data/app/code_highlight/assets/css/ir_black.css +106 -0
- data/app/code_highlight/assets/css/kimbie.dark.css +97 -0
- data/app/code_highlight/assets/css/kimbie.light.css +97 -0
- data/app/code_highlight/assets/css/magula.css +120 -0
- data/app/code_highlight/assets/css/mono-blue.css +68 -0
- data/app/code_highlight/assets/css/monokai.css +126 -0
- data/app/code_highlight/assets/css/monokai_sublime.css +154 -0
- data/app/code_highlight/assets/css/obsidian.css +152 -0
- data/app/code_highlight/assets/css/paraiso.dark.css +96 -0
- data/app/code_highlight/assets/css/paraiso.light.css +96 -0
- data/app/code_highlight/assets/css/pojoaque.css +106 -0
- data/app/code_highlight/assets/css/pojoaque.jpg +0 -0
- data/app/code_highlight/assets/css/railscasts.css +184 -0
- data/app/code_highlight/assets/css/rainbow.css +107 -0
- data/app/code_highlight/assets/css/school_book.css +111 -0
- data/app/code_highlight/assets/css/school_book.png +0 -0
- data/app/code_highlight/assets/css/solarized_dark.css +107 -0
- data/app/code_highlight/assets/css/solarized_light.css +107 -0
- data/app/code_highlight/assets/css/sunburst.css +161 -0
- data/app/code_highlight/assets/css/tomorrow-night-blue.css +96 -0
- data/app/code_highlight/assets/css/tomorrow-night-bright.css +95 -0
- data/app/code_highlight/assets/css/tomorrow-night-eighties.css +95 -0
- data/app/code_highlight/assets/css/tomorrow-night.css +96 -0
- data/app/code_highlight/assets/css/tomorrow.css +93 -0
- data/app/code_highlight/assets/css/vs.css +92 -0
- data/app/code_highlight/assets/css/xcode.css +154 -0
- data/app/code_highlight/assets/css/zenburn.css +118 -0
- data/app/code_highlight/assets/js/highlight.pack.js +1 -0
- data/app/code_highlight/config/dependencies.rb +5 -0
- data/app/code_highlight/config/initializers/boot.rb +10 -0
- data/app/code_highlight/config/routes.rb +1 -0
- data/app/code_highlight/controllers/main_controller.rb +32 -0
- data/app/code_highlight/views/main/index.html +1 -0
- data/lib/volt/code_highlight.rb +18 -0
- data/lib/volt/code_highlight/version.rb +5 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/volt/code_highlight_spec.rb +11 -0
- data/volt-code_highlight.gemspec +23 -0
- metadata +174 -0
@@ -0,0 +1,123 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
color: #333;
|
12
|
+
background: #f8f8f8;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-comment,
|
17
|
+
.diff .hljs-header {
|
18
|
+
color: #998;
|
19
|
+
font-style: italic;
|
20
|
+
}
|
21
|
+
|
22
|
+
.hljs-keyword,
|
23
|
+
.css .rule .hljs-keyword,
|
24
|
+
.hljs-winutils,
|
25
|
+
.nginx .hljs-title,
|
26
|
+
.hljs-subst,
|
27
|
+
.hljs-request,
|
28
|
+
.hljs-status {
|
29
|
+
color: #333;
|
30
|
+
font-weight: bold;
|
31
|
+
}
|
32
|
+
|
33
|
+
.hljs-number,
|
34
|
+
.hljs-hexcolor,
|
35
|
+
.ruby .hljs-constant {
|
36
|
+
color: #008080;
|
37
|
+
}
|
38
|
+
|
39
|
+
.hljs-string,
|
40
|
+
.hljs-tag .hljs-value,
|
41
|
+
.hljs-doctag,
|
42
|
+
.tex .hljs-formula {
|
43
|
+
color: #d14;
|
44
|
+
}
|
45
|
+
|
46
|
+
.hljs-title,
|
47
|
+
.hljs-id,
|
48
|
+
.scss .hljs-preprocessor {
|
49
|
+
color: #900;
|
50
|
+
font-weight: bold;
|
51
|
+
}
|
52
|
+
|
53
|
+
.hljs-list .hljs-keyword,
|
54
|
+
.hljs-subst {
|
55
|
+
font-weight: normal;
|
56
|
+
}
|
57
|
+
|
58
|
+
.hljs-class .hljs-title,
|
59
|
+
.hljs-type,
|
60
|
+
.vhdl .hljs-literal,
|
61
|
+
.tex .hljs-command {
|
62
|
+
color: #458;
|
63
|
+
font-weight: bold;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-tag,
|
67
|
+
.hljs-tag .hljs-title,
|
68
|
+
.hljs-rule .hljs-property,
|
69
|
+
.django .hljs-tag .hljs-keyword {
|
70
|
+
color: #000080;
|
71
|
+
font-weight: normal;
|
72
|
+
}
|
73
|
+
|
74
|
+
.hljs-attribute,
|
75
|
+
.hljs-variable,
|
76
|
+
.lisp .hljs-body,
|
77
|
+
.hljs-name {
|
78
|
+
color: #008080;
|
79
|
+
}
|
80
|
+
|
81
|
+
.hljs-regexp {
|
82
|
+
color: #009926;
|
83
|
+
}
|
84
|
+
|
85
|
+
.hljs-symbol,
|
86
|
+
.ruby .hljs-symbol .hljs-string,
|
87
|
+
.lisp .hljs-keyword,
|
88
|
+
.clojure .hljs-keyword,
|
89
|
+
.scheme .hljs-keyword,
|
90
|
+
.tex .hljs-special,
|
91
|
+
.hljs-prompt {
|
92
|
+
color: #990073;
|
93
|
+
}
|
94
|
+
|
95
|
+
.hljs-built_in {
|
96
|
+
color: #0086b3;
|
97
|
+
}
|
98
|
+
|
99
|
+
.hljs-preprocessor,
|
100
|
+
.hljs-pragma,
|
101
|
+
.hljs-pi,
|
102
|
+
.hljs-doctype,
|
103
|
+
.hljs-shebang,
|
104
|
+
.hljs-cdata {
|
105
|
+
color: #999;
|
106
|
+
font-weight: bold;
|
107
|
+
}
|
108
|
+
|
109
|
+
.hljs-deletion {
|
110
|
+
background: #fdd;
|
111
|
+
}
|
112
|
+
|
113
|
+
.hljs-addition {
|
114
|
+
background: #dfd;
|
115
|
+
}
|
116
|
+
|
117
|
+
.diff .hljs-change {
|
118
|
+
background: #0086b3;
|
119
|
+
}
|
120
|
+
|
121
|
+
.hljs-chunk {
|
122
|
+
color: #aaa;
|
123
|
+
}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Google Code style (c) Aahan Krish <geekpanth3r@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: white;
|
12
|
+
color: black;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-comment {
|
17
|
+
color: #800;
|
18
|
+
}
|
19
|
+
|
20
|
+
.hljs-keyword,
|
21
|
+
.method,
|
22
|
+
.hljs-list .hljs-keyword,
|
23
|
+
.nginx .hljs-title,
|
24
|
+
.hljs-tag .hljs-title,
|
25
|
+
.setting .hljs-value,
|
26
|
+
.hljs-winutils,
|
27
|
+
.tex .hljs-command,
|
28
|
+
.http .hljs-title,
|
29
|
+
.hljs-request,
|
30
|
+
.hljs-status {
|
31
|
+
color: #008;
|
32
|
+
}
|
33
|
+
|
34
|
+
.hljs-envvar,
|
35
|
+
.tex .hljs-special {
|
36
|
+
color: #660;
|
37
|
+
}
|
38
|
+
|
39
|
+
.hljs-string,
|
40
|
+
.hljs-tag .hljs-value,
|
41
|
+
.hljs-cdata,
|
42
|
+
.hljs-filter .hljs-argument,
|
43
|
+
.hljs-attr_selector,
|
44
|
+
.apache .hljs-cbracket,
|
45
|
+
.hljs-date,
|
46
|
+
.hljs-regexp,
|
47
|
+
.coffeescript .hljs-attribute {
|
48
|
+
color: #080;
|
49
|
+
}
|
50
|
+
|
51
|
+
.hljs-sub .hljs-identifier,
|
52
|
+
.hljs-pi,
|
53
|
+
.hljs-tag,
|
54
|
+
.hljs-tag .hljs-keyword,
|
55
|
+
.hljs-decorator,
|
56
|
+
.ini .hljs-title,
|
57
|
+
.hljs-shebang,
|
58
|
+
.hljs-prompt,
|
59
|
+
.hljs-hexcolor,
|
60
|
+
.hljs-rule .hljs-value,
|
61
|
+
.hljs-literal,
|
62
|
+
.hljs-symbol,
|
63
|
+
.ruby .hljs-symbol .hljs-string,
|
64
|
+
.hljs-number,
|
65
|
+
.css .hljs-function,
|
66
|
+
.clojure .hljs-attribute {
|
67
|
+
color: #066;
|
68
|
+
}
|
69
|
+
|
70
|
+
.hljs-class .hljs-title,
|
71
|
+
.smalltalk .hljs-class,
|
72
|
+
.hljs-doctag,
|
73
|
+
.hljs-type,
|
74
|
+
.hljs-typename,
|
75
|
+
.hljs-tag .hljs-attribute,
|
76
|
+
.hljs-doctype,
|
77
|
+
.hljs-class .hljs-id,
|
78
|
+
.hljs-built_in,
|
79
|
+
.setting,
|
80
|
+
.hljs-params,
|
81
|
+
.hljs-variable,
|
82
|
+
.hljs-name {
|
83
|
+
color: #606;
|
84
|
+
}
|
85
|
+
|
86
|
+
.css .hljs-tag,
|
87
|
+
.hljs-rule .hljs-property,
|
88
|
+
.hljs-pseudo,
|
89
|
+
.hljs-subst {
|
90
|
+
color: #000;
|
91
|
+
}
|
92
|
+
|
93
|
+
.css .hljs-class,
|
94
|
+
.css .hljs-id {
|
95
|
+
color: #9b703f;
|
96
|
+
}
|
97
|
+
|
98
|
+
.hljs-value .hljs-important {
|
99
|
+
color: #ff7700;
|
100
|
+
font-weight: bold;
|
101
|
+
}
|
102
|
+
|
103
|
+
.hljs-rule .hljs-keyword {
|
104
|
+
color: #c5af75;
|
105
|
+
}
|
106
|
+
|
107
|
+
.hljs-annotation,
|
108
|
+
.apache .hljs-sqbracket,
|
109
|
+
.nginx .hljs-built_in {
|
110
|
+
color: #9b859d;
|
111
|
+
}
|
112
|
+
|
113
|
+
.hljs-preprocessor,
|
114
|
+
.hljs-preprocessor *,
|
115
|
+
.hljs-pragma {
|
116
|
+
color: #444;
|
117
|
+
}
|
118
|
+
|
119
|
+
.tex .hljs-formula {
|
120
|
+
background-color: #eee;
|
121
|
+
font-style: italic;
|
122
|
+
}
|
123
|
+
|
124
|
+
.diff .hljs-header,
|
125
|
+
.hljs-chunk {
|
126
|
+
color: #808080;
|
127
|
+
font-weight: bold;
|
128
|
+
}
|
129
|
+
|
130
|
+
.diff .hljs-change {
|
131
|
+
background-color: #bccff9;
|
132
|
+
}
|
133
|
+
|
134
|
+
.hljs-addition {
|
135
|
+
background-color: #baeeba;
|
136
|
+
}
|
137
|
+
|
138
|
+
.hljs-deletion {
|
139
|
+
background-color: #ffc8bd;
|
140
|
+
}
|
141
|
+
|
142
|
+
.hljs-comment .hljs-doctag {
|
143
|
+
font-weight: bold;
|
144
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
grayscale style (c) MY Sun <simonmysun@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
color: #333;
|
12
|
+
background: #fff;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-comment,
|
17
|
+
.diff .hljs-header {
|
18
|
+
color: #777;
|
19
|
+
font-style: italic;
|
20
|
+
}
|
21
|
+
|
22
|
+
.hljs-keyword,
|
23
|
+
.css .rule .hljs-keyword,
|
24
|
+
.hljs-winutils,
|
25
|
+
.nginx .hljs-title,
|
26
|
+
.hljs-subst,
|
27
|
+
.hljs-request,
|
28
|
+
.hljs-status {
|
29
|
+
color: #333;
|
30
|
+
font-weight: bold;
|
31
|
+
}
|
32
|
+
|
33
|
+
.hljs-number,
|
34
|
+
.hljs-hexcolor,
|
35
|
+
.ruby .hljs-constant {
|
36
|
+
color: #777;
|
37
|
+
}
|
38
|
+
|
39
|
+
.hljs-string,
|
40
|
+
.hljs-tag .hljs-value,
|
41
|
+
.hljs-doctag,
|
42
|
+
.tex .hljs-formula {
|
43
|
+
color: #333;
|
44
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat;
|
45
|
+
}
|
46
|
+
|
47
|
+
.hljs-title,
|
48
|
+
.hljs-id,
|
49
|
+
.scss .hljs-preprocessor {
|
50
|
+
color: #000;
|
51
|
+
font-weight: bold;
|
52
|
+
}
|
53
|
+
|
54
|
+
.hljs-list .hljs-keyword,
|
55
|
+
.hljs-subst {
|
56
|
+
font-weight: normal;
|
57
|
+
}
|
58
|
+
|
59
|
+
.hljs-class .hljs-title,
|
60
|
+
.hljs-type,
|
61
|
+
.vhdl .hljs-literal,
|
62
|
+
.tex .hljs-command {
|
63
|
+
color: #333;
|
64
|
+
font-weight: bold;
|
65
|
+
}
|
66
|
+
|
67
|
+
.hljs-tag,
|
68
|
+
.hljs-tag .hljs-title,
|
69
|
+
.hljs-rule .hljs-property,
|
70
|
+
.django .hljs-tag .hljs-keyword {
|
71
|
+
color: #333;
|
72
|
+
}
|
73
|
+
|
74
|
+
.hljs-attribute,
|
75
|
+
.hljs-variable,
|
76
|
+
.lisp .hljs-body,
|
77
|
+
.hljs-name {
|
78
|
+
color: #000;
|
79
|
+
}
|
80
|
+
|
81
|
+
.hljs-regexp {
|
82
|
+
color: #333;
|
83
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat;
|
84
|
+
}
|
85
|
+
|
86
|
+
.hljs-symbol,
|
87
|
+
.ruby .hljs-symbol .hljs-string,
|
88
|
+
.lisp .hljs-keyword,
|
89
|
+
.clojure .hljs-keyword,
|
90
|
+
.scheme .hljs-keyword,
|
91
|
+
.tex .hljs-special,
|
92
|
+
.hljs-prompt {
|
93
|
+
color: #000;
|
94
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat;
|
95
|
+
}
|
96
|
+
|
97
|
+
.hljs-built_in {
|
98
|
+
color: #000;
|
99
|
+
text-decoration: underline;
|
100
|
+
}
|
101
|
+
|
102
|
+
.hljs-preprocessor,
|
103
|
+
.hljs-pragma,
|
104
|
+
.hljs-pi,
|
105
|
+
.hljs-doctype,
|
106
|
+
.hljs-shebang,
|
107
|
+
.hljs-cdata {
|
108
|
+
color: #999;
|
109
|
+
font-weight: bold;
|
110
|
+
}
|
111
|
+
|
112
|
+
.hljs-deletion {
|
113
|
+
color: #fff;
|
114
|
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat;
|
115
|
+
}
|
116
|
+
|
117
|
+
.hljs-addition {
|
118
|
+
color: #000;
|
119
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat;
|
120
|
+
}
|
121
|
+
|
122
|
+
.diff .hljs-change {
|
123
|
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAHUlEQVQIW2NkgILdu3f/ZwSxQQxXV1dGRhgDJAgAzGcLNGkoJrsAAAAASUVORK5CYII=) repeat;
|
124
|
+
}
|
125
|
+
|
126
|
+
.hljs-chunk {
|
127
|
+
color: #aaa;
|
128
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/*
|
2
|
+
* Hopscotch
|
3
|
+
* by Jan T. Sott
|
4
|
+
* https://github.com/idleberg/Hopscotch
|
5
|
+
*
|
6
|
+
* This work is licensed under the Creative Commons CC0 1.0 Universal License
|
7
|
+
*/
|
8
|
+
|
9
|
+
/* Comment */
|
10
|
+
.hljs-comment,
|
11
|
+
.hljs-title {
|
12
|
+
color: #989498;
|
13
|
+
}
|
14
|
+
|
15
|
+
/* Red */
|
16
|
+
.hljs-variable,
|
17
|
+
.hljs-attribute,
|
18
|
+
.hljs-tag,
|
19
|
+
.hljs-regexp,
|
20
|
+
.ruby .hljs-constant,
|
21
|
+
.xml .hljs-tag .hljs-title,
|
22
|
+
.xml .hljs-pi,
|
23
|
+
.xml .hljs-doctype,
|
24
|
+
.html .hljs-doctype,
|
25
|
+
.css .hljs-id,
|
26
|
+
.css .hljs-class,
|
27
|
+
.css .hljs-pseudo {
|
28
|
+
color: #dd464c;
|
29
|
+
}
|
30
|
+
|
31
|
+
/* Orange */
|
32
|
+
.hljs-number,
|
33
|
+
.hljs-preprocessor,
|
34
|
+
.hljs-built_in,
|
35
|
+
.hljs-literal,
|
36
|
+
.hljs-params,
|
37
|
+
.hljs-constant {
|
38
|
+
color: #fd8b19;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* Yellow */
|
42
|
+
.ruby .hljs-class .hljs-title,
|
43
|
+
.css .hljs-rules .hljs-attribute {
|
44
|
+
color: #fdcc59;
|
45
|
+
}
|
46
|
+
|
47
|
+
/* Green */
|
48
|
+
.hljs-string,
|
49
|
+
.hljs-value,
|
50
|
+
.hljs-inheritance,
|
51
|
+
.hljs-header,
|
52
|
+
.ruby .hljs-symbol,
|
53
|
+
.xml .hljs-cdata {
|
54
|
+
color: #8fc13e;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Aqua */
|
58
|
+
.css .hljs-hexcolor {
|
59
|
+
color: #149b93;
|
60
|
+
}
|
61
|
+
|
62
|
+
/* Blue */
|
63
|
+
.hljs-function,
|
64
|
+
.python .hljs-decorator,
|
65
|
+
.python .hljs-title,
|
66
|
+
.ruby .hljs-function .hljs-title,
|
67
|
+
.ruby .hljs-title .hljs-keyword,
|
68
|
+
.perl .hljs-sub,
|
69
|
+
.javascript .hljs-title,
|
70
|
+
.coffeescript .hljs-title {
|
71
|
+
color: #1290bf;
|
72
|
+
}
|
73
|
+
|
74
|
+
/* Purple */
|
75
|
+
.hljs-keyword,
|
76
|
+
.javascript .hljs-function {
|
77
|
+
color: #c85e7c;
|
78
|
+
}
|
79
|
+
|
80
|
+
.hljs {
|
81
|
+
display: block;
|
82
|
+
background: #322931;
|
83
|
+
color: #b9b5b8;
|
84
|
+
padding: 0.5em;
|
85
|
+
}
|
86
|
+
|
87
|
+
.coffeescript .javascript,
|
88
|
+
.javascript .xml,
|
89
|
+
.tex .hljs-formula,
|
90
|
+
.xml .javascript,
|
91
|
+
.xml .vbscript,
|
92
|
+
.xml .css,
|
93
|
+
.xml .hljs-cdata {
|
94
|
+
opacity: 0.5;
|
95
|
+
}
|