highlight_js-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/AUTHORS.en.txt +46 -0
- data/AUTHORS.ru.txt +46 -0
- data/Gemfile +4 -0
- data/LICENSE +24 -0
- data/README.md +34 -0
- data/Rakefile +2 -0
- data/classref.txt +437 -0
- data/highlight_js-rails.gemspec +19 -0
- data/lib/highlight_js/rails/engine.rb +6 -0
- data/lib/highlight_js/version.rb +5 -0
- data/lib/highlight_js-rails.rb +2 -0
- data/vendor/assets/images/highlight_js/brown_papersq.png +0 -0
- data/vendor/assets/images/highlight_js/school_book.png +0 -0
- data/vendor/assets/javascripts/highlight_js/highlight.js +630 -0
- data/vendor/assets/javascripts/highlight_js/languages/1c.js +68 -0
- data/vendor/assets/javascripts/highlight_js/languages/apache.js +432 -0
- data/vendor/assets/javascripts/highlight_js/languages/avrasm.js +75 -0
- data/vendor/assets/javascripts/highlight_js/languages/axapta.js +43 -0
- data/vendor/assets/javascripts/highlight_js/languages/bash.js +56 -0
- data/vendor/assets/javascripts/highlight_js/languages/cmake.js +24 -0
- data/vendor/assets/javascripts/highlight_js/languages/cpp.js +62 -0
- data/vendor/assets/javascripts/highlight_js/languages/cs.js +41 -0
- data/vendor/assets/javascripts/highlight_js/languages/css.js +101 -0
- data/vendor/assets/javascripts/highlight_js/languages/delphi.js +70 -0
- data/vendor/assets/javascripts/highlight_js/languages/diff.js +64 -0
- data/vendor/assets/javascripts/highlight_js/languages/django.js +72 -0
- data/vendor/assets/javascripts/highlight_js/languages/dos.js +29 -0
- data/vendor/assets/javascripts/highlight_js/languages/erlang-repl.js +81 -0
- data/vendor/assets/javascripts/highlight_js/languages/erlang.js +201 -0
- data/vendor/assets/javascripts/highlight_js/languages/go.js +58 -0
- data/vendor/assets/javascripts/highlight_js/languages/haskell.js +77 -0
- data/vendor/assets/javascripts/highlight_js/languages/ini.js +32 -0
- data/vendor/assets/javascripts/highlight_js/languages/java.js +45 -0
- data/vendor/assets/javascripts/highlight_js/languages/javascript.js +53 -0
- data/vendor/assets/javascripts/highlight_js/languages/lisp.js +87 -0
- data/vendor/assets/javascripts/highlight_js/languages/lua.js +75 -0
- data/vendor/assets/javascripts/highlight_js/languages/mel.js +40 -0
- data/vendor/assets/javascripts/highlight_js/languages/nginx.js +224 -0
- data/vendor/assets/javascripts/highlight_js/languages/objectivec.js +94 -0
- data/vendor/assets/javascripts/highlight_js/languages/parser3.js +52 -0
- data/vendor/assets/javascripts/highlight_js/languages/perl.js +143 -0
- data/vendor/assets/javascripts/highlight_js/languages/php.js +55 -0
- data/vendor/assets/javascripts/highlight_js/languages/profile.js +49 -0
- data/vendor/assets/javascripts/highlight_js/languages/python.js +71 -0
- data/vendor/assets/javascripts/highlight_js/languages/renderman.js +230 -0
- data/vendor/assets/javascripts/highlight_js/languages/ruby.js +203 -0
- data/vendor/assets/javascripts/highlight_js/languages/scala.js +60 -0
- data/vendor/assets/javascripts/highlight_js/languages/smalltalk.js +55 -0
- data/vendor/assets/javascripts/highlight_js/languages/sql.js +90 -0
- data/vendor/assets/javascripts/highlight_js/languages/tex.js +62 -0
- data/vendor/assets/javascripts/highlight_js/languages/vala.js +75 -0
- data/vendor/assets/javascripts/highlight_js/languages/vbscript.js +30 -0
- data/vendor/assets/javascripts/highlight_js/languages/vhdl.js +30 -0
- data/vendor/assets/javascripts/highlight_js/languages/xml.js +103 -0
- data/vendor/assets/stylesheets/highlight_js/arta.css +151 -0
- data/vendor/assets/stylesheets/highlight_js/ascetic.css +45 -0
- data/vendor/assets/stylesheets/highlight_js/brown_paper.css.erb +105 -0
- data/vendor/assets/stylesheets/highlight_js/dark.css +103 -0
- data/vendor/assets/stylesheets/highlight_js/default.css +121 -0
- data/vendor/assets/stylesheets/highlight_js/far.css +118 -0
- data/vendor/assets/stylesheets/highlight_js/github.css +129 -0
- data/vendor/assets/stylesheets/highlight_js/idea.css +118 -0
- data/vendor/assets/stylesheets/highlight_js/ir_black.css +103 -0
- data/vendor/assets/stylesheets/highlight_js/magula.css +118 -0
- data/vendor/assets/stylesheets/highlight_js/school_book.css.erb +111 -0
- data/vendor/assets/stylesheets/highlight_js/solarized_dark.css +96 -0
- data/vendor/assets/stylesheets/highlight_js/solarized_light.css +96 -0
- data/vendor/assets/stylesheets/highlight_js/sunburst.css +147 -0
- data/vendor/assets/stylesheets/highlight_js/vs.css +84 -0
- data/vendor/assets/stylesheets/highlight_js/zenburn.css +115 -0
- metadata +129 -0
@@ -0,0 +1,105 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background:#b7a68e url(<%= asset_path 'highlight_js/brown_papersq.png' %>);
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .keyword,
|
13
|
+
pre .literal,
|
14
|
+
pre .change,
|
15
|
+
pre .winutils,
|
16
|
+
pre .flow,
|
17
|
+
pre .lisp .title,
|
18
|
+
pre .tex .special {
|
19
|
+
color:#005599;
|
20
|
+
font-weight:bold;
|
21
|
+
}
|
22
|
+
|
23
|
+
pre code,
|
24
|
+
pre .ruby .subst,
|
25
|
+
pre .tag .keyword {
|
26
|
+
color: #363C69;
|
27
|
+
}
|
28
|
+
|
29
|
+
pre .string,
|
30
|
+
pre .function .title,
|
31
|
+
pre .class .title,
|
32
|
+
pre .haskell .label,
|
33
|
+
pre .ini .title,
|
34
|
+
pre .tag .value,
|
35
|
+
pre .css .rules .value,
|
36
|
+
pre .preprocessor,
|
37
|
+
pre .ruby .symbol,
|
38
|
+
pre .ruby .symbol .string,
|
39
|
+
pre .ruby .symbol .keyword,
|
40
|
+
pre .ruby .symbol .keymethods,
|
41
|
+
pre .ruby .instancevar,
|
42
|
+
pre .ruby .class .parent,
|
43
|
+
pre .built_in,
|
44
|
+
pre .sql .aggregate,
|
45
|
+
pre .django .template_tag,
|
46
|
+
pre .django .variable,
|
47
|
+
pre .smalltalk .class,
|
48
|
+
pre .javadoc,
|
49
|
+
pre .ruby .string,
|
50
|
+
pre .django .filter .argument,
|
51
|
+
pre .smalltalk .localvars,
|
52
|
+
pre .smalltalk .array,
|
53
|
+
pre .attr_selector,
|
54
|
+
pre .pseudo,
|
55
|
+
pre .addition,
|
56
|
+
pre .stream,
|
57
|
+
pre .envvar,
|
58
|
+
pre .apache .tag,
|
59
|
+
pre .apache .cbracket,
|
60
|
+
pre .tex .number {
|
61
|
+
color: #2C009F;
|
62
|
+
}
|
63
|
+
|
64
|
+
pre .comment,
|
65
|
+
pre .java .annotation,
|
66
|
+
pre .python .decorator,
|
67
|
+
pre .template_comment,
|
68
|
+
pre .pi,
|
69
|
+
pre .doctype,
|
70
|
+
pre .deletion,
|
71
|
+
pre .shebang,
|
72
|
+
pre .apache .sqbracket,
|
73
|
+
pre .nginx .built_in,
|
74
|
+
pre .tex .formula {
|
75
|
+
color: #802022;
|
76
|
+
}
|
77
|
+
|
78
|
+
pre .keyword,
|
79
|
+
pre .literal,
|
80
|
+
pre .css .id,
|
81
|
+
pre .phpdoc,
|
82
|
+
pre .function .title,
|
83
|
+
pre .class .title,
|
84
|
+
pre .haskell .label,
|
85
|
+
pre .vbscript .built_in,
|
86
|
+
pre .sql .aggregate,
|
87
|
+
pre .rsl .built_in,
|
88
|
+
pre .smalltalk .class,
|
89
|
+
pre .xml .tag .title,
|
90
|
+
pre .diff .header,
|
91
|
+
pre .chunk,
|
92
|
+
pre .winutils,
|
93
|
+
pre .bash .variable,
|
94
|
+
pre .lisp .title,
|
95
|
+
pre .apache .tag,
|
96
|
+
pre .tex .command {
|
97
|
+
font-weight: bold;
|
98
|
+
}
|
99
|
+
|
100
|
+
pre .xml .css,
|
101
|
+
pre .xml .javascript,
|
102
|
+
pre .xml .vbscript,
|
103
|
+
pre .tex .formula {
|
104
|
+
opacity: 0.8;
|
105
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Dark style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: #444;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .keyword,
|
13
|
+
pre .literal,
|
14
|
+
pre .change,
|
15
|
+
pre .winutils,
|
16
|
+
pre .flow,
|
17
|
+
pre .lisp .title,
|
18
|
+
pre .tex .special {
|
19
|
+
color: white;
|
20
|
+
}
|
21
|
+
|
22
|
+
pre code,
|
23
|
+
pre .ruby .subst {
|
24
|
+
color: #DDD;
|
25
|
+
}
|
26
|
+
|
27
|
+
pre .string,
|
28
|
+
pre .function .title,
|
29
|
+
pre .class .title,
|
30
|
+
pre .haskell .label,
|
31
|
+
pre .ini .title,
|
32
|
+
pre .tag .value,
|
33
|
+
pre .css .rules .value,
|
34
|
+
pre .preprocessor,
|
35
|
+
pre .ruby .symbol,
|
36
|
+
pre .ruby .symbol .string,
|
37
|
+
pre .ruby .symbol .keyword,
|
38
|
+
pre .ruby .symbol .keymethods,
|
39
|
+
pre .ruby .instancevar,
|
40
|
+
pre .ruby .class .parent,
|
41
|
+
pre .built_in,
|
42
|
+
pre .sql .aggregate,
|
43
|
+
pre .django .template_tag,
|
44
|
+
pre .django .variable,
|
45
|
+
pre .smalltalk .class,
|
46
|
+
pre .javadoc,
|
47
|
+
pre .ruby .string,
|
48
|
+
pre .django .filter .argument,
|
49
|
+
pre .smalltalk .localvars,
|
50
|
+
pre .smalltalk .array,
|
51
|
+
pre .attr_selector,
|
52
|
+
pre .pseudo,
|
53
|
+
pre .addition,
|
54
|
+
pre .stream,
|
55
|
+
pre .envvar,
|
56
|
+
pre .apache .tag,
|
57
|
+
pre .apache .cbracket,
|
58
|
+
pre .tex .command,
|
59
|
+
pre .input_number {
|
60
|
+
color: #D88;
|
61
|
+
}
|
62
|
+
|
63
|
+
pre .comment,
|
64
|
+
pre .java .annotation,
|
65
|
+
pre .python .decorator,
|
66
|
+
pre .template_comment,
|
67
|
+
pre .pi,
|
68
|
+
pre .doctype,
|
69
|
+
pre .deletion,
|
70
|
+
pre .shebang,
|
71
|
+
pre .apache .sqbracket,
|
72
|
+
pre .tex .formula {
|
73
|
+
color: #777;
|
74
|
+
}
|
75
|
+
|
76
|
+
pre .keyword,
|
77
|
+
pre .literal,
|
78
|
+
pre .css .id,
|
79
|
+
pre .phpdoc,
|
80
|
+
pre .function .title,
|
81
|
+
pre .class .title,
|
82
|
+
pre .haskell .label,
|
83
|
+
pre .vbscript .built_in,
|
84
|
+
pre .sql .aggregate,
|
85
|
+
pre .rsl .built_in,
|
86
|
+
pre .smalltalk .class,
|
87
|
+
pre .xml .tag .title,
|
88
|
+
pre .diff .header,
|
89
|
+
pre .chunk,
|
90
|
+
pre .winutils,
|
91
|
+
pre .bash .variable,
|
92
|
+
pre .lisp .title,
|
93
|
+
pre .apache .tag,
|
94
|
+
pre .tex .special {
|
95
|
+
font-weight: bold;
|
96
|
+
}
|
97
|
+
|
98
|
+
pre .xml .css,
|
99
|
+
pre .xml .javascript,
|
100
|
+
pre .xml .vbscript,
|
101
|
+
pre .tex .formula {
|
102
|
+
opacity: 0.5;
|
103
|
+
}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: #F0F0F0;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre code,
|
13
|
+
pre .ruby .subst,
|
14
|
+
pre .tag .title,
|
15
|
+
pre .lisp .title {
|
16
|
+
color: black;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre .string,
|
20
|
+
pre .title,
|
21
|
+
pre .constant,
|
22
|
+
pre .parent,
|
23
|
+
pre .tag .value,
|
24
|
+
pre .rules .value,
|
25
|
+
pre .rules .value .number,
|
26
|
+
pre .preprocessor,
|
27
|
+
pre .ruby .symbol,
|
28
|
+
pre .ruby .symbol .string,
|
29
|
+
pre .ruby .symbol .keyword,
|
30
|
+
pre .ruby .symbol .keymethods,
|
31
|
+
pre .instancevar,
|
32
|
+
pre .aggregate,
|
33
|
+
pre .template_tag,
|
34
|
+
pre .django .variable,
|
35
|
+
pre .smalltalk .class,
|
36
|
+
pre .addition,
|
37
|
+
pre .flow,
|
38
|
+
pre .stream,
|
39
|
+
pre .bash .variable,
|
40
|
+
pre .apache .tag,
|
41
|
+
pre .apache .cbracket,
|
42
|
+
pre .tex .command,
|
43
|
+
pre .tex .special,
|
44
|
+
pre .erlang_repl .function_or_atom {
|
45
|
+
color: #800;
|
46
|
+
}
|
47
|
+
|
48
|
+
pre .comment,
|
49
|
+
pre .annotation,
|
50
|
+
pre .template_comment,
|
51
|
+
pre .diff .header,
|
52
|
+
pre .chunk {
|
53
|
+
color: #888;
|
54
|
+
}
|
55
|
+
|
56
|
+
pre .number,
|
57
|
+
pre .date,
|
58
|
+
pre .regexp,
|
59
|
+
pre .literal,
|
60
|
+
pre .smalltalk .symbol,
|
61
|
+
pre .smalltalk .char,
|
62
|
+
pre .go .constant,
|
63
|
+
pre .change {
|
64
|
+
color: #080;
|
65
|
+
}
|
66
|
+
|
67
|
+
pre .label,
|
68
|
+
pre .javadoc,
|
69
|
+
pre .ruby .string,
|
70
|
+
pre .decorator,
|
71
|
+
pre .filter .argument,
|
72
|
+
pre .localvars,
|
73
|
+
pre .array,
|
74
|
+
pre .attr_selector,
|
75
|
+
pre .important,
|
76
|
+
pre .pseudo,
|
77
|
+
pre .pi,
|
78
|
+
pre .doctype,
|
79
|
+
pre .deletion,
|
80
|
+
pre .envvar,
|
81
|
+
pre .shebang,
|
82
|
+
pre .apache .sqbracket,
|
83
|
+
pre .nginx .built_in,
|
84
|
+
pre .tex .formula,
|
85
|
+
pre .erlang_repl .reserved,
|
86
|
+
pre .input_number {
|
87
|
+
color: #88F
|
88
|
+
}
|
89
|
+
|
90
|
+
pre .css .tag,
|
91
|
+
pre .javadoctag,
|
92
|
+
pre .phpdoc,
|
93
|
+
pre .yardoctag {
|
94
|
+
font-weight: bold;
|
95
|
+
}
|
96
|
+
|
97
|
+
pre .keyword,
|
98
|
+
pre .id,
|
99
|
+
pre .phpdoc,
|
100
|
+
pre .title,
|
101
|
+
pre .built_in,
|
102
|
+
pre .aggregate,
|
103
|
+
pre .smalltalk .class,
|
104
|
+
pre .winutils,
|
105
|
+
pre .bash .variable,
|
106
|
+
pre .apache .tag,
|
107
|
+
pre .go .typename,
|
108
|
+
pre .tex .command {
|
109
|
+
font-weight: bold;
|
110
|
+
}
|
111
|
+
|
112
|
+
pre .nginx .built_in {
|
113
|
+
font-weight: normal;
|
114
|
+
}
|
115
|
+
|
116
|
+
pre .xml .css,
|
117
|
+
pre .xml .javascript,
|
118
|
+
pre .xml .vbscript,
|
119
|
+
pre .tex .formula {
|
120
|
+
opacity: 0.5;
|
121
|
+
}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
FAR Style (c) MajestiC <majestic2k@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: #000080;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre code,
|
13
|
+
.ruby .subst {
|
14
|
+
color: #0FF;
|
15
|
+
}
|
16
|
+
|
17
|
+
pre .string,
|
18
|
+
pre .ruby .string,
|
19
|
+
pre .function .title,
|
20
|
+
pre .class .title,
|
21
|
+
pre .haskell .label,
|
22
|
+
pre .ini .title,
|
23
|
+
pre .tag .value,
|
24
|
+
pre .css .rules .value,
|
25
|
+
pre .css .rules .value .number,
|
26
|
+
pre .preprocessor,
|
27
|
+
pre .ruby .symbol,
|
28
|
+
pre .ruby .symbol .string,
|
29
|
+
pre .ruby .symbol .keyword,
|
30
|
+
pre .ruby .symbol .keymethods,
|
31
|
+
pre .built_in,
|
32
|
+
pre .sql .aggregate,
|
33
|
+
pre .django .template_tag,
|
34
|
+
pre .django .variable,
|
35
|
+
pre .smalltalk .class,
|
36
|
+
pre .addition,
|
37
|
+
pre .apache .tag,
|
38
|
+
pre .apache .cbracket,
|
39
|
+
pre .tex .command {
|
40
|
+
color: #FF0;
|
41
|
+
}
|
42
|
+
|
43
|
+
pre .keyword,
|
44
|
+
pre .css .id,
|
45
|
+
pre .function .title,
|
46
|
+
pre .class .title,
|
47
|
+
pre .haskell .label,
|
48
|
+
pre .ini .title,
|
49
|
+
pre .vbscript .built_in,
|
50
|
+
pre .sql .aggregate,
|
51
|
+
pre .rsl .built_in,
|
52
|
+
pre .smalltalk .class,
|
53
|
+
pre .xml .tag .title,
|
54
|
+
pre .winutils,
|
55
|
+
pre .flow,
|
56
|
+
pre .lisp .title,
|
57
|
+
pre .change,
|
58
|
+
pre .envvar,
|
59
|
+
pre .bash .variable,
|
60
|
+
pre .tex .special {
|
61
|
+
color: #FFF;
|
62
|
+
}
|
63
|
+
|
64
|
+
pre .comment,
|
65
|
+
pre .phpdoc,
|
66
|
+
pre .javadoc,
|
67
|
+
pre .java .annotation,
|
68
|
+
pre .template_comment,
|
69
|
+
pre .deletion,
|
70
|
+
pre .apache .sqbracket,
|
71
|
+
pre .tex .formula {
|
72
|
+
color: #888;
|
73
|
+
}
|
74
|
+
|
75
|
+
pre .number,
|
76
|
+
pre .date,
|
77
|
+
pre .regexp,
|
78
|
+
pre .literal,
|
79
|
+
pre .smalltalk .symbol,
|
80
|
+
pre .smalltalk .char {
|
81
|
+
color: #0F0;
|
82
|
+
}
|
83
|
+
|
84
|
+
pre .python .decorator,
|
85
|
+
pre .django .filter .argument,
|
86
|
+
pre .smalltalk .localvars,
|
87
|
+
pre .smalltalk .array,
|
88
|
+
pre .attr_selector,
|
89
|
+
pre .pseudo,
|
90
|
+
pre .xml .pi,
|
91
|
+
pre .diff .header,
|
92
|
+
pre .chunk,
|
93
|
+
pre .shebang,
|
94
|
+
pre .nginx .built_in,
|
95
|
+
pre .input_number {
|
96
|
+
color: #008080;
|
97
|
+
}
|
98
|
+
|
99
|
+
pre .keyword,
|
100
|
+
pre .css .id,
|
101
|
+
pre .function .title,
|
102
|
+
pre .class .title,
|
103
|
+
pre .haskell .label,
|
104
|
+
pre .ini .title,
|
105
|
+
pre .vbscript .built_in,
|
106
|
+
pre .sql .aggregate,
|
107
|
+
pre .rsl .built_in,
|
108
|
+
pre .smalltalk .class,
|
109
|
+
pre .xml .tag .title,
|
110
|
+
pre .winutils,
|
111
|
+
pre .flow,
|
112
|
+
pre .lisp .title,
|
113
|
+
pre .apache .tag,
|
114
|
+
pre .nginx .built_in,
|
115
|
+
pre .tex .command,
|
116
|
+
pre .tex .special {
|
117
|
+
font-weight: bold;
|
118
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
color: #000;
|
10
|
+
background: #f8f8ff
|
11
|
+
}
|
12
|
+
|
13
|
+
pre .comment,
|
14
|
+
pre .template_comment,
|
15
|
+
pre .diff .header,
|
16
|
+
pre .javadoc {
|
17
|
+
color: #998;
|
18
|
+
font-style: italic
|
19
|
+
}
|
20
|
+
|
21
|
+
pre .keyword,
|
22
|
+
pre .css .rule .keyword,
|
23
|
+
pre .winutils,
|
24
|
+
pre .javascript .title,
|
25
|
+
pre .lisp .title,
|
26
|
+
pre .subst {
|
27
|
+
color: #000;
|
28
|
+
font-weight: bold
|
29
|
+
}
|
30
|
+
|
31
|
+
pre .number,
|
32
|
+
pre .hexcolor {
|
33
|
+
color: #40a070
|
34
|
+
}
|
35
|
+
|
36
|
+
pre .string,
|
37
|
+
pre .tag .value,
|
38
|
+
pre .phpdoc,
|
39
|
+
pre .tex .formula {
|
40
|
+
color: #d14
|
41
|
+
}
|
42
|
+
|
43
|
+
pre .title,
|
44
|
+
pre .id {
|
45
|
+
color: #900;
|
46
|
+
font-weight: bold
|
47
|
+
}
|
48
|
+
|
49
|
+
pre .javascript .title,
|
50
|
+
pre .lisp .title,
|
51
|
+
pre .subst {
|
52
|
+
font-weight: normal
|
53
|
+
}
|
54
|
+
|
55
|
+
pre .class .title,
|
56
|
+
pre .haskell .label,
|
57
|
+
pre .tex .command {
|
58
|
+
color: #458;
|
59
|
+
font-weight: bold
|
60
|
+
}
|
61
|
+
|
62
|
+
pre .tag,
|
63
|
+
pre .tag .title,
|
64
|
+
pre .rules .property,
|
65
|
+
pre .django .tag .keyword {
|
66
|
+
color: #000080;
|
67
|
+
font-weight: normal
|
68
|
+
}
|
69
|
+
|
70
|
+
pre .attribute,
|
71
|
+
pre .variable,
|
72
|
+
pre .instancevar,
|
73
|
+
pre .lisp .body {
|
74
|
+
color: #008080
|
75
|
+
}
|
76
|
+
|
77
|
+
pre .regexp {
|
78
|
+
color: #009926
|
79
|
+
}
|
80
|
+
|
81
|
+
pre .class {
|
82
|
+
color: #458;
|
83
|
+
font-weight: bold
|
84
|
+
}
|
85
|
+
|
86
|
+
pre .symbol,
|
87
|
+
pre .ruby .symbol .string,
|
88
|
+
pre .ruby .symbol .keyword,
|
89
|
+
pre .ruby .symbol .keymethods,
|
90
|
+
pre .lisp .keyword,
|
91
|
+
pre .tex .special,
|
92
|
+
pre .input_number {
|
93
|
+
color: #990073
|
94
|
+
}
|
95
|
+
|
96
|
+
pre .builtin,
|
97
|
+
pre .built_in,
|
98
|
+
pre .lisp .title {
|
99
|
+
color: #0086b3
|
100
|
+
}
|
101
|
+
|
102
|
+
pre .preprocessor,
|
103
|
+
pre .pi,
|
104
|
+
pre .doctype,
|
105
|
+
pre .shebang,
|
106
|
+
pre .cdata {
|
107
|
+
color: #999;
|
108
|
+
font-weight: bold
|
109
|
+
}
|
110
|
+
|
111
|
+
pre .deletion {
|
112
|
+
background: #fdd
|
113
|
+
}
|
114
|
+
|
115
|
+
pre .addition {
|
116
|
+
background: #dfd
|
117
|
+
}
|
118
|
+
|
119
|
+
pre .diff .change {
|
120
|
+
background: #0086b3
|
121
|
+
}
|
122
|
+
|
123
|
+
pre .chunk {
|
124
|
+
color: #aaa
|
125
|
+
}
|
126
|
+
|
127
|
+
pre .tex .formula {
|
128
|
+
opacity: 0.5;
|
129
|
+
}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
color: #000;
|
10
|
+
background: #fff;
|
11
|
+
}
|
12
|
+
|
13
|
+
pre .subst,
|
14
|
+
pre .title {
|
15
|
+
font-weight: normal;
|
16
|
+
color: #000;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre .comment,
|
20
|
+
pre .template_comment,
|
21
|
+
pre .javadoc,
|
22
|
+
pre .diff .header {
|
23
|
+
color: #808080;
|
24
|
+
font-style: italic;
|
25
|
+
}
|
26
|
+
|
27
|
+
pre .annotation,
|
28
|
+
pre .decorator,
|
29
|
+
pre .preprocessor,
|
30
|
+
pre .doctype,
|
31
|
+
pre .pi,
|
32
|
+
pre .chunk,
|
33
|
+
pre .shebang,
|
34
|
+
pre .apache .cbracket,
|
35
|
+
pre .input_number {
|
36
|
+
color: #808000;
|
37
|
+
}
|
38
|
+
|
39
|
+
pre .tag,
|
40
|
+
pre .pi {
|
41
|
+
background: #efefef;
|
42
|
+
}
|
43
|
+
|
44
|
+
pre .tag .title,
|
45
|
+
pre .id,
|
46
|
+
pre .attr_selector,
|
47
|
+
pre .pseudo,
|
48
|
+
pre .literal,
|
49
|
+
pre .keyword,
|
50
|
+
pre .hexcolor,
|
51
|
+
pre .css .function,
|
52
|
+
pre .ini .title,
|
53
|
+
pre .css .class,
|
54
|
+
pre .list .title,
|
55
|
+
pre .tex .command {
|
56
|
+
font-weight: bold;
|
57
|
+
color: #000080;
|
58
|
+
}
|
59
|
+
|
60
|
+
pre .attribute,
|
61
|
+
pre .rules .keyword,
|
62
|
+
pre .number,
|
63
|
+
pre .date,
|
64
|
+
pre .regexp,
|
65
|
+
pre .tex .special {
|
66
|
+
font-weight: bold;
|
67
|
+
color: #0000ff;
|
68
|
+
}
|
69
|
+
|
70
|
+
pre .number,
|
71
|
+
pre .regexp {
|
72
|
+
font-weight: normal;
|
73
|
+
}
|
74
|
+
|
75
|
+
pre .string,
|
76
|
+
pre .value,
|
77
|
+
pre .filter .argument,
|
78
|
+
pre .css .function .params,
|
79
|
+
pre .apache .tag {
|
80
|
+
color: #008000;
|
81
|
+
font-weight: bold;
|
82
|
+
}
|
83
|
+
|
84
|
+
pre .symbol,
|
85
|
+
pre .ruby .symbol .string,
|
86
|
+
pre .ruby .symbol .keyword,
|
87
|
+
pre .ruby .symbol .keymethods,
|
88
|
+
pre .char,
|
89
|
+
pre .tex .formula {
|
90
|
+
color: #000;
|
91
|
+
background: #d0eded;
|
92
|
+
font-style: italic;
|
93
|
+
}
|
94
|
+
|
95
|
+
pre .phpdoc,
|
96
|
+
pre .yardoctag,
|
97
|
+
pre .javadoctag {
|
98
|
+
text-decoration: underline;
|
99
|
+
}
|
100
|
+
|
101
|
+
pre .variable,
|
102
|
+
pre .envvar,
|
103
|
+
pre .apache .sqbracket,
|
104
|
+
pre .nginx .built_in {
|
105
|
+
color: #660e7a;
|
106
|
+
}
|
107
|
+
|
108
|
+
pre .addition {
|
109
|
+
background: #baeeba;
|
110
|
+
}
|
111
|
+
|
112
|
+
pre .deletion {
|
113
|
+
background: #ffc8bd;
|
114
|
+
}
|
115
|
+
|
116
|
+
pre .diff .change {
|
117
|
+
background: #bccff9;
|
118
|
+
}
|