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,83 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Qt Creator dark color scheme
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
.hljs {
|
9
|
+
display: block;
|
10
|
+
overflow-x: auto;
|
11
|
+
padding: 0.5em;
|
12
|
+
background: #000000;
|
13
|
+
}
|
14
|
+
|
15
|
+
.hljs,
|
16
|
+
.hljs-subst,
|
17
|
+
.hljs-tag,
|
18
|
+
.hljs-title {
|
19
|
+
color: #aaaaaa;
|
20
|
+
}
|
21
|
+
|
22
|
+
.hljs-strong,
|
23
|
+
.hljs-emphasis {
|
24
|
+
color: #a8a8a2;
|
25
|
+
}
|
26
|
+
|
27
|
+
.hljs-bullet,
|
28
|
+
.hljs-quote,
|
29
|
+
.hljs-number,
|
30
|
+
.hljs-regexp,
|
31
|
+
.hljs-literal {
|
32
|
+
color: #ff55ff;
|
33
|
+
}
|
34
|
+
|
35
|
+
.hljs-code
|
36
|
+
.hljs-selector-class {
|
37
|
+
color: #aaaaff;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-emphasis,
|
41
|
+
.hljs-stronge,
|
42
|
+
.hljs-type {
|
43
|
+
font-style: italic;
|
44
|
+
}
|
45
|
+
|
46
|
+
.hljs-keyword,
|
47
|
+
.hljs-selector-tag,
|
48
|
+
.hljs-function,
|
49
|
+
.hljs-section,
|
50
|
+
.hljs-symbol,
|
51
|
+
.hljs-name {
|
52
|
+
color: #ffff55;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-attribute {
|
56
|
+
color: #ff5555;
|
57
|
+
}
|
58
|
+
|
59
|
+
.hljs-variable,
|
60
|
+
.hljs-params,
|
61
|
+
.hljs-class .hljs-title {
|
62
|
+
color: #8888ff;
|
63
|
+
}
|
64
|
+
|
65
|
+
.hljs-string,
|
66
|
+
.hljs-selector-id,
|
67
|
+
.hljs-selector-attr,
|
68
|
+
.hljs-selector-pseudo,
|
69
|
+
.hljs-type,
|
70
|
+
.hljs-built_in,
|
71
|
+
.hljs-builtin-name,
|
72
|
+
.hljs-template-tag,
|
73
|
+
.hljs-template-variable,
|
74
|
+
.hljs-addition,
|
75
|
+
.hljs-link {
|
76
|
+
color: #ff55ff;
|
77
|
+
}
|
78
|
+
|
79
|
+
.hljs-comment,
|
80
|
+
.hljs-meta,
|
81
|
+
.hljs-deletion {
|
82
|
+
color: #55ffff;
|
83
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Qt Creator light color scheme
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
.hljs {
|
9
|
+
display: block;
|
10
|
+
overflow-x: auto;
|
11
|
+
padding: 0.5em;
|
12
|
+
background: #ffffff;
|
13
|
+
}
|
14
|
+
|
15
|
+
.hljs,
|
16
|
+
.hljs-subst,
|
17
|
+
.hljs-tag,
|
18
|
+
.hljs-title {
|
19
|
+
color: #000000;
|
20
|
+
}
|
21
|
+
|
22
|
+
.hljs-strong,
|
23
|
+
.hljs-emphasis {
|
24
|
+
color: #000000;
|
25
|
+
}
|
26
|
+
|
27
|
+
.hljs-bullet,
|
28
|
+
.hljs-quote,
|
29
|
+
.hljs-number,
|
30
|
+
.hljs-regexp,
|
31
|
+
.hljs-literal {
|
32
|
+
color: #000080;
|
33
|
+
}
|
34
|
+
|
35
|
+
.hljs-code
|
36
|
+
.hljs-selector-class {
|
37
|
+
color: #800080;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-emphasis,
|
41
|
+
.hljs-stronge,
|
42
|
+
.hljs-type {
|
43
|
+
font-style: italic;
|
44
|
+
}
|
45
|
+
|
46
|
+
.hljs-keyword,
|
47
|
+
.hljs-selector-tag,
|
48
|
+
.hljs-function,
|
49
|
+
.hljs-section,
|
50
|
+
.hljs-symbol,
|
51
|
+
.hljs-name {
|
52
|
+
color: #808000;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-attribute {
|
56
|
+
color: #800000;
|
57
|
+
}
|
58
|
+
|
59
|
+
.hljs-variable,
|
60
|
+
.hljs-params,
|
61
|
+
.hljs-class .hljs-title {
|
62
|
+
color: #0055AF;
|
63
|
+
}
|
64
|
+
|
65
|
+
.hljs-string,
|
66
|
+
.hljs-selector-id,
|
67
|
+
.hljs-selector-attr,
|
68
|
+
.hljs-selector-pseudo,
|
69
|
+
.hljs-type,
|
70
|
+
.hljs-built_in,
|
71
|
+
.hljs-builtin-name,
|
72
|
+
.hljs-template-tag,
|
73
|
+
.hljs-template-variable,
|
74
|
+
.hljs-addition,
|
75
|
+
.hljs-link {
|
76
|
+
color: #008000;
|
77
|
+
}
|
78
|
+
|
79
|
+
.hljs-comment,
|
80
|
+
.hljs-meta,
|
81
|
+
.hljs-deletion {
|
82
|
+
color: #008000;
|
83
|
+
}
|
@@ -0,0 +1,106 @@
|
|
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
|
+
}
|
14
|
+
|
15
|
+
.hljs-comment,
|
16
|
+
.hljs-quote {
|
17
|
+
color: #bc9458;
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
|
21
|
+
.hljs-keyword,
|
22
|
+
.hljs-selector-tag {
|
23
|
+
color: #c26230;
|
24
|
+
}
|
25
|
+
|
26
|
+
.hljs-string,
|
27
|
+
.hljs-number,
|
28
|
+
.hljs-regexp,
|
29
|
+
.hljs-variable,
|
30
|
+
.hljs-template-variable {
|
31
|
+
color: #a5c261;
|
32
|
+
}
|
33
|
+
|
34
|
+
.hljs-subst {
|
35
|
+
color: #519f50;
|
36
|
+
}
|
37
|
+
|
38
|
+
.hljs-tag,
|
39
|
+
.hljs-name {
|
40
|
+
color: #e8bf6a;
|
41
|
+
}
|
42
|
+
|
43
|
+
.hljs-type {
|
44
|
+
color: #da4939;
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
.hljs-symbol,
|
49
|
+
.hljs-bullet,
|
50
|
+
.hljs-built_in,
|
51
|
+
.hljs-builtin-name,
|
52
|
+
.hljs-attr,
|
53
|
+
.hljs-link {
|
54
|
+
color: #6d9cbe;
|
55
|
+
}
|
56
|
+
|
57
|
+
.hljs-params {
|
58
|
+
color: #d0d0ff;
|
59
|
+
}
|
60
|
+
|
61
|
+
.hljs-attribute {
|
62
|
+
color: #cda869;
|
63
|
+
}
|
64
|
+
|
65
|
+
.hljs-meta {
|
66
|
+
color: #9b859d;
|
67
|
+
}
|
68
|
+
|
69
|
+
.hljs-title,
|
70
|
+
.hljs-section {
|
71
|
+
color: #ffc66d;
|
72
|
+
}
|
73
|
+
|
74
|
+
.hljs-addition {
|
75
|
+
background-color: #144212;
|
76
|
+
color: #e6e1dc;
|
77
|
+
display: inline-block;
|
78
|
+
width: 100%;
|
79
|
+
}
|
80
|
+
|
81
|
+
.hljs-deletion {
|
82
|
+
background-color: #600;
|
83
|
+
color: #e6e1dc;
|
84
|
+
display: inline-block;
|
85
|
+
width: 100%;
|
86
|
+
}
|
87
|
+
|
88
|
+
.hljs-selector-class {
|
89
|
+
color: #9b703f;
|
90
|
+
}
|
91
|
+
|
92
|
+
.hljs-selector-id {
|
93
|
+
color: #8b98ab;
|
94
|
+
}
|
95
|
+
|
96
|
+
.hljs-emphasis {
|
97
|
+
font-style: italic;
|
98
|
+
}
|
99
|
+
|
100
|
+
.hljs-strong {
|
101
|
+
font-weight: bold;
|
102
|
+
}
|
103
|
+
|
104
|
+
.hljs-link {
|
105
|
+
text-decoration: underline;
|
106
|
+
}
|
@@ -4,111 +4,82 @@ Style with support for rainbow parens
|
|
4
4
|
|
5
5
|
*/
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #474949;
|
12
|
+
color: #d1d9e1;
|
13
13
|
}
|
14
14
|
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
color: #D1D9E1;
|
19
|
-
}
|
20
|
-
|
21
|
-
pre .comment,
|
22
|
-
pre .template_comment,
|
23
|
-
pre .diff .header,
|
24
|
-
pre .doctype,
|
25
|
-
pre .lisp .string,
|
26
|
-
pre .javadoc {
|
16
|
+
.hljs-comment,
|
17
|
+
.hljs-quote {
|
27
18
|
color: #969896;
|
28
19
|
font-style: italic;
|
29
20
|
}
|
30
21
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
pre .css .tag {
|
22
|
+
.hljs-keyword,
|
23
|
+
.hljs-selector-tag,
|
24
|
+
.hljs-literal,
|
25
|
+
.hljs-type,
|
26
|
+
.hljs-addition {
|
37
27
|
color: #cc99cc;
|
38
28
|
}
|
39
29
|
|
40
|
-
|
30
|
+
.hljs-number,
|
31
|
+
.hljs-selector-attr,
|
32
|
+
.hljs-selector-pseudo {
|
33
|
+
color: #f99157;
|
34
|
+
}
|
41
35
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
pre .phpdoc,
|
46
|
-
pre .tex .formula,
|
47
|
-
pre .regexp,
|
48
|
-
pre .hexcolor {
|
36
|
+
.hljs-string,
|
37
|
+
.hljs-doctag,
|
38
|
+
.hljs-regexp {
|
49
39
|
color: #8abeb7;
|
50
40
|
}
|
51
41
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
pre .decorator,
|
57
|
-
pre .built_in,
|
58
|
-
pre .lisp .title,
|
59
|
-
pre .identifier
|
60
|
-
{
|
42
|
+
.hljs-title,
|
43
|
+
.hljs-name,
|
44
|
+
.hljs-section,
|
45
|
+
.hljs-built_in {
|
61
46
|
color: #b5bd68;
|
62
47
|
}
|
63
48
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
pre .variable,
|
70
|
-
pre .lisp .body,
|
71
|
-
pre .smalltalk .number,
|
72
|
-
pre .constant,
|
73
|
-
pre .class .title,
|
74
|
-
pre .parent,
|
75
|
-
pre .haskell .label,
|
76
|
-
pre .id,
|
77
|
-
pre .lisp .title,
|
78
|
-
pre .clojure .title .built_in {
|
49
|
+
.hljs-variable,
|
50
|
+
.hljs-template-variable,
|
51
|
+
.hljs-selector-id,
|
52
|
+
.hljs-class .hljs-title {
|
79
53
|
color: #ffcc66;
|
80
54
|
}
|
81
55
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
pre .clojure .title .built_in {
|
56
|
+
.hljs-section,
|
57
|
+
.hljs-name,
|
58
|
+
.hljs-strong {
|
86
59
|
font-weight: bold;
|
87
60
|
}
|
88
61
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
pre .preprocessor,
|
95
|
-
pre .pi,
|
96
|
-
pre .shebang,
|
97
|
-
pre .symbol,
|
98
|
-
pre .symbol .string,
|
99
|
-
pre .diff .change,
|
100
|
-
pre .special,
|
101
|
-
pre .attr_selector,
|
102
|
-
pre .important,
|
103
|
-
pre .subst,
|
104
|
-
pre .cdata {
|
62
|
+
.hljs-symbol,
|
63
|
+
.hljs-bullet,
|
64
|
+
.hljs-subst,
|
65
|
+
.hljs-meta,
|
66
|
+
.hljs-link {
|
105
67
|
color: #f99157;
|
106
68
|
}
|
107
69
|
|
108
|
-
|
70
|
+
.hljs-deletion {
|
109
71
|
color: #dc322f;
|
110
72
|
}
|
111
73
|
|
112
|
-
|
74
|
+
.hljs-formula {
|
113
75
|
background: #eee8d5;
|
114
76
|
}
|
77
|
+
|
78
|
+
.hljs-attr,
|
79
|
+
.hljs-attribute {
|
80
|
+
color: #81a2be;
|
81
|
+
}
|
82
|
+
|
83
|
+
.hljs-emphasis {
|
84
|
+
font-style: italic;
|
85
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 15px 0.5em 0.5em 30px;
|
11
|
+
font-size: 11px;
|
12
|
+
line-height:16px;
|
13
|
+
}
|
14
|
+
|
15
|
+
pre{
|
16
|
+
background:#f6f6ae url(./school-book.png);
|
17
|
+
border-top: solid 2px #d2e8b9;
|
18
|
+
border-bottom: solid 1px #d2e8b9;
|
19
|
+
}
|
20
|
+
|
21
|
+
.hljs-keyword,
|
22
|
+
.hljs-selector-tag,
|
23
|
+
.hljs-literal {
|
24
|
+
color:#005599;
|
25
|
+
font-weight:bold;
|
26
|
+
}
|
27
|
+
|
28
|
+
.hljs,
|
29
|
+
.hljs-subst {
|
30
|
+
color: #3e5915;
|
31
|
+
}
|
32
|
+
|
33
|
+
.hljs-string,
|
34
|
+
.hljs-title,
|
35
|
+
.hljs-section,
|
36
|
+
.hljs-type,
|
37
|
+
.hljs-symbol,
|
38
|
+
.hljs-bullet,
|
39
|
+
.hljs-attribute,
|
40
|
+
.hljs-built_in,
|
41
|
+
.hljs-builtin-name,
|
42
|
+
.hljs-addition,
|
43
|
+
.hljs-variable,
|
44
|
+
.hljs-template-tag,
|
45
|
+
.hljs-template-variable,
|
46
|
+
.hljs-link {
|
47
|
+
color: #2c009f;
|
48
|
+
}
|
49
|
+
|
50
|
+
.hljs-comment,
|
51
|
+
.hljs-quote,
|
52
|
+
.hljs-deletion,
|
53
|
+
.hljs-meta {
|
54
|
+
color: #e60415;
|
55
|
+
}
|
56
|
+
|
57
|
+
.hljs-keyword,
|
58
|
+
.hljs-selector-tag,
|
59
|
+
.hljs-literal,
|
60
|
+
.hljs-doctag,
|
61
|
+
.hljs-title,
|
62
|
+
.hljs-section,
|
63
|
+
.hljs-type,
|
64
|
+
.hljs-name,
|
65
|
+
.hljs-selector-id,
|
66
|
+
.hljs-strong {
|
67
|
+
font-weight: bold;
|
68
|
+
}
|
69
|
+
|
70
|
+
.hljs-emphasis {
|
71
|
+
font-style: italic;
|
72
|
+
}
|