stylin 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/Rakefile +21 -0
- data/app/assets/javascripts/stylin/application.js +4 -0
- data/app/assets/javascripts/stylin/highlight.pack.js +1 -0
- data/app/assets/javascripts/stylin/kss.js +54 -0
- data/app/assets/javascripts/stylin/styleguides.js +2 -0
- data/app/assets/stylesheets/stylin/_header.scss +12 -0
- data/app/assets/stylesheets/stylin/_navigation.css.scss +12 -0
- data/app/assets/stylesheets/stylin/application.css.scss +5 -0
- data/app/assets/stylesheets/stylin/highlight/arta.css +160 -0
- data/app/assets/stylesheets/stylin/highlight/ascetic.css +50 -0
- data/app/assets/stylesheets/stylin/highlight/brown_paper.css +105 -0
- data/app/assets/stylesheets/stylin/highlight/dark.css +105 -0
- data/app/assets/stylesheets/stylin/highlight/default.css +153 -0
- data/app/assets/stylesheets/stylin/highlight/docco.css +132 -0
- data/app/assets/stylesheets/stylin/highlight/far.css +113 -0
- data/app/assets/stylesheets/stylin/highlight/foundation.css +133 -0
- data/app/assets/stylesheets/stylin/highlight/github.css +125 -0
- data/app/assets/stylesheets/stylin/highlight/googlecode.css +147 -0
- data/app/assets/stylesheets/stylin/highlight/idea.css +122 -0
- data/app/assets/stylesheets/stylin/highlight/ir_black.css +105 -0
- data/app/assets/stylesheets/stylin/highlight/magula.css +123 -0
- data/app/assets/stylesheets/stylin/highlight/mono-blue.css +62 -0
- data/app/assets/stylesheets/stylin/highlight/monokai.css +127 -0
- data/app/assets/stylesheets/stylin/highlight/monokai_sublime.css +149 -0
- data/app/assets/stylesheets/stylin/highlight/obsidian.css +154 -0
- data/app/assets/stylesheets/stylin/highlight/pojoaque.css +106 -0
- data/app/assets/stylesheets/stylin/highlight/railscasts.css +182 -0
- data/app/assets/stylesheets/stylin/highlight/rainbow.css +112 -0
- data/app/assets/stylesheets/stylin/highlight/school_book.css +113 -0
- data/app/assets/stylesheets/stylin/highlight/solarized_dark.css +107 -0
- data/app/assets/stylesheets/stylin/highlight/solarized_light.css +107 -0
- data/app/assets/stylesheets/stylin/highlight/sunburst.css +160 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night-blue.css +93 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night-bright.css +92 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night-eighties.css +92 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night.css +93 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow.css +90 -0
- data/app/assets/stylesheets/stylin/highlight/vs.css +89 -0
- data/app/assets/stylesheets/stylin/highlight/xcode.css +158 -0
- data/app/assets/stylesheets/stylin/highlight/zenburn.css +117 -0
- data/app/assets/stylesheets/stylin/styleguides.css.scss +106 -0
- data/app/controllers/stylin/application_controller.rb +11 -0
- data/app/controllers/stylin/styleguides_controller.rb +13 -0
- data/app/helpers/stylin/application_helper.rb +4 -0
- data/app/helpers/stylin/navigation_helper.rb +50 -0
- data/app/helpers/stylin/styleguides_helper.rb +29 -0
- data/app/models/styleguide.rb +69 -0
- data/app/views/layouts/stylin/_navigation.html.erb +3 -0
- data/app/views/layouts/stylin/application.html.erb +26 -0
- data/app/views/stylin/styleguides/_section.html.erb +31 -0
- data/app/views/stylin/styleguides/index.html.erb +5 -0
- data/app/views/stylin/styleguides/show.html.erb +3 -0
- data/config/routes.rb +5 -0
- data/lib/generators/stylin/install_generator.rb +12 -0
- data/lib/generators/stylin/views_generator.rb +10 -0
- data/lib/generators/templates/stylin.yml +7 -0
- data/lib/generators/templates/views/layouts/stylin/_navigation.html.erb +3 -0
- data/lib/generators/templates/views/layouts/stylin/application.html.erb +23 -0
- data/lib/generators/templates/views/stylin/styleguides/_section.html.erb +30 -0
- data/lib/generators/templates/views/stylin/styleguides/index.html.erb +5 -0
- data/lib/generators/templates/views/stylin/styleguides/show.html.erb +3 -0
- data/lib/stylin.rb +8 -0
- data/lib/stylin/engine.rb +37 -0
- data/lib/stylin/version.rb +3 -0
- data/lib/tasks/stylin_tasks.rake +12 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css.scss +1 -0
- data/spec/dummy/app/assets/stylesheets/buttons.css +51 -0
- data/spec/dummy/app/assets/stylesheets/forms.css +51 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/styleguides/buttons.html +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/stylin.yml +3 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/production.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +16 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +4143 -0
- data/spec/dummy/log/production.log +4 -0
- data/spec/dummy/log/test.log +380 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/models/styleguide_spec.rb +55 -0
- data/spec/spec_helper.rb +22 -0
- metadata +327 -0
|
@@ -0,0 +1,93 @@
|
|
|
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-title {
|
|
9
|
+
color: #7285b7;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Tomorrow Red */
|
|
13
|
+
.hljs-variable,
|
|
14
|
+
.hljs-attribute,
|
|
15
|
+
.hljs-tag,
|
|
16
|
+
.hljs-regexp,
|
|
17
|
+
.ruby .hljs-constant,
|
|
18
|
+
.xml .hljs-tag .hljs-title,
|
|
19
|
+
.xml .hljs-pi,
|
|
20
|
+
.xml .hljs-doctype,
|
|
21
|
+
.html .hljs-doctype,
|
|
22
|
+
.css .hljs-id,
|
|
23
|
+
.css .hljs-class,
|
|
24
|
+
.css .hljs-pseudo {
|
|
25
|
+
color: #ff9da4;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Tomorrow Orange */
|
|
29
|
+
.hljs-number,
|
|
30
|
+
.hljs-preprocessor,
|
|
31
|
+
.hljs-pragma,
|
|
32
|
+
.hljs-built_in,
|
|
33
|
+
.hljs-literal,
|
|
34
|
+
.hljs-params,
|
|
35
|
+
.hljs-constant {
|
|
36
|
+
color: #ffc58f;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Tomorrow Yellow */
|
|
40
|
+
.ruby .hljs-class .hljs-title,
|
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
|
42
|
+
color: #ffeead;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Tomorrow Green */
|
|
46
|
+
.hljs-string,
|
|
47
|
+
.hljs-value,
|
|
48
|
+
.hljs-inheritance,
|
|
49
|
+
.hljs-header,
|
|
50
|
+
.ruby .hljs-symbol,
|
|
51
|
+
.xml .hljs-cdata {
|
|
52
|
+
color: #d1f1a9;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Tomorrow Aqua */
|
|
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
|
+
background: #002451;
|
|
81
|
+
color: white;
|
|
82
|
+
padding: 0.5em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.coffeescript .javascript,
|
|
86
|
+
.javascript .xml,
|
|
87
|
+
.tex .hljs-formula,
|
|
88
|
+
.xml .javascript,
|
|
89
|
+
.xml .vbscript,
|
|
90
|
+
.xml .css,
|
|
91
|
+
.xml .hljs-cdata {
|
|
92
|
+
opacity: 0.5;
|
|
93
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
.hljs-title {
|
|
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: #d54e53;
|
|
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: #e78c45;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Tomorrow Yellow */
|
|
39
|
+
.ruby .hljs-class .hljs-title,
|
|
40
|
+
.css .hljs-rules .hljs-attribute {
|
|
41
|
+
color: #e7c547;
|
|
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: #b9ca4a;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Tomorrow Aqua */
|
|
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
|
+
background: black;
|
|
80
|
+
color: #eaeaea;
|
|
81
|
+
padding: 0.5em;
|
|
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
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
.hljs-title {
|
|
8
|
+
color: #999999;
|
|
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: #f2777a;
|
|
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: #f99157;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Tomorrow Yellow */
|
|
39
|
+
.ruby .hljs-class .hljs-title,
|
|
40
|
+
.css .hljs-rules .hljs-attribute {
|
|
41
|
+
color: #ffcc66;
|
|
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: #99cc99;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Tomorrow Aqua */
|
|
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
|
+
background: #2d2d2d;
|
|
80
|
+
color: #cccccc;
|
|
81
|
+
padding: 0.5em;
|
|
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
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
.hljs-title {
|
|
9
|
+
color: #969896;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Tomorrow Red */
|
|
13
|
+
.hljs-variable,
|
|
14
|
+
.hljs-attribute,
|
|
15
|
+
.hljs-tag,
|
|
16
|
+
.hljs-regexp,
|
|
17
|
+
.ruby .hljs-constant,
|
|
18
|
+
.xml .hljs-tag .hljs-title,
|
|
19
|
+
.xml .hljs-pi,
|
|
20
|
+
.xml .hljs-doctype,
|
|
21
|
+
.html .hljs-doctype,
|
|
22
|
+
.css .hljs-id,
|
|
23
|
+
.css .hljs-class,
|
|
24
|
+
.css .hljs-pseudo {
|
|
25
|
+
color: #cc6666;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Tomorrow Orange */
|
|
29
|
+
.hljs-number,
|
|
30
|
+
.hljs-preprocessor,
|
|
31
|
+
.hljs-pragma,
|
|
32
|
+
.hljs-built_in,
|
|
33
|
+
.hljs-literal,
|
|
34
|
+
.hljs-params,
|
|
35
|
+
.hljs-constant {
|
|
36
|
+
color: #de935f;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Tomorrow Yellow */
|
|
40
|
+
.ruby .hljs-class .hljs-title,
|
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
|
42
|
+
color: #f0c674;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Tomorrow Green */
|
|
46
|
+
.hljs-string,
|
|
47
|
+
.hljs-value,
|
|
48
|
+
.hljs-inheritance,
|
|
49
|
+
.hljs-header,
|
|
50
|
+
.ruby .hljs-symbol,
|
|
51
|
+
.xml .hljs-cdata {
|
|
52
|
+
color: #b5bd68;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Tomorrow Aqua */
|
|
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
|
+
background: #1d1f21;
|
|
81
|
+
color: #c5c8c6;
|
|
82
|
+
padding: 0.5em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.coffeescript .javascript,
|
|
86
|
+
.javascript .xml,
|
|
87
|
+
.tex .hljs-formula,
|
|
88
|
+
.xml .javascript,
|
|
89
|
+
.xml .vbscript,
|
|
90
|
+
.xml .css,
|
|
91
|
+
.xml .hljs-cdata {
|
|
92
|
+
opacity: 0.5;
|
|
93
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
2
|
+
|
|
3
|
+
/* Tomorrow Comment */
|
|
4
|
+
.hljs-comment,
|
|
5
|
+
.hljs-title {
|
|
6
|
+
color: #8e908c;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* Tomorrow Red */
|
|
10
|
+
.hljs-variable,
|
|
11
|
+
.hljs-attribute,
|
|
12
|
+
.hljs-tag,
|
|
13
|
+
.hljs-regexp,
|
|
14
|
+
.ruby .hljs-constant,
|
|
15
|
+
.xml .hljs-tag .hljs-title,
|
|
16
|
+
.xml .hljs-pi,
|
|
17
|
+
.xml .hljs-doctype,
|
|
18
|
+
.html .hljs-doctype,
|
|
19
|
+
.css .hljs-id,
|
|
20
|
+
.css .hljs-class,
|
|
21
|
+
.css .hljs-pseudo {
|
|
22
|
+
color: #c82829;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Tomorrow Orange */
|
|
26
|
+
.hljs-number,
|
|
27
|
+
.hljs-preprocessor,
|
|
28
|
+
.hljs-pragma,
|
|
29
|
+
.hljs-built_in,
|
|
30
|
+
.hljs-literal,
|
|
31
|
+
.hljs-params,
|
|
32
|
+
.hljs-constant {
|
|
33
|
+
color: #f5871f;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Tomorrow Yellow */
|
|
37
|
+
.ruby .hljs-class .hljs-title,
|
|
38
|
+
.css .hljs-rules .hljs-attribute {
|
|
39
|
+
color: #eab700;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Tomorrow Green */
|
|
43
|
+
.hljs-string,
|
|
44
|
+
.hljs-value,
|
|
45
|
+
.hljs-inheritance,
|
|
46
|
+
.hljs-header,
|
|
47
|
+
.ruby .hljs-symbol,
|
|
48
|
+
.xml .hljs-cdata {
|
|
49
|
+
color: #718c00;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Tomorrow Aqua */
|
|
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
|
+
background: white;
|
|
78
|
+
color: #4d4d4c;
|
|
79
|
+
padding: 0.5em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.coffeescript .javascript,
|
|
83
|
+
.javascript .xml,
|
|
84
|
+
.tex .hljs-formula,
|
|
85
|
+
.xml .javascript,
|
|
86
|
+
.xml .vbscript,
|
|
87
|
+
.xml .css,
|
|
88
|
+
.xml .hljs-cdata {
|
|
89
|
+
opacity: 0.5;
|
|
90
|
+
}
|