apitome 0.0.8 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/MIT.LICENSE +2 -2
- data/README.md +99 -40
- data/app/assets/javascripts/apitome/application.js +16 -0
- data/app/assets/stylesheets/apitome/application.css +10 -0
- data/app/controllers/apitome/docs_controller.rb +83 -45
- data/app/helpers/apitome/docs_helper.rb +19 -0
- data/app/views/apitome/docs/_all_examples.html.erb +6 -2
- data/app/views/apitome/docs/_body.html.erb +1 -1
- data/app/views/apitome/docs/_curl.html.erb +1 -1
- data/app/views/apitome/docs/_endpoint.html.erb +4 -0
- data/app/views/apitome/docs/_example.html.erb +10 -6
- data/app/views/apitome/docs/_explanation.html.erb +3 -3
- data/app/views/apitome/docs/_headers.html.erb +6 -4
- data/app/views/apitome/docs/_navigation.html.erb +14 -10
- data/app/views/apitome/docs/_params.html.erb +4 -4
- data/app/views/apitome/docs/_query.html.erb +1 -1
- data/app/views/apitome/docs/_resource_explanation.html.erb +3 -0
- data/app/views/apitome/docs/_response_fields.html.erb +1 -1
- data/app/views/apitome/docs/_route.html.erb +1 -1
- data/app/views/apitome/docs/_status.html.erb +1 -1
- data/app/views/apitome/docs/index.html.erb +11 -6
- data/app/views/apitome/docs/show.html.erb +2 -1
- data/app/views/layouts/apitome/application.html.erb +4 -4
- data/config/locales/en.yml +14 -11
- data/config/locales/es.yml +14 -10
- data/lib/apitome.rb +5 -5
- data/lib/apitome/configuration.rb +36 -15
- data/lib/apitome/engine.rb +13 -7
- data/lib/apitome/exceptions.rb +5 -1
- data/lib/apitome/version.rb +1 -1
- data/lib/generators/apitome/install/POST_INSTALL +1 -1
- data/lib/generators/apitome/install/install_generator.rb +7 -8
- data/lib/generators/apitome/install/templates/initializer.rb +35 -13
- data/vendor/assets/javascripts/apitome/highlight.min.js +2 -1
- data/vendor/assets/stylesheets/apitome/highlight_themes/agate.css +108 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/androidstudio.css +66 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/arduino-light.css +88 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/arta.css +41 -126
- data/vendor/assets/stylesheets/apitome/highlight_themes/ascetic.css +31 -36
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-cave-dark.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-cave-light.css +85 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-dune-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-dune-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-estuary-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-estuary-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-forest-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-forest-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-heath-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-heath-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-lakeside-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-lakeside-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-plateau-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-plateau-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-savanna-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-savanna-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-seaside-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-seaside-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-sulphurpool-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-sulphurpool-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/brown-paper.css +64 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/{brown_papersq.png → brown-papersq.png} +0 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/codepen-embed.css +60 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/color-brewer.css +71 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/dark.css +41 -81
- data/vendor/assets/stylesheets/apitome/highlight_themes/darkula.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/default.css +74 -110
- data/vendor/assets/stylesheets/apitome/highlight_themes/docco.css +97 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/dracula.css +76 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/far.css +46 -86
- data/vendor/assets/stylesheets/apitome/highlight_themes/foundation.css +88 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/github-gist.css +71 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/github.css +53 -81
- data/vendor/assets/stylesheets/apitome/highlight_themes/googlecode.css +48 -103
- data/vendor/assets/stylesheets/apitome/highlight_themes/grayscale.css +101 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/gruvbox-dark.css +108 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/gruvbox-light.css +108 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/hopscotch.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/hybrid.css +102 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/idea.css +40 -64
- data/vendor/assets/stylesheets/apitome/highlight_themes/ir-black.css +73 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/kimbie.dark.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/kimbie.light.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/magula.css +36 -87
- data/vendor/assets/stylesheets/apitome/highlight_themes/mono-blue.css +59 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/monokai-sublime.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/monokai.css +50 -94
- data/vendor/assets/stylesheets/apitome/highlight_themes/obsidian.css +88 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/paraiso-dark.css +72 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/paraiso-light.css +72 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/pojoaque.css +45 -66
- data/vendor/assets/stylesheets/apitome/highlight_themes/purebasic.css +96 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/qtcreator_dark.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/qtcreator_light.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/railscasts.css +106 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/rainbow.css +48 -77
- data/vendor/assets/stylesheets/apitome/highlight_themes/school-book.css +72 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/{school_book.png → school-book.png} +0 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/sunburst.css +55 -111
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-blue.css +75 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-bright.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-eighties.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night.css +75 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow.css +43 -20
- data/vendor/assets/stylesheets/apitome/highlight_themes/vs.css +50 -68
- data/vendor/assets/stylesheets/apitome/highlight_themes/xcode.css +55 -116
- data/vendor/assets/stylesheets/apitome/highlight_themes/xt256.css +92 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/zenburn.css +49 -84
- metadata +80 -65
- data/config/routes.rb +0 -4
- data/spec/apitome/configuration_spec.rb +0 -0
- data/spec/apitome/engine_spec.rb +0 -0
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/config.ru +0 -15
- data/spec/dummy/config/application.rb +0 -16
- data/spec/dummy/config/boot.rb +0 -7
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -27
- data/spec/dummy/config/environments/test.rb +0 -29
- data/spec/dummy/config/initializers/apitome.rb +0 -44
- data/spec/dummy/config/routes.rb +0 -2
- data/spec/dummy/doc/api.md +0 -20
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +0 -6
- data/vendor/assets/stylesheets/apitome/highlight_themes/brown_paper.css +0 -104
- data/vendor/assets/stylesheets/apitome/highlight_themes/ir_black.css +0 -104
- data/vendor/assets/stylesheets/apitome/highlight_themes/school_book.css +0 -111
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized_dark.css +0 -88
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized_light.css +0 -88
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night.css +0 -52
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_blue.css +0 -52
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_bright.css +0 -51
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_eighties.css +0 -51
@@ -0,0 +1,74 @@
|
|
1
|
+
/*
|
2
|
+
Name: Kimbie (light)
|
3
|
+
Author: Jan T. Sott
|
4
|
+
License: Creative Commons Attribution-ShareAlike 4.0 Unported License
|
5
|
+
URL: https://github.com/idleberg/Kimbie-highlight.js
|
6
|
+
*/
|
7
|
+
|
8
|
+
/* Kimbie Comment */
|
9
|
+
.hljs-comment,
|
10
|
+
.hljs-quote {
|
11
|
+
color: #a57a4c;
|
12
|
+
}
|
13
|
+
|
14
|
+
/* Kimbie Red */
|
15
|
+
.hljs-variable,
|
16
|
+
.hljs-template-variable,
|
17
|
+
.hljs-tag,
|
18
|
+
.hljs-name,
|
19
|
+
.hljs-selector-id,
|
20
|
+
.hljs-selector-class,
|
21
|
+
.hljs-regexp,
|
22
|
+
.hljs-meta {
|
23
|
+
color: #dc3958;
|
24
|
+
}
|
25
|
+
|
26
|
+
/* Kimbie Orange */
|
27
|
+
.hljs-number,
|
28
|
+
.hljs-built_in,
|
29
|
+
.hljs-builtin-name,
|
30
|
+
.hljs-literal,
|
31
|
+
.hljs-type,
|
32
|
+
.hljs-params,
|
33
|
+
.hljs-deletion,
|
34
|
+
.hljs-link {
|
35
|
+
color: #f79a32;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Kimbie Yellow */
|
39
|
+
.hljs-title,
|
40
|
+
.hljs-section,
|
41
|
+
.hljs-attribute {
|
42
|
+
color: #f06431;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Kimbie Green */
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-symbol,
|
48
|
+
.hljs-bullet,
|
49
|
+
.hljs-addition {
|
50
|
+
color: #889b4a;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Kimbie Purple */
|
54
|
+
.hljs-keyword,
|
55
|
+
.hljs-selector-tag,
|
56
|
+
.hljs-function {
|
57
|
+
color: #98676a;
|
58
|
+
}
|
59
|
+
|
60
|
+
.hljs {
|
61
|
+
display: block;
|
62
|
+
overflow-x: auto;
|
63
|
+
background: #fbebd4;
|
64
|
+
color: #84613d;
|
65
|
+
padding: 0.5em;
|
66
|
+
}
|
67
|
+
|
68
|
+
.hljs-emphasis {
|
69
|
+
font-style: italic;
|
70
|
+
}
|
71
|
+
|
72
|
+
.hljs-strong {
|
73
|
+
font-weight: bold;
|
74
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/*
|
2
2
|
Description: Magula style for highligh.js
|
3
3
|
Author: Ruslan Keba <rukeba@gmail.com>
|
4
4
|
Website: http://rukeba.com/
|
@@ -7,115 +7,64 @@ Date: 2009-01-03
|
|
7
7
|
Music: Aphex Twin / Xtal
|
8
8
|
*/
|
9
9
|
|
10
|
-
|
11
|
-
display: block;
|
10
|
+
.hljs {
|
11
|
+
display: block;
|
12
|
+
overflow-x: auto;
|
13
|
+
padding: 0.5em;
|
12
14
|
background-color: #f4f4f4;
|
13
15
|
}
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
-
pre .lisp .title,
|
18
|
-
pre .clojure .built_in {
|
17
|
+
.hljs,
|
18
|
+
.hljs-subst {
|
19
19
|
color: black;
|
20
20
|
}
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
pre .aggregate,
|
32
|
-
pre .template_tag,
|
33
|
-
pre .django .variable,
|
34
|
-
pre .smalltalk .class,
|
35
|
-
pre .addition,
|
36
|
-
pre .flow,
|
37
|
-
pre .stream,
|
38
|
-
pre .bash .variable,
|
39
|
-
pre .apache .cbracket {
|
22
|
+
.hljs-string,
|
23
|
+
.hljs-title,
|
24
|
+
.hljs-symbol,
|
25
|
+
.hljs-bullet,
|
26
|
+
.hljs-attribute,
|
27
|
+
.hljs-addition,
|
28
|
+
.hljs-variable,
|
29
|
+
.hljs-template-tag,
|
30
|
+
.hljs-template-variable {
|
40
31
|
color: #050;
|
41
32
|
}
|
42
33
|
|
43
|
-
|
44
|
-
|
45
|
-
pre .template_comment,
|
46
|
-
pre .diff .header,
|
47
|
-
pre .chunk {
|
34
|
+
.hljs-comment,
|
35
|
+
.hljs-quote {
|
48
36
|
color: #777;
|
49
37
|
}
|
50
38
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
pre .smalltalk .char,
|
57
|
-
pre .change,
|
58
|
-
pre .tex .special {
|
39
|
+
.hljs-number,
|
40
|
+
.hljs-regexp,
|
41
|
+
.hljs-literal,
|
42
|
+
.hljs-type,
|
43
|
+
.hljs-link {
|
59
44
|
color: #800;
|
60
45
|
}
|
61
46
|
|
62
|
-
|
63
|
-
|
64
|
-
pre .ruby .string,
|
65
|
-
pre .decorator,
|
66
|
-
pre .filter .argument,
|
67
|
-
pre .localvars,
|
68
|
-
pre .array,
|
69
|
-
pre .attr_selector,
|
70
|
-
pre .pseudo,
|
71
|
-
pre .pi,
|
72
|
-
pre .doctype,
|
73
|
-
pre .deletion,
|
74
|
-
pre .envvar,
|
75
|
-
pre .shebang,
|
76
|
-
pre .apache .sqbracket,
|
77
|
-
pre .nginx .built_in,
|
78
|
-
pre .tex .formula,
|
79
|
-
pre .prompt,
|
80
|
-
pre .clojure .attribute {
|
47
|
+
.hljs-deletion,
|
48
|
+
.hljs-meta {
|
81
49
|
color: #00e;
|
82
50
|
}
|
83
51
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
pre .bash .variable,
|
93
|
-
pre .apache .tag,
|
94
|
-
pre .xml .tag,
|
95
|
-
pre .tex .command,
|
96
|
-
pre .request,
|
97
|
-
pre .status {
|
52
|
+
.hljs-keyword,
|
53
|
+
.hljs-selector-tag,
|
54
|
+
.hljs-doctag,
|
55
|
+
.hljs-title,
|
56
|
+
.hljs-section,
|
57
|
+
.hljs-built_in,
|
58
|
+
.hljs-tag,
|
59
|
+
.hljs-name {
|
98
60
|
font-weight: bold;
|
99
61
|
color: navy;
|
100
62
|
}
|
101
63
|
|
102
|
-
|
103
|
-
font-
|
64
|
+
.hljs-emphasis {
|
65
|
+
font-style: italic;
|
104
66
|
}
|
105
67
|
|
106
|
-
|
107
|
-
pre .javascript .xml,
|
108
|
-
pre .tex .formula,
|
109
|
-
pre .xml .javascript,
|
110
|
-
pre .xml .vbscript,
|
111
|
-
pre .xml .css,
|
112
|
-
pre .xml .cdata {
|
113
|
-
opacity: 0.5;
|
114
|
-
}
|
115
|
-
|
116
|
-
/* --- */
|
117
|
-
pre .apache .tag {
|
68
|
+
.hljs-strong {
|
118
69
|
font-weight: bold;
|
119
|
-
color: blue;
|
120
70
|
}
|
121
|
-
|
@@ -0,0 +1,59 @@
|
|
1
|
+
/*
|
2
|
+
Five-color theme from a single blue hue.
|
3
|
+
*/
|
4
|
+
.hljs {
|
5
|
+
display: block;
|
6
|
+
overflow-x: auto;
|
7
|
+
padding: 0.5em;
|
8
|
+
background: #eaeef3;
|
9
|
+
}
|
10
|
+
|
11
|
+
.hljs {
|
12
|
+
color: #00193a;
|
13
|
+
}
|
14
|
+
|
15
|
+
.hljs-keyword,
|
16
|
+
.hljs-selector-tag,
|
17
|
+
.hljs-title,
|
18
|
+
.hljs-section,
|
19
|
+
.hljs-doctag,
|
20
|
+
.hljs-name,
|
21
|
+
.hljs-strong {
|
22
|
+
font-weight: bold;
|
23
|
+
}
|
24
|
+
|
25
|
+
.hljs-comment {
|
26
|
+
color: #738191;
|
27
|
+
}
|
28
|
+
|
29
|
+
.hljs-string,
|
30
|
+
.hljs-title,
|
31
|
+
.hljs-section,
|
32
|
+
.hljs-built_in,
|
33
|
+
.hljs-literal,
|
34
|
+
.hljs-type,
|
35
|
+
.hljs-addition,
|
36
|
+
.hljs-tag,
|
37
|
+
.hljs-quote,
|
38
|
+
.hljs-name,
|
39
|
+
.hljs-selector-id,
|
40
|
+
.hljs-selector-class {
|
41
|
+
color: #0048ab;
|
42
|
+
}
|
43
|
+
|
44
|
+
.hljs-meta,
|
45
|
+
.hljs-subst,
|
46
|
+
.hljs-symbol,
|
47
|
+
.hljs-regexp,
|
48
|
+
.hljs-attribute,
|
49
|
+
.hljs-deletion,
|
50
|
+
.hljs-variable,
|
51
|
+
.hljs-template-variable,
|
52
|
+
.hljs-link,
|
53
|
+
.hljs-bullet {
|
54
|
+
color: #4c81c9;
|
55
|
+
}
|
56
|
+
|
57
|
+
.hljs-emphasis {
|
58
|
+
font-style: italic;
|
59
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #23241f;
|
12
|
+
}
|
13
|
+
|
14
|
+
.hljs,
|
15
|
+
.hljs-tag,
|
16
|
+
.hljs-subst {
|
17
|
+
color: #f8f8f2;
|
18
|
+
}
|
19
|
+
|
20
|
+
.hljs-strong,
|
21
|
+
.hljs-emphasis {
|
22
|
+
color: #a8a8a2;
|
23
|
+
}
|
24
|
+
|
25
|
+
.hljs-bullet,
|
26
|
+
.hljs-quote,
|
27
|
+
.hljs-number,
|
28
|
+
.hljs-regexp,
|
29
|
+
.hljs-literal,
|
30
|
+
.hljs-link {
|
31
|
+
color: #ae81ff;
|
32
|
+
}
|
33
|
+
|
34
|
+
.hljs-code,
|
35
|
+
.hljs-title,
|
36
|
+
.hljs-section,
|
37
|
+
.hljs-selector-class {
|
38
|
+
color: #a6e22e;
|
39
|
+
}
|
40
|
+
|
41
|
+
.hljs-strong {
|
42
|
+
font-weight: bold;
|
43
|
+
}
|
44
|
+
|
45
|
+
.hljs-emphasis {
|
46
|
+
font-style: italic;
|
47
|
+
}
|
48
|
+
|
49
|
+
.hljs-keyword,
|
50
|
+
.hljs-selector-tag,
|
51
|
+
.hljs-name,
|
52
|
+
.hljs-attr {
|
53
|
+
color: #f92672;
|
54
|
+
}
|
55
|
+
|
56
|
+
.hljs-symbol,
|
57
|
+
.hljs-attribute {
|
58
|
+
color: #66d9ef;
|
59
|
+
}
|
60
|
+
|
61
|
+
.hljs-params,
|
62
|
+
.hljs-class .hljs-title {
|
63
|
+
color: #f8f8f2;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-string,
|
67
|
+
.hljs-type,
|
68
|
+
.hljs-built_in,
|
69
|
+
.hljs-builtin-name,
|
70
|
+
.hljs-selector-id,
|
71
|
+
.hljs-selector-attr,
|
72
|
+
.hljs-selector-pseudo,
|
73
|
+
.hljs-addition,
|
74
|
+
.hljs-variable,
|
75
|
+
.hljs-template-variable {
|
76
|
+
color: #e6db74;
|
77
|
+
}
|
78
|
+
|
79
|
+
.hljs-comment,
|
80
|
+
.hljs-deletion,
|
81
|
+
.hljs-meta {
|
82
|
+
color: #75715e;
|
83
|
+
}
|
@@ -2,113 +2,69 @@
|
|
2
2
|
Monokai style - ported by Luigi Maselli - http://grigio.org
|
3
3
|
*/
|
4
4
|
|
5
|
-
|
6
|
-
display: block;
|
7
|
-
|
5
|
+
.hljs {
|
6
|
+
display: block;
|
7
|
+
overflow-x: auto;
|
8
|
+
padding: 0.5em;
|
9
|
+
background: #272822; color: #ddd;
|
8
10
|
}
|
9
11
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
pre .lisp .title,
|
18
|
-
pre .clojure .built_in,
|
19
|
-
pre .nginx .title,
|
20
|
-
pre .tex .special {
|
21
|
-
color: #F92672;
|
12
|
+
.hljs-tag,
|
13
|
+
.hljs-keyword,
|
14
|
+
.hljs-selector-tag,
|
15
|
+
.hljs-literal,
|
16
|
+
.hljs-strong,
|
17
|
+
.hljs-name {
|
18
|
+
color: #f92672;
|
22
19
|
}
|
23
20
|
|
24
|
-
|
25
|
-
color: #
|
21
|
+
.hljs-code {
|
22
|
+
color: #66d9ef;
|
26
23
|
}
|
27
24
|
|
28
|
-
|
29
|
-
|
25
|
+
.hljs-class .hljs-title {
|
26
|
+
color: white;
|
30
27
|
}
|
31
28
|
|
32
|
-
|
33
|
-
|
29
|
+
.hljs-attribute,
|
30
|
+
.hljs-symbol,
|
31
|
+
.hljs-regexp,
|
32
|
+
.hljs-link {
|
33
|
+
color: #bf79db;
|
34
34
|
}
|
35
35
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
36
|
+
.hljs-string,
|
37
|
+
.hljs-bullet,
|
38
|
+
.hljs-subst,
|
39
|
+
.hljs-title,
|
40
|
+
.hljs-section,
|
41
|
+
.hljs-emphasis,
|
42
|
+
.hljs-type,
|
43
|
+
.hljs-built_in,
|
44
|
+
.hljs-builtin-name,
|
45
|
+
.hljs-selector-attr,
|
46
|
+
.hljs-selector-pseudo,
|
47
|
+
.hljs-addition,
|
48
|
+
.hljs-variable,
|
49
|
+
.hljs-template-tag,
|
50
|
+
.hljs-template-variable {
|
51
|
+
color: #a6e22e;
|
42
52
|
}
|
43
53
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
pre .preprocessor,
|
50
|
-
pre .ruby .class .parent,
|
51
|
-
pre .built_in,
|
52
|
-
pre .sql .aggregate,
|
53
|
-
pre .django .template_tag,
|
54
|
-
pre .django .variable,
|
55
|
-
pre .smalltalk .class,
|
56
|
-
pre .javadoc,
|
57
|
-
pre .django .filter .argument,
|
58
|
-
pre .smalltalk .localvars,
|
59
|
-
pre .smalltalk .array,
|
60
|
-
pre .attr_selector,
|
61
|
-
pre .pseudo,
|
62
|
-
pre .addition,
|
63
|
-
pre .stream,
|
64
|
-
pre .envvar,
|
65
|
-
pre .apache .tag,
|
66
|
-
pre .apache .cbracket,
|
67
|
-
pre .tex .command,
|
68
|
-
pre .prompt {
|
69
|
-
color: #A6E22E;
|
54
|
+
.hljs-comment,
|
55
|
+
.hljs-quote,
|
56
|
+
.hljs-deletion,
|
57
|
+
.hljs-meta {
|
58
|
+
color: #75715e;
|
70
59
|
}
|
71
60
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
pre .apache .sqbracket,
|
81
|
-
pre .tex .formula {
|
82
|
-
color: #75715E;
|
83
|
-
}
|
84
|
-
|
85
|
-
pre .keyword,
|
86
|
-
pre .literal,
|
87
|
-
pre .css .id,
|
88
|
-
pre .phpdoc,
|
89
|
-
pre .title,
|
90
|
-
pre .haskell .type,
|
91
|
-
pre .vbscript .built_in,
|
92
|
-
pre .sql .aggregate,
|
93
|
-
pre .rsl .built_in,
|
94
|
-
pre .smalltalk .class,
|
95
|
-
pre .diff .header,
|
96
|
-
pre .chunk,
|
97
|
-
pre .winutils,
|
98
|
-
pre .bash .variable,
|
99
|
-
pre .apache .tag,
|
100
|
-
pre .tex .special,
|
101
|
-
pre .request,
|
102
|
-
pre .status {
|
61
|
+
.hljs-keyword,
|
62
|
+
.hljs-selector-tag,
|
63
|
+
.hljs-literal,
|
64
|
+
.hljs-doctag,
|
65
|
+
.hljs-title,
|
66
|
+
.hljs-section,
|
67
|
+
.hljs-type,
|
68
|
+
.hljs-selector-id {
|
103
69
|
font-weight: bold;
|
104
70
|
}
|
105
|
-
|
106
|
-
pre .coffeescript .javascript,
|
107
|
-
pre .javascript .xml,
|
108
|
-
pre .tex .formula,
|
109
|
-
pre .xml .javascript,
|
110
|
-
pre .xml .vbscript,
|
111
|
-
pre .xml .css,
|
112
|
-
pre .xml .cdata {
|
113
|
-
opacity: 0.5;
|
114
|
-
}
|