review-retrovert 0.3.2 → 0.9.4
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.
- checksums.yaml +4 -4
- data/.github/workflows/retrovert.yml +61 -0
- data/.gitignore +2 -2
- data/.ruby-version +1 -0
- data/Dockerfile +1 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +82 -17
- data/README.md +64 -4
- data/lib/review/retrovert/cli.rb +4 -0
- data/lib/review/retrovert/converter.rb +393 -15
- data/lib/review/retrovert/version.rb +1 -1
- data/lib/review/retrovert/yamlconfig.rb +33 -2
- data/review-retrovert.gemspec +2 -2
- data/testdata/mybook/.gitignore +7 -0
- data/testdata/mybook/README.md +43 -0
- data/testdata/mybook/Rakefile +16 -0
- data/testdata/mybook/catalog.yml +34 -0
- data/testdata/mybook/config-retrovert.yml +7 -0
- data/testdata/mybook/config-starter.yml +139 -0
- data/testdata/mybook/config.yml +375 -0
- data/testdata/mybook/contents/00-preface.re +83 -0
- data/testdata/mybook/contents/01-install.re +272 -0
- data/testdata/mybook/contents/02-tutorial.re +1008 -0
- data/testdata/mybook/contents/03-syntax.re +2613 -0
- data/testdata/mybook/contents/04-customize.re +728 -0
- data/testdata/mybook/contents/05-faq.re +328 -0
- data/testdata/mybook/contents/06-bestpractice.re +971 -0
- data/testdata/mybook/contents/91-compare.re +18 -0
- data/testdata/mybook/contents/92-filelist.re +119 -0
- data/testdata/mybook/contents/93-background.re +267 -0
- data/testdata/mybook/contents/99-postface.re +38 -0
- data/testdata/mybook/contents/r0-inner.re +2 -0
- data/testdata/mybook/contents/r0-root.re +4 -0
- data/testdata/mybook/css/normalize.css +349 -0
- data/testdata/mybook/css/webstyle.css +514 -0
- data/testdata/mybook/images/03-syntax/favicon-16x16.png +0 -0
- data/testdata/mybook/images/03-syntax/figure_heretop.png +0 -0
- data/testdata/mybook/images/03-syntax/tw-icon1.jpg +0 -0
- data/testdata/mybook/images/03-syntax/tw-icon2.jpg +0 -0
- data/testdata/mybook/images/03-syntax/tw-icon3.jpg +0 -0
- data/testdata/mybook/images/03-syntax/tw-icon4.jpg +0 -0
- data/testdata/mybook/images/04-customize/caption_pagebreak.png +0 -0
- data/testdata/mybook/images/04-customize/chaptitlepage_sample.png +0 -0
- data/testdata/mybook/images/05-faq/codeblock_rpadding1.png +0 -0
- data/testdata/mybook/images/05-faq/codeblock_rpadding2.png +0 -0
- data/testdata/mybook/images/06-bestpractice/figure_heretop.png +0 -0
- data/testdata/mybook/images/06-bestpractice/font_beramono.png +0 -0
- data/testdata/mybook/images/06-bestpractice/heading_design1.png +0 -0
- data/testdata/mybook/images/06-bestpractice/heading_design2.png +0 -0
- data/testdata/mybook/images/06-bestpractice/margin_book.png +0 -0
- data/testdata/mybook/images/06-bestpractice/multiline-title.png +0 -0
- data/testdata/mybook/images/06-bestpractice/preface_numbered.png +0 -0
- data/testdata/mybook/images/06-bestpractice/program_border.png +0 -0
- data/testdata/mybook/images/06-bestpractice/sechead_design_4.png +0 -0
- data/testdata/mybook/images/06-bestpractice/titlepage-samples.png +0 -0
- data/testdata/mybook/images/93-background/bug913.png +0 -0
- data/testdata/mybook/images/93-background/slide2.png +0 -0
- data/testdata/mybook/images/cover_a5.pdf +0 -0
- data/testdata/mybook/images/cover_b5.pdf +0 -0
- data/testdata/mybook/images/tw-icon.jpg +0 -0
- data/testdata/mybook/layouts/layout.epub.erb +29 -0
- data/testdata/mybook/layouts/layout.html5.erb +106 -0
- data/testdata/mybook/layouts/layout.tex.erb +546 -0
- data/testdata/mybook/lib/hooks/beforetexcompile.rb +55 -0
- data/testdata/mybook/lib/ruby/review-builder.rb +503 -0
- data/testdata/mybook/lib/ruby/review-cli.rb +58 -0
- data/testdata/mybook/lib/ruby/review-compiler.rb +523 -0
- data/testdata/mybook/lib/ruby/review-epubmaker.rb +606 -0
- data/testdata/mybook/lib/ruby/review-htmlbuilder.rb +661 -0
- data/testdata/mybook/lib/ruby/review-latexbuilder.rb +782 -0
- data/testdata/mybook/lib/ruby/review-maker.rb +235 -0
- data/testdata/mybook/lib/ruby/review-monkeypatch.rb +91 -0
- data/testdata/mybook/lib/ruby/review-pdfmaker.rb +468 -0
- data/testdata/mybook/lib/ruby/review-textbuilder.rb +36 -0
- data/testdata/mybook/lib/ruby/review-tocparser.rb +285 -0
- data/testdata/mybook/lib/ruby/review-webmaker.rb +433 -0
- data/testdata/mybook/lib/tasks/mytasks.rake +31 -0
- data/testdata/mybook/lib/tasks/review.rake +142 -0
- data/testdata/mybook/lib/tasks/review.rake.orig +72 -0
- data/testdata/mybook/lib/tasks/starter.rake +326 -0
- data/testdata/mybook/locale.yml +6 -0
- data/testdata/mybook/review-ext.rb +206 -0
- data/testdata/mybook/sty/jumoline.sty +310 -0
- data/testdata/mybook/sty/mycolophon.sty +81 -0
- data/testdata/mybook/sty/mystyle.sty +8 -0
- data/testdata/mybook/sty/mytextsize.sty +61 -0
- data/testdata/mybook/sty/mytitlepage.sty +103 -0
- data/testdata/mybook/sty/reviewmacro.sty +60 -0
- data/testdata/mybook/sty/starter-codeblock.sty +332 -0
- data/testdata/mybook/sty/starter-color.sty +79 -0
- data/testdata/mybook/sty/starter-font.sty +112 -0
- data/testdata/mybook/sty/starter-heading.sty +514 -0
- data/testdata/mybook/sty/starter-note.sty +127 -0
- data/testdata/mybook/sty/starter-section.sty +262 -0
- data/testdata/mybook/sty/starter-toc.sty +72 -0
- data/testdata/mybook/sty/starter.sty +554 -0
- data/testdata/mybook/style.css +597 -0
- metadata +105 -12
- data/.travis.yml +0 -6
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
/* Tatujin-Publishing */
|
|
3
|
+
/* Style sheet for epub */
|
|
4
|
+
/* Ver.0.8b1 */
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
Scale & Rhythm
|
|
8
|
+
line-height 1.6
|
|
9
|
+
16px = 1em
|
|
10
|
+
x:p:h1:h2:h3 = 12px:14px:16px:24px:30px
|
|
11
|
+
*/
|
|
12
|
+
* {
|
|
13
|
+
}
|
|
14
|
+
body {
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
font-size: 1em;
|
|
18
|
+
line-height:1.6;
|
|
19
|
+
font-family: "ShinGoPro-Regular","ShinGo-Regular", sans-serif;
|
|
20
|
+
/*
|
|
21
|
+
word-break: normal;
|
|
22
|
+
-webkit-line-break: after-white-space;
|
|
23
|
+
*/
|
|
24
|
+
}
|
|
25
|
+
p, ul, ol, dl, pre, table {
|
|
26
|
+
font-family: "ShinGo Regular","ShinGo R","新ゴR","新ゴ R", sans-serif;
|
|
27
|
+
font-size: 0.875em;
|
|
28
|
+
}
|
|
29
|
+
/* Heading */
|
|
30
|
+
h1 {
|
|
31
|
+
margin: 0 0 3em;
|
|
32
|
+
padding: 0.5em 0 0;
|
|
33
|
+
border-top: 14px #326450 solid;
|
|
34
|
+
text-align: left;
|
|
35
|
+
font-size: 1.875em;
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
}
|
|
38
|
+
h2 {
|
|
39
|
+
margin: 3em 0 0.5em;
|
|
40
|
+
padding: 0.5em 0 0;
|
|
41
|
+
border-top: 2px #326450 solid;
|
|
42
|
+
text-align: left;
|
|
43
|
+
font-size: 1.5em;
|
|
44
|
+
font-weight: bold;
|
|
45
|
+
}
|
|
46
|
+
h3 {
|
|
47
|
+
margin: 3em 0 0.5em;
|
|
48
|
+
padding: 0;
|
|
49
|
+
text-align: left;
|
|
50
|
+
font-size: 1em;
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
h4, h5, h6 {
|
|
54
|
+
margin:0.7em 0;
|
|
55
|
+
padding: 0;
|
|
56
|
+
text-align: left;
|
|
57
|
+
line-height: 1.6;
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
}
|
|
60
|
+
/* Paragraph */
|
|
61
|
+
p {
|
|
62
|
+
margin:0.7em 0;
|
|
63
|
+
padding: 0;
|
|
64
|
+
text-align: left;
|
|
65
|
+
text-indent: 1em;
|
|
66
|
+
line-height: 1.6;
|
|
67
|
+
}
|
|
68
|
+
div.lead p {
|
|
69
|
+
color: #666;
|
|
70
|
+
line-height: 1.6;
|
|
71
|
+
font-size: 0.75em;
|
|
72
|
+
}
|
|
73
|
+
/* List */
|
|
74
|
+
ul, ol {
|
|
75
|
+
margin: 2em 0 2em 2em;
|
|
76
|
+
padding: 0;
|
|
77
|
+
list-style-position: outside;
|
|
78
|
+
}
|
|
79
|
+
ul > li,
|
|
80
|
+
ol > li {
|
|
81
|
+
margin: 0 0 0.7em 0;
|
|
82
|
+
padding: 0;
|
|
83
|
+
line-height: 1.6;
|
|
84
|
+
}
|
|
85
|
+
dl {
|
|
86
|
+
margin: 2em 0;
|
|
87
|
+
padding: 0;
|
|
88
|
+
}
|
|
89
|
+
dt {
|
|
90
|
+
margin: 0;
|
|
91
|
+
padding: 0;
|
|
92
|
+
font-weight: bold;
|
|
93
|
+
}
|
|
94
|
+
dd {
|
|
95
|
+
margin: 0 0 1em 2em;
|
|
96
|
+
padding: 0;
|
|
97
|
+
line-height: 1.6;
|
|
98
|
+
}
|
|
99
|
+
/* Table
|
|
100
|
+
p.tablecaptionではなく
|
|
101
|
+
table caption {}を使う方が良いかも?
|
|
102
|
+
*/
|
|
103
|
+
table {
|
|
104
|
+
margin: 0 auto 2em auto;
|
|
105
|
+
border-collapse: collapse;
|
|
106
|
+
}
|
|
107
|
+
table tr th {
|
|
108
|
+
background-color: #eee;
|
|
109
|
+
border:1px #aaa solid;
|
|
110
|
+
font-size: 0.75em;
|
|
111
|
+
font-weight: normal;
|
|
112
|
+
}
|
|
113
|
+
table tr td {
|
|
114
|
+
padding: 0.3em;
|
|
115
|
+
border:1px #aaa solid;
|
|
116
|
+
font-size: 0.75em;
|
|
117
|
+
}
|
|
118
|
+
p.tablecaption, table caption {
|
|
119
|
+
margin: 0;
|
|
120
|
+
color: #666;
|
|
121
|
+
font-size: 0.75em;
|
|
122
|
+
font-weight: bold;
|
|
123
|
+
text-indent: 0;
|
|
124
|
+
}
|
|
125
|
+
/* Quote */
|
|
126
|
+
blockquote {
|
|
127
|
+
margin: 2em 0 2em 2em;
|
|
128
|
+
padding: 0.3em 1em;
|
|
129
|
+
border: 1px #aaa solid;
|
|
130
|
+
}
|
|
131
|
+
/* Column Block */
|
|
132
|
+
div.column {
|
|
133
|
+
margin: 2em 0 2em 2em;
|
|
134
|
+
padding: 0.3em 1em;
|
|
135
|
+
background-color: #eee;
|
|
136
|
+
-webkit-border-radius: 0.7em;
|
|
137
|
+
}
|
|
138
|
+
div.column *{
|
|
139
|
+
margin:0.7em 0;
|
|
140
|
+
}
|
|
141
|
+
div.column ul,
|
|
142
|
+
div.column ol {
|
|
143
|
+
list-style-position: inside;
|
|
144
|
+
}
|
|
145
|
+
/* Code Block */
|
|
146
|
+
/*
|
|
147
|
+
※シンプルにできるかも
|
|
148
|
+
div.code {}
|
|
149
|
+
div.code pre.list,
|
|
150
|
+
div.code pre.cmd {}
|
|
151
|
+
div.code p.caption {}
|
|
152
|
+
*/
|
|
153
|
+
div.code, div.caption-code, div.source-code, div.emlist-code, div.emlistnum-code {
|
|
154
|
+
margin: 1em 0 2em 2em;
|
|
155
|
+
padding: 0;
|
|
156
|
+
}
|
|
157
|
+
pre.emlist, pre.source, pre.list {
|
|
158
|
+
margin: 0;
|
|
159
|
+
padding: 5px;
|
|
160
|
+
border: 1px #aaa solid;
|
|
161
|
+
}
|
|
162
|
+
div p.caption {
|
|
163
|
+
margin: 0;
|
|
164
|
+
color: #666;
|
|
165
|
+
font-size: 0.75em;
|
|
166
|
+
font-weight: bold;
|
|
167
|
+
}
|
|
168
|
+
div.cmd-code pre.cmd {
|
|
169
|
+
margin: 0;
|
|
170
|
+
padding: 5px;
|
|
171
|
+
color: #ccc;
|
|
172
|
+
font-weight: bold;
|
|
173
|
+
background-color: #444;
|
|
174
|
+
-webkit-border-radius: 0.5em;
|
|
175
|
+
}
|
|
176
|
+
pre.cmd, pre.emlist, pre.list, pre.source {
|
|
177
|
+
white-space: pre-wrap;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* Image Block */
|
|
181
|
+
/* div.image p.caption {}
|
|
182
|
+
※captionをそろえた方が良いかも?*/
|
|
183
|
+
div.image {
|
|
184
|
+
margin: 2em auto;
|
|
185
|
+
padding: 0;
|
|
186
|
+
}
|
|
187
|
+
div.image img {
|
|
188
|
+
margin: 0 auto;
|
|
189
|
+
padding: 0;
|
|
190
|
+
display: block;
|
|
191
|
+
}
|
|
192
|
+
div.image p.caption {
|
|
193
|
+
margin: 0 auto;
|
|
194
|
+
text-align: center;
|
|
195
|
+
color: #666;
|
|
196
|
+
font-size: 0.75em;
|
|
197
|
+
font-weight: bold;
|
|
198
|
+
text-indent: 0;
|
|
199
|
+
}
|
|
200
|
+
/* Footnote Block */
|
|
201
|
+
/* p.footnoteはいらないかも? */
|
|
202
|
+
div.footnote {
|
|
203
|
+
}
|
|
204
|
+
div.footnote p.footnote {
|
|
205
|
+
color: #666;
|
|
206
|
+
line-height: 1.6;
|
|
207
|
+
font-size: 0.75em;
|
|
208
|
+
text-indent: 0;
|
|
209
|
+
}
|
|
210
|
+
/* Colophon */
|
|
211
|
+
div.colophon {
|
|
212
|
+
margin: 3em auto;
|
|
213
|
+
}
|
|
214
|
+
div.colophon p {
|
|
215
|
+
text-indent: 0;
|
|
216
|
+
}
|
|
217
|
+
div.colophon p.title {
|
|
218
|
+
font-size: 1.5em;
|
|
219
|
+
}
|
|
220
|
+
div.colophon table {
|
|
221
|
+
margin: 1em 0 2em;
|
|
222
|
+
border: none;
|
|
223
|
+
}
|
|
224
|
+
div.colophon table tr th {
|
|
225
|
+
background-color: #fff;
|
|
226
|
+
font-size: 1.2em;
|
|
227
|
+
font-weight: normal;
|
|
228
|
+
border: none;
|
|
229
|
+
}
|
|
230
|
+
div.colophon table tr td {
|
|
231
|
+
font-size: 1.2em;
|
|
232
|
+
font-weight: normal;
|
|
233
|
+
border: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/* Inline */
|
|
237
|
+
a[href],
|
|
238
|
+
a:link,
|
|
239
|
+
a:visited {
|
|
240
|
+
border-bottom: 1px dotted #531084;
|
|
241
|
+
text-decoration: none;
|
|
242
|
+
}
|
|
243
|
+
b {
|
|
244
|
+
font-weight: bold;
|
|
245
|
+
}
|
|
246
|
+
strong{
|
|
247
|
+
font-weight: bold;
|
|
248
|
+
}
|
|
249
|
+
em {
|
|
250
|
+
font-style: italic;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.cursor {
|
|
254
|
+
color: #000;
|
|
255
|
+
background: #fff;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* from Rouge
|
|
261
|
+
*/
|
|
262
|
+
.highlight table td { padding: 5px; }
|
|
263
|
+
.highlight table pre { margin: 0; }
|
|
264
|
+
.highlight .cm {
|
|
265
|
+
color: #999988;
|
|
266
|
+
font-style: italic;
|
|
267
|
+
}
|
|
268
|
+
.highlight .cp {
|
|
269
|
+
color: #999999;
|
|
270
|
+
font-weight: bold;
|
|
271
|
+
}
|
|
272
|
+
.highlight .c1 {
|
|
273
|
+
color: #999988;
|
|
274
|
+
font-style: italic;
|
|
275
|
+
}
|
|
276
|
+
.highlight .cs {
|
|
277
|
+
color: #999999;
|
|
278
|
+
font-weight: bold;
|
|
279
|
+
font-style: italic;
|
|
280
|
+
}
|
|
281
|
+
.highlight .c, .highlight .cd {
|
|
282
|
+
color: #999988;
|
|
283
|
+
font-style: italic;
|
|
284
|
+
}
|
|
285
|
+
.highlight .err {
|
|
286
|
+
color: #a61717;
|
|
287
|
+
background-color: #e3d2d2;
|
|
288
|
+
}
|
|
289
|
+
.highlight .gd {
|
|
290
|
+
color: #000000;
|
|
291
|
+
background-color: #ffdddd;
|
|
292
|
+
}
|
|
293
|
+
.highlight .ge {
|
|
294
|
+
color: #000000;
|
|
295
|
+
font-style: italic;
|
|
296
|
+
}
|
|
297
|
+
.highlight .gr {
|
|
298
|
+
color: #aa0000;
|
|
299
|
+
}
|
|
300
|
+
.highlight .gh {
|
|
301
|
+
color: #999999;
|
|
302
|
+
}
|
|
303
|
+
.highlight .gi {
|
|
304
|
+
color: #000000;
|
|
305
|
+
background-color: #ddffdd;
|
|
306
|
+
}
|
|
307
|
+
.highlight .go {
|
|
308
|
+
color: #888888;
|
|
309
|
+
}
|
|
310
|
+
.highlight .gp {
|
|
311
|
+
color: #555555;
|
|
312
|
+
}
|
|
313
|
+
.highlight .gs {
|
|
314
|
+
font-weight: bold;
|
|
315
|
+
}
|
|
316
|
+
.highlight .gu {
|
|
317
|
+
color: #aaaaaa;
|
|
318
|
+
}
|
|
319
|
+
.highlight .gt {
|
|
320
|
+
color: #aa0000;
|
|
321
|
+
}
|
|
322
|
+
.highlight .kc {
|
|
323
|
+
color: #000000;
|
|
324
|
+
font-weight: bold;
|
|
325
|
+
}
|
|
326
|
+
.highlight .kd {
|
|
327
|
+
color: #000000;
|
|
328
|
+
font-weight: bold;
|
|
329
|
+
}
|
|
330
|
+
.highlight .kn {
|
|
331
|
+
color: #000000;
|
|
332
|
+
font-weight: bold;
|
|
333
|
+
}
|
|
334
|
+
.highlight .kp {
|
|
335
|
+
color: #000000;
|
|
336
|
+
font-weight: bold;
|
|
337
|
+
}
|
|
338
|
+
.highlight .kr {
|
|
339
|
+
color: #000000;
|
|
340
|
+
font-weight: bold;
|
|
341
|
+
}
|
|
342
|
+
.highlight .kt {
|
|
343
|
+
color: #445588;
|
|
344
|
+
font-weight: bold;
|
|
345
|
+
}
|
|
346
|
+
.highlight .k, .highlight .kv {
|
|
347
|
+
color: #000000;
|
|
348
|
+
font-weight: bold;
|
|
349
|
+
}
|
|
350
|
+
.highlight .mf {
|
|
351
|
+
color: #009999;
|
|
352
|
+
}
|
|
353
|
+
.highlight .mh {
|
|
354
|
+
color: #009999;
|
|
355
|
+
}
|
|
356
|
+
.highlight .il {
|
|
357
|
+
color: #009999;
|
|
358
|
+
}
|
|
359
|
+
.highlight .mi {
|
|
360
|
+
color: #009999;
|
|
361
|
+
}
|
|
362
|
+
.highlight .mo {
|
|
363
|
+
color: #009999;
|
|
364
|
+
}
|
|
365
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
|
366
|
+
color: #009999;
|
|
367
|
+
}
|
|
368
|
+
.highlight .sb {
|
|
369
|
+
color: #d14;
|
|
370
|
+
}
|
|
371
|
+
.highlight .sc {
|
|
372
|
+
color: #d14;
|
|
373
|
+
}
|
|
374
|
+
.highlight .sd {
|
|
375
|
+
color: #d14;
|
|
376
|
+
}
|
|
377
|
+
.highlight .s2 {
|
|
378
|
+
color: #d14;
|
|
379
|
+
}
|
|
380
|
+
.highlight .se {
|
|
381
|
+
color: #d14;
|
|
382
|
+
}
|
|
383
|
+
.highlight .sh {
|
|
384
|
+
color: #d14;
|
|
385
|
+
}
|
|
386
|
+
.highlight .si {
|
|
387
|
+
color: #d14;
|
|
388
|
+
}
|
|
389
|
+
.highlight .sx {
|
|
390
|
+
color: #d14;
|
|
391
|
+
}
|
|
392
|
+
.highlight .sr {
|
|
393
|
+
color: #009926;
|
|
394
|
+
}
|
|
395
|
+
.highlight .s1 {
|
|
396
|
+
color: #d14;
|
|
397
|
+
}
|
|
398
|
+
.highlight .ss {
|
|
399
|
+
color: #990073;
|
|
400
|
+
}
|
|
401
|
+
.highlight .s {
|
|
402
|
+
color: #d14;
|
|
403
|
+
}
|
|
404
|
+
.highlight .na {
|
|
405
|
+
color: #008080;
|
|
406
|
+
}
|
|
407
|
+
.highlight .bp {
|
|
408
|
+
color: #999999;
|
|
409
|
+
}
|
|
410
|
+
.highlight .nb {
|
|
411
|
+
color: #0086B3;
|
|
412
|
+
}
|
|
413
|
+
.highlight .nc {
|
|
414
|
+
color: #445588;
|
|
415
|
+
font-weight: bold;
|
|
416
|
+
}
|
|
417
|
+
.highlight .no {
|
|
418
|
+
color: #008080;
|
|
419
|
+
}
|
|
420
|
+
.highlight .nd {
|
|
421
|
+
color: #3c5d5d;
|
|
422
|
+
font-weight: bold;
|
|
423
|
+
}
|
|
424
|
+
.highlight .ni {
|
|
425
|
+
color: #800080;
|
|
426
|
+
}
|
|
427
|
+
.highlight .ne {
|
|
428
|
+
color: #990000;
|
|
429
|
+
font-weight: bold;
|
|
430
|
+
}
|
|
431
|
+
.highlight .nf {
|
|
432
|
+
color: #990000;
|
|
433
|
+
font-weight: bold;
|
|
434
|
+
}
|
|
435
|
+
.highlight .nl {
|
|
436
|
+
color: #990000;
|
|
437
|
+
font-weight: bold;
|
|
438
|
+
}
|
|
439
|
+
.highlight .nn {
|
|
440
|
+
color: #555555;
|
|
441
|
+
}
|
|
442
|
+
.highlight .nt {
|
|
443
|
+
color: #000080;
|
|
444
|
+
}
|
|
445
|
+
.highlight .vc {
|
|
446
|
+
color: #008080;
|
|
447
|
+
}
|
|
448
|
+
.highlight .vg {
|
|
449
|
+
color: #008080;
|
|
450
|
+
}
|
|
451
|
+
.highlight .vi {
|
|
452
|
+
color: #008080;
|
|
453
|
+
}
|
|
454
|
+
.highlight .nv {
|
|
455
|
+
color: #008080;
|
|
456
|
+
}
|
|
457
|
+
.highlight .ow {
|
|
458
|
+
color: #000000;
|
|
459
|
+
font-weight: bold;
|
|
460
|
+
}
|
|
461
|
+
.highlight .o {
|
|
462
|
+
color: #000000;
|
|
463
|
+
font-weight: bold;
|
|
464
|
+
}
|
|
465
|
+
.highlight .w {
|
|
466
|
+
color: #bbbbbb;
|
|
467
|
+
}
|
|
468
|
+
.highlight {
|
|
469
|
+
background-color: #f8f8f8;
|
|
470
|
+
}
|
|
471
|
+
.rouge-table { border-spacing: 0 }
|
|
472
|
+
.rouge-gutter { text-align: right }
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* from EBPAJ EPUB 3 File Creation Guide sample style
|
|
476
|
+
*
|
|
477
|
+
* cf. http://ebpaj.jp/counsel/guide
|
|
478
|
+
*/
|
|
479
|
+
|
|
480
|
+
/* image width definition(pacentage) */
|
|
481
|
+
.width-010per { width: 10%; }
|
|
482
|
+
.width-020per { width: 20%; }
|
|
483
|
+
.width-025per { width: 25%; }
|
|
484
|
+
.width-030per { width: 30%; }
|
|
485
|
+
.width-033per { width: 33%; }
|
|
486
|
+
.width-040per { width: 40%; }
|
|
487
|
+
.width-050per { width: 50%; }
|
|
488
|
+
.width-060per { width: 60%; }
|
|
489
|
+
.width-067per { width: 67%; }
|
|
490
|
+
.width-070per { width: 70%; }
|
|
491
|
+
.width-075per { width: 75%; }
|
|
492
|
+
.width-080per { width: 80%; }
|
|
493
|
+
.width-090per { width: 90%; }
|
|
494
|
+
.width-100per { width: 100%; }
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
/*
|
|
498
|
+
* Starter
|
|
499
|
+
*/
|
|
500
|
+
h4, h5, h6 {
|
|
501
|
+
margin-top: 1.0em;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
tt, code, pre, kbd {
|
|
506
|
+
font-family: Consolas,Monaco,Menlo,'Andale Mono','Ubuntu Mono',monospace;
|
|
507
|
+
white-space: pre;
|
|
508
|
+
word-break: normal;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
pre.emlist, pre.source, pre.list {
|
|
512
|
+
background: #eeeeee;
|
|
513
|
+
}
|
|
514
|
+
div.code, div.caption-code, div.source-code, div.emlist-code, div.emlistnum-code, div.cmd-code {
|
|
515
|
+
margin: 1.5em 0;
|
|
516
|
+
padding: 0;
|
|
517
|
+
}
|
|
518
|
+
div.cmd-code > pre.list {
|
|
519
|
+
background: #111;
|
|
520
|
+
color: #fff;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
ul, ol {
|
|
524
|
+
margin: 1.5em 0 1.5em 3em;
|
|
525
|
+
}
|
|
526
|
+
ol.ol-none {
|
|
527
|
+
list-style-type: none;
|
|
528
|
+
}
|
|
529
|
+
.li-mark {
|
|
530
|
+
display: inline-block;
|
|
531
|
+
width: 3em;
|
|
532
|
+
margin-left: -3.3em;
|
|
533
|
+
margin-right: 0.3em;
|
|
534
|
+
text-align: right;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
div.footnote {
|
|
538
|
+
margin-left: 4em;
|
|
539
|
+
}
|
|
540
|
+
span.footnote-mark {
|
|
541
|
+
display: inline-block;
|
|
542
|
+
width: 3em;
|
|
543
|
+
margin-left: -3.2em;
|
|
544
|
+
margin-right: 0.2em;
|
|
545
|
+
text-align: right;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.caption {
|
|
549
|
+
font-size: 0.875em;
|
|
550
|
+
}
|
|
551
|
+
.caption:before {
|
|
552
|
+
content: '▼ ';
|
|
553
|
+
color: #999;
|
|
554
|
+
}
|
|
555
|
+
div.image > .caption:before {
|
|
556
|
+
content: '▲ ';
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
div.note {
|
|
560
|
+
margin: 3em 1em;
|
|
561
|
+
padding: 5px 10px;
|
|
562
|
+
border: dotted 4px #f96;
|
|
563
|
+
border-width: 4px 0;
|
|
564
|
+
background: #fff9f9;
|
|
565
|
+
}
|
|
566
|
+
div.note > h5 {
|
|
567
|
+
font-size: 1em;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
em.lineno, em.linenowidth {
|
|
571
|
+
font-style: normal;
|
|
572
|
+
color: #999;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
img.border-on {
|
|
576
|
+
border: solid 1px #ccc;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.file {
|
|
580
|
+
font-family: sans-serif;
|
|
581
|
+
}
|
|
582
|
+
.userinput {
|
|
583
|
+
text-decoration: underline;
|
|
584
|
+
}
|
|
585
|
+
.balloon {
|
|
586
|
+
color: #999;
|
|
587
|
+
}
|
|
588
|
+
.weak {
|
|
589
|
+
color: #999;
|
|
590
|
+
}
|
|
591
|
+
.image-bordered {
|
|
592
|
+
border: solid 1px #ccc;
|
|
593
|
+
}
|
|
594
|
+
.bou {
|
|
595
|
+
text-emphasis-style: dot filled;
|
|
596
|
+
-webkit-text-emphasis-style: dot filled;
|
|
597
|
+
}
|