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
data/css/themes/arta.css
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
/*
|
2
|
+
Date: 17.V.2011
|
3
|
+
Author: pumbur <pumbur@pumbur.net>
|
4
|
+
*/
|
5
|
+
|
6
|
+
pre code
|
7
|
+
{
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: #222;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .profile .header *,
|
13
|
+
pre .ini .title,
|
14
|
+
pre .nginx .title
|
15
|
+
{
|
16
|
+
color: #fff;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre .comment,
|
20
|
+
pre .javadoc,
|
21
|
+
pre .preprocessor,
|
22
|
+
pre .preprocessor .title,
|
23
|
+
pre .shebang,
|
24
|
+
pre .profile .summary,
|
25
|
+
pre .diff,
|
26
|
+
pre .pi,
|
27
|
+
pre .doctype,
|
28
|
+
pre .tag,
|
29
|
+
pre .template_comment,
|
30
|
+
pre .css .rules,
|
31
|
+
pre .tex .special
|
32
|
+
{
|
33
|
+
color: #444;
|
34
|
+
}
|
35
|
+
|
36
|
+
pre .string,
|
37
|
+
pre .symbol,
|
38
|
+
pre .diff .change,
|
39
|
+
pre .regexp,
|
40
|
+
pre .xml .attribute,
|
41
|
+
pre .smalltalk .char,
|
42
|
+
pre .xml .value,
|
43
|
+
pre .ini .value,
|
44
|
+
pre .clojure .attribute
|
45
|
+
{
|
46
|
+
color: #ffcc33;
|
47
|
+
}
|
48
|
+
|
49
|
+
pre .number,
|
50
|
+
pre .addition
|
51
|
+
{
|
52
|
+
color: #00cc66;
|
53
|
+
}
|
54
|
+
|
55
|
+
pre .built_in,
|
56
|
+
pre .literal,
|
57
|
+
pre .vhdl .typename,
|
58
|
+
pre .go .constant,
|
59
|
+
pre .go .typename,
|
60
|
+
pre .ini .keyword,
|
61
|
+
pre .lua .title,
|
62
|
+
pre .perl .variable,
|
63
|
+
pre .php .variable,
|
64
|
+
pre .mel .variable,
|
65
|
+
pre .django .variable,
|
66
|
+
pre .css .funtion,
|
67
|
+
pre .smalltalk .method,
|
68
|
+
pre .hexcolor,
|
69
|
+
pre .important,
|
70
|
+
pre .flow,
|
71
|
+
pre .inheritance,
|
72
|
+
pre .parser3 .variable
|
73
|
+
{
|
74
|
+
color: #32AAEE;
|
75
|
+
}
|
76
|
+
|
77
|
+
pre .keyword,
|
78
|
+
pre .tag .title,
|
79
|
+
pre .css .tag,
|
80
|
+
pre .css .class,
|
81
|
+
pre .css .id,
|
82
|
+
pre .css .pseudo,
|
83
|
+
pre .css .attr_selector,
|
84
|
+
pre .lisp .title,
|
85
|
+
pre .clojure .built_in,
|
86
|
+
pre .winutils,
|
87
|
+
pre .tex .command,
|
88
|
+
pre .request,
|
89
|
+
pre .status
|
90
|
+
{
|
91
|
+
color: #6644aa;
|
92
|
+
}
|
93
|
+
|
94
|
+
pre .title,
|
95
|
+
pre .ruby .constant,
|
96
|
+
pre .vala .constant,
|
97
|
+
pre .parent,
|
98
|
+
pre .deletion,
|
99
|
+
pre .template_tag,
|
100
|
+
pre .css .keyword,
|
101
|
+
pre .objectivec .class .id,
|
102
|
+
pre .smalltalk .class,
|
103
|
+
pre .lisp .keyword,
|
104
|
+
pre .apache .tag,
|
105
|
+
pre .nginx .variable,
|
106
|
+
pre .envvar,
|
107
|
+
pre .bash .variable,
|
108
|
+
pre .go .built_in,
|
109
|
+
pre .vbscript .built_in,
|
110
|
+
pre .lua .built_in,
|
111
|
+
pre .rsl .built_in,
|
112
|
+
pre .tail,
|
113
|
+
pre .avrasm .label,
|
114
|
+
pre .tex .formula,
|
115
|
+
pre .tex .formula *
|
116
|
+
{
|
117
|
+
color: #bb1166;
|
118
|
+
}
|
119
|
+
|
120
|
+
pre .yardoctag,
|
121
|
+
pre .phpdoc,
|
122
|
+
pre .profile .header,
|
123
|
+
pre .ini .title,
|
124
|
+
pre .apache .tag,
|
125
|
+
pre .parser3 .title
|
126
|
+
{
|
127
|
+
font-weight: bold;
|
128
|
+
}
|
129
|
+
|
130
|
+
pre .coffeescript .javascript,
|
131
|
+
pre .xml .javascript,
|
132
|
+
pre .xml .css,
|
133
|
+
pre .xml .cdata
|
134
|
+
{
|
135
|
+
opacity: 0.6;
|
136
|
+
}
|
137
|
+
|
138
|
+
pre code,
|
139
|
+
pre .javascript,
|
140
|
+
pre .css,
|
141
|
+
pre .xml,
|
142
|
+
pre .subst,
|
143
|
+
pre .diff .chunk,
|
144
|
+
pre .css .value,
|
145
|
+
pre .css .attribute,
|
146
|
+
pre .lisp .string,
|
147
|
+
pre .lisp .number,
|
148
|
+
pre .tail .params,
|
149
|
+
pre .container,
|
150
|
+
pre .haskell *,
|
151
|
+
pre .erlang *,
|
152
|
+
pre .erlang_repl *
|
153
|
+
{
|
154
|
+
color: #aaa;
|
155
|
+
}
|
156
|
+
pre {
|
157
|
+
counter-reset: lines;
|
158
|
+
}
|
159
|
+
pre .line {
|
160
|
+
counter-increment: lines;
|
161
|
+
}
|
162
|
+
pre .line::before {
|
163
|
+
content: counter(lines); text-align: right;
|
164
|
+
display: inline-block; width: 2em;
|
165
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
166
|
+
color: #eee8d5;
|
167
|
+
}
|
168
|
+
|
169
|
+
pre .line-callout::before {
|
170
|
+
content: '\2192'; text-align: right;
|
171
|
+
display: inline-block; width: 2em;
|
172
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
173
|
+
color: #002b36;
|
174
|
+
}
|
175
|
+
|
176
|
+
.lines-callout {
|
177
|
+
border-radius: 0.25em;
|
178
|
+
padding-top: 0.15em;
|
179
|
+
padding-bottom: 0.15em;
|
180
|
+
}
|
181
|
+
|
182
|
+
.lines-callout {
|
183
|
+
padding-top: 0.1em;
|
184
|
+
padding-bottom: 0.1em;
|
185
|
+
/* Could not determine background for callouts */
|
186
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: white; color: black;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .string,
|
13
|
+
pre .tag .value,
|
14
|
+
pre .filter .argument,
|
15
|
+
pre .addition,
|
16
|
+
pre .change,
|
17
|
+
pre .apache .tag,
|
18
|
+
pre .apache .cbracket,
|
19
|
+
pre .nginx .built_in,
|
20
|
+
pre .tex .formula {
|
21
|
+
color: #888;
|
22
|
+
}
|
23
|
+
|
24
|
+
pre .comment,
|
25
|
+
pre .template_comment,
|
26
|
+
pre .shebang,
|
27
|
+
pre .doctype,
|
28
|
+
pre .pi,
|
29
|
+
pre .javadoc,
|
30
|
+
pre .deletion,
|
31
|
+
pre .apache .sqbracket {
|
32
|
+
color: #CCC;
|
33
|
+
}
|
34
|
+
|
35
|
+
pre .keyword,
|
36
|
+
pre .tag .title,
|
37
|
+
pre .ini .title,
|
38
|
+
pre .lisp .title,
|
39
|
+
pre .clojure .title,
|
40
|
+
pre .http .title,
|
41
|
+
pre .nginx .title,
|
42
|
+
pre .css .tag,
|
43
|
+
pre .winutils,
|
44
|
+
pre .flow,
|
45
|
+
pre .apache .tag,
|
46
|
+
pre .tex .command,
|
47
|
+
pre .request,
|
48
|
+
pre .status {
|
49
|
+
font-weight: bold;
|
50
|
+
}
|
51
|
+
pre {
|
52
|
+
counter-reset: lines;
|
53
|
+
}
|
54
|
+
pre .line {
|
55
|
+
counter-increment: lines;
|
56
|
+
}
|
57
|
+
pre .line::before {
|
58
|
+
content: counter(lines); text-align: right;
|
59
|
+
display: inline-block; width: 2em;
|
60
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
61
|
+
color: #eee8d5;
|
62
|
+
}
|
63
|
+
|
64
|
+
pre .line-callout::before {
|
65
|
+
content: '\2192'; text-align: right;
|
66
|
+
display: inline-block; width: 2em;
|
67
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
68
|
+
color: #002b36;
|
69
|
+
}
|
70
|
+
|
71
|
+
.lines-callout {
|
72
|
+
border-radius: 0.25em;
|
73
|
+
padding-top: 0.15em;
|
74
|
+
padding-bottom: 0.15em;
|
75
|
+
}
|
76
|
+
|
77
|
+
.lines-callout {
|
78
|
+
padding-top: 0.1em;
|
79
|
+
padding-bottom: 0.1em;
|
80
|
+
/* Could not determine background for callouts */
|
81
|
+
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background:#b7a68e url(./brown_papersq.png);
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .keyword,
|
13
|
+
pre .literal,
|
14
|
+
pre .change,
|
15
|
+
pre .winutils,
|
16
|
+
pre .flow,
|
17
|
+
pre .lisp .title,
|
18
|
+
pre .clojure .built_in,
|
19
|
+
pre .nginx .title,
|
20
|
+
pre .tex .special,
|
21
|
+
pre .request,
|
22
|
+
pre .status {
|
23
|
+
color:#005599;
|
24
|
+
font-weight:bold;
|
25
|
+
}
|
26
|
+
|
27
|
+
pre code,
|
28
|
+
pre .ruby .subst,
|
29
|
+
pre .tag .keyword {
|
30
|
+
color: #363C69;
|
31
|
+
}
|
32
|
+
|
33
|
+
pre .string,
|
34
|
+
pre .title,
|
35
|
+
pre .haskell .type,
|
36
|
+
pre .tag .value,
|
37
|
+
pre .css .rules .value,
|
38
|
+
pre .preprocessor,
|
39
|
+
pre .ruby .symbol,
|
40
|
+
pre .ruby .symbol .string,
|
41
|
+
pre .ruby .class .parent,
|
42
|
+
pre .built_in,
|
43
|
+
pre .sql .aggregate,
|
44
|
+
pre .django .template_tag,
|
45
|
+
pre .django .variable,
|
46
|
+
pre .smalltalk .class,
|
47
|
+
pre .javadoc,
|
48
|
+
pre .ruby .string,
|
49
|
+
pre .django .filter .argument,
|
50
|
+
pre .smalltalk .localvars,
|
51
|
+
pre .smalltalk .array,
|
52
|
+
pre .attr_selector,
|
53
|
+
pre .pseudo,
|
54
|
+
pre .addition,
|
55
|
+
pre .stream,
|
56
|
+
pre .envvar,
|
57
|
+
pre .apache .tag,
|
58
|
+
pre .apache .cbracket,
|
59
|
+
pre .tex .number {
|
60
|
+
color: #2C009F;
|
61
|
+
}
|
62
|
+
|
63
|
+
pre .comment,
|
64
|
+
pre .java .annotation,
|
65
|
+
pre .python .decorator,
|
66
|
+
pre .template_comment,
|
67
|
+
pre .pi,
|
68
|
+
pre .doctype,
|
69
|
+
pre .deletion,
|
70
|
+
pre .shebang,
|
71
|
+
pre .apache .sqbracket,
|
72
|
+
pre .nginx .built_in,
|
73
|
+
pre .tex .formula {
|
74
|
+
color: #802022;
|
75
|
+
}
|
76
|
+
|
77
|
+
pre .keyword,
|
78
|
+
pre .literal,
|
79
|
+
pre .css .id,
|
80
|
+
pre .phpdoc,
|
81
|
+
pre .title,
|
82
|
+
pre .haskell .type,
|
83
|
+
pre .vbscript .built_in,
|
84
|
+
pre .sql .aggregate,
|
85
|
+
pre .rsl .built_in,
|
86
|
+
pre .smalltalk .class,
|
87
|
+
pre .diff .header,
|
88
|
+
pre .chunk,
|
89
|
+
pre .winutils,
|
90
|
+
pre .bash .variable,
|
91
|
+
pre .apache .tag,
|
92
|
+
pre .tex .command {
|
93
|
+
font-weight: bold;
|
94
|
+
}
|
95
|
+
|
96
|
+
pre .coffeescript .javascript,
|
97
|
+
pre .xml .css,
|
98
|
+
pre .xml .javascript,
|
99
|
+
pre .xml .vbscript,
|
100
|
+
pre .tex .formula {
|
101
|
+
opacity: 0.8;
|
102
|
+
}
|
103
|
+
pre {
|
104
|
+
counter-reset: lines;
|
105
|
+
}
|
106
|
+
pre .line {
|
107
|
+
counter-increment: lines;
|
108
|
+
}
|
109
|
+
pre .line::before {
|
110
|
+
content: counter(lines); text-align: right;
|
111
|
+
display: inline-block; width: 2em;
|
112
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
113
|
+
color: #eee8d5;
|
114
|
+
}
|
115
|
+
|
116
|
+
pre .line-callout::before {
|
117
|
+
content: '\2192'; text-align: right;
|
118
|
+
display: inline-block; width: 2em;
|
119
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
120
|
+
color: #002b36;
|
121
|
+
}
|
122
|
+
|
123
|
+
.lines-callout {
|
124
|
+
border-radius: 0.25em;
|
125
|
+
padding-top: 0.15em;
|
126
|
+
padding-bottom: 0.15em;
|
127
|
+
}
|
128
|
+
|
129
|
+
.lines-callout {
|
130
|
+
padding-top: 0.1em;
|
131
|
+
padding-bottom: 0.1em;
|
132
|
+
opacity: 0.8;
|
133
|
+
}
|
@@ -0,0 +1,322 @@
|
|
1
|
+
$bg-color : #474949;
|
2
|
+
$default-fg-color : #D1D9E1;
|
3
|
+
$selection-bg-color : #FF5E99;
|
4
|
+
$selection-fg-color : #FF5E99;
|
5
|
+
|
6
|
+
$comment-color : #969896;
|
7
|
+
$comment-style : italic;
|
8
|
+
$template_comment-color : $comment-color;
|
9
|
+
$template_comment-style : $comment-style;
|
10
|
+
$doctype-color : $comment-color;
|
11
|
+
$doctype-style : $comment-style;
|
12
|
+
$javadoc-color : $comment-color;
|
13
|
+
$javadoc-style : $comment-style;
|
14
|
+
$diff-header-color : $comment-color;
|
15
|
+
$diff-header-style : $comment-style;
|
16
|
+
$lisp-string-color : $comment-color;
|
17
|
+
$lisp-string-style : $comment-style;
|
18
|
+
|
19
|
+
$keyword-color : #cc99cc;
|
20
|
+
$css-tag-color : $keyword-color;
|
21
|
+
$addition-color : $keyword-color;
|
22
|
+
$javascript-title-color : $keyword-color;
|
23
|
+
$winutils-color : $keyword-color;
|
24
|
+
$clojure-attribute-color : $keyword-color;
|
25
|
+
|
26
|
+
$number-color: #f99157;
|
27
|
+
|
28
|
+
$regexp-color : #8abeb7;
|
29
|
+
$tex-formula-color : $regexp-color;
|
30
|
+
$phpdoc-color : $regexp-color;
|
31
|
+
$tag-value-color : $regexp-color;
|
32
|
+
$string-color : $regexp-color;
|
33
|
+
$command-color : $regexp-color;
|
34
|
+
$hexcolor-color : $regexp-color;
|
35
|
+
|
36
|
+
$identifier-color : #b5bd68;
|
37
|
+
$title-color : $identifier-color;
|
38
|
+
$lisp-title-color : $identifier-color;
|
39
|
+
$built_in-color : $identifier-color;
|
40
|
+
$decorator-color : $identifier-color;
|
41
|
+
$chunk-color : $identifier-color;
|
42
|
+
$function-title-color : $identifier-color;
|
43
|
+
$localvars-color : $identifier-color;
|
44
|
+
|
45
|
+
$class-keyword-color : #f2777a;
|
46
|
+
|
47
|
+
$variable-color : #ffcc66;
|
48
|
+
$lisp-body-color : $variable-color;
|
49
|
+
$smalltalk-number-color : $variable-color;
|
50
|
+
$constant-color : $variable-color;
|
51
|
+
$class-title-color : $variable-color;
|
52
|
+
$parent-color : $variable-color;
|
53
|
+
$haskell-label-color : $variable-color;
|
54
|
+
$id-color : $variable-color;
|
55
|
+
$lisp-title-color : $variable-color;
|
56
|
+
$clojure-title-built_in-color : $variable-color;
|
57
|
+
|
58
|
+
$attribute-color : #81a2be;
|
59
|
+
$clojure-title-color : $attribute-color;
|
60
|
+
|
61
|
+
$symbol-color : #f99157;
|
62
|
+
$cdata-color : $symbol-color;
|
63
|
+
$subst-color : $symbol-color;
|
64
|
+
$important-color : $symbol-color;
|
65
|
+
$attr_selector-color : $symbol-color;
|
66
|
+
$special-color : $symbol-color;
|
67
|
+
$diff-change-color : $symbol-color;
|
68
|
+
$symbol-string-color : $symbol-color;
|
69
|
+
$shebang-color : $symbol-color;
|
70
|
+
$pi-color : $symbol-color;
|
71
|
+
$preprocessor-color : $symbol-color;
|
72
|
+
|
73
|
+
$deletion-color : #dc322f;
|
74
|
+
|
75
|
+
$tex-formula-color: #eee8d5;
|
76
|
+
|
77
|
+
$callout-bg-color: #eee8d5;
|
78
|
+
$callout-arrow-color: #002b36;
|
79
|
+
|
80
|
+
pre ::-moz-selection {
|
81
|
+
background: $selection-bg-color;
|
82
|
+
color: $selection-fg-color;
|
83
|
+
text-shadow: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
pre ::selection {
|
87
|
+
background: $selection-bg-color;
|
88
|
+
color: $selection-fg-color;
|
89
|
+
text-shadow: none;
|
90
|
+
}
|
91
|
+
|
92
|
+
pre code {
|
93
|
+
display: block;
|
94
|
+
padding: 0.5em;
|
95
|
+
background: $bg-color;
|
96
|
+
color: $default-fg-color;
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
pre .body,
|
101
|
+
pre .collection {
|
102
|
+
color: $default-fg-color;
|
103
|
+
}
|
104
|
+
|
105
|
+
pre .comment {
|
106
|
+
color: $comment-color;
|
107
|
+
font-style: $comment-style;
|
108
|
+
}
|
109
|
+
pre .template_comment {
|
110
|
+
color: $template_comment-color;
|
111
|
+
font-style: $template_comment-style;
|
112
|
+
}
|
113
|
+
pre .diff .header {
|
114
|
+
color: $diff-header-color;
|
115
|
+
font-style: $diff-header-style;
|
116
|
+
}
|
117
|
+
pre .doctype {
|
118
|
+
color: $doctype-color;
|
119
|
+
font-style: $doctype-style;
|
120
|
+
}
|
121
|
+
|
122
|
+
pre .lisp .string {
|
123
|
+
color: $lisp-string-color;
|
124
|
+
font-style: $lisp-string-style;
|
125
|
+
}
|
126
|
+
|
127
|
+
pre .javadoc {
|
128
|
+
color: $javadoc-color;
|
129
|
+
font-style: $javadoc-style;
|
130
|
+
}
|
131
|
+
|
132
|
+
pre .keyword {
|
133
|
+
color: $keyword-color;
|
134
|
+
}
|
135
|
+
pre .clojure .attribute {
|
136
|
+
color: $clojure-attribute-color;
|
137
|
+
}
|
138
|
+
pre .winutils {
|
139
|
+
color: $winutils-color;
|
140
|
+
}
|
141
|
+
pre .javascript .title {
|
142
|
+
color: $javascript-title-color;
|
143
|
+
}
|
144
|
+
pre .addition {
|
145
|
+
color: $addition-color;
|
146
|
+
}
|
147
|
+
pre .css .tag {
|
148
|
+
color: $css-tag-color;
|
149
|
+
}
|
150
|
+
|
151
|
+
pre .number {
|
152
|
+
color: $number-color;
|
153
|
+
}
|
154
|
+
|
155
|
+
pre .command {
|
156
|
+
color: $command-color
|
157
|
+
}
|
158
|
+
pre .string {
|
159
|
+
color: $string-color;
|
160
|
+
}
|
161
|
+
pre .tag .value {
|
162
|
+
color: $tag-value-color;
|
163
|
+
}
|
164
|
+
pre .phpdoc {
|
165
|
+
color: $phpdoc-color;
|
166
|
+
}
|
167
|
+
pre .tex .formula {
|
168
|
+
color: $tex-formula-color;
|
169
|
+
}
|
170
|
+
pre .regexp {
|
171
|
+
color: $regexp-color;
|
172
|
+
}
|
173
|
+
pre .hexcolor {
|
174
|
+
color: $hexcolor-color;
|
175
|
+
}
|
176
|
+
|
177
|
+
pre .title {
|
178
|
+
color: $title-color;
|
179
|
+
}
|
180
|
+
pre .localvars {
|
181
|
+
color: $localvars-color;
|
182
|
+
}
|
183
|
+
pre .function .title {
|
184
|
+
color: $function-title-color;
|
185
|
+
}
|
186
|
+
pre .chunk {
|
187
|
+
color: $chunk-color;
|
188
|
+
}
|
189
|
+
pre .decorator {
|
190
|
+
color: $decorator-color;
|
191
|
+
}
|
192
|
+
pre .built_in {
|
193
|
+
color: $built_in-color;
|
194
|
+
}
|
195
|
+
pre .lisp .title {
|
196
|
+
color: $lisp-title-color;
|
197
|
+
}
|
198
|
+
pre .identifier {
|
199
|
+
color: $identifer-color;
|
200
|
+
}
|
201
|
+
|
202
|
+
pre .class .keyword {
|
203
|
+
color: $class-keyword-color;
|
204
|
+
}
|
205
|
+
|
206
|
+
pre .variable {
|
207
|
+
color: $variable-color;
|
208
|
+
}
|
209
|
+
pre .lisp .body {
|
210
|
+
color: $lisp-body-color;
|
211
|
+
}
|
212
|
+
pre .smalltalk .number {
|
213
|
+
color: $smalltalk-number-color;
|
214
|
+
}
|
215
|
+
pre .constant {
|
216
|
+
color: $constant-color;
|
217
|
+
}
|
218
|
+
pre .class .title {
|
219
|
+
color: $class-title-color;
|
220
|
+
}
|
221
|
+
pre .parent {
|
222
|
+
color: $parent-color;
|
223
|
+
}
|
224
|
+
pre .haskell .label {
|
225
|
+
color: $haskell-label-color;
|
226
|
+
}
|
227
|
+
pre .id {
|
228
|
+
color: $id-color;
|
229
|
+
}
|
230
|
+
pre .lisp .title {
|
231
|
+
color: $lisp-title-color;
|
232
|
+
}
|
233
|
+
pre .clojure .title .built_in {
|
234
|
+
color: $clojure-title-built_in-color;
|
235
|
+
}
|
236
|
+
|
237
|
+
pre .tag .title,
|
238
|
+
pre .rules .property,
|
239
|
+
pre .django .tag .keyword,
|
240
|
+
pre .clojure .title .built_in {
|
241
|
+
font-weight: bold;
|
242
|
+
}
|
243
|
+
|
244
|
+
pre .attribute {
|
245
|
+
color: $attribute-color;
|
246
|
+
}
|
247
|
+
pre .clojure .title {
|
248
|
+
color: $clojure-title-color;
|
249
|
+
}
|
250
|
+
|
251
|
+
pre .preprocessor {
|
252
|
+
color: $preprocessor-color;
|
253
|
+
}
|
254
|
+
pre .pi {
|
255
|
+
color: $pi-color;
|
256
|
+
}
|
257
|
+
pre .shebang {
|
258
|
+
color: $shebang-color;
|
259
|
+
}
|
260
|
+
pre .symbol {
|
261
|
+
color: $symbol-color;
|
262
|
+
}
|
263
|
+
pre .symbol .string {
|
264
|
+
color: $symbol-string-color;
|
265
|
+
}
|
266
|
+
pre .diff .change {
|
267
|
+
color: $diff-change-color;
|
268
|
+
}
|
269
|
+
pre .special {
|
270
|
+
color: $special-color;
|
271
|
+
}
|
272
|
+
pre .attr_selector {
|
273
|
+
color: $attr_selector-color;
|
274
|
+
}
|
275
|
+
pre .important {
|
276
|
+
color: $important-color;
|
277
|
+
}
|
278
|
+
pre .subst {
|
279
|
+
color: $subst-color;
|
280
|
+
}
|
281
|
+
pre .cdata {
|
282
|
+
color: $cdata-color;
|
283
|
+
}
|
284
|
+
|
285
|
+
pre .deletion {
|
286
|
+
color: $deletion-color;
|
287
|
+
}
|
288
|
+
|
289
|
+
pre .tex .formula {
|
290
|
+
background: $tex-formula-color;
|
291
|
+
}
|
292
|
+
pre {
|
293
|
+
counter-reset: lines;
|
294
|
+
}
|
295
|
+
pre .line {
|
296
|
+
counter-increment: lines;
|
297
|
+
}
|
298
|
+
pre .line::before {
|
299
|
+
content: counter(lines); text-align: right;
|
300
|
+
display: inline-block; width: 2em;
|
301
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
302
|
+
color: $callout-bg-color;
|
303
|
+
}
|
304
|
+
|
305
|
+
pre .line-callout::before {
|
306
|
+
content: '\2192'; text-align: right;
|
307
|
+
display: inline-block; width: 2em;
|
308
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
309
|
+
color: $callout-arrow-color;
|
310
|
+
}
|
311
|
+
|
312
|
+
.lines-callout {
|
313
|
+
border-radius: 0.25em;
|
314
|
+
padding-top: 0.15em;
|
315
|
+
padding-bottom: 0.15em;
|
316
|
+
}
|
317
|
+
|
318
|
+
.lines-callout {
|
319
|
+
padding-top: 0.1em;
|
320
|
+
padding-bottom: 0.1em;
|
321
|
+
background: $callout-bg-color;
|
322
|
+
}
|