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
File without changes
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #002b36;
|
12
|
+
color: #839496;
|
13
|
+
}
|
14
|
+
|
15
|
+
.hljs-comment,
|
16
|
+
.hljs-quote {
|
17
|
+
color: #586e75;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* Solarized Green */
|
21
|
+
.hljs-keyword,
|
22
|
+
.hljs-selector-tag,
|
23
|
+
.hljs-addition {
|
24
|
+
color: #859900;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Solarized Cyan */
|
28
|
+
.hljs-number,
|
29
|
+
.hljs-string,
|
30
|
+
.hljs-meta .hljs-meta-string,
|
31
|
+
.hljs-literal,
|
32
|
+
.hljs-doctag,
|
33
|
+
.hljs-regexp {
|
34
|
+
color: #2aa198;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* Solarized Blue */
|
38
|
+
.hljs-title,
|
39
|
+
.hljs-section,
|
40
|
+
.hljs-name,
|
41
|
+
.hljs-selector-id,
|
42
|
+
.hljs-selector-class {
|
43
|
+
color: #268bd2;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Solarized Yellow */
|
47
|
+
.hljs-attribute,
|
48
|
+
.hljs-attr,
|
49
|
+
.hljs-variable,
|
50
|
+
.hljs-template-variable,
|
51
|
+
.hljs-class .hljs-title,
|
52
|
+
.hljs-type {
|
53
|
+
color: #b58900;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* Solarized Orange */
|
57
|
+
.hljs-symbol,
|
58
|
+
.hljs-bullet,
|
59
|
+
.hljs-subst,
|
60
|
+
.hljs-meta,
|
61
|
+
.hljs-meta .hljs-keyword,
|
62
|
+
.hljs-selector-attr,
|
63
|
+
.hljs-selector-pseudo,
|
64
|
+
.hljs-link {
|
65
|
+
color: #cb4b16;
|
66
|
+
}
|
67
|
+
|
68
|
+
/* Solarized Red */
|
69
|
+
.hljs-built_in,
|
70
|
+
.hljs-deletion {
|
71
|
+
color: #dc322f;
|
72
|
+
}
|
73
|
+
|
74
|
+
.hljs-formula {
|
75
|
+
background: #073642;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-emphasis {
|
79
|
+
font-style: italic;
|
80
|
+
}
|
81
|
+
|
82
|
+
.hljs-strong {
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #fdf6e3;
|
12
|
+
color: #657b83;
|
13
|
+
}
|
14
|
+
|
15
|
+
.hljs-comment,
|
16
|
+
.hljs-quote {
|
17
|
+
color: #93a1a1;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* Solarized Green */
|
21
|
+
.hljs-keyword,
|
22
|
+
.hljs-selector-tag,
|
23
|
+
.hljs-addition {
|
24
|
+
color: #859900;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Solarized Cyan */
|
28
|
+
.hljs-number,
|
29
|
+
.hljs-string,
|
30
|
+
.hljs-meta .hljs-meta-string,
|
31
|
+
.hljs-literal,
|
32
|
+
.hljs-doctag,
|
33
|
+
.hljs-regexp {
|
34
|
+
color: #2aa198;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* Solarized Blue */
|
38
|
+
.hljs-title,
|
39
|
+
.hljs-section,
|
40
|
+
.hljs-name,
|
41
|
+
.hljs-selector-id,
|
42
|
+
.hljs-selector-class {
|
43
|
+
color: #268bd2;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Solarized Yellow */
|
47
|
+
.hljs-attribute,
|
48
|
+
.hljs-attr,
|
49
|
+
.hljs-variable,
|
50
|
+
.hljs-template-variable,
|
51
|
+
.hljs-class .hljs-title,
|
52
|
+
.hljs-type {
|
53
|
+
color: #b58900;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* Solarized Orange */
|
57
|
+
.hljs-symbol,
|
58
|
+
.hljs-bullet,
|
59
|
+
.hljs-subst,
|
60
|
+
.hljs-meta,
|
61
|
+
.hljs-meta .hljs-keyword,
|
62
|
+
.hljs-selector-attr,
|
63
|
+
.hljs-selector-pseudo,
|
64
|
+
.hljs-link {
|
65
|
+
color: #cb4b16;
|
66
|
+
}
|
67
|
+
|
68
|
+
/* Solarized Red */
|
69
|
+
.hljs-built_in,
|
70
|
+
.hljs-deletion {
|
71
|
+
color: #dc322f;
|
72
|
+
}
|
73
|
+
|
74
|
+
.hljs-formula {
|
75
|
+
background: #eee8d5;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-emphasis {
|
79
|
+
font-style: italic;
|
80
|
+
}
|
81
|
+
|
82
|
+
.hljs-strong {
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
@@ -4,155 +4,99 @@ Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net>
|
|
4
4
|
|
5
5
|
*/
|
6
6
|
|
7
|
-
|
8
|
-
display: block;
|
9
|
-
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #000;
|
12
|
+
color: #f8f8f8;
|
10
13
|
}
|
11
14
|
|
12
|
-
|
13
|
-
|
14
|
-
pre .javadoc {
|
15
|
+
.hljs-comment,
|
16
|
+
.hljs-quote {
|
15
17
|
color: #aeaeae;
|
16
18
|
font-style: italic;
|
17
19
|
}
|
18
20
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
pre .nginx .title {
|
24
|
-
color: #E28964;
|
21
|
+
.hljs-keyword,
|
22
|
+
.hljs-selector-tag,
|
23
|
+
.hljs-type {
|
24
|
+
color: #e28964;
|
25
25
|
}
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
pre .method,
|
30
|
-
pre .list .title {
|
31
|
-
color: #99CF50;
|
27
|
+
.hljs-string {
|
28
|
+
color: #65b042;
|
32
29
|
}
|
33
30
|
|
34
|
-
|
35
|
-
|
36
|
-
pre .cdata,
|
37
|
-
pre .filter .argument,
|
38
|
-
pre .attr_selector,
|
39
|
-
pre .apache .cbracket,
|
40
|
-
pre .date,
|
41
|
-
pre .tex .command {
|
42
|
-
color: #65B042;
|
31
|
+
.hljs-subst {
|
32
|
+
color: #daefa3;
|
43
33
|
}
|
44
34
|
|
45
|
-
|
46
|
-
|
35
|
+
.hljs-regexp,
|
36
|
+
.hljs-link {
|
37
|
+
color: #e9c062;
|
47
38
|
}
|
48
39
|
|
49
|
-
|
50
|
-
|
40
|
+
.hljs-title,
|
41
|
+
.hljs-section,
|
42
|
+
.hljs-tag,
|
43
|
+
.hljs-name {
|
44
|
+
color: #89bdff;
|
51
45
|
}
|
52
46
|
|
53
|
-
|
54
|
-
|
55
|
-
pre .pi,
|
56
|
-
pre .tag,
|
57
|
-
pre .tag .keyword,
|
58
|
-
pre .decorator,
|
59
|
-
pre .shebang,
|
60
|
-
pre .prompt {
|
61
|
-
color: #89BDFF;
|
62
|
-
}
|
63
|
-
|
64
|
-
pre .class .title,
|
65
|
-
pre .haskell .type,
|
66
|
-
pre .smalltalk .class,
|
67
|
-
pre .javadoctag,
|
68
|
-
pre .yardoctag,
|
69
|
-
pre .phpdoc {
|
47
|
+
.hljs-class .hljs-title,
|
48
|
+
.hljs-doctag {
|
70
49
|
text-decoration: underline;
|
71
50
|
}
|
72
51
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
color: #
|
77
|
-
}
|
78
|
-
|
79
|
-
pre .params,
|
80
|
-
pre .variable,
|
81
|
-
pre .clojure .attribute {
|
82
|
-
color: #3E87E3;
|
52
|
+
.hljs-symbol,
|
53
|
+
.hljs-bullet,
|
54
|
+
.hljs-number {
|
55
|
+
color: #3387cc;
|
83
56
|
}
|
84
57
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
color: #CDA869;
|
58
|
+
.hljs-params,
|
59
|
+
.hljs-variable,
|
60
|
+
.hljs-template-variable {
|
61
|
+
color: #3e87e3;
|
90
62
|
}
|
91
63
|
|
92
|
-
|
93
|
-
color: #
|
64
|
+
.hljs-attribute {
|
65
|
+
color: #cda869;
|
94
66
|
}
|
95
67
|
|
96
|
-
|
97
|
-
color: #
|
68
|
+
.hljs-meta {
|
69
|
+
color: #8996a8;
|
98
70
|
}
|
99
71
|
|
100
|
-
|
101
|
-
color: #
|
102
|
-
|
103
|
-
|
104
|
-
pre .css .id {
|
105
|
-
color: #8B98AB;
|
72
|
+
.hljs-formula {
|
73
|
+
background-color: #0e2231;
|
74
|
+
color: #f8f8f8;
|
75
|
+
font-style: italic;
|
106
76
|
}
|
107
77
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
color: #9B859D;
|
78
|
+
.hljs-addition {
|
79
|
+
background-color: #253b22;
|
80
|
+
color: #f8f8f8;
|
112
81
|
}
|
113
82
|
|
114
|
-
|
115
|
-
color: #
|
83
|
+
.hljs-deletion {
|
84
|
+
background-color: #420e09;
|
85
|
+
color: #f8f8f8;
|
116
86
|
}
|
117
87
|
|
118
|
-
|
119
|
-
|
120
|
-
color: #DD7B3B;
|
88
|
+
.hljs-selector-class {
|
89
|
+
color: #9b703f;
|
121
90
|
}
|
122
91
|
|
123
|
-
|
124
|
-
color: #
|
92
|
+
.hljs-selector-id {
|
93
|
+
color: #8b98ab;
|
125
94
|
}
|
126
95
|
|
127
|
-
|
128
|
-
pre .chunk,
|
129
|
-
pre .tex .formula {
|
130
|
-
background-color: #0E2231;
|
131
|
-
color: #F8F8F8;
|
96
|
+
.hljs-emphasis {
|
132
97
|
font-style: italic;
|
133
98
|
}
|
134
99
|
|
135
|
-
|
136
|
-
|
137
|
-
color: #F8F8F8;
|
138
|
-
}
|
139
|
-
|
140
|
-
pre .addition {
|
141
|
-
background-color: #253B22;
|
142
|
-
color: #F8F8F8;
|
143
|
-
}
|
144
|
-
|
145
|
-
pre .deletion {
|
146
|
-
background-color: #420E09;
|
147
|
-
color: #F8F8F8;
|
148
|
-
}
|
149
|
-
|
150
|
-
pre .coffeescript .javascript,
|
151
|
-
pre .javascript .xml,
|
152
|
-
pre .tex .formula,
|
153
|
-
pre .xml .javascript,
|
154
|
-
pre .xml .vbscript,
|
155
|
-
pre .xml .css,
|
156
|
-
pre .xml .cdata {
|
157
|
-
opacity: 0.5;
|
100
|
+
.hljs-strong {
|
101
|
+
font-weight: bold;
|
158
102
|
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
/* Tomorrow Night Blue Theme */
|
2
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
3
|
+
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
4
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
5
|
+
|
6
|
+
/* Tomorrow Comment */
|
7
|
+
.hljs-comment,
|
8
|
+
.hljs-quote {
|
9
|
+
color: #7285b7;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Tomorrow Red */
|
13
|
+
.hljs-variable,
|
14
|
+
.hljs-template-variable,
|
15
|
+
.hljs-tag,
|
16
|
+
.hljs-name,
|
17
|
+
.hljs-selector-id,
|
18
|
+
.hljs-selector-class,
|
19
|
+
.hljs-regexp,
|
20
|
+
.hljs-deletion {
|
21
|
+
color: #ff9da4;
|
22
|
+
}
|
23
|
+
|
24
|
+
/* Tomorrow Orange */
|
25
|
+
.hljs-number,
|
26
|
+
.hljs-built_in,
|
27
|
+
.hljs-builtin-name,
|
28
|
+
.hljs-literal,
|
29
|
+
.hljs-type,
|
30
|
+
.hljs-params,
|
31
|
+
.hljs-meta,
|
32
|
+
.hljs-link {
|
33
|
+
color: #ffc58f;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* Tomorrow Yellow */
|
37
|
+
.hljs-attribute {
|
38
|
+
color: #ffeead;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* Tomorrow Green */
|
42
|
+
.hljs-string,
|
43
|
+
.hljs-symbol,
|
44
|
+
.hljs-bullet,
|
45
|
+
.hljs-addition {
|
46
|
+
color: #d1f1a9;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Tomorrow Blue */
|
50
|
+
.hljs-title,
|
51
|
+
.hljs-section {
|
52
|
+
color: #bbdaff;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Tomorrow Purple */
|
56
|
+
.hljs-keyword,
|
57
|
+
.hljs-selector-tag {
|
58
|
+
color: #ebbbff;
|
59
|
+
}
|
60
|
+
|
61
|
+
.hljs {
|
62
|
+
display: block;
|
63
|
+
overflow-x: auto;
|
64
|
+
background: #002451;
|
65
|
+
color: white;
|
66
|
+
padding: 0.5em;
|
67
|
+
}
|
68
|
+
|
69
|
+
.hljs-emphasis {
|
70
|
+
font-style: italic;
|
71
|
+
}
|
72
|
+
|
73
|
+
.hljs-strong {
|
74
|
+
font-weight: bold;
|
75
|
+
}
|