prophecy 0.0.1

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.
Files changed (129) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/Overview.md +44 -0
  6. data/README.md +35 -0
  7. data/Rakefile +1 -0
  8. data/bin/kindlegen +18 -0
  9. data/bin/kindlegen.exe +0 -0
  10. data/bin/kindlegen_linux +0 -0
  11. data/bin/kindlegen_mac +0 -0
  12. data/bin/prophecy +4 -0
  13. data/docs/licenses/kindlegen/.empty_directory +0 -0
  14. data/docs/licenses/kindlegen/EULA.txt +61 -0
  15. data/docs/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 Linux.txt +21 -0
  16. data/docs/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 Mac.txt +21 -0
  17. data/docs/licenses/kindlegen/KindleGen OSS Notices 2009-07-29-Windows.txt +19 -0
  18. data/features/assets.feature +14 -0
  19. data/features/book.feature +10 -0
  20. data/features/generator.feature +15 -0
  21. data/features/support/hooks.rb +5 -0
  22. data/features/support/setup.rb +3 -0
  23. data/lib/prophecy/assets/.gitignore +2 -0
  24. data/lib/prophecy/assets/config.rb +20 -0
  25. data/lib/prophecy/assets/epub_template/META-INF/com.apple.ibooks.display-options.xml +6 -0
  26. data/lib/prophecy/assets/epub_template/META-INF/container.xml +6 -0
  27. data/lib/prophecy/assets/epub_template/OEBPS/.gitkeep +0 -0
  28. data/lib/prophecy/assets/epub_template/OEBPS/chapters/.gitkeep +0 -0
  29. data/lib/prophecy/assets/epub_template/OEBPS/content.opf.erb +114 -0
  30. data/lib/prophecy/assets/epub_template/OEBPS/toc.ncx.erb +18 -0
  31. data/lib/prophecy/assets/epub_template/mimetype +1 -0
  32. data/lib/prophecy/assets/fonts/Crimson-Bold.otf +0 -0
  33. data/lib/prophecy/assets/fonts/Crimson-BoldItalic.otf +0 -0
  34. data/lib/prophecy/assets/fonts/Crimson-Italic.otf +0 -0
  35. data/lib/prophecy/assets/fonts/Crimson-Roman.otf +0 -0
  36. data/lib/prophecy/assets/fonts/Crimson-Semibold.otf +0 -0
  37. data/lib/prophecy/assets/fonts/Crimson-SemiboldItalic.otf +0 -0
  38. data/lib/prophecy/assets/fonts/GenBasB.ttf +0 -0
  39. data/lib/prophecy/assets/fonts/GenBasBI.ttf +0 -0
  40. data/lib/prophecy/assets/fonts/GenBasI.ttf +0 -0
  41. data/lib/prophecy/assets/fonts/GenBasR.ttf +0 -0
  42. data/lib/prophecy/assets/fonts/GenBkBasB.ttf +0 -0
  43. data/lib/prophecy/assets/fonts/GenBkBasBI.ttf +0 -0
  44. data/lib/prophecy/assets/fonts/GenBkBasI.ttf +0 -0
  45. data/lib/prophecy/assets/fonts/GenBkBasR.ttf +0 -0
  46. data/lib/prophecy/assets/fonts/GentiumPlus-I.ttf +0 -0
  47. data/lib/prophecy/assets/fonts/GentiumPlus-R.ttf +0 -0
  48. data/lib/prophecy/assets/helpers/check_typos.sh +27 -0
  49. data/lib/prophecy/assets/helpers/helpers.rb +0 -0
  50. data/lib/prophecy/assets/helpers/pali_typos +2 -0
  51. data/lib/prophecy/assets/helpers/sed_chars +5 -0
  52. data/lib/prophecy/assets/helpers/sed_dumb_ebook +18 -0
  53. data/lib/prophecy/assets/helpers/sed_tex2uni +62 -0
  54. data/lib/prophecy/assets/helpers/tex2html.sh +112 -0
  55. data/lib/prophecy/assets/helpers/tex2md.sh +10 -0
  56. data/lib/prophecy/assets/helpers/tidy_quotes +1 -0
  57. data/lib/prophecy/assets/helpers/tidy_quotes.sh +8 -0
  58. data/lib/prophecy/assets/helpers/to-html.sh +9 -0
  59. data/lib/prophecy/assets/latex_template/Makefile +37 -0
  60. data/lib/prophecy/assets/latex_template/anecdote.cls +163 -0
  61. data/lib/prophecy/assets/latex_template/book-core-first.sty +673 -0
  62. data/lib/prophecy/assets/latex_template/book-core-last.sty +40 -0
  63. data/lib/prophecy/assets/latex_template/book_main.tex.erb +31 -0
  64. data/lib/prophecy/assets/latex_template/booklet_main.tex +15 -0
  65. data/lib/prophecy/assets/latex_template/chapters/.gitkeep +0 -0
  66. data/lib/prophecy/assets/latex_template/cover_main.tex +48 -0
  67. data/lib/prophecy/assets/latex_template/mylayout.sty +2 -0
  68. data/lib/prophecy/assets/layouts/page.xhtml.erb +20 -0
  69. data/lib/prophecy/assets/sass/_booktheme.sass +3 -0
  70. data/lib/prophecy/assets/sass/_byronic.sass +263 -0
  71. data/lib/prophecy/assets/sass/_colors.sass +7 -0
  72. data/lib/prophecy/assets/sass/_epub-css-starter-kit.sass +734 -0
  73. data/lib/prophecy/assets/sass/_font-existence.scss +12 -0
  74. data/lib/prophecy/assets/sass/_font-source-sans-pro.scss +75 -0
  75. data/lib/prophecy/assets/sass/_fontfaces.scss +11 -0
  76. data/lib/prophecy/assets/sass/_mixins.sass +4 -0
  77. data/lib/prophecy/assets/sass/print.sass +6 -0
  78. data/lib/prophecy/assets/sass/style-epub.sass +7 -0
  79. data/lib/prophecy/assets/sass/style-mobi-kf8.sass +7 -0
  80. data/lib/prophecy/assets/sass/style-mobi.sass +9 -0
  81. data/lib/prophecy/assets/stylesheets/print.css +3 -0
  82. data/lib/prophecy/assets/stylesheets/style-epub.css +401 -0
  83. data/lib/prophecy/assets/stylesheets/style-mobi-kf8.css +401 -0
  84. data/lib/prophecy/assets/stylesheets/style-mobi.css +317 -0
  85. data/lib/prophecy/assets/webfonts/existence-light.ttf +0 -0
  86. data/lib/prophecy/assets/webfonts/sourcesanspro-bold.ttf +0 -0
  87. data/lib/prophecy/assets/webfonts/sourcesanspro-extralight.ttf +0 -0
  88. data/lib/prophecy/assets/webfonts/sourcesanspro-italic.ttf +0 -0
  89. data/lib/prophecy/assets/webfonts/sourcesanspro-light.ttf +0 -0
  90. data/lib/prophecy/assets/webfonts/sourcesanspro-lightitalic.ttf +0 -0
  91. data/lib/prophecy/assets/webfonts/sourcesanspro-regular.ttf +0 -0
  92. data/lib/prophecy/assets/webfonts-extra/sourcesanspro-bolditalic.ttf +0 -0
  93. data/lib/prophecy/assets/webfonts-extra/sourcesanspro-extralightitalic.ttf +0 -0
  94. data/lib/prophecy/assets/webfonts-extra/sourcesanspro-semibold.ttf +0 -0
  95. data/lib/prophecy/assets/webfonts-extra/sourcesanspro-semibolditalic.ttf +0 -0
  96. data/lib/prophecy/book.rb +281 -0
  97. data/lib/prophecy/chapter.rb +359 -0
  98. data/lib/prophecy/cli.rb +144 -0
  99. data/lib/prophecy/generators/assets.rb +29 -0
  100. data/lib/prophecy/generators/book/.gitignore +7 -0
  101. data/lib/prophecy/generators/book/LICENSE.txt +5 -0
  102. data/lib/prophecy/generators/book/README.md.tt +4 -0
  103. data/lib/prophecy/generators/book/book.yml.tt +55 -0
  104. data/lib/prophecy/generators/book/build/epub/.empty_directory +0 -0
  105. data/lib/prophecy/generators/book/build/latex/.empty_directory +0 -0
  106. data/lib/prophecy/generators/book/build/mobi/.empty_directory +0 -0
  107. data/lib/prophecy/generators/book/epub_mobi.yml +26 -0
  108. data/lib/prophecy/generators/book/example-book.yml +78 -0
  109. data/lib/prophecy/generators/book/images/cover.jpg +0 -0
  110. data/lib/prophecy/generators/book/images/cover.xcf +0 -0
  111. data/lib/prophecy/generators/book/images/publisher-logo.jpg +0 -0
  112. data/lib/prophecy/generators/book/manuscript/glossary.md +7 -0
  113. data/lib/prophecy/generators/book/manuscript/nameless-labyrinth.markdown +34 -0
  114. data/lib/prophecy/generators/book/manuscript/preface.md +5 -0
  115. data/lib/prophecy/generators/book/manuscript/the-sway-of-reason.markdown +22 -0
  116. data/lib/prophecy/generators/book/manuscript/unhuman-massiveness.markdown +27 -0
  117. data/lib/prophecy/generators/book/manuscript/xhtml/.gitkeep +0 -0
  118. data/lib/prophecy/generators/book/manuscript/xhtml/cover.xhtml.erb +21 -0
  119. data/lib/prophecy/generators/book/manuscript/xhtml/titlepage.xhtml.erb +31 -0
  120. data/lib/prophecy/generators/book/manuscript/xhtml/toc.xhtml.erb +16 -0
  121. data/lib/prophecy/generators/new.rb +22 -0
  122. data/lib/prophecy/manifest.rb +72 -0
  123. data/lib/prophecy/version.rb +3 -0
  124. data/lib/prophecy.rb +18 -0
  125. data/prophecy.gemspec +36 -0
  126. data/spec/book_spec.rb +9 -0
  127. data/spec/chapter_spec.rb +0 -0
  128. data/spec/manifest_spec.rb +0 -0
  129. metadata +366 -0
@@ -0,0 +1,401 @@
1
+ /* line 2, ../sass/_font-existence.scss */
2
+ .font-existence-light {
3
+ font-family: 'ExistenceLight';
4
+ }
5
+
6
+ @font-face {
7
+ font-family: 'ExistenceLight';
8
+ src: url("../webfonts/existence-light.ttf") format("truetype");
9
+ font-weight: normal;
10
+ font-style: normal;
11
+ }
12
+
13
+ /* line 2, ../sass/_font-source-sans-pro.scss */
14
+ .font-source-sans-pro {
15
+ font-family: 'SourceSansPro';
16
+ }
17
+
18
+ @font-face {
19
+ font-family: 'SourceSansPro';
20
+ src: url("../webfonts/sourcesanspro-regular.ttf") format("truetype");
21
+ font-weight: normal;
22
+ font-style: normal;
23
+ }
24
+
25
+ @font-face {
26
+ font-family: 'SourceSansPro';
27
+ src: url("../webfonts/sourcesanspro-italic.ttf") format("truetype");
28
+ font-weight: normal;
29
+ font-style: italic;
30
+ }
31
+
32
+ @font-face {
33
+ font-family: 'SourceSansPro';
34
+ src: url("../webfonts/sourcesanspro-bold.ttf") format("truetype");
35
+ font-weight: bold;
36
+ font-style: normal;
37
+ }
38
+
39
+ @font-face {
40
+ font-family: 'SourceSansPro';
41
+ src: url("../webfonts/sourcesanspro-lightitalic.ttf") format("truetype");
42
+ font-weight: 300;
43
+ font-style: italic;
44
+ }
45
+
46
+ @font-face {
47
+ font-family: 'SourceSansPro';
48
+ src: url("../webfonts/sourcesanspro-light.ttf") format("truetype");
49
+ font-weight: 300;
50
+ font-style: normal;
51
+ }
52
+
53
+ /* line 5, ../sass/_fontfaces.scss */
54
+ .font-bold {
55
+ font-weight: bold;
56
+ }
57
+
58
+ /* weight 700 */
59
+ /* line 6, ../sass/_fontfaces.scss */
60
+ .font-semibold {
61
+ font-weight: 600;
62
+ }
63
+
64
+ /* line 7, ../sass/_fontfaces.scss */
65
+ .font-medium {
66
+ font-weight: 500;
67
+ }
68
+
69
+ /* line 8, ../sass/_fontfaces.scss */
70
+ .font-normal {
71
+ font-weight: normal;
72
+ }
73
+
74
+ /* weight 400 */
75
+ /* line 9, ../sass/_fontfaces.scss */
76
+ .font-light {
77
+ font-weight: 300;
78
+ }
79
+
80
+ /* line 10, ../sass/_fontfaces.scss */
81
+ .font-extralight {
82
+ font-weight: 200;
83
+ }
84
+
85
+ /* Byronic Ebook Style
86
+ *
87
+ * https://github.com/profound-labs/byronic
88
+ *
89
+ * Based on the ePub Zen Garden structure elements.
90
+ * http://epubzengarden.com/
91
+ *
92
+ * Released under the Creative Commons Attribution License.
93
+ * http://creativecommons.org/licenses/by/3.0/ */
94
+ /* line 18, ../sass/_byronic.sass */
95
+ #content {
96
+ font-family: "SourceSansPro", "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", "Tahoma", "Palatino", "Caecilia", sans-serif;
97
+ font-weight: normal;
98
+ line-height: 1.5em;
99
+ padding: 22px;
100
+ margin-left: 0;
101
+ margin-right: 0;
102
+ }
103
+
104
+ /* line 29, ../sass/_byronic.sass */
105
+ h1, h2, h3, h4, h5, h6 {
106
+ font-weight: normal;
107
+ font-family: "SourceSansPro", "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", "Tahoma", "Palatino", "Caecilia", sans-serif;
108
+ page-break-after: avoid;
109
+ }
110
+
111
+ /* line 34, ../sass/_byronic.sass */
112
+ h1, h2 {
113
+ text-align: left;
114
+ text-transform: uppercase;
115
+ padding-top: 10px;
116
+ }
117
+
118
+ /* line 41, ../sass/_byronic.sass */
119
+ h1 {
120
+ font-size: 2em;
121
+ margin: 0.5em 0 1em 0px;
122
+ padding-right: 0;
123
+ padding-bottom: 0;
124
+ letter-spacing: 1.2pt;
125
+ line-height: 0.95em;
126
+ /* The chapter headings contain two spans with these classes:
127
+ * chapter-name (always contains the word "Chapter") and
128
+ * chapter-number (as a roman numeral) */
129
+ }
130
+ /* line 52, ../sass/_byronic.sass */
131
+ h1 .chapter-name {
132
+ font-weight: normal;
133
+ }
134
+ /* line 54, ../sass/_byronic.sass */
135
+ h1 .chapter-number {
136
+ font-size: 0.8em;
137
+ letter-spacing: 0.1em;
138
+ }
139
+
140
+ /* line 58, ../sass/_byronic.sass */
141
+ h2 {
142
+ font-size: 1.5em;
143
+ font-weight: 300;
144
+ line-height: 1.05em;
145
+ margin-bottom: 0.25em;
146
+ letter-spacing: 1pt;
147
+ }
148
+
149
+ /* line 65, ../sass/_byronic.sass */
150
+ h3, h4 {
151
+ font-weight: bold;
152
+ text-transform: none;
153
+ margin-bottom: 0.1em;
154
+ }
155
+
156
+ /* line 70, ../sass/_byronic.sass */
157
+ a {
158
+ color: #323232;
159
+ }
160
+
161
+ /* The main title page of the book.
162
+ * h1 - title
163
+ * h2 - subtitle
164
+ * h3 - author */
165
+ /* For pages annoncing "Part I" or "Book VI"
166
+ * h1 - Part I
167
+ * h2 - part title
168
+ * h3 - part subtitle */
169
+ /* line 85, ../sass/_byronic.sass */
170
+ #content.title-page p,
171
+ #content.part-page p {
172
+ text-align: right;
173
+ padding-right: 0px;
174
+ }
175
+ /* line 88, ../sass/_byronic.sass */
176
+ #content.title-page h1, #content.title-page h2, #content.title-page h3,
177
+ #content.part-page h1,
178
+ #content.part-page h2,
179
+ #content.part-page h3 {
180
+ font-family: "ExistenceLight";
181
+ text-align: right;
182
+ text-transform: none;
183
+ }
184
+ /* line 92, ../sass/_byronic.sass */
185
+ #content.title-page h1, #content.title-page h2,
186
+ #content.part-page h1,
187
+ #content.part-page h2 {
188
+ letter-spacing: 1.5pt;
189
+ }
190
+ /* line 94, ../sass/_byronic.sass */
191
+ #content.title-page h1,
192
+ #content.part-page h1 {
193
+ font-size: 2em;
194
+ text-transform: uppercase;
195
+ margin-top: 0;
196
+ margin-bottom: 0.2em;
197
+ padding-top: 2em;
198
+ padding-right: 0px;
199
+ line-height: 1em;
200
+ }
201
+ /* line 102, ../sass/_byronic.sass */
202
+ #content.title-page h2,
203
+ #content.part-page h2 {
204
+ font-size: 1.5em;
205
+ margin-top: 0;
206
+ margin-bottom: 0.3em;
207
+ padding-top: 0.3em;
208
+ padding-right: 0px;
209
+ }
210
+ /* line 108, ../sass/_byronic.sass */
211
+ #content.title-page h3,
212
+ #content.part-page h3 {
213
+ font-size: 1.2em;
214
+ margin-bottom: 3em;
215
+ padding-right: 0px;
216
+ }
217
+
218
+ /* line 113, ../sass/_byronic.sass */
219
+ div.title-page-rule {
220
+ height: 40px;
221
+ margin-left: 0;
222
+ margin-right: 0;
223
+ background-color: #cbcbcb;
224
+ text-align: right;
225
+ padding-right: 0px;
226
+ }
227
+
228
+ /* line 121, ../sass/_byronic.sass */
229
+ div.publisher-logo {
230
+ float: right;
231
+ clear: right;
232
+ margin-top: 5px;
233
+ margin-right: 15px;
234
+ padding-bottom: 20px;
235
+ }
236
+
237
+ /* line 129, ../sass/_byronic.sass */
238
+ table.toc td.section {
239
+ text-align: right;
240
+ color: #323232;
241
+ }
242
+ /* line 133, ../sass/_byronic.sass */
243
+ table.toc td.title a {
244
+ text-decoration: none;
245
+ color: #1a1a1a;
246
+ }
247
+ /* line 136, ../sass/_byronic.sass */
248
+ table.toc td.title.frontmatter, table.toc td.title.backmatter {
249
+ font-style: italic;
250
+ }
251
+ /* line 139, ../sass/_byronic.sass */
252
+ table.toc td.separator {
253
+ width: 30px;
254
+ text-align: center;
255
+ font-size: 2em;
256
+ color: #7f7f7f;
257
+ }
258
+
259
+ /* Epigraphs at the beginning of each chapter are in blockquotes */
260
+ /* line 146, ../sass/_byronic.sass */
261
+ h1 + blockquote,
262
+ blockquote.epigraph {
263
+ margin-right: 1em;
264
+ margin-top: 0.3em;
265
+ margin-bottom: 1em;
266
+ font-size: 0.9em;
267
+ font-style: italic;
268
+ }
269
+ /* line 154, ../sass/_byronic.sass */
270
+ h1 + blockquote p,
271
+ blockquote.epigraph p {
272
+ text-indent: 0;
273
+ padding-top: 0;
274
+ margin-top: 2pt;
275
+ }
276
+
277
+ /* line 159, ../sass/_byronic.sass */
278
+ blockquote {
279
+ border-left: 1px solid #989898;
280
+ padding: 0.3em 0 0.3em 1em;
281
+ }
282
+
283
+ /* line 163, ../sass/_byronic.sass */
284
+ #content.verse blockquote {
285
+ font-style: normal;
286
+ font-size: 1em;
287
+ border-left-style: none;
288
+ }
289
+
290
+ /* The attribution of the blockquote */
291
+ /* line 169, ../sass/_byronic.sass */
292
+ span.attribution,
293
+ p.attribution {
294
+ display: block;
295
+ text-align: left;
296
+ text-transform: uppercase;
297
+ letter-spacing: 0.1em;
298
+ font-size: 0.8em;
299
+ font-style: normal;
300
+ }
301
+
302
+ /* ...which also contains an attribution-name, wrapping the name of
303
+ * the person who made the quotation */
304
+ /* line 180, ../sass/_byronic.sass */
305
+ span.attribution-name,
306
+ p.attribution-name {
307
+ text-align: left;
308
+ text-transform: uppercase;
309
+ letter-spacing: 0.1em;
310
+ font-size: 0.8em;
311
+ font-style: normal;
312
+ }
313
+
314
+ /* Outside of the content area you can address the style of the
315
+ * running book and author headings. */
316
+ /* line 190, ../sass/_byronic.sass */
317
+ #content-title {
318
+ text-align: right;
319
+ font-size: 0.8em;
320
+ }
321
+
322
+ /* line 198, ../sass/_byronic.sass */
323
+ p {
324
+ text-align: justify;
325
+ }
326
+
327
+ /* The first paragraph in the work has a class called "noindent" which
328
+ * suppresses any paragraph indentation applied by default, but you
329
+ * can override this. */
330
+ /* line 208, ../sass/_byronic.sass */
331
+ h1 + p, h2 + p, h3 + p, h4 + p,
332
+ h1 + blockquote + p,
333
+ blockquote.epigraph + p,
334
+ p.first,
335
+ p.noindent {
336
+ text-indent: 0;
337
+ }
338
+
339
+ /* The first letter of the text is wrapped in a span with
340
+ * the class 'firstletter', which can be used for dropcaps. */
341
+ /* Middlemarch contains a number of letters, which can be styled
342
+ * differently. */
343
+ /* line 226, ../sass/_byronic.sass */
344
+ #content p.letter {
345
+ padding-left: 1.5em;
346
+ padding-right: 0.5em;
347
+ }
348
+
349
+ /* Found in a letter */
350
+ /* line 231, ../sass/_byronic.sass */
351
+ #content p.salutation {
352
+ display: block;
353
+ font-variant: small-caps;
354
+ }
355
+
356
+ /* line 235, ../sass/_byronic.sass */
357
+ #content p.closing {
358
+ display: block;
359
+ text-indent: 1em;
360
+ }
361
+
362
+ /* line 239, ../sass/_byronic.sass */
363
+ div.page-break {
364
+ page-break-after: always;
365
+ }
366
+
367
+ /* line 242, ../sass/_byronic.sass */
368
+ .page-break-after {
369
+ page-break-after: always;
370
+ }
371
+
372
+ /* line 245, ../sass/_byronic.sass */
373
+ .page-break-before {
374
+ page-break-before: always;
375
+ }
376
+
377
+ /* line 248, ../sass/_byronic.sass */
378
+ pre {
379
+ margin-top: 1em;
380
+ margin-bottom: 1em;
381
+ }
382
+
383
+ /* line 252, ../sass/_byronic.sass */
384
+ .small {
385
+ font-size: 0.9em;
386
+ }
387
+
388
+ /* line 255, ../sass/_byronic.sass */
389
+ .footnotesize {
390
+ font-size: 0.8em;
391
+ }
392
+
393
+ /* line 258, ../sass/_byronic.sass */
394
+ .tiny {
395
+ font-size: 0.7em;
396
+ }
397
+
398
+ /* line 261, ../sass/_byronic.sass */
399
+ .noborder {
400
+ border: none;
401
+ }
@@ -0,0 +1,317 @@
1
+ /* Byronic Ebook Style
2
+ *
3
+ * https://github.com/profound-labs/byronic
4
+ *
5
+ * Based on the ePub Zen Garden structure elements.
6
+ * http://epubzengarden.com/
7
+ *
8
+ * Released under the Creative Commons Attribution License.
9
+ * http://creativecommons.org/licenses/by/3.0/ */
10
+ /* line 18, ../sass/_byronic.sass */
11
+ #content {
12
+ font-family: "SourceSansPro", "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", "Tahoma", "Palatino", "Caecilia", sans-serif;
13
+ font-weight: normal;
14
+ line-height: 1.5em;
15
+ padding: 22px;
16
+ margin-left: 0;
17
+ margin-right: 0;
18
+ }
19
+
20
+ /* line 29, ../sass/_byronic.sass */
21
+ h1, h2, h3, h4, h5, h6 {
22
+ font-weight: normal;
23
+ font-family: "SourceSansPro", "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", "Tahoma", "Palatino", "Caecilia", sans-serif;
24
+ page-break-after: avoid;
25
+ }
26
+
27
+ /* line 34, ../sass/_byronic.sass */
28
+ h1, h2 {
29
+ text-align: left;
30
+ text-transform: uppercase;
31
+ padding-top: 10px;
32
+ }
33
+
34
+ /* line 41, ../sass/_byronic.sass */
35
+ h1 {
36
+ font-size: 2em;
37
+ margin: 0.5em 0 1em 0px;
38
+ padding-right: 0;
39
+ padding-bottom: 0;
40
+ letter-spacing: 1.2pt;
41
+ line-height: 0.95em;
42
+ /* The chapter headings contain two spans with these classes:
43
+ * chapter-name (always contains the word "Chapter") and
44
+ * chapter-number (as a roman numeral) */
45
+ }
46
+ /* line 52, ../sass/_byronic.sass */
47
+ h1 .chapter-name {
48
+ font-weight: normal;
49
+ }
50
+ /* line 54, ../sass/_byronic.sass */
51
+ h1 .chapter-number {
52
+ font-size: 0.8em;
53
+ letter-spacing: 0.1em;
54
+ }
55
+
56
+ /* line 58, ../sass/_byronic.sass */
57
+ h2 {
58
+ font-size: 1.5em;
59
+ font-weight: 300;
60
+ line-height: 1.05em;
61
+ margin-bottom: 0.25em;
62
+ letter-spacing: 1pt;
63
+ }
64
+
65
+ /* line 65, ../sass/_byronic.sass */
66
+ h3, h4 {
67
+ font-weight: bold;
68
+ text-transform: none;
69
+ margin-bottom: 0.1em;
70
+ }
71
+
72
+ /* line 70, ../sass/_byronic.sass */
73
+ a {
74
+ color: #323232;
75
+ }
76
+
77
+ /* The main title page of the book.
78
+ * h1 - title
79
+ * h2 - subtitle
80
+ * h3 - author */
81
+ /* For pages annoncing "Part I" or "Book VI"
82
+ * h1 - Part I
83
+ * h2 - part title
84
+ * h3 - part subtitle */
85
+ /* line 85, ../sass/_byronic.sass */
86
+ #content.title-page p,
87
+ #content.part-page p {
88
+ text-align: right;
89
+ padding-right: 0px;
90
+ }
91
+ /* line 88, ../sass/_byronic.sass */
92
+ #content.title-page h1, #content.title-page h2, #content.title-page h3,
93
+ #content.part-page h1,
94
+ #content.part-page h2,
95
+ #content.part-page h3 {
96
+ font-family: "ExistenceLight";
97
+ text-align: right;
98
+ text-transform: none;
99
+ }
100
+ /* line 92, ../sass/_byronic.sass */
101
+ #content.title-page h1, #content.title-page h2,
102
+ #content.part-page h1,
103
+ #content.part-page h2 {
104
+ letter-spacing: 1.5pt;
105
+ }
106
+ /* line 94, ../sass/_byronic.sass */
107
+ #content.title-page h1,
108
+ #content.part-page h1 {
109
+ font-size: 2em;
110
+ text-transform: uppercase;
111
+ margin-top: 0;
112
+ margin-bottom: 0.2em;
113
+ padding-top: 2em;
114
+ padding-right: 0px;
115
+ line-height: 1em;
116
+ }
117
+ /* line 102, ../sass/_byronic.sass */
118
+ #content.title-page h2,
119
+ #content.part-page h2 {
120
+ font-size: 1.5em;
121
+ margin-top: 0;
122
+ margin-bottom: 0.3em;
123
+ padding-top: 0.3em;
124
+ padding-right: 0px;
125
+ }
126
+ /* line 108, ../sass/_byronic.sass */
127
+ #content.title-page h3,
128
+ #content.part-page h3 {
129
+ font-size: 1.2em;
130
+ margin-bottom: 3em;
131
+ padding-right: 0px;
132
+ }
133
+
134
+ /* line 113, ../sass/_byronic.sass */
135
+ div.title-page-rule {
136
+ height: 40px;
137
+ margin-left: 0;
138
+ margin-right: 0;
139
+ background-color: #cbcbcb;
140
+ text-align: right;
141
+ padding-right: 0px;
142
+ }
143
+
144
+ /* line 121, ../sass/_byronic.sass */
145
+ div.publisher-logo {
146
+ float: right;
147
+ clear: right;
148
+ margin-top: 5px;
149
+ margin-right: 15px;
150
+ padding-bottom: 20px;
151
+ }
152
+
153
+ /* line 129, ../sass/_byronic.sass */
154
+ table.toc td.section {
155
+ text-align: right;
156
+ color: #323232;
157
+ }
158
+ /* line 133, ../sass/_byronic.sass */
159
+ table.toc td.title a {
160
+ text-decoration: none;
161
+ color: #1a1a1a;
162
+ }
163
+ /* line 136, ../sass/_byronic.sass */
164
+ table.toc td.title.frontmatter, table.toc td.title.backmatter {
165
+ font-style: italic;
166
+ }
167
+ /* line 139, ../sass/_byronic.sass */
168
+ table.toc td.separator {
169
+ width: 30px;
170
+ text-align: center;
171
+ font-size: 2em;
172
+ color: #7f7f7f;
173
+ }
174
+
175
+ /* Epigraphs at the beginning of each chapter are in blockquotes */
176
+ /* line 146, ../sass/_byronic.sass */
177
+ h1 + blockquote,
178
+ blockquote.epigraph {
179
+ margin-right: 1em;
180
+ margin-top: 0.3em;
181
+ margin-bottom: 1em;
182
+ font-size: 0.9em;
183
+ font-style: italic;
184
+ }
185
+ /* line 154, ../sass/_byronic.sass */
186
+ h1 + blockquote p,
187
+ blockquote.epigraph p {
188
+ text-indent: 0;
189
+ padding-top: 0;
190
+ margin-top: 2pt;
191
+ }
192
+
193
+ /* line 159, ../sass/_byronic.sass */
194
+ blockquote {
195
+ border-left: 1px solid #989898;
196
+ padding: 0.3em 0 0.3em 1em;
197
+ }
198
+
199
+ /* line 163, ../sass/_byronic.sass */
200
+ #content.verse blockquote {
201
+ font-style: normal;
202
+ font-size: 1em;
203
+ border-left-style: none;
204
+ }
205
+
206
+ /* The attribution of the blockquote */
207
+ /* line 169, ../sass/_byronic.sass */
208
+ span.attribution,
209
+ p.attribution {
210
+ display: block;
211
+ text-align: left;
212
+ text-transform: uppercase;
213
+ letter-spacing: 0.1em;
214
+ font-size: 0.8em;
215
+ font-style: normal;
216
+ }
217
+
218
+ /* ...which also contains an attribution-name, wrapping the name of
219
+ * the person who made the quotation */
220
+ /* line 180, ../sass/_byronic.sass */
221
+ span.attribution-name,
222
+ p.attribution-name {
223
+ text-align: left;
224
+ text-transform: uppercase;
225
+ letter-spacing: 0.1em;
226
+ font-size: 0.8em;
227
+ font-style: normal;
228
+ }
229
+
230
+ /* Outside of the content area you can address the style of the
231
+ * running book and author headings. */
232
+ /* line 190, ../sass/_byronic.sass */
233
+ #content-title {
234
+ text-align: right;
235
+ font-size: 0.8em;
236
+ }
237
+
238
+ /* line 198, ../sass/_byronic.sass */
239
+ p {
240
+ text-align: justify;
241
+ }
242
+
243
+ /* The first paragraph in the work has a class called "noindent" which
244
+ * suppresses any paragraph indentation applied by default, but you
245
+ * can override this. */
246
+ /* line 208, ../sass/_byronic.sass */
247
+ h1 + p, h2 + p, h3 + p, h4 + p,
248
+ h1 + blockquote + p,
249
+ blockquote.epigraph + p,
250
+ p.first,
251
+ p.noindent {
252
+ text-indent: 0;
253
+ }
254
+
255
+ /* The first letter of the text is wrapped in a span with
256
+ * the class 'firstletter', which can be used for dropcaps. */
257
+ /* Middlemarch contains a number of letters, which can be styled
258
+ * differently. */
259
+ /* line 226, ../sass/_byronic.sass */
260
+ #content p.letter {
261
+ padding-left: 1.5em;
262
+ padding-right: 0.5em;
263
+ }
264
+
265
+ /* Found in a letter */
266
+ /* line 231, ../sass/_byronic.sass */
267
+ #content p.salutation {
268
+ display: block;
269
+ font-variant: small-caps;
270
+ }
271
+
272
+ /* line 235, ../sass/_byronic.sass */
273
+ #content p.closing {
274
+ display: block;
275
+ text-indent: 1em;
276
+ }
277
+
278
+ /* line 239, ../sass/_byronic.sass */
279
+ div.page-break {
280
+ page-break-after: always;
281
+ }
282
+
283
+ /* line 242, ../sass/_byronic.sass */
284
+ .page-break-after {
285
+ page-break-after: always;
286
+ }
287
+
288
+ /* line 245, ../sass/_byronic.sass */
289
+ .page-break-before {
290
+ page-break-before: always;
291
+ }
292
+
293
+ /* line 248, ../sass/_byronic.sass */
294
+ pre {
295
+ margin-top: 1em;
296
+ margin-bottom: 1em;
297
+ }
298
+
299
+ /* line 252, ../sass/_byronic.sass */
300
+ .small {
301
+ font-size: 0.9em;
302
+ }
303
+
304
+ /* line 255, ../sass/_byronic.sass */
305
+ .footnotesize {
306
+ font-size: 0.8em;
307
+ }
308
+
309
+ /* line 258, ../sass/_byronic.sass */
310
+ .tiny {
311
+ font-size: 0.7em;
312
+ }
313
+
314
+ /* line 261, ../sass/_byronic.sass */
315
+ .noborder {
316
+ border: none;
317
+ }