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.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/Overview.md +44 -0
- data/README.md +35 -0
- data/Rakefile +1 -0
- data/bin/kindlegen +18 -0
- data/bin/kindlegen.exe +0 -0
- data/bin/kindlegen_linux +0 -0
- data/bin/kindlegen_mac +0 -0
- data/bin/prophecy +4 -0
- data/docs/licenses/kindlegen/.empty_directory +0 -0
- data/docs/licenses/kindlegen/EULA.txt +61 -0
- data/docs/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 Linux.txt +21 -0
- data/docs/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 Mac.txt +21 -0
- data/docs/licenses/kindlegen/KindleGen OSS Notices 2009-07-29-Windows.txt +19 -0
- data/features/assets.feature +14 -0
- data/features/book.feature +10 -0
- data/features/generator.feature +15 -0
- data/features/support/hooks.rb +5 -0
- data/features/support/setup.rb +3 -0
- data/lib/prophecy/assets/.gitignore +2 -0
- data/lib/prophecy/assets/config.rb +20 -0
- data/lib/prophecy/assets/epub_template/META-INF/com.apple.ibooks.display-options.xml +6 -0
- data/lib/prophecy/assets/epub_template/META-INF/container.xml +6 -0
- data/lib/prophecy/assets/epub_template/OEBPS/.gitkeep +0 -0
- data/lib/prophecy/assets/epub_template/OEBPS/chapters/.gitkeep +0 -0
- data/lib/prophecy/assets/epub_template/OEBPS/content.opf.erb +114 -0
- data/lib/prophecy/assets/epub_template/OEBPS/toc.ncx.erb +18 -0
- data/lib/prophecy/assets/epub_template/mimetype +1 -0
- data/lib/prophecy/assets/fonts/Crimson-Bold.otf +0 -0
- data/lib/prophecy/assets/fonts/Crimson-BoldItalic.otf +0 -0
- data/lib/prophecy/assets/fonts/Crimson-Italic.otf +0 -0
- data/lib/prophecy/assets/fonts/Crimson-Roman.otf +0 -0
- data/lib/prophecy/assets/fonts/Crimson-Semibold.otf +0 -0
- data/lib/prophecy/assets/fonts/Crimson-SemiboldItalic.otf +0 -0
- data/lib/prophecy/assets/fonts/GenBasB.ttf +0 -0
- data/lib/prophecy/assets/fonts/GenBasBI.ttf +0 -0
- data/lib/prophecy/assets/fonts/GenBasI.ttf +0 -0
- data/lib/prophecy/assets/fonts/GenBasR.ttf +0 -0
- data/lib/prophecy/assets/fonts/GenBkBasB.ttf +0 -0
- data/lib/prophecy/assets/fonts/GenBkBasBI.ttf +0 -0
- data/lib/prophecy/assets/fonts/GenBkBasI.ttf +0 -0
- data/lib/prophecy/assets/fonts/GenBkBasR.ttf +0 -0
- data/lib/prophecy/assets/fonts/GentiumPlus-I.ttf +0 -0
- data/lib/prophecy/assets/fonts/GentiumPlus-R.ttf +0 -0
- data/lib/prophecy/assets/helpers/check_typos.sh +27 -0
- data/lib/prophecy/assets/helpers/helpers.rb +0 -0
- data/lib/prophecy/assets/helpers/pali_typos +2 -0
- data/lib/prophecy/assets/helpers/sed_chars +5 -0
- data/lib/prophecy/assets/helpers/sed_dumb_ebook +18 -0
- data/lib/prophecy/assets/helpers/sed_tex2uni +62 -0
- data/lib/prophecy/assets/helpers/tex2html.sh +112 -0
- data/lib/prophecy/assets/helpers/tex2md.sh +10 -0
- data/lib/prophecy/assets/helpers/tidy_quotes +1 -0
- data/lib/prophecy/assets/helpers/tidy_quotes.sh +8 -0
- data/lib/prophecy/assets/helpers/to-html.sh +9 -0
- data/lib/prophecy/assets/latex_template/Makefile +37 -0
- data/lib/prophecy/assets/latex_template/anecdote.cls +163 -0
- data/lib/prophecy/assets/latex_template/book-core-first.sty +673 -0
- data/lib/prophecy/assets/latex_template/book-core-last.sty +40 -0
- data/lib/prophecy/assets/latex_template/book_main.tex.erb +31 -0
- data/lib/prophecy/assets/latex_template/booklet_main.tex +15 -0
- data/lib/prophecy/assets/latex_template/chapters/.gitkeep +0 -0
- data/lib/prophecy/assets/latex_template/cover_main.tex +48 -0
- data/lib/prophecy/assets/latex_template/mylayout.sty +2 -0
- data/lib/prophecy/assets/layouts/page.xhtml.erb +20 -0
- data/lib/prophecy/assets/sass/_booktheme.sass +3 -0
- data/lib/prophecy/assets/sass/_byronic.sass +263 -0
- data/lib/prophecy/assets/sass/_colors.sass +7 -0
- data/lib/prophecy/assets/sass/_epub-css-starter-kit.sass +734 -0
- data/lib/prophecy/assets/sass/_font-existence.scss +12 -0
- data/lib/prophecy/assets/sass/_font-source-sans-pro.scss +75 -0
- data/lib/prophecy/assets/sass/_fontfaces.scss +11 -0
- data/lib/prophecy/assets/sass/_mixins.sass +4 -0
- data/lib/prophecy/assets/sass/print.sass +6 -0
- data/lib/prophecy/assets/sass/style-epub.sass +7 -0
- data/lib/prophecy/assets/sass/style-mobi-kf8.sass +7 -0
- data/lib/prophecy/assets/sass/style-mobi.sass +9 -0
- data/lib/prophecy/assets/stylesheets/print.css +3 -0
- data/lib/prophecy/assets/stylesheets/style-epub.css +401 -0
- data/lib/prophecy/assets/stylesheets/style-mobi-kf8.css +401 -0
- data/lib/prophecy/assets/stylesheets/style-mobi.css +317 -0
- data/lib/prophecy/assets/webfonts/existence-light.ttf +0 -0
- data/lib/prophecy/assets/webfonts/sourcesanspro-bold.ttf +0 -0
- data/lib/prophecy/assets/webfonts/sourcesanspro-extralight.ttf +0 -0
- data/lib/prophecy/assets/webfonts/sourcesanspro-italic.ttf +0 -0
- data/lib/prophecy/assets/webfonts/sourcesanspro-light.ttf +0 -0
- data/lib/prophecy/assets/webfonts/sourcesanspro-lightitalic.ttf +0 -0
- data/lib/prophecy/assets/webfonts/sourcesanspro-regular.ttf +0 -0
- data/lib/prophecy/assets/webfonts-extra/sourcesanspro-bolditalic.ttf +0 -0
- data/lib/prophecy/assets/webfonts-extra/sourcesanspro-extralightitalic.ttf +0 -0
- data/lib/prophecy/assets/webfonts-extra/sourcesanspro-semibold.ttf +0 -0
- data/lib/prophecy/assets/webfonts-extra/sourcesanspro-semibolditalic.ttf +0 -0
- data/lib/prophecy/book.rb +281 -0
- data/lib/prophecy/chapter.rb +359 -0
- data/lib/prophecy/cli.rb +144 -0
- data/lib/prophecy/generators/assets.rb +29 -0
- data/lib/prophecy/generators/book/.gitignore +7 -0
- data/lib/prophecy/generators/book/LICENSE.txt +5 -0
- data/lib/prophecy/generators/book/README.md.tt +4 -0
- data/lib/prophecy/generators/book/book.yml.tt +55 -0
- data/lib/prophecy/generators/book/build/epub/.empty_directory +0 -0
- data/lib/prophecy/generators/book/build/latex/.empty_directory +0 -0
- data/lib/prophecy/generators/book/build/mobi/.empty_directory +0 -0
- data/lib/prophecy/generators/book/epub_mobi.yml +26 -0
- data/lib/prophecy/generators/book/example-book.yml +78 -0
- data/lib/prophecy/generators/book/images/cover.jpg +0 -0
- data/lib/prophecy/generators/book/images/cover.xcf +0 -0
- data/lib/prophecy/generators/book/images/publisher-logo.jpg +0 -0
- data/lib/prophecy/generators/book/manuscript/glossary.md +7 -0
- data/lib/prophecy/generators/book/manuscript/nameless-labyrinth.markdown +34 -0
- data/lib/prophecy/generators/book/manuscript/preface.md +5 -0
- data/lib/prophecy/generators/book/manuscript/the-sway-of-reason.markdown +22 -0
- data/lib/prophecy/generators/book/manuscript/unhuman-massiveness.markdown +27 -0
- data/lib/prophecy/generators/book/manuscript/xhtml/.gitkeep +0 -0
- data/lib/prophecy/generators/book/manuscript/xhtml/cover.xhtml.erb +21 -0
- data/lib/prophecy/generators/book/manuscript/xhtml/titlepage.xhtml.erb +31 -0
- data/lib/prophecy/generators/book/manuscript/xhtml/toc.xhtml.erb +16 -0
- data/lib/prophecy/generators/new.rb +22 -0
- data/lib/prophecy/manifest.rb +72 -0
- data/lib/prophecy/version.rb +3 -0
- data/lib/prophecy.rb +18 -0
- data/prophecy.gemspec +36 -0
- data/spec/book_spec.rb +9 -0
- data/spec/chapter_spec.rb +0 -0
- data/spec/manifest_spec.rb +0 -0
- metadata +366 -0
@@ -0,0 +1,75 @@
|
|
1
|
+
|
2
|
+
.font-source-sans-pro {
|
3
|
+
font-family: 'SourceSansPro';
|
4
|
+
}
|
5
|
+
|
6
|
+
@font-face {
|
7
|
+
font-family: 'SourceSansPro';
|
8
|
+
src: url('../webfonts/sourcesanspro-regular.ttf') format('truetype');
|
9
|
+
font-weight: normal;
|
10
|
+
font-style: normal;
|
11
|
+
}
|
12
|
+
|
13
|
+
@font-face {
|
14
|
+
font-family: 'SourceSansPro';
|
15
|
+
src: url('../webfonts/sourcesanspro-italic.ttf') format('truetype');
|
16
|
+
font-weight: normal;
|
17
|
+
font-style: italic;
|
18
|
+
}
|
19
|
+
|
20
|
+
@font-face {
|
21
|
+
font-family: 'SourceSansPro';
|
22
|
+
src: url('../webfonts/sourcesanspro-bold.ttf') format('truetype');
|
23
|
+
font-weight: bold;
|
24
|
+
font-style: normal;
|
25
|
+
}
|
26
|
+
|
27
|
+
//@font-face {
|
28
|
+
// font-family: 'SourceSansPro';
|
29
|
+
// src: url('../webfonts/sourcesanspro-bolditalic.ttf') format('truetype');
|
30
|
+
// font-weight: bold;
|
31
|
+
// font-style: italic;
|
32
|
+
//}
|
33
|
+
|
34
|
+
@font-face {
|
35
|
+
font-family: 'SourceSansPro';
|
36
|
+
src: url('../webfonts/sourcesanspro-lightitalic.ttf') format('truetype');
|
37
|
+
font-weight: 300;
|
38
|
+
font-style: italic;
|
39
|
+
}
|
40
|
+
|
41
|
+
@font-face {
|
42
|
+
font-family: 'SourceSansPro';
|
43
|
+
src: url('../webfonts/sourcesanspro-light.ttf') format('truetype');
|
44
|
+
font-weight: 300;
|
45
|
+
font-style: normal;
|
46
|
+
}
|
47
|
+
|
48
|
+
//@font-face {
|
49
|
+
// font-family: 'SourceSansPro';
|
50
|
+
// src: url('../webfonts/sourcesanspro-extralightitalic.ttf') format('truetype');
|
51
|
+
// font-weight: 200;
|
52
|
+
// font-style: italic;
|
53
|
+
//}
|
54
|
+
//
|
55
|
+
//@font-face {
|
56
|
+
// font-family: 'SourceSansPro';
|
57
|
+
// src: url('../webfonts/sourcesanspro-extralight.ttf') format('truetype');
|
58
|
+
// font-weight: 200;
|
59
|
+
// font-style: normal;
|
60
|
+
//}
|
61
|
+
//
|
62
|
+
//@font-face {
|
63
|
+
// font-family: 'SourceSansPro';
|
64
|
+
// src: url('../webfonts/sourcesanspro-semibolditalic.ttf') format('truetype');
|
65
|
+
// font-weight: 600;
|
66
|
+
// font-style: italic;
|
67
|
+
//}
|
68
|
+
//
|
69
|
+
//@font-face {
|
70
|
+
// font-family: 'SourceSansPro';
|
71
|
+
// src: url('../webfonts/sourcesanspro-semibold.ttf') format('truetype');
|
72
|
+
// font-weight: 600;
|
73
|
+
// font-style: normal;
|
74
|
+
//}
|
75
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
|
2
|
+
@import 'font-existence';
|
3
|
+
@import 'font-source-sans-pro';
|
4
|
+
|
5
|
+
.font-bold { font-weight: bold; }/* weight 700 */
|
6
|
+
.font-semibold { font-weight: 600; }
|
7
|
+
.font-medium { font-weight: 500; }
|
8
|
+
.font-normal { font-weight: normal; }/* weight 400 */
|
9
|
+
.font-light { font-weight: 300; }
|
10
|
+
.font-extralight { font-weight: 200; }
|
11
|
+
|
@@ -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
|
+
}
|