electric-book-classic-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +21 -0
- data/README.md +66 -0
- data/_includes/close-body.html +3 -0
- data/_includes/close-wrapper.html +2 -0
- data/_includes/footer.html +10 -0
- data/_includes/head.html +109 -0
- data/_includes/nav.html +27 -0
- data/_includes/start-wrapper.html +1 -0
- data/_layouts/default.html +26 -0
- data/_layouts/min.html +7 -0
- data/_sass/epub.scss +76 -0
- data/_sass/js/index.js +8 -0
- data/_sass/mods/print-no-bleed.css +7 -0
- data/_sass/mods/print-no-crop-marks.css +6 -0
- data/_sass/mods/print-page-setup-lightning-source-colour.css +31 -0
- data/_sass/partials/_epub-base-typography.scss +118 -0
- data/_sass/partials/_epub-bibliographies.scss +20 -0
- data/_sass/partials/_epub-boxes.scss +24 -0
- data/_sass/partials/_epub-buttons.scss +21 -0
- data/_sass/partials/_epub-copyright-page.scss +14 -0
- data/_sass/partials/_epub-cover.scss +24 -0
- data/_sass/partials/_epub-dedications.scss +17 -0
- data/_sass/partials/_epub-epigraphs.scss +30 -0
- data/_sass/partials/_epub-figures.scss +40 -0
- data/_sass/partials/_epub-fitting.scss +16 -0
- data/_sass/partials/_epub-glossary.scss +15 -0
- data/_sass/partials/_epub-index.scss +21 -0
- data/_sass/partials/_epub-maths.scss +9 -0
- data/_sass/partials/_epub-notes.scss +33 -0
- data/_sass/partials/_epub-openers.scss +8 -0
- data/_sass/partials/_epub-pullquotes.scss +16 -0
- data/_sass/partials/_epub-quotations.scss +5 -0
- data/_sass/partials/_epub-reset-sequences.scss +31 -0
- data/_sass/partials/_epub-smallcaps.scss +21 -0
- data/_sass/partials/_epub-tables.scss +45 -0
- data/_sass/partials/_epub-title-page.scss +34 -0
- data/_sass/partials/_epub-toc.scss +41 -0
- data/_sass/partials/_epub-valedictions.scss +8 -0
- data/_sass/partials/_epub-verse.scss +138 -0
- data/_sass/partials/_epub-wrappers.scss +12 -0
- data/_sass/partials/_hide-footer.scss +7 -0
- data/_sass/partials/_hide-nav-bar.scss +7 -0
- data/_sass/partials/_print-base-typography.scss +153 -0
- data/_sass/partials/_print-bibliographies.scss +20 -0
- data/_sass/partials/_print-boxes.scss +39 -0
- data/_sass/partials/_print-code.scss +19 -0
- data/_sass/partials/_print-copyright-page.scss +23 -0
- data/_sass/partials/_print-dedications.scss +11 -0
- data/_sass/partials/_print-definition-lists.scss +13 -0
- data/_sass/partials/_print-epigraphs.scss +24 -0
- data/_sass/partials/_print-figures.scss +97 -0
- data/_sass/partials/_print-fitting.scss +38 -0
- data/_sass/partials/_print-front-cover.scss +26 -0
- data/_sass/partials/_print-hide-non-printing.scss +8 -0
- data/_sass/partials/_print-hide-video.scss +7 -0
- data/_sass/partials/_print-hyphenation.scss +18 -0
- data/_sass/partials/_print-index.scss +30 -0
- data/_sass/partials/_print-maths.scss +5 -0
- data/_sass/partials/_print-notes.scss +40 -0
- data/_sass/partials/_print-openers.scss +14 -0
- data/_sass/partials/_print-page-break-tools.scss +46 -0
- data/_sass/partials/_print-page-headers-footers-content.scss +236 -0
- data/_sass/partials/_print-page-headers-footers-style.scss +150 -0
- data/_sass/partials/_print-page-setup.scss +43 -0
- data/_sass/partials/_print-page-start-depth.scss +4 -0
- data/_sass/partials/_print-pdf-view.scss +42 -0
- data/_sass/partials/_print-pullquotes.scss +13 -0
- data/_sass/partials/_print-quotations.scss +6 -0
- data/_sass/partials/_print-reset-sequences.scss +27 -0
- data/_sass/partials/_print-smallcaps.scss +29 -0
- data/_sass/partials/_print-start-on-recto-or-verso.scss +28 -0
- data/_sass/partials/_print-tables.scss +48 -0
- data/_sass/partials/_print-title-pages.scss +59 -0
- data/_sass/partials/_print-toc.scss +57 -0
- data/_sass/partials/_print-valedictions.scss +9 -0
- data/_sass/partials/_print-verse.scss +141 -0
- data/_sass/partials/_web-base-typography.scss +106 -0
- data/_sass/partials/_web-bibliographies.scss +20 -0
- data/_sass/partials/_web-boxes.scss +30 -0
- data/_sass/partials/_web-buttons.scss +21 -0
- data/_sass/partials/_web-code.scss +19 -0
- data/_sass/partials/_web-copyright-page.scss +14 -0
- data/_sass/partials/_web-cover.scss +33 -0
- data/_sass/partials/_web-dedications.scss +17 -0
- data/_sass/partials/_web-definition-lists.scss +12 -0
- data/_sass/partials/_web-epigraphs.scss +31 -0
- data/_sass/partials/_web-figures.scss +55 -0
- data/_sass/partials/_web-fitting.scss +16 -0
- data/_sass/partials/_web-footer.scss +38 -0
- data/_sass/partials/_web-index.scss +21 -0
- data/_sass/partials/_web-maths.scss +9 -0
- data/_sass/partials/_web-nav-bar.scss +70 -0
- data/_sass/partials/_web-notes.scss +58 -0
- data/_sass/partials/_web-openers.scss +5 -0
- data/_sass/partials/_web-pullquotes.scss +9 -0
- data/_sass/partials/_web-quotations.scss +6 -0
- data/_sass/partials/_web-reset-sequences.scss +27 -0
- data/_sass/partials/_web-smallcaps.scss +21 -0
- data/_sass/partials/_web-tables.scss +45 -0
- data/_sass/partials/_web-title-page.scss +35 -0
- data/_sass/partials/_web-toc.scss +41 -0
- data/_sass/partials/_web-valedictions.scss +9 -0
- data/_sass/partials/_web-verse.scss +138 -0
- data/_sass/partials/_web-video.scss +24 -0
- data/_sass/partials/_web-wrappers.scss +14 -0
- data/_sass/print-pdf.scss +194 -0
- data/_sass/screen-pdf.scss +216 -0
- data/_sass/web.scss +98 -0
- data/electric-book-classic-theme.gemspec +19 -0
- data/index.md +7 -0
- data/screenshot.png +0 -0
- metadata +208 -0
@@ -0,0 +1,216 @@
|
|
1
|
+
// WHAT IS THIS?
|
2
|
+
// This is typography for the Electric Book Classic theme (http://electricbook.io).
|
3
|
+
// It is built with Sass. (See http://sass-lang.com, and http://jekyllrb.com/docs/assets for how Jekyll implements Sass.)
|
4
|
+
// Jekyll will compile the finished CSS for your books in _site/_themes/classic/css.
|
5
|
+
//
|
6
|
+
// HOW TO USE IT
|
7
|
+
//
|
8
|
+
// Edit the default variables below.
|
9
|
+
// Comment/uncomment or add font imports below.
|
10
|
+
// Add your own custom CSS at the bottom.
|
11
|
+
|
12
|
+
// First, let's set character encoding. Don't change this.
|
13
|
+
@charset "utf-8";
|
14
|
+
|
15
|
+
// -------------
|
16
|
+
// Set variables
|
17
|
+
// -------------
|
18
|
+
|
19
|
+
// Edition suffix: identifies this edition in page-fitting classes (in _print-fitting.scss).
|
20
|
+
// For instance, a .tighten class in HTML might apply to your bookshop edition, but not the schools edition.
|
21
|
+
// A suffix '-schools-edn' would mean only tags with that suffix would apply to that edition, e.g. {:.tighten-schools-edn}
|
22
|
+
// If you're only planning one edition and use default tags ({:.tighten} not {:.tighten-schools-edn}), leave as null.
|
23
|
+
$edition-suffix: null !default;
|
24
|
+
|
25
|
+
// First, we set several variables related to overall page setup.
|
26
|
+
$page-size: 129mm 198mm !default; // Width, then height. 129×198 is B-format (Lightning Source compatible)
|
27
|
+
$margin-top: 15mm !default;
|
28
|
+
$margin-bottom: 20mm !default;
|
29
|
+
$margin-outside: 13mm !default;
|
30
|
+
$margin-inside: 19mm !default;
|
31
|
+
$bleed: 0 !default;
|
32
|
+
$trim: 0 !default;
|
33
|
+
$crop-marks: none !default; // crop | none
|
34
|
+
|
35
|
+
// PDF file setup options
|
36
|
+
$black-ink: true !default; // true or rich (true for pure black or rich for rich black)
|
37
|
+
|
38
|
+
// We name font variables for two categories:
|
39
|
+
// - 'text' fonts are used for body text and some page features;
|
40
|
+
// - 'display' fonts are used for headings and similar short-string features.
|
41
|
+
// For each category, we set a main font and a secondary font, allowing up to four fonts.
|
42
|
+
// Finally, we set a fifth, monospace font for elements like computer code.
|
43
|
+
$font-text-main: "Crimson", serif !default;
|
44
|
+
$font-text-secondary: "Source Sans Pro", sans-serif !default;
|
45
|
+
$font-display-main: "Source Sans Pro", sans-serif !default;
|
46
|
+
$font-display-secondary: "Crimson", serif !default;
|
47
|
+
$font-code: "Inconsolata", monospace !default;
|
48
|
+
|
49
|
+
// Finally, we set variables related to text flow.
|
50
|
+
$font-size-default: 11pt !default;
|
51
|
+
$line-height-default: 15pt !default; // Set in points. For consistent baselines, all other line heights and vertical spaces are based on this.
|
52
|
+
$text-align: left !default;
|
53
|
+
$orphans: 1 !default; // Minimum number of lines that must be left at the bottom of the first page
|
54
|
+
$widows: 1 !default; // Minimum number of lines that must be left at the top of the second page
|
55
|
+
$letter-spacing-text: 0em !default; // Default letter-spacing for p, ul, ol, dl. Set in ems, e.g. 0.01em for 10/1000s of an em.
|
56
|
+
|
57
|
+
// Hyphenation
|
58
|
+
// Variables here apply to p, ul, ol, dl
|
59
|
+
$hyphenation: auto !default; // Can be auto, none, or manual (only breaks on hyphens and soft hyphens)
|
60
|
+
$hyphenation-dictionary: "" !default; // File name of dictionary in css/dictionaries. Overrides PrinceXML built-in hyphenation.
|
61
|
+
$hyphenate-after: 3 !default; /* Minimum letters on new line after hyphen */
|
62
|
+
$hyphenate-before: 3 !default; /* Minimum letters at end of line before hyphen */
|
63
|
+
$hyphenate-lines: 1 !default; /* Maximum number of consecutive lines ending with hyphens */
|
64
|
+
|
65
|
+
// Should chapters start on a right-hand page (recto) or on any page?
|
66
|
+
// This setting applies to the frontmatter, dedication-page, epigraph-page and chapter page styles.
|
67
|
+
// (The halftitle-page, title-page and contents-page page styles always start on a recto.)
|
68
|
+
$start-on: right !default; // right or auto or left ()
|
69
|
+
|
70
|
+
// Set the default start-depth of pages.
|
71
|
+
// This is the distance from the top of the page to the first element on the first page.
|
72
|
+
// Set it in multiples of $line-height-default to preserve your baseline grid.
|
73
|
+
$start-depth: $line-height-default * 6 !default;
|
74
|
+
|
75
|
+
// Style of page numbers on frontmatter pages
|
76
|
+
// Remember to tag links to front matter pages in your TOC with {:.frontmatter-reference}
|
77
|
+
$frontmatter-reference-style: lower-roman !default; // lower-roman, decimal, see http://www.princexml.com/doc/gen-content/#idp54010640
|
78
|
+
|
79
|
+
// Set the content of headers and footers.
|
80
|
+
//
|
81
|
+
// For no content: normal
|
82
|
+
// For a page number: counter(page)
|
83
|
+
// For the last h1 (increment to h2, h3, h4, h5, h6 as needed): string(h1-text, last)
|
84
|
+
// Instead of last (last on page) you can also use first (first on page) or start (string set on previous page).
|
85
|
+
// For the title attribute of the last h1 (increment to h2, h3, h4, h5, h6 as needed): string(h1-title, last)
|
86
|
+
// (Note: if you use title attributes, you must add them for every heading at the heading-level you choose.)
|
87
|
+
// For the book title, subtitle or author set with .title-page-title, .title-page-subtitle and .title-page-author: book-title, book-subtitle, book-author
|
88
|
+
// For a phrase: "Any phrase in quotes"
|
89
|
+
// For an em space: "\2003"
|
90
|
+
// For other special characters, see CSS (ISO) at https://brajeshwar.github.io/entities/
|
91
|
+
|
92
|
+
// Verso (left-hand-page)
|
93
|
+
$verso-top: string(h1-text, last) !default;
|
94
|
+
$verso-top-left: normal !default;
|
95
|
+
$verso-top-right: normal !default;
|
96
|
+
$verso-top-left-corner: normal !default;
|
97
|
+
$verso-top-right-corner: normal !default;
|
98
|
+
$verso-bottom: counter(page) !default;
|
99
|
+
$verso-bottom-left: normal !default;
|
100
|
+
$verso-bottom-right: normal !default;
|
101
|
+
$verso-bottom-left-corner: normal !default;
|
102
|
+
$verso-bottom-right-corner: normal !default;
|
103
|
+
|
104
|
+
// Recto (right-hand-page)
|
105
|
+
$recto-top: string(h2-text, last) !default;
|
106
|
+
$recto-top-left: normal !default;
|
107
|
+
$recto-top-right: normal !default;
|
108
|
+
$recto-top-left-corner: normal !default;
|
109
|
+
$recto-top-right-corner: normal !default;
|
110
|
+
$recto-bottom: counter(page) !default;
|
111
|
+
$recto-bottom-left: normal !default;
|
112
|
+
$recto-bottom-right: normal !default;
|
113
|
+
$recto-bottom-left-corner: normal !default;
|
114
|
+
$recto-bottom-right-corner: normal !default;
|
115
|
+
|
116
|
+
// Verso (left-hand-page) for .frontmatter pages (`style: frontmatter`)
|
117
|
+
$verso-top-frontmatter: normal !default;
|
118
|
+
$verso-top-left-frontmatter: normal !default;
|
119
|
+
$verso-top-right-frontmatter: normal !default;
|
120
|
+
$verso-top-left-corner-frontmatter: normal !default;
|
121
|
+
$verso-top-right-corner-frontmatter: normal !default;
|
122
|
+
$verso-bottom-frontmatter: counter(page, $frontmatter-reference-style) !default;
|
123
|
+
$verso-bottom-left-frontmatter: normal !default;
|
124
|
+
$verso-bottom-right-frontmatter: normal !default;
|
125
|
+
$verso-bottom-left-corner-frontmatter: normal !default;
|
126
|
+
$verso-bottom-right-corner-frontmatter: normal !default;
|
127
|
+
|
128
|
+
// Recto (right-hand-page) for .frontmatter pages (`style: frontmatter`)
|
129
|
+
$recto-top-frontmatter: normal !default;
|
130
|
+
$recto-top-left-frontmatter: normal !default;
|
131
|
+
$recto-top-right-frontmatter: normal !default;
|
132
|
+
$recto-top-left-corner-frontmatter: normal !default;
|
133
|
+
$recto-top-right-corner-frontmatter: normal !default;
|
134
|
+
$recto-bottom-frontmatter: counter(page, $frontmatter-reference-style) !default;
|
135
|
+
$recto-bottom-left-frontmatter: normal !default;
|
136
|
+
$recto-bottom-right-frontmatter: normal !default;
|
137
|
+
$recto-bottom-left-corner-frontmatter: normal !default;
|
138
|
+
$recto-bottom-right-corner-frontmatter: normal !default;
|
139
|
+
|
140
|
+
// Special highlights for temporary debugging/viewing:
|
141
|
+
// Specify a colour for highlighting; use 'inherit' for none.
|
142
|
+
$highlight-tightened: inherit !default;
|
143
|
+
$highlight-loosened: inherit !default;
|
144
|
+
|
145
|
+
// -------------------------------------------------------------
|
146
|
+
// Import font files (@font-face) for fonts you specify
|
147
|
+
// You may need to add the actual font files to `css/fonts`
|
148
|
+
// Download locations for each noted in the end-of-line comments
|
149
|
+
// -------------------------------------------------------------
|
150
|
+
|
151
|
+
// @import "classic/css/_sass/partials/fonts/adobe-caslon-pro"; // Proprietary: https://typekit.com/fonts/adobe-caslon-pro
|
152
|
+
// @import "classic/css/_sass/partials/fonts/crimson-text"; // Open: https://www.google.com/fonts/specimen/Crimson+Text
|
153
|
+
// @import "classic/css/_sass/partials/fonts/crimson"; // Open: https://github.com/skosch/Crimson
|
154
|
+
// @import "classic/css/_sass/partials/fonts/inconsolata"; // Open: https://www.google.com/fonts/specimen/Inconsolata
|
155
|
+
// @import "classic/css/_sass/partials/fonts/kalam"; // Open: https://www.google.com/fonts/specimen/Kalam
|
156
|
+
// @import "classic/css/_sass/partials/fonts/linux-biolinum"; // Open: http://www.linuxlibertine.org/
|
157
|
+
// @import "classic/css/_sass/partials/fonts/linux-libertine"; // Open: http://www.linuxlibertine.org/
|
158
|
+
// @import "classic/css/_sass/partials/fonts/montserrat"; // Open: https://www.google.com/fonts/specimen/Montserrat
|
159
|
+
// @import "classic/css/_sass/partials/fonts/overpass"; // Open: https://github.com/RedHatBrand/overpass
|
160
|
+
// @import "classic/css/_sass/partials/fonts/source-sans-pro"; // Open: https://www.google.com/fonts/specimen/Source+Sans+Pro
|
161
|
+
// @import "classic/css/_sass/partials/fonts/trajan-pro"; // Proprietary: https://typekit.com/fonts/trajan-pro-3
|
162
|
+
// @import "classic/css/_sass/partials/fonts/cormorant-garamond"; // Open: https://www.google.com/fonts/specimen/Cormorant+Garamond
|
163
|
+
// @import "classic/css/_sass/partials/fonts/libre-baskerville"; // Open: https://fonts.google.com/specimen/Libre+Baskerville
|
164
|
+
// @import "classic/css/_sass/partials/fonts/roboto"; // Open: https://fonts.google.com/specimen/Roboto
|
165
|
+
// @import "classic/css/_sass/partials/fonts/oswald"; // Open: https://fonts.google.com/specimen/Oswald
|
166
|
+
|
167
|
+
// ---------------------
|
168
|
+
// Import theme partials
|
169
|
+
// ---------------------
|
170
|
+
|
171
|
+
@import "partials/hide-footer";
|
172
|
+
@import "partials/hide-nav-bar";
|
173
|
+
|
174
|
+
// --------------------------------------------
|
175
|
+
// Page setup and control, avoid changing these
|
176
|
+
// --------------------------------------------
|
177
|
+
|
178
|
+
@import "partials/print-pdf-view"; // Sets the default initial view on PDFs
|
179
|
+
@import "partials/print-page-setup"; // Sets up the page from your variables
|
180
|
+
@import "partials/print-page-break-tools"; // Provides classes for semantic page breaks
|
181
|
+
@import "partials/print-hide-non-printing"; // Hides anything .non-printing
|
182
|
+
@import "partials/print-hide-video"; // Hides video from print output
|
183
|
+
@import "partials/print-fitting"; // Classes for floating, tracking, shrinking, etc.
|
184
|
+
@import "partials/print-hyphenation"; // Sets hyphenation dictionary
|
185
|
+
|
186
|
+
// ---------------------
|
187
|
+
// Classic-theme modules
|
188
|
+
// ---------------------
|
189
|
+
|
190
|
+
@import "partials/print-start-on-recto-or-verso"; // Starts chapters on a left- or right-hand-page
|
191
|
+
@import "partials/print-page-start-depth"; // Sets a top margin on opening pages
|
192
|
+
@import "partials/print-base-typography"; // Default typography for HTML elements
|
193
|
+
@import "partials/print-verse"; // Default typography for verse, poetry, lyrics
|
194
|
+
@import "partials/print-bibliographies";
|
195
|
+
@import "partials/print-epigraphs"; //
|
196
|
+
@import "partials/print-dedications"; //
|
197
|
+
@import "partials/print-definition-lists"; // Including .glossary
|
198
|
+
@import "partials/print-pullquotes"; // Supports .pullquote
|
199
|
+
@import "partials/print-boxes"; //
|
200
|
+
@import "partials/print-code"; // For computer code and preformatted text
|
201
|
+
@import "partials/print-tables"; //
|
202
|
+
@import "partials/print-figures"; //
|
203
|
+
@import "partials/print-notes"; // Footnotes, endnotes, sidenotes
|
204
|
+
@import "partials/print-title-pages"; // Half-title and title pages
|
205
|
+
@import "partials/print-copyright-page"; //
|
206
|
+
@import "partials/print-toc"; // Tables of contents
|
207
|
+
@import "partials/print-front-cover"; // Front-cover image for PDF ebooks
|
208
|
+
@import "partials/print-smallcaps"; //
|
209
|
+
@import "partials/print-maths"; //
|
210
|
+
@import "partials/print-valedictions"; //
|
211
|
+
@import "partials/print-quotations"; //
|
212
|
+
@import "partials/print-openers"; //
|
213
|
+
@import "partials/print-index"; //
|
214
|
+
@import "partials/print-reset-sequences"; // Resets p indents, margins after other elements. Must be last @import in list.
|
215
|
+
@import "partials/print-page-headers-footers-content"; // Sets content for headers and footers
|
216
|
+
@import "partials/print-page-headers-footers-style"; // Sets styling for headers and footers
|
data/_sass/web.scss
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
// WHAT IS THIS?
|
2
|
+
// This is typography for the Electric Book Classic theme (http://electricbook.io).
|
3
|
+
// It is built with Sass. (See http://sass-lang.com, and http://jekyllrb.com/docs/assets for how Jekyll implements Sass.)
|
4
|
+
// Jekyll will compile the finished CSS for your books in _site/_themes/classic/css.
|
5
|
+
//
|
6
|
+
// HOW TO USE IT
|
7
|
+
//
|
8
|
+
// Edit the default variables below.
|
9
|
+
// Comment/uncomment or add font imports below.
|
10
|
+
// Add your own custom CSS at the bottom.
|
11
|
+
|
12
|
+
// First, let's set character encoding. Don't change this.
|
13
|
+
@charset "utf-8";
|
14
|
+
|
15
|
+
// ----------------------
|
16
|
+
// Hide unwanted elements
|
17
|
+
// ----------------------
|
18
|
+
|
19
|
+
// Uncomment these @imports to hide elements completely (also comment out @imports for these elements):
|
20
|
+
// @import "hide-footer";
|
21
|
+
// @import "hide-nav-bar";
|
22
|
+
|
23
|
+
// -------------
|
24
|
+
// Set variables
|
25
|
+
// -------------
|
26
|
+
|
27
|
+
// Edition suffix: identifies this edition in certain classes (e.g. in _epub-fitting.scss).
|
28
|
+
$edition-suffix: null !default;
|
29
|
+
|
30
|
+
$font-text-main: "Crimson", serif !default;
|
31
|
+
$font-text-secondary: "Source Sans Pro", sans-serif !default;
|
32
|
+
$font-display-main: "Source Sans Pro", sans-serif !default;
|
33
|
+
$font-display-secondary: "Crimson", serif !default;
|
34
|
+
$font-code: "Inconsolata", monospace !default;
|
35
|
+
|
36
|
+
$font-size-default: 1.2em !default;
|
37
|
+
$line-height-default: 150% !default;
|
38
|
+
|
39
|
+
// Some features rearrange at certain screen sizes.
|
40
|
+
// What are your break points for rearrangement?
|
41
|
+
$break-point-height: 600px !default;
|
42
|
+
$break-point-width: 600px !default;
|
43
|
+
|
44
|
+
// ----------------------------------------------------
|
45
|
+
// Import font files (@font-face) for fonts you specify
|
46
|
+
// ----------------------------------------------------
|
47
|
+
|
48
|
+
// @import "fonts/linux-libertine";
|
49
|
+
// @import "classic/css/_sass/partials/fonts/source-sans-pro";
|
50
|
+
// @import "classic/css/_sass/partials/fonts/inconsolata";
|
51
|
+
// @import "classic/css/_sass/partials/fonts/crimson";
|
52
|
+
|
53
|
+
// ---------------------
|
54
|
+
// Classic-theme modules
|
55
|
+
// ---------------------
|
56
|
+
|
57
|
+
// Structural HTML components
|
58
|
+
@import "partials/web-wrappers";
|
59
|
+
|
60
|
+
// Default typography
|
61
|
+
@import "partials/web-base-typography";
|
62
|
+
|
63
|
+
// Navigation
|
64
|
+
@import "partials/web-nav-bar";
|
65
|
+
@import "partials/web-footer";
|
66
|
+
|
67
|
+
// Book parts
|
68
|
+
@import "partials/web-cover";
|
69
|
+
@import "partials/web-title-page";
|
70
|
+
@import "partials/web-copyright-page";
|
71
|
+
@import "partials/web-dedications";
|
72
|
+
@import "partials/web-epigraphs";
|
73
|
+
@import "partials/web-toc";
|
74
|
+
|
75
|
+
// Book-feature classes
|
76
|
+
@import "partials/web-bibliographies";
|
77
|
+
@import "partials/web-boxes";
|
78
|
+
@import "partials/web-buttons";
|
79
|
+
@import "partials/web-code";
|
80
|
+
@import "partials/web-definition-lists";
|
81
|
+
@import "partials/web-figures";
|
82
|
+
@import "partials/web-index";
|
83
|
+
@import "partials/web-maths";
|
84
|
+
@import "partials/web-notes";
|
85
|
+
@import "partials/web-openers";
|
86
|
+
@import "partials/web-pullquotes";
|
87
|
+
@import "partials/web-quotations";
|
88
|
+
@import "partials/web-tables";
|
89
|
+
@import "partials/web-valedictions";
|
90
|
+
@import "partials/web-verse";
|
91
|
+
@import "partials/web-video";
|
92
|
+
|
93
|
+
// Type-control classes
|
94
|
+
@import "partials/web-smallcaps";
|
95
|
+
@import "partials/web-fitting"; // E.g. tracking and shrinking
|
96
|
+
|
97
|
+
// Logic (if this then that)
|
98
|
+
@import "partials/web-reset-sequences"; // This should stay last in the @import list
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "electric-book-classic-theme"
|
5
|
+
spec.version = "0.1.0"
|
6
|
+
spec.authors = ["Arthur Attwell"]
|
7
|
+
spec.email = ["arthur@arthurattwell.com"]
|
8
|
+
|
9
|
+
spec.summary = %q{A Jekyll theme for use with the Electric Book, a template for making books, ebooks and book-like websites}
|
10
|
+
spec.description = %q{This is the default theme for the Electric Book, a Jekyll template for making books, ebooks and book-like websites. Use it in conjunction with the Electric Book jekyll template. Documentation at electricbook.io.}
|
11
|
+
spec.homepage = "http://electricbook.io"
|
12
|
+
spec.license = "MIT"
|
13
|
+
|
14
|
+
spec.files = `git ls-files -z`.split("\x0")
|
15
|
+
|
16
|
+
spec.add_development_dependency 'jekyll', '~> 3.2', '>= 3.2.1'
|
17
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
18
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
19
|
+
end
|
data/index.md
ADDED
data/screenshot.png
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: electric-book-classic-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Arthur Attwell
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-08-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.2.1
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.2.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: bundler
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.12'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.12'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '10.0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '10.0'
|
61
|
+
description: This is the default theme for the Electric Book, a Jekyll template for
|
62
|
+
making books, ebooks and book-like websites. Use it in conjunction with the Electric
|
63
|
+
Book jekyll template. Documentation at electricbook.io.
|
64
|
+
email:
|
65
|
+
- arthur@arthurattwell.com
|
66
|
+
executables: []
|
67
|
+
extensions: []
|
68
|
+
extra_rdoc_files: []
|
69
|
+
files:
|
70
|
+
- ".gitignore"
|
71
|
+
- Gemfile
|
72
|
+
- LICENSE.txt
|
73
|
+
- README.md
|
74
|
+
- _includes/close-body.html
|
75
|
+
- _includes/close-wrapper.html
|
76
|
+
- _includes/footer.html
|
77
|
+
- _includes/head.html
|
78
|
+
- _includes/nav.html
|
79
|
+
- _includes/start-wrapper.html
|
80
|
+
- _layouts/default.html
|
81
|
+
- _layouts/min.html
|
82
|
+
- _sass/epub.scss
|
83
|
+
- _sass/js/index.js
|
84
|
+
- _sass/mods/print-no-bleed.css
|
85
|
+
- _sass/mods/print-no-crop-marks.css
|
86
|
+
- _sass/mods/print-page-setup-lightning-source-colour.css
|
87
|
+
- _sass/partials/_epub-base-typography.scss
|
88
|
+
- _sass/partials/_epub-bibliographies.scss
|
89
|
+
- _sass/partials/_epub-boxes.scss
|
90
|
+
- _sass/partials/_epub-buttons.scss
|
91
|
+
- _sass/partials/_epub-copyright-page.scss
|
92
|
+
- _sass/partials/_epub-cover.scss
|
93
|
+
- _sass/partials/_epub-dedications.scss
|
94
|
+
- _sass/partials/_epub-epigraphs.scss
|
95
|
+
- _sass/partials/_epub-figures.scss
|
96
|
+
- _sass/partials/_epub-fitting.scss
|
97
|
+
- _sass/partials/_epub-glossary.scss
|
98
|
+
- _sass/partials/_epub-index.scss
|
99
|
+
- _sass/partials/_epub-maths.scss
|
100
|
+
- _sass/partials/_epub-notes.scss
|
101
|
+
- _sass/partials/_epub-openers.scss
|
102
|
+
- _sass/partials/_epub-pullquotes.scss
|
103
|
+
- _sass/partials/_epub-quotations.scss
|
104
|
+
- _sass/partials/_epub-reset-sequences.scss
|
105
|
+
- _sass/partials/_epub-smallcaps.scss
|
106
|
+
- _sass/partials/_epub-tables.scss
|
107
|
+
- _sass/partials/_epub-title-page.scss
|
108
|
+
- _sass/partials/_epub-toc.scss
|
109
|
+
- _sass/partials/_epub-valedictions.scss
|
110
|
+
- _sass/partials/_epub-verse.scss
|
111
|
+
- _sass/partials/_epub-wrappers.scss
|
112
|
+
- _sass/partials/_hide-footer.scss
|
113
|
+
- _sass/partials/_hide-nav-bar.scss
|
114
|
+
- _sass/partials/_print-base-typography.scss
|
115
|
+
- _sass/partials/_print-bibliographies.scss
|
116
|
+
- _sass/partials/_print-boxes.scss
|
117
|
+
- _sass/partials/_print-code.scss
|
118
|
+
- _sass/partials/_print-copyright-page.scss
|
119
|
+
- _sass/partials/_print-dedications.scss
|
120
|
+
- _sass/partials/_print-definition-lists.scss
|
121
|
+
- _sass/partials/_print-epigraphs.scss
|
122
|
+
- _sass/partials/_print-figures.scss
|
123
|
+
- _sass/partials/_print-fitting.scss
|
124
|
+
- _sass/partials/_print-front-cover.scss
|
125
|
+
- _sass/partials/_print-hide-non-printing.scss
|
126
|
+
- _sass/partials/_print-hide-video.scss
|
127
|
+
- _sass/partials/_print-hyphenation.scss
|
128
|
+
- _sass/partials/_print-index.scss
|
129
|
+
- _sass/partials/_print-maths.scss
|
130
|
+
- _sass/partials/_print-notes.scss
|
131
|
+
- _sass/partials/_print-openers.scss
|
132
|
+
- _sass/partials/_print-page-break-tools.scss
|
133
|
+
- _sass/partials/_print-page-headers-footers-content.scss
|
134
|
+
- _sass/partials/_print-page-headers-footers-style.scss
|
135
|
+
- _sass/partials/_print-page-setup.scss
|
136
|
+
- _sass/partials/_print-page-start-depth.scss
|
137
|
+
- _sass/partials/_print-pdf-view.scss
|
138
|
+
- _sass/partials/_print-pullquotes.scss
|
139
|
+
- _sass/partials/_print-quotations.scss
|
140
|
+
- _sass/partials/_print-reset-sequences.scss
|
141
|
+
- _sass/partials/_print-smallcaps.scss
|
142
|
+
- _sass/partials/_print-start-on-recto-or-verso.scss
|
143
|
+
- _sass/partials/_print-tables.scss
|
144
|
+
- _sass/partials/_print-title-pages.scss
|
145
|
+
- _sass/partials/_print-toc.scss
|
146
|
+
- _sass/partials/_print-valedictions.scss
|
147
|
+
- _sass/partials/_print-verse.scss
|
148
|
+
- _sass/partials/_web-base-typography.scss
|
149
|
+
- _sass/partials/_web-bibliographies.scss
|
150
|
+
- _sass/partials/_web-boxes.scss
|
151
|
+
- _sass/partials/_web-buttons.scss
|
152
|
+
- _sass/partials/_web-code.scss
|
153
|
+
- _sass/partials/_web-copyright-page.scss
|
154
|
+
- _sass/partials/_web-cover.scss
|
155
|
+
- _sass/partials/_web-dedications.scss
|
156
|
+
- _sass/partials/_web-definition-lists.scss
|
157
|
+
- _sass/partials/_web-epigraphs.scss
|
158
|
+
- _sass/partials/_web-figures.scss
|
159
|
+
- _sass/partials/_web-fitting.scss
|
160
|
+
- _sass/partials/_web-footer.scss
|
161
|
+
- _sass/partials/_web-index.scss
|
162
|
+
- _sass/partials/_web-maths.scss
|
163
|
+
- _sass/partials/_web-nav-bar.scss
|
164
|
+
- _sass/partials/_web-notes.scss
|
165
|
+
- _sass/partials/_web-openers.scss
|
166
|
+
- _sass/partials/_web-pullquotes.scss
|
167
|
+
- _sass/partials/_web-quotations.scss
|
168
|
+
- _sass/partials/_web-reset-sequences.scss
|
169
|
+
- _sass/partials/_web-smallcaps.scss
|
170
|
+
- _sass/partials/_web-tables.scss
|
171
|
+
- _sass/partials/_web-title-page.scss
|
172
|
+
- _sass/partials/_web-toc.scss
|
173
|
+
- _sass/partials/_web-valedictions.scss
|
174
|
+
- _sass/partials/_web-verse.scss
|
175
|
+
- _sass/partials/_web-video.scss
|
176
|
+
- _sass/partials/_web-wrappers.scss
|
177
|
+
- _sass/print-pdf.scss
|
178
|
+
- _sass/screen-pdf.scss
|
179
|
+
- _sass/web.scss
|
180
|
+
- electric-book-classic-theme.gemspec
|
181
|
+
- index.md
|
182
|
+
- screenshot.png
|
183
|
+
homepage: http://electricbook.io
|
184
|
+
licenses:
|
185
|
+
- MIT
|
186
|
+
metadata: {}
|
187
|
+
post_install_message:
|
188
|
+
rdoc_options: []
|
189
|
+
require_paths:
|
190
|
+
- lib
|
191
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
requirements: []
|
202
|
+
rubyforge_project:
|
203
|
+
rubygems_version: 2.4.6
|
204
|
+
signing_key:
|
205
|
+
specification_version: 4
|
206
|
+
summary: A Jekyll theme for use with the Electric Book, a template for making books,
|
207
|
+
ebooks and book-like websites
|
208
|
+
test_files: []
|