fortitude 0.9.1-java → 0.9.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.travis.yml +28 -22
- data/CHANGES.md +50 -0
- data/CONTRIBUTORS.md +1 -0
- data/doc/.gitignore +18 -0
- data/doc/Gemfile +21 -0
- data/doc/config.rb +92 -0
- data/doc/source/images/background.png +0 -0
- data/doc/source/images/middleman.png +0 -0
- data/doc/source/images/why/icon_button.png +0 -0
- data/doc/source/images/why/icon_button@2x.png +0 -0
- data/doc/source/images/why/modal_dialog@2x.png +0 -0
- data/doc/source/index.html.pcss +96 -0
- data/doc/source/index.html.rb +66 -0
- data/doc/source/javascripts/all.js +1 -0
- data/doc/source/javascripts/highlight.pack.js +1 -0
- data/doc/source/layouts/layout.rb +55 -0
- data/doc/source/portable/fortitude-bootstrap.rb +53 -0
- data/doc/source/shared/base.pcss +62 -0
- data/doc/source/shared/base.rb +30 -0
- data/doc/source/shared/common.rb +55 -0
- data/doc/source/shared/standard_page.rb +40 -0
- data/doc/source/stylesheets/_shared_prefix.scss +25 -0
- data/doc/source/stylesheets/all.css.scss +7 -0
- data/doc/source/stylesheets/basics.css.scss +20 -0
- data/doc/source/stylesheets/bootstrap_importer.css.scss +1 -0
- data/doc/source/stylesheets/highlight/arta.css +140 -0
- data/doc/source/stylesheets/highlight/ascetic.css +52 -0
- data/doc/source/stylesheets/highlight/atelier-dune.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-dune.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-forest.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-forest.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-heath.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-heath.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-lakeside.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-lakeside.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-seaside.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-seaside.light.css +95 -0
- data/doc/source/stylesheets/highlight/brown_paper.css +104 -0
- data/doc/source/stylesheets/highlight/brown_papersq.png +0 -0
- data/doc/source/stylesheets/highlight/codepen-embed.css +108 -0
- data/doc/source/stylesheets/highlight/color-brewer.css +168 -0
- data/doc/source/stylesheets/highlight/dark.css +104 -0
- data/doc/source/stylesheets/highlight/default.css +152 -0
- data/doc/source/stylesheets/highlight/docco.css +135 -0
- data/doc/source/stylesheets/highlight/far.css +111 -0
- data/doc/source/stylesheets/highlight/foundation.css +136 -0
- data/doc/source/stylesheets/highlight/github.css +124 -0
- data/doc/source/stylesheets/highlight/googlecode.css +147 -0
- data/doc/source/stylesheets/highlight/hybrid.css +170 -0
- data/doc/source/stylesheets/highlight/idea.css +125 -0
- data/doc/source/stylesheets/highlight/ir_black.css +109 -0
- data/doc/source/stylesheets/highlight/kimbie.dark.css +96 -0
- data/doc/source/stylesheets/highlight/kimbie.light.css +96 -0
- data/doc/source/stylesheets/highlight/magula.css +121 -0
- data/doc/source/stylesheets/highlight/mono-blue.css +69 -0
- data/doc/source/stylesheets/highlight/monokai.css +127 -0
- data/doc/source/stylesheets/highlight/monokai_sublime.css +154 -0
- data/doc/source/stylesheets/highlight/obsidian.css +153 -0
- data/doc/source/stylesheets/highlight/paraiso.dark.css +95 -0
- data/doc/source/stylesheets/highlight/paraiso.light.css +95 -0
- data/doc/source/stylesheets/highlight/pojoaque.css +107 -0
- data/doc/source/stylesheets/highlight/pojoaque.jpg +0 -0
- data/doc/source/stylesheets/highlight/railscasts.css +187 -0
- data/doc/source/stylesheets/highlight/rainbow.css +108 -0
- data/doc/source/stylesheets/highlight/school_book.css +112 -0
- data/doc/source/stylesheets/highlight/school_book.png +0 -0
- data/doc/source/stylesheets/highlight/solarized_dark.css +108 -0
- data/doc/source/stylesheets/highlight/solarized_light.css +108 -0
- data/doc/source/stylesheets/highlight/sunburst.css +164 -0
- data/doc/source/stylesheets/highlight/tomorrow-night-blue.css +95 -0
- data/doc/source/stylesheets/highlight/tomorrow-night-bright.css +94 -0
- data/doc/source/stylesheets/highlight/tomorrow-night-eighties.css +94 -0
- data/doc/source/stylesheets/highlight/tomorrow-night.css +95 -0
- data/doc/source/stylesheets/highlight/tomorrow.css +92 -0
- data/doc/source/stylesheets/highlight/vs.css +93 -0
- data/doc/source/stylesheets/highlight/xcode.css +158 -0
- data/doc/source/stylesheets/highlight/zenburn.css +118 -0
- data/doc/source/why/a_larger_view.html.rb +774 -0
- data/doc/source/why/a_simple_helper.html.rb +332 -0
- data/doc/source/why/building_a_rich_modal_dialog.html.rb +156 -0
- data/doc/source/why/commonality_and_inheritance.html.rb +564 -0
- data/doc/source/why/example_list.rb +60 -0
- data/doc/source/why/example_page.rb +116 -0
- data/doc/source/why/index.html.rb +86 -0
- data/doc/source/why/other_benefits.html.rb +110 -0
- data/fortitude.gemspec +6 -1
- data/lib/fortitude/doctypes/html4_tags_strict.rb +1 -0
- data/lib/fortitude/doctypes/html5.rb +1 -0
- data/lib/fortitude/method_templates/tag_method_template.rb.smpl +27 -14
- data/lib/fortitude/rails/helpers.rb +2 -2
- data/lib/fortitude/rendering_context.rb +10 -1
- data/lib/fortitude/tags/tag.rb +3 -2
- data/lib/fortitude/tags/tag_support.rb +8 -3
- data/lib/fortitude/tilt/fortitude_template.rb +6 -2
- data/lib/fortitude/version.rb +1 -1
- data/lib/fortitude/widget.rb +2 -0
- data/lib/fortitude/widget/convenience.rb +30 -0
- data/lib/fortitude/widget/files.rb +22 -11
- data/lib/fortitude/widget/needs.rb +5 -3
- data/spec/helpers/system_helpers.rb +1 -0
- data/spec/rails/development_mode_system_spec.rb +0 -1
- data/spec/rails/rendering_system_spec.rb +20 -1
- data/spec/rails/templates/rendering_system_spec/app/controllers/rendering_system_spec_controller.rb +13 -0
- data/spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb +18 -0
- data/spec/rails/templates/rendering_system_spec/lib/my_hash.rb +5 -0
- data/spec/system/convenience_methods_system_spec.rb +166 -0
- data/spec/system/formatting_system_spec.rb +25 -1
- data/spec/system/tag_rendering_system_spec.rb +73 -0
- data/spec/system/tilt_system_spec.rb +31 -0
- data/spec/system/widget_class_from_spec.rb +20 -4
- metadata +91 -4
@@ -0,0 +1,95 @@
|
|
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
|
+
color: #7285b7;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Tomorrow Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-attribute,
|
14
|
+
.hljs-tag,
|
15
|
+
.hljs-regexp,
|
16
|
+
.ruby .hljs-constant,
|
17
|
+
.xml .hljs-tag .hljs-title,
|
18
|
+
.xml .hljs-pi,
|
19
|
+
.xml .hljs-doctype,
|
20
|
+
.html .hljs-doctype,
|
21
|
+
.css .hljs-id,
|
22
|
+
.css .hljs-class,
|
23
|
+
.css .hljs-pseudo {
|
24
|
+
color: #ff9da4;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Tomorrow Orange */
|
28
|
+
.hljs-number,
|
29
|
+
.hljs-preprocessor,
|
30
|
+
.hljs-pragma,
|
31
|
+
.hljs-built_in,
|
32
|
+
.hljs-literal,
|
33
|
+
.hljs-params,
|
34
|
+
.hljs-constant {
|
35
|
+
color: #ffc58f;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Tomorrow Yellow */
|
39
|
+
.ruby .hljs-class .hljs-title,
|
40
|
+
.css .hljs-rules .hljs-attribute {
|
41
|
+
color: #ffeead;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Tomorrow Green */
|
45
|
+
.hljs-string,
|
46
|
+
.hljs-value,
|
47
|
+
.hljs-inheritance,
|
48
|
+
.hljs-header,
|
49
|
+
.ruby .hljs-symbol,
|
50
|
+
.xml .hljs-cdata {
|
51
|
+
color: #d1f1a9;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Tomorrow Aqua */
|
55
|
+
.hljs-title,
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #99ffff;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Tomorrow Blue */
|
61
|
+
.hljs-function,
|
62
|
+
.python .hljs-decorator,
|
63
|
+
.python .hljs-title,
|
64
|
+
.ruby .hljs-function .hljs-title,
|
65
|
+
.ruby .hljs-title .hljs-keyword,
|
66
|
+
.perl .hljs-sub,
|
67
|
+
.javascript .hljs-title,
|
68
|
+
.coffeescript .hljs-title {
|
69
|
+
color: #bbdaff;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Tomorrow Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #ebbbff;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #002451;
|
82
|
+
color: white;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
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
|
+
}
|
@@ -0,0 +1,94 @@
|
|
1
|
+
/* Tomorrow Night Bright Theme */
|
2
|
+
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
3
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
4
|
+
|
5
|
+
/* Tomorrow Comment */
|
6
|
+
.hljs-comment {
|
7
|
+
color: #969896;
|
8
|
+
}
|
9
|
+
|
10
|
+
/* Tomorrow Red */
|
11
|
+
.hljs-variable,
|
12
|
+
.hljs-attribute,
|
13
|
+
.hljs-tag,
|
14
|
+
.hljs-regexp,
|
15
|
+
.ruby .hljs-constant,
|
16
|
+
.xml .hljs-tag .hljs-title,
|
17
|
+
.xml .hljs-pi,
|
18
|
+
.xml .hljs-doctype,
|
19
|
+
.html .hljs-doctype,
|
20
|
+
.css .hljs-id,
|
21
|
+
.css .hljs-class,
|
22
|
+
.css .hljs-pseudo {
|
23
|
+
color: #d54e53;
|
24
|
+
}
|
25
|
+
|
26
|
+
/* Tomorrow Orange */
|
27
|
+
.hljs-number,
|
28
|
+
.hljs-preprocessor,
|
29
|
+
.hljs-pragma,
|
30
|
+
.hljs-built_in,
|
31
|
+
.hljs-literal,
|
32
|
+
.hljs-params,
|
33
|
+
.hljs-constant {
|
34
|
+
color: #e78c45;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* Tomorrow Yellow */
|
38
|
+
.ruby .hljs-class .hljs-title,
|
39
|
+
.css .hljs-rules .hljs-attribute {
|
40
|
+
color: #e7c547;
|
41
|
+
}
|
42
|
+
|
43
|
+
/* Tomorrow Green */
|
44
|
+
.hljs-string,
|
45
|
+
.hljs-value,
|
46
|
+
.hljs-inheritance,
|
47
|
+
.hljs-header,
|
48
|
+
.ruby .hljs-symbol,
|
49
|
+
.xml .hljs-cdata {
|
50
|
+
color: #b9ca4a;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Tomorrow Aqua */
|
54
|
+
.hljs-title,
|
55
|
+
.css .hljs-hexcolor {
|
56
|
+
color: #70c0b1;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Tomorrow Blue */
|
60
|
+
.hljs-function,
|
61
|
+
.python .hljs-decorator,
|
62
|
+
.python .hljs-title,
|
63
|
+
.ruby .hljs-function .hljs-title,
|
64
|
+
.ruby .hljs-title .hljs-keyword,
|
65
|
+
.perl .hljs-sub,
|
66
|
+
.javascript .hljs-title,
|
67
|
+
.coffeescript .hljs-title {
|
68
|
+
color: #7aa6da;
|
69
|
+
}
|
70
|
+
|
71
|
+
/* Tomorrow Purple */
|
72
|
+
.hljs-keyword,
|
73
|
+
.javascript .hljs-function {
|
74
|
+
color: #c397d8;
|
75
|
+
}
|
76
|
+
|
77
|
+
.hljs {
|
78
|
+
display: block;
|
79
|
+
overflow-x: auto;
|
80
|
+
background: black;
|
81
|
+
color: #eaeaea;
|
82
|
+
padding: 0.5em;
|
83
|
+
-webkit-text-size-adjust: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
.coffeescript .javascript,
|
87
|
+
.javascript .xml,
|
88
|
+
.tex .hljs-formula,
|
89
|
+
.xml .javascript,
|
90
|
+
.xml .vbscript,
|
91
|
+
.xml .css,
|
92
|
+
.xml .hljs-cdata {
|
93
|
+
opacity: 0.5;
|
94
|
+
}
|
@@ -0,0 +1,94 @@
|
|
1
|
+
/* Tomorrow Night Eighties Theme */
|
2
|
+
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
3
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
4
|
+
|
5
|
+
/* Tomorrow Comment */
|
6
|
+
.hljs-comment {
|
7
|
+
color: #999999;
|
8
|
+
}
|
9
|
+
|
10
|
+
/* Tomorrow Red */
|
11
|
+
.hljs-variable,
|
12
|
+
.hljs-attribute,
|
13
|
+
.hljs-tag,
|
14
|
+
.hljs-regexp,
|
15
|
+
.ruby .hljs-constant,
|
16
|
+
.xml .hljs-tag .hljs-title,
|
17
|
+
.xml .hljs-pi,
|
18
|
+
.xml .hljs-doctype,
|
19
|
+
.html .hljs-doctype,
|
20
|
+
.css .hljs-id,
|
21
|
+
.css .hljs-class,
|
22
|
+
.css .hljs-pseudo {
|
23
|
+
color: #f2777a;
|
24
|
+
}
|
25
|
+
|
26
|
+
/* Tomorrow Orange */
|
27
|
+
.hljs-number,
|
28
|
+
.hljs-preprocessor,
|
29
|
+
.hljs-pragma,
|
30
|
+
.hljs-built_in,
|
31
|
+
.hljs-literal,
|
32
|
+
.hljs-params,
|
33
|
+
.hljs-constant {
|
34
|
+
color: #f99157;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* Tomorrow Yellow */
|
38
|
+
.ruby .hljs-class .hljs-title,
|
39
|
+
.css .hljs-rules .hljs-attribute {
|
40
|
+
color: #ffcc66;
|
41
|
+
}
|
42
|
+
|
43
|
+
/* Tomorrow Green */
|
44
|
+
.hljs-string,
|
45
|
+
.hljs-value,
|
46
|
+
.hljs-inheritance,
|
47
|
+
.hljs-header,
|
48
|
+
.ruby .hljs-symbol,
|
49
|
+
.xml .hljs-cdata {
|
50
|
+
color: #99cc99;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Tomorrow Aqua */
|
54
|
+
.hljs-title,
|
55
|
+
.css .hljs-hexcolor {
|
56
|
+
color: #66cccc;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Tomorrow Blue */
|
60
|
+
.hljs-function,
|
61
|
+
.python .hljs-decorator,
|
62
|
+
.python .hljs-title,
|
63
|
+
.ruby .hljs-function .hljs-title,
|
64
|
+
.ruby .hljs-title .hljs-keyword,
|
65
|
+
.perl .hljs-sub,
|
66
|
+
.javascript .hljs-title,
|
67
|
+
.coffeescript .hljs-title {
|
68
|
+
color: #6699cc;
|
69
|
+
}
|
70
|
+
|
71
|
+
/* Tomorrow Purple */
|
72
|
+
.hljs-keyword,
|
73
|
+
.javascript .hljs-function {
|
74
|
+
color: #cc99cc;
|
75
|
+
}
|
76
|
+
|
77
|
+
.hljs {
|
78
|
+
display: block;
|
79
|
+
overflow-x: auto;
|
80
|
+
background: #2d2d2d;
|
81
|
+
color: #cccccc;
|
82
|
+
padding: 0.5em;
|
83
|
+
-webkit-text-size-adjust: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
.coffeescript .javascript,
|
87
|
+
.javascript .xml,
|
88
|
+
.tex .hljs-formula,
|
89
|
+
.xml .javascript,
|
90
|
+
.xml .vbscript,
|
91
|
+
.xml .css,
|
92
|
+
.xml .hljs-cdata {
|
93
|
+
opacity: 0.5;
|
94
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* Tomorrow Night 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
|
+
color: #969896;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Tomorrow Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-attribute,
|
14
|
+
.hljs-tag,
|
15
|
+
.hljs-regexp,
|
16
|
+
.ruby .hljs-constant,
|
17
|
+
.xml .hljs-tag .hljs-title,
|
18
|
+
.xml .hljs-pi,
|
19
|
+
.xml .hljs-doctype,
|
20
|
+
.html .hljs-doctype,
|
21
|
+
.css .hljs-id,
|
22
|
+
.css .hljs-class,
|
23
|
+
.css .hljs-pseudo {
|
24
|
+
color: #cc6666;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Tomorrow Orange */
|
28
|
+
.hljs-number,
|
29
|
+
.hljs-preprocessor,
|
30
|
+
.hljs-pragma,
|
31
|
+
.hljs-built_in,
|
32
|
+
.hljs-literal,
|
33
|
+
.hljs-params,
|
34
|
+
.hljs-constant {
|
35
|
+
color: #de935f;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Tomorrow Yellow */
|
39
|
+
.ruby .hljs-class .hljs-title,
|
40
|
+
.css .hljs-rules .hljs-attribute {
|
41
|
+
color: #f0c674;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Tomorrow Green */
|
45
|
+
.hljs-string,
|
46
|
+
.hljs-value,
|
47
|
+
.hljs-inheritance,
|
48
|
+
.hljs-header,
|
49
|
+
.ruby .hljs-symbol,
|
50
|
+
.xml .hljs-cdata {
|
51
|
+
color: #b5bd68;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Tomorrow Aqua */
|
55
|
+
.hljs-title,
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #8abeb7;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Tomorrow Blue */
|
61
|
+
.hljs-function,
|
62
|
+
.python .hljs-decorator,
|
63
|
+
.python .hljs-title,
|
64
|
+
.ruby .hljs-function .hljs-title,
|
65
|
+
.ruby .hljs-title .hljs-keyword,
|
66
|
+
.perl .hljs-sub,
|
67
|
+
.javascript .hljs-title,
|
68
|
+
.coffeescript .hljs-title {
|
69
|
+
color: #81a2be;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Tomorrow Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #b294bb;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #1d1f21;
|
82
|
+
color: #c5c8c6;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
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
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
2
|
+
|
3
|
+
/* Tomorrow Comment */
|
4
|
+
.hljs-comment {
|
5
|
+
color: #8e908c;
|
6
|
+
}
|
7
|
+
|
8
|
+
/* Tomorrow Red */
|
9
|
+
.hljs-variable,
|
10
|
+
.hljs-attribute,
|
11
|
+
.hljs-tag,
|
12
|
+
.hljs-regexp,
|
13
|
+
.ruby .hljs-constant,
|
14
|
+
.xml .hljs-tag .hljs-title,
|
15
|
+
.xml .hljs-pi,
|
16
|
+
.xml .hljs-doctype,
|
17
|
+
.html .hljs-doctype,
|
18
|
+
.css .hljs-id,
|
19
|
+
.css .hljs-class,
|
20
|
+
.css .hljs-pseudo {
|
21
|
+
color: #c82829;
|
22
|
+
}
|
23
|
+
|
24
|
+
/* Tomorrow Orange */
|
25
|
+
.hljs-number,
|
26
|
+
.hljs-preprocessor,
|
27
|
+
.hljs-pragma,
|
28
|
+
.hljs-built_in,
|
29
|
+
.hljs-literal,
|
30
|
+
.hljs-params,
|
31
|
+
.hljs-constant {
|
32
|
+
color: #f5871f;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* Tomorrow Yellow */
|
36
|
+
.ruby .hljs-class .hljs-title,
|
37
|
+
.css .hljs-rules .hljs-attribute {
|
38
|
+
color: #eab700;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* Tomorrow Green */
|
42
|
+
.hljs-string,
|
43
|
+
.hljs-value,
|
44
|
+
.hljs-inheritance,
|
45
|
+
.hljs-header,
|
46
|
+
.ruby .hljs-symbol,
|
47
|
+
.xml .hljs-cdata {
|
48
|
+
color: #718c00;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* Tomorrow Aqua */
|
52
|
+
.hljs-title,
|
53
|
+
.css .hljs-hexcolor {
|
54
|
+
color: #3e999f;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Tomorrow Blue */
|
58
|
+
.hljs-function,
|
59
|
+
.python .hljs-decorator,
|
60
|
+
.python .hljs-title,
|
61
|
+
.ruby .hljs-function .hljs-title,
|
62
|
+
.ruby .hljs-title .hljs-keyword,
|
63
|
+
.perl .hljs-sub,
|
64
|
+
.javascript .hljs-title,
|
65
|
+
.coffeescript .hljs-title {
|
66
|
+
color: #4271ae;
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Tomorrow Purple */
|
70
|
+
.hljs-keyword,
|
71
|
+
.javascript .hljs-function {
|
72
|
+
color: #8959a8;
|
73
|
+
}
|
74
|
+
|
75
|
+
.hljs {
|
76
|
+
display: block;
|
77
|
+
overflow-x: auto;
|
78
|
+
background: white;
|
79
|
+
color: #4d4d4c;
|
80
|
+
padding: 0.5em;
|
81
|
+
-webkit-text-size-adjust: none;
|
82
|
+
}
|
83
|
+
|
84
|
+
.coffeescript .javascript,
|
85
|
+
.javascript .xml,
|
86
|
+
.tex .hljs-formula,
|
87
|
+
.xml .javascript,
|
88
|
+
.xml .vbscript,
|
89
|
+
.xml .css,
|
90
|
+
.xml .hljs-cdata {
|
91
|
+
opacity: 0.5;
|
92
|
+
}
|