fortitude 0.9.1 → 0.9.2
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 +92 -4
@@ -0,0 +1,124 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
color: #333;
|
12
|
+
background: #f8f8f8;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-comment,
|
17
|
+
.diff .hljs-header,
|
18
|
+
.hljs-javadoc {
|
19
|
+
color: #998;
|
20
|
+
font-style: italic;
|
21
|
+
}
|
22
|
+
|
23
|
+
.hljs-keyword,
|
24
|
+
.css .rule .hljs-keyword,
|
25
|
+
.hljs-winutils,
|
26
|
+
.nginx .hljs-title,
|
27
|
+
.hljs-subst,
|
28
|
+
.hljs-request,
|
29
|
+
.hljs-status {
|
30
|
+
color: #333;
|
31
|
+
font-weight: bold;
|
32
|
+
}
|
33
|
+
|
34
|
+
.hljs-number,
|
35
|
+
.hljs-hexcolor,
|
36
|
+
.ruby .hljs-constant {
|
37
|
+
color: #008080;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-string,
|
41
|
+
.hljs-tag .hljs-value,
|
42
|
+
.hljs-phpdoc,
|
43
|
+
.hljs-dartdoc,
|
44
|
+
.tex .hljs-formula {
|
45
|
+
color: #d14;
|
46
|
+
}
|
47
|
+
|
48
|
+
.hljs-title,
|
49
|
+
.hljs-id,
|
50
|
+
.scss .hljs-preprocessor {
|
51
|
+
color: #900;
|
52
|
+
font-weight: bold;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-list .hljs-keyword,
|
56
|
+
.hljs-subst {
|
57
|
+
font-weight: normal;
|
58
|
+
}
|
59
|
+
|
60
|
+
.hljs-class .hljs-title,
|
61
|
+
.hljs-type,
|
62
|
+
.vhdl .hljs-literal,
|
63
|
+
.tex .hljs-command {
|
64
|
+
color: #458;
|
65
|
+
font-weight: bold;
|
66
|
+
}
|
67
|
+
|
68
|
+
.hljs-tag,
|
69
|
+
.hljs-tag .hljs-title,
|
70
|
+
.hljs-rules .hljs-property,
|
71
|
+
.django .hljs-tag .hljs-keyword {
|
72
|
+
color: #000080;
|
73
|
+
font-weight: normal;
|
74
|
+
}
|
75
|
+
|
76
|
+
.hljs-attribute,
|
77
|
+
.hljs-variable,
|
78
|
+
.lisp .hljs-body {
|
79
|
+
color: #008080;
|
80
|
+
}
|
81
|
+
|
82
|
+
.hljs-regexp {
|
83
|
+
color: #009926;
|
84
|
+
}
|
85
|
+
|
86
|
+
.hljs-symbol,
|
87
|
+
.ruby .hljs-symbol .hljs-string,
|
88
|
+
.lisp .hljs-keyword,
|
89
|
+
.clojure .hljs-keyword,
|
90
|
+
.scheme .hljs-keyword,
|
91
|
+
.tex .hljs-special,
|
92
|
+
.hljs-prompt {
|
93
|
+
color: #990073;
|
94
|
+
}
|
95
|
+
|
96
|
+
.hljs-built_in {
|
97
|
+
color: #0086b3;
|
98
|
+
}
|
99
|
+
|
100
|
+
.hljs-preprocessor,
|
101
|
+
.hljs-pragma,
|
102
|
+
.hljs-pi,
|
103
|
+
.hljs-doctype,
|
104
|
+
.hljs-shebang,
|
105
|
+
.hljs-cdata {
|
106
|
+
color: #999;
|
107
|
+
font-weight: bold;
|
108
|
+
}
|
109
|
+
|
110
|
+
.hljs-deletion {
|
111
|
+
background: #fdd;
|
112
|
+
}
|
113
|
+
|
114
|
+
.hljs-addition {
|
115
|
+
background: #dfd;
|
116
|
+
}
|
117
|
+
|
118
|
+
.diff .hljs-change {
|
119
|
+
background: #0086b3;
|
120
|
+
}
|
121
|
+
|
122
|
+
.hljs-chunk {
|
123
|
+
color: #aaa;
|
124
|
+
}
|
@@ -0,0 +1,147 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Google Code style (c) Aahan Krish <geekpanth3r@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: white;
|
12
|
+
color: black;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-comment,
|
17
|
+
.hljs-javadoc {
|
18
|
+
color: #800;
|
19
|
+
}
|
20
|
+
|
21
|
+
.hljs-keyword,
|
22
|
+
.method,
|
23
|
+
.hljs-list .hljs-keyword,
|
24
|
+
.nginx .hljs-title,
|
25
|
+
.hljs-tag .hljs-title,
|
26
|
+
.setting .hljs-value,
|
27
|
+
.hljs-winutils,
|
28
|
+
.tex .hljs-command,
|
29
|
+
.http .hljs-title,
|
30
|
+
.hljs-request,
|
31
|
+
.hljs-status {
|
32
|
+
color: #008;
|
33
|
+
}
|
34
|
+
|
35
|
+
.hljs-envvar,
|
36
|
+
.tex .hljs-special {
|
37
|
+
color: #660;
|
38
|
+
}
|
39
|
+
|
40
|
+
.hljs-string,
|
41
|
+
.hljs-tag .hljs-value,
|
42
|
+
.hljs-cdata,
|
43
|
+
.hljs-filter .hljs-argument,
|
44
|
+
.hljs-attr_selector,
|
45
|
+
.apache .hljs-cbracket,
|
46
|
+
.hljs-date,
|
47
|
+
.hljs-regexp,
|
48
|
+
.coffeescript .hljs-attribute {
|
49
|
+
color: #080;
|
50
|
+
}
|
51
|
+
|
52
|
+
.hljs-sub .hljs-identifier,
|
53
|
+
.hljs-pi,
|
54
|
+
.hljs-tag,
|
55
|
+
.hljs-tag .hljs-keyword,
|
56
|
+
.hljs-decorator,
|
57
|
+
.ini .hljs-title,
|
58
|
+
.hljs-shebang,
|
59
|
+
.hljs-prompt,
|
60
|
+
.hljs-hexcolor,
|
61
|
+
.hljs-rules .hljs-value,
|
62
|
+
.hljs-literal,
|
63
|
+
.hljs-symbol,
|
64
|
+
.ruby .hljs-symbol .hljs-string,
|
65
|
+
.hljs-number,
|
66
|
+
.css .hljs-function,
|
67
|
+
.clojure .hljs-attribute {
|
68
|
+
color: #066;
|
69
|
+
}
|
70
|
+
|
71
|
+
.hljs-class .hljs-title,
|
72
|
+
.smalltalk .hljs-class,
|
73
|
+
.hljs-javadoctag,
|
74
|
+
.hljs-yardoctag,
|
75
|
+
.hljs-phpdoc,
|
76
|
+
.hljs-dartdoc,
|
77
|
+
.hljs-type,
|
78
|
+
.hljs-typename,
|
79
|
+
.hljs-tag .hljs-attribute,
|
80
|
+
.hljs-doctype,
|
81
|
+
.hljs-class .hljs-id,
|
82
|
+
.hljs-built_in,
|
83
|
+
.setting,
|
84
|
+
.hljs-params,
|
85
|
+
.hljs-variable {
|
86
|
+
color: #606;
|
87
|
+
}
|
88
|
+
|
89
|
+
.css .hljs-tag,
|
90
|
+
.hljs-rules .hljs-property,
|
91
|
+
.hljs-pseudo,
|
92
|
+
.hljs-subst {
|
93
|
+
color: #000;
|
94
|
+
}
|
95
|
+
|
96
|
+
.css .hljs-class,
|
97
|
+
.css .hljs-id {
|
98
|
+
color: #9b703f;
|
99
|
+
}
|
100
|
+
|
101
|
+
.hljs-value .hljs-important {
|
102
|
+
color: #ff7700;
|
103
|
+
font-weight: bold;
|
104
|
+
}
|
105
|
+
|
106
|
+
.hljs-rules .hljs-keyword {
|
107
|
+
color: #c5af75;
|
108
|
+
}
|
109
|
+
|
110
|
+
.hljs-annotation,
|
111
|
+
.apache .hljs-sqbracket,
|
112
|
+
.nginx .hljs-built_in {
|
113
|
+
color: #9b859d;
|
114
|
+
}
|
115
|
+
|
116
|
+
.hljs-preprocessor,
|
117
|
+
.hljs-preprocessor *,
|
118
|
+
.hljs-pragma {
|
119
|
+
color: #444;
|
120
|
+
}
|
121
|
+
|
122
|
+
.tex .hljs-formula {
|
123
|
+
background-color: #eee;
|
124
|
+
font-style: italic;
|
125
|
+
}
|
126
|
+
|
127
|
+
.diff .hljs-header,
|
128
|
+
.hljs-chunk {
|
129
|
+
color: #808080;
|
130
|
+
font-weight: bold;
|
131
|
+
}
|
132
|
+
|
133
|
+
.diff .hljs-change {
|
134
|
+
background-color: #bccff9;
|
135
|
+
}
|
136
|
+
|
137
|
+
.hljs-addition {
|
138
|
+
background-color: #baeeba;
|
139
|
+
}
|
140
|
+
|
141
|
+
.hljs-deletion {
|
142
|
+
background-color: #ffc8bd;
|
143
|
+
}
|
144
|
+
|
145
|
+
.hljs-comment .hljs-yardoctag {
|
146
|
+
font-weight: bold;
|
147
|
+
}
|
@@ -0,0 +1,170 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid)
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
/*background color*/
|
8
|
+
.hljs {
|
9
|
+
display: block;
|
10
|
+
overflow-x: auto;
|
11
|
+
padding: 0.5em;
|
12
|
+
background: #1d1f21;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
/*selection color*/
|
17
|
+
.hljs::selection,
|
18
|
+
.hljs span::selection {
|
19
|
+
background: #373b41;
|
20
|
+
}
|
21
|
+
.hljs::-moz-selection,
|
22
|
+
.hljs span::-moz-selection {
|
23
|
+
background: #373b41;
|
24
|
+
}
|
25
|
+
|
26
|
+
/*foreground color*/
|
27
|
+
.hljs,
|
28
|
+
.hljs-setting .hljs-value,
|
29
|
+
.hljs-expression .hljs-variable,
|
30
|
+
.hljs-expression .hljs-begin-block,
|
31
|
+
.hljs-expression .hljs-end-block,
|
32
|
+
.hljs-class .hljs-params,
|
33
|
+
.hljs-function .hljs-params,
|
34
|
+
.hljs-at_rule .hljs-preprocessor {
|
35
|
+
color: #c5c8c6;
|
36
|
+
}
|
37
|
+
|
38
|
+
/*color: fg_yellow*/
|
39
|
+
.hljs-title,
|
40
|
+
.hljs-function .hljs-title,
|
41
|
+
.hljs-keyword .hljs-common,
|
42
|
+
.hljs-class .hljs-title,
|
43
|
+
.hljs-decorator,
|
44
|
+
.hljs-tag .hljs-title,
|
45
|
+
.hljs-header,
|
46
|
+
.hljs-sub,
|
47
|
+
.hljs-function {
|
48
|
+
color: #f0c674;
|
49
|
+
}
|
50
|
+
|
51
|
+
/*color: fg_comment*/
|
52
|
+
.hljs-comment,
|
53
|
+
.hljs-javadoc,
|
54
|
+
.hljs-output .hljs-value,
|
55
|
+
.hljs-pi,
|
56
|
+
.hljs-shebang,
|
57
|
+
.hljs-doctype {
|
58
|
+
color: #707880;
|
59
|
+
}
|
60
|
+
|
61
|
+
/*color: fg_red*/
|
62
|
+
.hljs-number,
|
63
|
+
.hljs-symbol,
|
64
|
+
.hljs-literal,
|
65
|
+
.hljs-deletion,
|
66
|
+
.hljs-link_url,
|
67
|
+
.hljs-symbol .hljs-string,
|
68
|
+
.hljs-argument,
|
69
|
+
.hljs-hexcolor,
|
70
|
+
.hljs-input .hljs-prompt,
|
71
|
+
.hljs-char {
|
72
|
+
color: #cc6666
|
73
|
+
}
|
74
|
+
|
75
|
+
/*color: fg_green*/
|
76
|
+
.hljs-string,
|
77
|
+
.hljs-special,
|
78
|
+
.hljs-javadoctag,
|
79
|
+
.hljs-addition,
|
80
|
+
.hljs-important,
|
81
|
+
.hljs-tag .hljs-value,
|
82
|
+
.hljs-at.rule .hljs-keyword,
|
83
|
+
.hljs-regexp,
|
84
|
+
.hljs-attr_selector {
|
85
|
+
color: #b5bd68;
|
86
|
+
}
|
87
|
+
|
88
|
+
/*color: fg_purple*/
|
89
|
+
.hljs-variable,
|
90
|
+
.hljs-property,
|
91
|
+
.hljs-envar,
|
92
|
+
.hljs-code,
|
93
|
+
.hljs-expression,
|
94
|
+
.hljs-localvars,
|
95
|
+
.hljs-id,
|
96
|
+
.hljs-variable .hljs-filter,
|
97
|
+
.hljs-variable .hljs-filter .hljs-keyword,
|
98
|
+
.hljs-template_tag .hljs-filter .hljs-keyword {
|
99
|
+
color: #b294bb;
|
100
|
+
}
|
101
|
+
|
102
|
+
/*color: fg_blue*/
|
103
|
+
.hljs-statement,
|
104
|
+
.hljs-label,
|
105
|
+
.hljs-keyword,
|
106
|
+
.hljs-xmlDocTag,
|
107
|
+
.hljs-function .hljs-keyword,
|
108
|
+
.hljs-chunk,
|
109
|
+
.hljs-cdata,
|
110
|
+
.hljs-link_label,
|
111
|
+
.hljs-bullet,
|
112
|
+
.hljs-class .hljs-keyword,
|
113
|
+
.hljs-smartquote,
|
114
|
+
.hljs-method,
|
115
|
+
.hljs-list .hljs-title,
|
116
|
+
.hljs-tag {
|
117
|
+
color: #81a2be;
|
118
|
+
}
|
119
|
+
|
120
|
+
/*color: fg_aqua*/
|
121
|
+
.hljs-pseudo,
|
122
|
+
.hljs-exception,
|
123
|
+
.hljs-annotation,
|
124
|
+
.hljs-subst,
|
125
|
+
.hljs-change,
|
126
|
+
.hljs-cbracket,
|
127
|
+
.hljs-operator,
|
128
|
+
.hljs-horizontal_rule,
|
129
|
+
.hljs-preprocessor .hljs-keyword,
|
130
|
+
.hljs-typedef,
|
131
|
+
.hljs-template_tag,
|
132
|
+
.hljs-variable,
|
133
|
+
.hljs-variable .hljs-filter .hljs-argument,
|
134
|
+
.hljs-at_rule,
|
135
|
+
.hljs-at_rule .hljs-string,
|
136
|
+
.hljs-at_rule .hljs-keyword {
|
137
|
+
color: #8abeb7;
|
138
|
+
}
|
139
|
+
|
140
|
+
|
141
|
+
/*color: fg_orange*/
|
142
|
+
.hljs-type,
|
143
|
+
.hljs-typename,
|
144
|
+
.hljs-inheritance .hljs-parent,
|
145
|
+
.hljs-constant,
|
146
|
+
.hljs-built_in,
|
147
|
+
.hljs-setting,
|
148
|
+
.hljs-structure,
|
149
|
+
.hljs-link_reference,
|
150
|
+
.hljs-attribute,
|
151
|
+
.hljs-blockquote,
|
152
|
+
.hljs-quoted,
|
153
|
+
.hljs-class,
|
154
|
+
.hljs-header {
|
155
|
+
color: #de935f;
|
156
|
+
}
|
157
|
+
|
158
|
+
.hljs-emphasis
|
159
|
+
{
|
160
|
+
font-style: italic;
|
161
|
+
}
|
162
|
+
|
163
|
+
.hljs-strong
|
164
|
+
{
|
165
|
+
font-weight: bold;
|
166
|
+
}
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
@@ -0,0 +1,125 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
color: #000;
|
12
|
+
background: #fff;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-subst,
|
17
|
+
.hljs-title,
|
18
|
+
.json .hljs-value {
|
19
|
+
font-weight: normal;
|
20
|
+
color: #000;
|
21
|
+
}
|
22
|
+
|
23
|
+
.hljs-comment,
|
24
|
+
.hljs-javadoc,
|
25
|
+
.diff .hljs-header {
|
26
|
+
color: #808080;
|
27
|
+
font-style: italic;
|
28
|
+
}
|
29
|
+
|
30
|
+
.hljs-annotation,
|
31
|
+
.hljs-decorator,
|
32
|
+
.hljs-preprocessor,
|
33
|
+
.hljs-pragma,
|
34
|
+
.hljs-doctype,
|
35
|
+
.hljs-pi,
|
36
|
+
.hljs-chunk,
|
37
|
+
.hljs-shebang,
|
38
|
+
.apache .hljs-cbracket,
|
39
|
+
.hljs-prompt,
|
40
|
+
.http .hljs-title {
|
41
|
+
color: #808000;
|
42
|
+
}
|
43
|
+
|
44
|
+
.hljs-tag,
|
45
|
+
.hljs-pi {
|
46
|
+
background: #efefef;
|
47
|
+
}
|
48
|
+
|
49
|
+
.hljs-tag .hljs-title,
|
50
|
+
.hljs-id,
|
51
|
+
.hljs-attr_selector,
|
52
|
+
.hljs-pseudo,
|
53
|
+
.hljs-literal,
|
54
|
+
.hljs-keyword,
|
55
|
+
.hljs-hexcolor,
|
56
|
+
.css .hljs-function,
|
57
|
+
.ini .hljs-title,
|
58
|
+
.css .hljs-class,
|
59
|
+
.hljs-list .hljs-keyword,
|
60
|
+
.nginx .hljs-title,
|
61
|
+
.tex .hljs-command,
|
62
|
+
.hljs-request,
|
63
|
+
.hljs-status {
|
64
|
+
font-weight: bold;
|
65
|
+
color: #000080;
|
66
|
+
}
|
67
|
+
|
68
|
+
.hljs-attribute,
|
69
|
+
.hljs-rules .hljs-keyword,
|
70
|
+
.hljs-number,
|
71
|
+
.hljs-date,
|
72
|
+
.hljs-regexp,
|
73
|
+
.tex .hljs-special {
|
74
|
+
font-weight: bold;
|
75
|
+
color: #0000ff;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-number,
|
79
|
+
.hljs-regexp {
|
80
|
+
font-weight: normal;
|
81
|
+
}
|
82
|
+
|
83
|
+
.hljs-string,
|
84
|
+
.hljs-value,
|
85
|
+
.hljs-filter .hljs-argument,
|
86
|
+
.css .hljs-function .hljs-params,
|
87
|
+
.apache .hljs-tag {
|
88
|
+
color: #008000;
|
89
|
+
font-weight: bold;
|
90
|
+
}
|
91
|
+
|
92
|
+
.hljs-symbol,
|
93
|
+
.ruby .hljs-symbol .hljs-string,
|
94
|
+
.hljs-char,
|
95
|
+
.tex .hljs-formula {
|
96
|
+
color: #000;
|
97
|
+
background: #d0eded;
|
98
|
+
font-style: italic;
|
99
|
+
}
|
100
|
+
|
101
|
+
.hljs-phpdoc,
|
102
|
+
.hljs-dartdoc,
|
103
|
+
.hljs-yardoctag,
|
104
|
+
.hljs-javadoctag {
|
105
|
+
text-decoration: underline;
|
106
|
+
}
|
107
|
+
|
108
|
+
.hljs-variable,
|
109
|
+
.hljs-envvar,
|
110
|
+
.apache .hljs-sqbracket,
|
111
|
+
.nginx .hljs-built_in {
|
112
|
+
color: #660e7a;
|
113
|
+
}
|
114
|
+
|
115
|
+
.hljs-addition {
|
116
|
+
background: #baeeba;
|
117
|
+
}
|
118
|
+
|
119
|
+
.hljs-deletion {
|
120
|
+
background: #ffc8bd;
|
121
|
+
}
|
122
|
+
|
123
|
+
.diff .hljs-change {
|
124
|
+
background: #bccff9;
|
125
|
+
}
|