trickster 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +16 -0
- data/.rvmrc +1 -0
- data/Gemfile +2 -0
- data/README.rdoc +57 -13
- data/Rakefile +120 -0
- data/TODO +4 -0
- data/bin/trickster +66 -24
- data/css/themes-orig/arta.css +155 -0
- data/css/themes-orig/ascetic.css +50 -0
- data/css/themes-orig/brown_paper.css +102 -0
- data/css/themes-orig/brown_papersq.png +0 -0
- data/css/themes-orig/dark.css +101 -0
- data/css/themes-orig/default.css +132 -0
- data/css/themes-orig/far.css +111 -0
- data/css/themes-orig/github.css +131 -0
- data/css/themes-orig/googlecode.css +144 -0
- data/css/themes-orig/idea.css +121 -0
- data/css/themes-orig/ir_black.css +98 -0
- data/css/themes-orig/magula.css +119 -0
- data/css/themes-orig/monokai.css +112 -0
- data/css/themes-orig/pojoaque.css +104 -0
- data/css/themes-orig/pojoaque.jpg +0 -0
- data/css/themes-orig/rainbow.css +114 -0
- data/css/themes-orig/school_book.css +109 -0
- data/css/themes-orig/school_book.png +0 -0
- data/css/themes-orig/solarized_dark.css +88 -0
- data/css/themes-orig/solarized_light.css +88 -0
- data/css/themes-orig/sunburst.css +148 -0
- data/css/themes-orig/tomorrow-night-blue.css +42 -0
- data/css/themes-orig/tomorrow-night-bright.css +41 -0
- data/css/themes-orig/tomorrow-night-eighties.css +41 -0
- data/css/themes-orig/tomorrow-night.css +42 -0
- data/css/themes-orig/tomorrow.css +39 -0
- data/css/themes-orig/vs.css +85 -0
- data/css/themes-orig/xcode.css +154 -0
- data/css/themes-orig/zenburn.css +113 -0
- data/css/themes/arta.css +186 -0
- data/css/themes/ascetic.css +81 -0
- data/css/themes/brown_paper.css +133 -0
- data/css/themes/custom.scss +322 -0
- data/css/themes/dark.css +132 -0
- data/css/themes/default.css +163 -0
- data/css/themes/far.css +142 -0
- data/css/themes/github.css +162 -0
- data/css/themes/googlecode.css +175 -0
- data/css/themes/idea.css +152 -0
- data/css/themes/ir_black.css +129 -0
- data/css/themes/magula.css +150 -0
- data/css/themes/monokai.css +143 -0
- data/css/themes/pojoaque.css +135 -0
- data/css/themes/rainbow.css +145 -0
- data/css/themes/school_book.css +140 -0
- data/css/themes/solarized_dark.css +119 -0
- data/css/themes/solarized_light.css +119 -0
- data/css/themes/sunburst.css +179 -0
- data/css/themes/tomorrow-night-blue.css +73 -0
- data/css/themes/tomorrow-night-bright.css +72 -0
- data/css/themes/tomorrow-night-eighties.css +72 -0
- data/css/themes/tomorrow-night.css +73 -0
- data/css/themes/tomorrow.css +70 -0
- data/css/themes/vs.css +116 -0
- data/css/themes/xcode.css +185 -0
- data/css/themes/zenburn.css +144 -0
- data/erb/index.html.erb +2 -2
- data/features/build.feature +18 -0
- data/features/init.feature +57 -0
- data/features/step_definitions/trickster_steps.rb +78 -0
- data/features/support/env.rb +15 -0
- data/features/update.feature +33 -0
- data/js/trickster.js +1 -1
- data/lib/trickster.rb +2 -0
- data/lib/trickster/copier.rb +11 -0
- data/lib/trickster/file_copier.rb +1 -8
- data/lib/trickster/renderer/code_renderer.rb +47 -10
- data/lib/trickster/theme_copier.rb +16 -0
- data/lib/trickster/version.rb +1 -1
- data/notes.txt.md +56 -0
- data/test/jasmine.yml +4 -0
- data/test/js/bullets_spec.js +82 -0
- data/test/js/sizer_spec.js +244 -0
- data/test/js/trickster_spec.js +10 -0
- data/test/js/utils_spec.js +56 -0
- data/test/slide_parser_test.rb +50 -0
- data/test/slide_renderer_test.rb +316 -0
- data/{css → test/slideshow-with-sass/css}/highlight-solarized_light.min.css +0 -0
- data/test/slideshow-with-sass/css/normalize.css +375 -0
- data/test/slideshow-with-sass/css/styles.scss +66 -0
- data/test/slideshow-with-sass/js/bullets.js +83 -0
- data/test/slideshow-with-sass/js/custom.js +11 -0
- data/test/slideshow-with-sass/js/lib/highlight-7.1.min.js +1 -0
- data/test/slideshow-with-sass/js/lib/jquery-1.8.0.min.js +2 -0
- data/test/slideshow-with-sass/js/lib/jquerytypewriter.js +54 -0
- data/test/slideshow-with-sass/js/lib/underscore-1.3.3.min.js +32 -0
- data/test/slideshow-with-sass/js/sizer.js +149 -0
- data/test/slideshow-with-sass/js/trickster.js +216 -0
- data/test/slideshow-with-sass/js/utils.js +19 -0
- data/test/slideshow-with-sass/rudy.png +0 -0
- data/test/slideshow-with-sass/slides +47 -0
- data/test/slideshow/css/highlight-solarized_light.min.css +37 -0
- data/test/slideshow/css/normalize.css +375 -0
- data/test/slideshow/css/styles.css +66 -0
- data/test/slideshow/css/theme.css +163 -0
- data/test/slideshow/index.html +77 -0
- data/test/slideshow/js/bullets.js +83 -0
- data/test/slideshow/js/custom.js +11 -0
- data/test/slideshow/js/lib/highlight-7.1.min.js +1 -0
- data/test/slideshow/js/lib/jquery-1.8.0.min.js +2 -0
- data/test/slideshow/js/lib/jquerytypewriter.js +54 -0
- data/test/slideshow/js/lib/underscore-1.3.3.min.js +32 -0
- data/test/slideshow/js/sizer.js +149 -0
- data/test/slideshow/js/trickster.js +216 -0
- data/test/slideshow/js/utils.js +19 -0
- data/test/slideshow/rudy.png +0 -0
- data/test/slideshow/slides +47 -0
- data/test/test_helper.rb +11 -0
- data/trickster.gemspec +27 -0
- data/trickster.rdoc +44 -8
- metadata +348 -62
- data/js/lib/highlight-fc32801.min.js +0 -4601
@@ -0,0 +1,73 @@
|
|
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
|
+
.tomorrow-comment, pre .comment, pre .title {
|
6
|
+
color: #7285b7;
|
7
|
+
}
|
8
|
+
|
9
|
+
.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
|
10
|
+
color: #ff9da4;
|
11
|
+
}
|
12
|
+
|
13
|
+
.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
|
14
|
+
color: #ffc58f;
|
15
|
+
}
|
16
|
+
|
17
|
+
.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
|
18
|
+
color: #ffeead;
|
19
|
+
}
|
20
|
+
|
21
|
+
.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
|
22
|
+
color: #d1f1a9;
|
23
|
+
}
|
24
|
+
|
25
|
+
.tomorrow-aqua, pre .css .hexcolor {
|
26
|
+
color: #99ffff;
|
27
|
+
}
|
28
|
+
|
29
|
+
.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
|
30
|
+
color: #bbdaff;
|
31
|
+
}
|
32
|
+
|
33
|
+
.tomorrow-purple, pre .keyword, pre .javascript .function {
|
34
|
+
color: #ebbbff;
|
35
|
+
}
|
36
|
+
|
37
|
+
pre code {
|
38
|
+
display: block;
|
39
|
+
background: #002451;
|
40
|
+
color: white;
|
41
|
+
padding: 0.5em;
|
42
|
+
}
|
43
|
+
pre {
|
44
|
+
counter-reset: lines;
|
45
|
+
}
|
46
|
+
pre .line {
|
47
|
+
counter-increment: lines;
|
48
|
+
}
|
49
|
+
pre .line::before {
|
50
|
+
content: counter(lines); text-align: right;
|
51
|
+
display: inline-block; width: 2em;
|
52
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
53
|
+
color: #eee8d5;
|
54
|
+
}
|
55
|
+
|
56
|
+
pre .line-callout::before {
|
57
|
+
content: '\2192'; text-align: right;
|
58
|
+
display: inline-block; width: 2em;
|
59
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
60
|
+
color: #002b36;
|
61
|
+
}
|
62
|
+
|
63
|
+
.lines-callout {
|
64
|
+
border-radius: 0.25em;
|
65
|
+
padding-top: 0.15em;
|
66
|
+
padding-bottom: 0.15em;
|
67
|
+
}
|
68
|
+
|
69
|
+
.lines-callout {
|
70
|
+
padding-top: 0.1em;
|
71
|
+
padding-bottom: 0.1em;
|
72
|
+
/* Could not determine background for callouts */
|
73
|
+
}
|
@@ -0,0 +1,72 @@
|
|
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
|
+
.tomorrow-comment, pre .comment, pre .title {
|
5
|
+
color: #969896;
|
6
|
+
}
|
7
|
+
|
8
|
+
.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
|
9
|
+
color: #d54e53;
|
10
|
+
}
|
11
|
+
|
12
|
+
.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
|
13
|
+
color: #e78c45;
|
14
|
+
}
|
15
|
+
|
16
|
+
.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
|
17
|
+
color: #e7c547;
|
18
|
+
}
|
19
|
+
|
20
|
+
.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
|
21
|
+
color: #b9ca4a;
|
22
|
+
}
|
23
|
+
|
24
|
+
.tomorrow-aqua, pre .css .hexcolor {
|
25
|
+
color: #70c0b1;
|
26
|
+
}
|
27
|
+
|
28
|
+
.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
|
29
|
+
color: #7aa6da;
|
30
|
+
}
|
31
|
+
|
32
|
+
.tomorrow-purple, pre .keyword, pre .javascript .function {
|
33
|
+
color: #c397d8;
|
34
|
+
}
|
35
|
+
|
36
|
+
pre code {
|
37
|
+
display: block;
|
38
|
+
background: black;
|
39
|
+
color: #eaeaea;
|
40
|
+
padding: 0.5em;
|
41
|
+
}
|
42
|
+
pre {
|
43
|
+
counter-reset: lines;
|
44
|
+
}
|
45
|
+
pre .line {
|
46
|
+
counter-increment: lines;
|
47
|
+
}
|
48
|
+
pre .line::before {
|
49
|
+
content: counter(lines); text-align: right;
|
50
|
+
display: inline-block; width: 2em;
|
51
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
52
|
+
color: #eee8d5;
|
53
|
+
}
|
54
|
+
|
55
|
+
pre .line-callout::before {
|
56
|
+
content: '\2192'; text-align: right;
|
57
|
+
display: inline-block; width: 2em;
|
58
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
59
|
+
color: #002b36;
|
60
|
+
}
|
61
|
+
|
62
|
+
.lines-callout {
|
63
|
+
border-radius: 0.25em;
|
64
|
+
padding-top: 0.15em;
|
65
|
+
padding-bottom: 0.15em;
|
66
|
+
}
|
67
|
+
|
68
|
+
.lines-callout {
|
69
|
+
padding-top: 0.1em;
|
70
|
+
padding-bottom: 0.1em;
|
71
|
+
/* Could not determine background for callouts */
|
72
|
+
}
|
@@ -0,0 +1,72 @@
|
|
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
|
+
.tomorrow-comment, pre .comment, pre .title {
|
5
|
+
color: #999999;
|
6
|
+
}
|
7
|
+
|
8
|
+
.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
|
9
|
+
color: #f2777a;
|
10
|
+
}
|
11
|
+
|
12
|
+
.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
|
13
|
+
color: #f99157;
|
14
|
+
}
|
15
|
+
|
16
|
+
.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
|
17
|
+
color: #ffcc66;
|
18
|
+
}
|
19
|
+
|
20
|
+
.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
|
21
|
+
color: #99cc99;
|
22
|
+
}
|
23
|
+
|
24
|
+
.tomorrow-aqua, pre .css .hexcolor {
|
25
|
+
color: #66cccc;
|
26
|
+
}
|
27
|
+
|
28
|
+
.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
|
29
|
+
color: #6699cc;
|
30
|
+
}
|
31
|
+
|
32
|
+
.tomorrow-purple, pre .keyword, pre .javascript .function {
|
33
|
+
color: #cc99cc;
|
34
|
+
}
|
35
|
+
|
36
|
+
pre code {
|
37
|
+
display: block;
|
38
|
+
background: #2d2d2d;
|
39
|
+
color: #cccccc;
|
40
|
+
padding: 0.5em;
|
41
|
+
}
|
42
|
+
pre {
|
43
|
+
counter-reset: lines;
|
44
|
+
}
|
45
|
+
pre .line {
|
46
|
+
counter-increment: lines;
|
47
|
+
}
|
48
|
+
pre .line::before {
|
49
|
+
content: counter(lines); text-align: right;
|
50
|
+
display: inline-block; width: 2em;
|
51
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
52
|
+
color: #eee8d5;
|
53
|
+
}
|
54
|
+
|
55
|
+
pre .line-callout::before {
|
56
|
+
content: '\2192'; text-align: right;
|
57
|
+
display: inline-block; width: 2em;
|
58
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
59
|
+
color: #002b36;
|
60
|
+
}
|
61
|
+
|
62
|
+
.lines-callout {
|
63
|
+
border-radius: 0.25em;
|
64
|
+
padding-top: 0.15em;
|
65
|
+
padding-bottom: 0.15em;
|
66
|
+
}
|
67
|
+
|
68
|
+
.lines-callout {
|
69
|
+
padding-top: 0.1em;
|
70
|
+
padding-bottom: 0.1em;
|
71
|
+
/* Could not determine background for callouts */
|
72
|
+
}
|
@@ -0,0 +1,73 @@
|
|
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
|
+
.tomorrow-comment, pre .comment, pre .title {
|
6
|
+
color: #969896;
|
7
|
+
}
|
8
|
+
|
9
|
+
.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
|
10
|
+
color: #cc6666;
|
11
|
+
}
|
12
|
+
|
13
|
+
.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
|
14
|
+
color: #de935f;
|
15
|
+
}
|
16
|
+
|
17
|
+
.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
|
18
|
+
color: #f0c674;
|
19
|
+
}
|
20
|
+
|
21
|
+
.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
|
22
|
+
color: #b5bd68;
|
23
|
+
}
|
24
|
+
|
25
|
+
.tomorrow-aqua, pre .css .hexcolor {
|
26
|
+
color: #8abeb7;
|
27
|
+
}
|
28
|
+
|
29
|
+
.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
|
30
|
+
color: #81a2be;
|
31
|
+
}
|
32
|
+
|
33
|
+
.tomorrow-purple, pre .keyword, pre .javascript .function {
|
34
|
+
color: #b294bb;
|
35
|
+
}
|
36
|
+
|
37
|
+
pre code {
|
38
|
+
display: block;
|
39
|
+
background: #1d1f21;
|
40
|
+
color: #c5c8c6;
|
41
|
+
padding: 0.5em;
|
42
|
+
}
|
43
|
+
pre {
|
44
|
+
counter-reset: lines;
|
45
|
+
}
|
46
|
+
pre .line {
|
47
|
+
counter-increment: lines;
|
48
|
+
}
|
49
|
+
pre .line::before {
|
50
|
+
content: counter(lines); text-align: right;
|
51
|
+
display: inline-block; width: 2em;
|
52
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
53
|
+
color: #eee8d5;
|
54
|
+
}
|
55
|
+
|
56
|
+
pre .line-callout::before {
|
57
|
+
content: '\2192'; text-align: right;
|
58
|
+
display: inline-block; width: 2em;
|
59
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
60
|
+
color: #002b36;
|
61
|
+
}
|
62
|
+
|
63
|
+
.lines-callout {
|
64
|
+
border-radius: 0.25em;
|
65
|
+
padding-top: 0.15em;
|
66
|
+
padding-bottom: 0.15em;
|
67
|
+
}
|
68
|
+
|
69
|
+
.lines-callout {
|
70
|
+
padding-top: 0.1em;
|
71
|
+
padding-bottom: 0.1em;
|
72
|
+
/* Could not determine background for callouts */
|
73
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
2
|
+
.tomorrow-comment, pre .comment, pre .title {
|
3
|
+
color: #8e908c;
|
4
|
+
}
|
5
|
+
|
6
|
+
.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
|
7
|
+
color: #c82829;
|
8
|
+
}
|
9
|
+
|
10
|
+
.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
|
11
|
+
color: #f5871f;
|
12
|
+
}
|
13
|
+
|
14
|
+
.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
|
15
|
+
color: #eab700;
|
16
|
+
}
|
17
|
+
|
18
|
+
.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
|
19
|
+
color: #718c00;
|
20
|
+
}
|
21
|
+
|
22
|
+
.tomorrow-aqua, pre .css .hexcolor {
|
23
|
+
color: #3e999f;
|
24
|
+
}
|
25
|
+
|
26
|
+
.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
|
27
|
+
color: #4271ae;
|
28
|
+
}
|
29
|
+
|
30
|
+
.tomorrow-purple, pre .keyword, pre .javascript .function {
|
31
|
+
color: #8959a8;
|
32
|
+
}
|
33
|
+
|
34
|
+
pre code {
|
35
|
+
display: block;
|
36
|
+
background: white;
|
37
|
+
color: #4d4d4c;
|
38
|
+
padding: 0.5em;
|
39
|
+
}
|
40
|
+
pre {
|
41
|
+
counter-reset: lines;
|
42
|
+
}
|
43
|
+
pre .line {
|
44
|
+
counter-increment: lines;
|
45
|
+
}
|
46
|
+
pre .line::before {
|
47
|
+
content: counter(lines); text-align: right;
|
48
|
+
display: inline-block; width: 2em;
|
49
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
50
|
+
color: #eee8d5;
|
51
|
+
}
|
52
|
+
|
53
|
+
pre .line-callout::before {
|
54
|
+
content: '\2192'; text-align: right;
|
55
|
+
display: inline-block; width: 2em;
|
56
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
57
|
+
color: #002b36;
|
58
|
+
}
|
59
|
+
|
60
|
+
.lines-callout {
|
61
|
+
border-radius: 0.25em;
|
62
|
+
padding-top: 0.15em;
|
63
|
+
padding-bottom: 0.15em;
|
64
|
+
}
|
65
|
+
|
66
|
+
.lines-callout {
|
67
|
+
padding-top: 0.1em;
|
68
|
+
padding-bottom: 0.1em;
|
69
|
+
/* Could not determine background for callouts */
|
70
|
+
}
|
data/css/themes/vs.css
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
|
4
|
+
|
5
|
+
*/
|
6
|
+
pre code {
|
7
|
+
display: block; padding: 0.5em;
|
8
|
+
}
|
9
|
+
|
10
|
+
pre .comment,
|
11
|
+
pre .annotation,
|
12
|
+
pre .template_comment,
|
13
|
+
pre .diff .header,
|
14
|
+
pre .chunk,
|
15
|
+
pre .apache .cbracket {
|
16
|
+
color: rgb(0, 128, 0);
|
17
|
+
}
|
18
|
+
|
19
|
+
pre .keyword,
|
20
|
+
pre .id,
|
21
|
+
pre .built_in,
|
22
|
+
pre .smalltalk .class,
|
23
|
+
pre .winutils,
|
24
|
+
pre .bash .variable,
|
25
|
+
pre .tex .command,
|
26
|
+
pre .request,
|
27
|
+
pre .status,
|
28
|
+
pre .nginx .title,
|
29
|
+
pre .xml .tag {
|
30
|
+
color: rgb(0, 0, 255);
|
31
|
+
}
|
32
|
+
|
33
|
+
pre .string,
|
34
|
+
pre .title,
|
35
|
+
pre .parent,
|
36
|
+
pre .tag .value,
|
37
|
+
pre .rules .value,
|
38
|
+
pre .rules .value .number,
|
39
|
+
pre .ruby .symbol,
|
40
|
+
pre .ruby .symbol .string,
|
41
|
+
pre .aggregate,
|
42
|
+
pre .template_tag,
|
43
|
+
pre .django .variable,
|
44
|
+
pre .addition,
|
45
|
+
pre .flow,
|
46
|
+
pre .stream,
|
47
|
+
pre .apache .tag,
|
48
|
+
pre .date,
|
49
|
+
pre .tex .formula {
|
50
|
+
color: rgb(163, 21, 21);
|
51
|
+
}
|
52
|
+
|
53
|
+
pre .ruby .string,
|
54
|
+
pre .decorator,
|
55
|
+
pre .filter .argument,
|
56
|
+
pre .localvars,
|
57
|
+
pre .array,
|
58
|
+
pre .attr_selector,
|
59
|
+
pre .pseudo,
|
60
|
+
pre .pi,
|
61
|
+
pre .doctype,
|
62
|
+
pre .deletion,
|
63
|
+
pre .envvar,
|
64
|
+
pre .shebang,
|
65
|
+
pre .preprocessor,
|
66
|
+
pre .userType,
|
67
|
+
pre .apache .sqbracket,
|
68
|
+
pre .nginx .built_in,
|
69
|
+
pre .tex .special,
|
70
|
+
pre .input_number {
|
71
|
+
color: rgb(43, 145, 175);
|
72
|
+
}
|
73
|
+
|
74
|
+
pre .phpdoc,
|
75
|
+
pre .javadoc,
|
76
|
+
pre .xmlDocTag {
|
77
|
+
color: rgb(128, 128, 128);
|
78
|
+
}
|
79
|
+
|
80
|
+
pre .vhdl .typename { font-weight: bold; }
|
81
|
+
pre .vhdl .string { color: #666666; }
|
82
|
+
pre .vhdl .literal { color: rgb(163, 21, 21); }
|
83
|
+
pre .vhdl .attribute { color: #00B0E8; }
|
84
|
+
|
85
|
+
pre .xml .attribute { color: rgb(255, 0, 0); }
|
86
|
+
pre {
|
87
|
+
counter-reset: lines;
|
88
|
+
}
|
89
|
+
pre .line {
|
90
|
+
counter-increment: lines;
|
91
|
+
}
|
92
|
+
pre .line::before {
|
93
|
+
content: counter(lines); text-align: right;
|
94
|
+
display: inline-block; width: 2em;
|
95
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
96
|
+
color: #eee8d5;
|
97
|
+
}
|
98
|
+
|
99
|
+
pre .line-callout::before {
|
100
|
+
content: '\2192'; text-align: right;
|
101
|
+
display: inline-block; width: 2em;
|
102
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
103
|
+
color: #002b36;
|
104
|
+
}
|
105
|
+
|
106
|
+
.lines-callout {
|
107
|
+
border-radius: 0.25em;
|
108
|
+
padding-top: 0.15em;
|
109
|
+
padding-bottom: 0.15em;
|
110
|
+
}
|
111
|
+
|
112
|
+
.lines-callout {
|
113
|
+
padding-top: 0.1em;
|
114
|
+
padding-bottom: 0.1em;
|
115
|
+
/* Could not determine background for callouts */
|
116
|
+
}
|