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,140 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 15px 0.5em 0.5em 30px;
|
9
|
+
font-size: 11px !important;
|
10
|
+
line-height:16px !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
pre{
|
14
|
+
background:#f6f6ae url(./school_book.png);
|
15
|
+
border-top: solid 2px #d2e8b9;
|
16
|
+
border-bottom: solid 1px #d2e8b9;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre .keyword,
|
20
|
+
pre .literal,
|
21
|
+
pre .change,
|
22
|
+
pre .winutils,
|
23
|
+
pre .flow,
|
24
|
+
pre .lisp .title,
|
25
|
+
pre .clojure .built_in,
|
26
|
+
pre .nginx .title,
|
27
|
+
pre .tex .special {
|
28
|
+
color:#005599;
|
29
|
+
font-weight:bold;
|
30
|
+
}
|
31
|
+
|
32
|
+
pre code,
|
33
|
+
pre .ruby .subst,
|
34
|
+
pre .tag .keyword {
|
35
|
+
color: #3E5915;
|
36
|
+
}
|
37
|
+
|
38
|
+
pre .string,
|
39
|
+
pre .title,
|
40
|
+
pre .haskell .type,
|
41
|
+
pre .tag .value,
|
42
|
+
pre .css .rules .value,
|
43
|
+
pre .preprocessor,
|
44
|
+
pre .ruby .symbol,
|
45
|
+
pre .ruby .symbol .string,
|
46
|
+
pre .ruby .class .parent,
|
47
|
+
pre .built_in,
|
48
|
+
pre .sql .aggregate,
|
49
|
+
pre .django .template_tag,
|
50
|
+
pre .django .variable,
|
51
|
+
pre .smalltalk .class,
|
52
|
+
pre .javadoc,
|
53
|
+
pre .ruby .string,
|
54
|
+
pre .django .filter .argument,
|
55
|
+
pre .smalltalk .localvars,
|
56
|
+
pre .smalltalk .array,
|
57
|
+
pre .attr_selector,
|
58
|
+
pre .pseudo,
|
59
|
+
pre .addition,
|
60
|
+
pre .stream,
|
61
|
+
pre .envvar,
|
62
|
+
pre .apache .tag,
|
63
|
+
pre .apache .cbracket,
|
64
|
+
pre .nginx .built_in,
|
65
|
+
pre .tex .command {
|
66
|
+
color: #2C009F;
|
67
|
+
}
|
68
|
+
|
69
|
+
pre .comment,
|
70
|
+
pre .java .annotation,
|
71
|
+
pre .python .decorator,
|
72
|
+
pre .template_comment,
|
73
|
+
pre .pi,
|
74
|
+
pre .doctype,
|
75
|
+
pre .deletion,
|
76
|
+
pre .shebang,
|
77
|
+
pre .apache .sqbracket {
|
78
|
+
color: #E60415;
|
79
|
+
}
|
80
|
+
|
81
|
+
pre .keyword,
|
82
|
+
pre .literal,
|
83
|
+
pre .css .id,
|
84
|
+
pre .phpdoc,
|
85
|
+
pre .title,
|
86
|
+
pre .haskell .type,
|
87
|
+
pre .vbscript .built_in,
|
88
|
+
pre .sql .aggregate,
|
89
|
+
pre .rsl .built_in,
|
90
|
+
pre .smalltalk .class,
|
91
|
+
pre .xml .tag .title,
|
92
|
+
pre .diff .header,
|
93
|
+
pre .chunk,
|
94
|
+
pre .winutils,
|
95
|
+
pre .bash .variable,
|
96
|
+
pre .apache .tag,
|
97
|
+
pre .tex .command,
|
98
|
+
pre .request,
|
99
|
+
pre .status {
|
100
|
+
font-weight: bold;
|
101
|
+
}
|
102
|
+
|
103
|
+
pre .coffeescript .javascript,
|
104
|
+
pre .xml .css,
|
105
|
+
pre .xml .javascript,
|
106
|
+
pre .xml .vbscript,
|
107
|
+
pre .tex .formula {
|
108
|
+
opacity: 0.5;
|
109
|
+
}
|
110
|
+
pre {
|
111
|
+
counter-reset: lines;
|
112
|
+
}
|
113
|
+
pre .line {
|
114
|
+
counter-increment: lines;
|
115
|
+
}
|
116
|
+
pre .line::before {
|
117
|
+
content: counter(lines); text-align: right;
|
118
|
+
display: inline-block; width: 2em;
|
119
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
120
|
+
color: #eee8d5;
|
121
|
+
}
|
122
|
+
|
123
|
+
pre .line-callout::before {
|
124
|
+
content: '\2192'; text-align: right;
|
125
|
+
display: inline-block; width: 2em;
|
126
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
127
|
+
color: #002b36;
|
128
|
+
}
|
129
|
+
|
130
|
+
.lines-callout {
|
131
|
+
border-radius: 0.25em;
|
132
|
+
padding-top: 0.15em;
|
133
|
+
padding-bottom: 0.15em;
|
134
|
+
}
|
135
|
+
|
136
|
+
.lines-callout {
|
137
|
+
padding-top: 0.1em;
|
138
|
+
padding-bottom: 0.1em;
|
139
|
+
opacity: 0.5;
|
140
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: #002b36; color: #839496;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .comment,
|
13
|
+
pre .template_comment,
|
14
|
+
pre .diff .header,
|
15
|
+
pre .doctype,
|
16
|
+
pre .pi,
|
17
|
+
pre .lisp .string,
|
18
|
+
pre .javadoc {
|
19
|
+
color: #586e75;
|
20
|
+
font-style: italic;
|
21
|
+
}
|
22
|
+
|
23
|
+
pre .keyword,
|
24
|
+
pre .winutils,
|
25
|
+
pre .method,
|
26
|
+
pre .addition,
|
27
|
+
pre .css .tag,
|
28
|
+
pre .request,
|
29
|
+
pre .status,
|
30
|
+
pre .nginx .title {
|
31
|
+
color: #859900;
|
32
|
+
}
|
33
|
+
|
34
|
+
pre .number,
|
35
|
+
pre .command,
|
36
|
+
pre .string,
|
37
|
+
pre .tag .value,
|
38
|
+
pre .phpdoc,
|
39
|
+
pre .tex .formula,
|
40
|
+
pre .regexp,
|
41
|
+
pre .hexcolor {
|
42
|
+
color: #2aa198;
|
43
|
+
}
|
44
|
+
|
45
|
+
pre .title,
|
46
|
+
pre .localvars,
|
47
|
+
pre .chunk,
|
48
|
+
pre .decorator,
|
49
|
+
pre .built_in,
|
50
|
+
pre .identifier,
|
51
|
+
pre .vhdl .literal,
|
52
|
+
pre .id {
|
53
|
+
color: #268bd2;
|
54
|
+
}
|
55
|
+
|
56
|
+
pre .attribute,
|
57
|
+
pre .variable,
|
58
|
+
pre .lisp .body,
|
59
|
+
pre .smalltalk .number,
|
60
|
+
pre .constant,
|
61
|
+
pre .class .title,
|
62
|
+
pre .parent,
|
63
|
+
pre .haskell .type {
|
64
|
+
color: #b58900;
|
65
|
+
}
|
66
|
+
|
67
|
+
pre .preprocessor,
|
68
|
+
pre .preprocessor .keyword,
|
69
|
+
pre .shebang,
|
70
|
+
pre .symbol,
|
71
|
+
pre .symbol .string,
|
72
|
+
pre .diff .change,
|
73
|
+
pre .special,
|
74
|
+
pre .attr_selector,
|
75
|
+
pre .important,
|
76
|
+
pre .subst,
|
77
|
+
pre .cdata,
|
78
|
+
pre .clojure .title {
|
79
|
+
color: #cb4b16;
|
80
|
+
}
|
81
|
+
|
82
|
+
pre .deletion {
|
83
|
+
color: #dc322f;
|
84
|
+
}
|
85
|
+
|
86
|
+
pre .tex .formula {
|
87
|
+
background: #073642;
|
88
|
+
}
|
89
|
+
pre {
|
90
|
+
counter-reset: lines;
|
91
|
+
}
|
92
|
+
pre .line {
|
93
|
+
counter-increment: lines;
|
94
|
+
}
|
95
|
+
pre .line::before {
|
96
|
+
content: counter(lines); text-align: right;
|
97
|
+
display: inline-block; width: 2em;
|
98
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
99
|
+
color: #eee8d5;
|
100
|
+
}
|
101
|
+
|
102
|
+
pre .line-callout::before {
|
103
|
+
content: '\2192'; text-align: right;
|
104
|
+
display: inline-block; width: 2em;
|
105
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
106
|
+
color: #002b36;
|
107
|
+
}
|
108
|
+
|
109
|
+
.lines-callout {
|
110
|
+
border-radius: 0.25em;
|
111
|
+
padding-top: 0.15em;
|
112
|
+
padding-bottom: 0.15em;
|
113
|
+
}
|
114
|
+
|
115
|
+
.lines-callout {
|
116
|
+
padding-top: 0.1em;
|
117
|
+
padding-bottom: 0.1em;
|
118
|
+
background: #073642;
|
119
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: #fdf6e3; color: #657b83;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .comment,
|
13
|
+
pre .template_comment,
|
14
|
+
pre .diff .header,
|
15
|
+
pre .doctype,
|
16
|
+
pre .pi,
|
17
|
+
pre .lisp .string,
|
18
|
+
pre .javadoc {
|
19
|
+
color: #93a1a1;
|
20
|
+
font-style: italic;
|
21
|
+
}
|
22
|
+
|
23
|
+
pre .keyword,
|
24
|
+
pre .winutils,
|
25
|
+
pre .method,
|
26
|
+
pre .addition,
|
27
|
+
pre .css .tag,
|
28
|
+
pre .request,
|
29
|
+
pre .status,
|
30
|
+
pre .nginx .title {
|
31
|
+
color: #859900;
|
32
|
+
}
|
33
|
+
|
34
|
+
pre .number,
|
35
|
+
pre .command,
|
36
|
+
pre .string,
|
37
|
+
pre .tag .value,
|
38
|
+
pre .phpdoc,
|
39
|
+
pre .tex .formula,
|
40
|
+
pre .regexp,
|
41
|
+
pre .hexcolor {
|
42
|
+
color: #2aa198;
|
43
|
+
}
|
44
|
+
|
45
|
+
pre .title,
|
46
|
+
pre .localvars,
|
47
|
+
pre .chunk,
|
48
|
+
pre .decorator,
|
49
|
+
pre .built_in,
|
50
|
+
pre .identifier,
|
51
|
+
pre .vhdl .literal,
|
52
|
+
pre .id {
|
53
|
+
color: #268bd2;
|
54
|
+
}
|
55
|
+
|
56
|
+
pre .attribute,
|
57
|
+
pre .variable,
|
58
|
+
pre .lisp .body,
|
59
|
+
pre .smalltalk .number,
|
60
|
+
pre .constant,
|
61
|
+
pre .class .title,
|
62
|
+
pre .parent,
|
63
|
+
pre .haskell .type {
|
64
|
+
color: #b58900;
|
65
|
+
}
|
66
|
+
|
67
|
+
pre .preprocessor,
|
68
|
+
pre .preprocessor .keyword,
|
69
|
+
pre .shebang,
|
70
|
+
pre .symbol,
|
71
|
+
pre .symbol .string,
|
72
|
+
pre .diff .change,
|
73
|
+
pre .special,
|
74
|
+
pre .attr_selector,
|
75
|
+
pre .important,
|
76
|
+
pre .subst,
|
77
|
+
pre .cdata,
|
78
|
+
pre .clojure .title {
|
79
|
+
color: #cb4b16;
|
80
|
+
}
|
81
|
+
|
82
|
+
pre .deletion {
|
83
|
+
color: #dc322f;
|
84
|
+
}
|
85
|
+
|
86
|
+
pre .tex .formula {
|
87
|
+
background: #eee8d5;
|
88
|
+
}
|
89
|
+
pre {
|
90
|
+
counter-reset: lines;
|
91
|
+
}
|
92
|
+
pre .line {
|
93
|
+
counter-increment: lines;
|
94
|
+
}
|
95
|
+
pre .line::before {
|
96
|
+
content: counter(lines); text-align: right;
|
97
|
+
display: inline-block; width: 2em;
|
98
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
99
|
+
color: #eee8d5;
|
100
|
+
}
|
101
|
+
|
102
|
+
pre .line-callout::before {
|
103
|
+
content: '\2192'; text-align: right;
|
104
|
+
display: inline-block; width: 2em;
|
105
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
106
|
+
color: #002b36;
|
107
|
+
}
|
108
|
+
|
109
|
+
.lines-callout {
|
110
|
+
border-radius: 0.25em;
|
111
|
+
padding-top: 0.15em;
|
112
|
+
padding-bottom: 0.15em;
|
113
|
+
}
|
114
|
+
|
115
|
+
.lines-callout {
|
116
|
+
padding-top: 0.1em;
|
117
|
+
padding-bottom: 0.1em;
|
118
|
+
background: #eee8d5;
|
119
|
+
}
|
@@ -0,0 +1,179 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
background: #000; color: #f8f8f8;
|
10
|
+
}
|
11
|
+
|
12
|
+
pre .comment,
|
13
|
+
pre .template_comment,
|
14
|
+
pre .javadoc {
|
15
|
+
color: #aeaeae;
|
16
|
+
font-style: italic;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre .keyword,
|
20
|
+
pre .ruby .function .keyword,
|
21
|
+
pre .request,
|
22
|
+
pre .status,
|
23
|
+
pre .nginx .title {
|
24
|
+
color: #E28964;
|
25
|
+
}
|
26
|
+
|
27
|
+
pre .function .keyword,
|
28
|
+
pre .sub .keyword,
|
29
|
+
pre .method,
|
30
|
+
pre .list .title {
|
31
|
+
color: #99CF50;
|
32
|
+
}
|
33
|
+
|
34
|
+
pre .string,
|
35
|
+
pre .tag .value,
|
36
|
+
pre .cdata,
|
37
|
+
pre .filter .argument,
|
38
|
+
pre .attr_selector,
|
39
|
+
pre .apache .cbracket,
|
40
|
+
pre .date,
|
41
|
+
pre .tex .command {
|
42
|
+
color: #65B042;
|
43
|
+
}
|
44
|
+
|
45
|
+
pre .subst {
|
46
|
+
color: #DAEFA3;
|
47
|
+
}
|
48
|
+
|
49
|
+
pre .regexp {
|
50
|
+
color: #E9C062;
|
51
|
+
}
|
52
|
+
|
53
|
+
pre .title,
|
54
|
+
pre .sub .identifier,
|
55
|
+
pre .pi,
|
56
|
+
pre .tag,
|
57
|
+
pre .tag .keyword,
|
58
|
+
pre .decorator,
|
59
|
+
pre .shebang,
|
60
|
+
pre .input_number {
|
61
|
+
color: #89BDFF;
|
62
|
+
}
|
63
|
+
|
64
|
+
pre .class .title,
|
65
|
+
pre .haskell .type,
|
66
|
+
pre .smalltalk .class,
|
67
|
+
pre .javadoctag,
|
68
|
+
pre .yardoctag,
|
69
|
+
pre .phpdoc {
|
70
|
+
text-decoration: underline;
|
71
|
+
}
|
72
|
+
|
73
|
+
pre .symbol,
|
74
|
+
pre .ruby .symbol .string,
|
75
|
+
pre .number {
|
76
|
+
color: #3387CC;
|
77
|
+
}
|
78
|
+
|
79
|
+
pre .params,
|
80
|
+
pre .variable,
|
81
|
+
pre .clojure .attribute {
|
82
|
+
color: #3E87E3;
|
83
|
+
}
|
84
|
+
|
85
|
+
pre .css .tag,
|
86
|
+
pre .rules .property,
|
87
|
+
pre .pseudo,
|
88
|
+
pre .tex .special {
|
89
|
+
color: #CDA869;
|
90
|
+
}
|
91
|
+
|
92
|
+
pre .css .class {
|
93
|
+
color: #9B703F;
|
94
|
+
}
|
95
|
+
|
96
|
+
pre .rules .keyword {
|
97
|
+
color: #C5AF75;
|
98
|
+
}
|
99
|
+
|
100
|
+
pre .rules .value {
|
101
|
+
color: #CF6A4C;
|
102
|
+
}
|
103
|
+
|
104
|
+
pre .css .id {
|
105
|
+
color: #8B98AB;
|
106
|
+
}
|
107
|
+
|
108
|
+
pre .annotation,
|
109
|
+
pre .apache .sqbracket,
|
110
|
+
pre .nginx .built_in {
|
111
|
+
color: #9B859D;
|
112
|
+
}
|
113
|
+
|
114
|
+
pre .preprocessor {
|
115
|
+
color: #8996A8;
|
116
|
+
}
|
117
|
+
|
118
|
+
pre .hexcolor,
|
119
|
+
pre .css .value .number {
|
120
|
+
color: #DD7B3B;
|
121
|
+
}
|
122
|
+
|
123
|
+
pre .css .function {
|
124
|
+
color: #DAD085;
|
125
|
+
}
|
126
|
+
|
127
|
+
pre .diff .header,
|
128
|
+
pre .chunk,
|
129
|
+
pre .tex .formula {
|
130
|
+
background-color: #0E2231;
|
131
|
+
color: #F8F8F8;
|
132
|
+
font-style: italic;
|
133
|
+
}
|
134
|
+
|
135
|
+
pre .diff .change {
|
136
|
+
background-color: #4A410D;
|
137
|
+
color: #F8F8F8;
|
138
|
+
}
|
139
|
+
|
140
|
+
pre .addition {
|
141
|
+
background-color: #253B22;
|
142
|
+
color: #F8F8F8;
|
143
|
+
}
|
144
|
+
|
145
|
+
pre .deletion {
|
146
|
+
background-color: #420E09;
|
147
|
+
color: #F8F8F8;
|
148
|
+
}
|
149
|
+
pre {
|
150
|
+
counter-reset: lines;
|
151
|
+
}
|
152
|
+
pre .line {
|
153
|
+
counter-increment: lines;
|
154
|
+
}
|
155
|
+
pre .line::before {
|
156
|
+
content: counter(lines); text-align: right;
|
157
|
+
display: inline-block; width: 2em;
|
158
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
159
|
+
color: #eee8d5;
|
160
|
+
}
|
161
|
+
|
162
|
+
pre .line-callout::before {
|
163
|
+
content: '\2192'; text-align: right;
|
164
|
+
display: inline-block; width: 2em;
|
165
|
+
padding-right: 0.5em; margin-right: 0.5em;
|
166
|
+
color: #002b36;
|
167
|
+
}
|
168
|
+
|
169
|
+
.lines-callout {
|
170
|
+
border-radius: 0.25em;
|
171
|
+
padding-top: 0.15em;
|
172
|
+
padding-bottom: 0.15em;
|
173
|
+
}
|
174
|
+
|
175
|
+
.lines-callout {
|
176
|
+
padding-top: 0.1em;
|
177
|
+
padding-bottom: 0.1em;
|
178
|
+
background: #0E2231;
|
179
|
+
}
|