electric-book-classic-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/Gemfile +2 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +66 -0
  6. data/_includes/close-body.html +3 -0
  7. data/_includes/close-wrapper.html +2 -0
  8. data/_includes/footer.html +10 -0
  9. data/_includes/head.html +109 -0
  10. data/_includes/nav.html +27 -0
  11. data/_includes/start-wrapper.html +1 -0
  12. data/_layouts/default.html +26 -0
  13. data/_layouts/min.html +7 -0
  14. data/_sass/epub.scss +76 -0
  15. data/_sass/js/index.js +8 -0
  16. data/_sass/mods/print-no-bleed.css +7 -0
  17. data/_sass/mods/print-no-crop-marks.css +6 -0
  18. data/_sass/mods/print-page-setup-lightning-source-colour.css +31 -0
  19. data/_sass/partials/_epub-base-typography.scss +118 -0
  20. data/_sass/partials/_epub-bibliographies.scss +20 -0
  21. data/_sass/partials/_epub-boxes.scss +24 -0
  22. data/_sass/partials/_epub-buttons.scss +21 -0
  23. data/_sass/partials/_epub-copyright-page.scss +14 -0
  24. data/_sass/partials/_epub-cover.scss +24 -0
  25. data/_sass/partials/_epub-dedications.scss +17 -0
  26. data/_sass/partials/_epub-epigraphs.scss +30 -0
  27. data/_sass/partials/_epub-figures.scss +40 -0
  28. data/_sass/partials/_epub-fitting.scss +16 -0
  29. data/_sass/partials/_epub-glossary.scss +15 -0
  30. data/_sass/partials/_epub-index.scss +21 -0
  31. data/_sass/partials/_epub-maths.scss +9 -0
  32. data/_sass/partials/_epub-notes.scss +33 -0
  33. data/_sass/partials/_epub-openers.scss +8 -0
  34. data/_sass/partials/_epub-pullquotes.scss +16 -0
  35. data/_sass/partials/_epub-quotations.scss +5 -0
  36. data/_sass/partials/_epub-reset-sequences.scss +31 -0
  37. data/_sass/partials/_epub-smallcaps.scss +21 -0
  38. data/_sass/partials/_epub-tables.scss +45 -0
  39. data/_sass/partials/_epub-title-page.scss +34 -0
  40. data/_sass/partials/_epub-toc.scss +41 -0
  41. data/_sass/partials/_epub-valedictions.scss +8 -0
  42. data/_sass/partials/_epub-verse.scss +138 -0
  43. data/_sass/partials/_epub-wrappers.scss +12 -0
  44. data/_sass/partials/_hide-footer.scss +7 -0
  45. data/_sass/partials/_hide-nav-bar.scss +7 -0
  46. data/_sass/partials/_print-base-typography.scss +153 -0
  47. data/_sass/partials/_print-bibliographies.scss +20 -0
  48. data/_sass/partials/_print-boxes.scss +39 -0
  49. data/_sass/partials/_print-code.scss +19 -0
  50. data/_sass/partials/_print-copyright-page.scss +23 -0
  51. data/_sass/partials/_print-dedications.scss +11 -0
  52. data/_sass/partials/_print-definition-lists.scss +13 -0
  53. data/_sass/partials/_print-epigraphs.scss +24 -0
  54. data/_sass/partials/_print-figures.scss +97 -0
  55. data/_sass/partials/_print-fitting.scss +38 -0
  56. data/_sass/partials/_print-front-cover.scss +26 -0
  57. data/_sass/partials/_print-hide-non-printing.scss +8 -0
  58. data/_sass/partials/_print-hide-video.scss +7 -0
  59. data/_sass/partials/_print-hyphenation.scss +18 -0
  60. data/_sass/partials/_print-index.scss +30 -0
  61. data/_sass/partials/_print-maths.scss +5 -0
  62. data/_sass/partials/_print-notes.scss +40 -0
  63. data/_sass/partials/_print-openers.scss +14 -0
  64. data/_sass/partials/_print-page-break-tools.scss +46 -0
  65. data/_sass/partials/_print-page-headers-footers-content.scss +236 -0
  66. data/_sass/partials/_print-page-headers-footers-style.scss +150 -0
  67. data/_sass/partials/_print-page-setup.scss +43 -0
  68. data/_sass/partials/_print-page-start-depth.scss +4 -0
  69. data/_sass/partials/_print-pdf-view.scss +42 -0
  70. data/_sass/partials/_print-pullquotes.scss +13 -0
  71. data/_sass/partials/_print-quotations.scss +6 -0
  72. data/_sass/partials/_print-reset-sequences.scss +27 -0
  73. data/_sass/partials/_print-smallcaps.scss +29 -0
  74. data/_sass/partials/_print-start-on-recto-or-verso.scss +28 -0
  75. data/_sass/partials/_print-tables.scss +48 -0
  76. data/_sass/partials/_print-title-pages.scss +59 -0
  77. data/_sass/partials/_print-toc.scss +57 -0
  78. data/_sass/partials/_print-valedictions.scss +9 -0
  79. data/_sass/partials/_print-verse.scss +141 -0
  80. data/_sass/partials/_web-base-typography.scss +106 -0
  81. data/_sass/partials/_web-bibliographies.scss +20 -0
  82. data/_sass/partials/_web-boxes.scss +30 -0
  83. data/_sass/partials/_web-buttons.scss +21 -0
  84. data/_sass/partials/_web-code.scss +19 -0
  85. data/_sass/partials/_web-copyright-page.scss +14 -0
  86. data/_sass/partials/_web-cover.scss +33 -0
  87. data/_sass/partials/_web-dedications.scss +17 -0
  88. data/_sass/partials/_web-definition-lists.scss +12 -0
  89. data/_sass/partials/_web-epigraphs.scss +31 -0
  90. data/_sass/partials/_web-figures.scss +55 -0
  91. data/_sass/partials/_web-fitting.scss +16 -0
  92. data/_sass/partials/_web-footer.scss +38 -0
  93. data/_sass/partials/_web-index.scss +21 -0
  94. data/_sass/partials/_web-maths.scss +9 -0
  95. data/_sass/partials/_web-nav-bar.scss +70 -0
  96. data/_sass/partials/_web-notes.scss +58 -0
  97. data/_sass/partials/_web-openers.scss +5 -0
  98. data/_sass/partials/_web-pullquotes.scss +9 -0
  99. data/_sass/partials/_web-quotations.scss +6 -0
  100. data/_sass/partials/_web-reset-sequences.scss +27 -0
  101. data/_sass/partials/_web-smallcaps.scss +21 -0
  102. data/_sass/partials/_web-tables.scss +45 -0
  103. data/_sass/partials/_web-title-page.scss +35 -0
  104. data/_sass/partials/_web-toc.scss +41 -0
  105. data/_sass/partials/_web-valedictions.scss +9 -0
  106. data/_sass/partials/_web-verse.scss +138 -0
  107. data/_sass/partials/_web-video.scss +24 -0
  108. data/_sass/partials/_web-wrappers.scss +14 -0
  109. data/_sass/print-pdf.scss +194 -0
  110. data/_sass/screen-pdf.scss +216 -0
  111. data/_sass/web.scss +98 -0
  112. data/electric-book-classic-theme.gemspec +19 -0
  113. data/index.md +7 -0
  114. data/screenshot.png +0 -0
  115. metadata +208 -0
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Title-page
3
+ */
4
+
5
+ .title-page p {
6
+ text-indent: 0;
7
+ }
8
+ .title-page-title {
9
+ font-size: 3em;
10
+ font-weight: 700;
11
+ margin: 20% 0 0 0;
12
+ line-height: 100%;
13
+ text-indent: 0;
14
+ string-set: book-title content();
15
+ }
16
+ .title-page-subtitle {
17
+ font-size: 3em;
18
+ font-weight: 400;
19
+ margin: 0 0 1em 0;
20
+ line-height: 100%;
21
+ text-indent: 0;
22
+ }
23
+ .title-page-author {
24
+ font-size: 1.5em;
25
+ margin: 0 0 2em 0;
26
+ text-indent: 0;
27
+ }
28
+ .title-page-publisher {
29
+ font-size: 1em;
30
+ margin: 2em 0;
31
+ text-indent: 0;
32
+ }
33
+ .title-page-logo {
34
+ width: 100px;
35
+ }
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Tables of contents
3
+ */
4
+
5
+ .contents-page {
6
+ h2 {
7
+ font-weight: 400;
8
+ font-size: 1.25em;
9
+ margin: 1em 0 0.5em 0;
10
+ }
11
+ ol, ul {
12
+ list-style-type: none;
13
+ margin: 0;
14
+ padding: 0;
15
+ }
16
+ li {
17
+ margin: 0 0 0.5em 0;
18
+ }
19
+ a {
20
+ text-decoration: none;
21
+ }
22
+ }
23
+
24
+ /* TOCs in individual pages, created in kramdown with a placeholder ol/ul followed by {:toc} */
25
+
26
+ ul#markdown-toc, ol#markdown-toc {
27
+ list-style-type: none;
28
+ border-top: 1px solid #f2f2f2;
29
+ border-bottom: 1px solid #f2f2f2;
30
+ padding: 1em 0;
31
+ margin: 2em 0;
32
+ }
33
+ #markdown-toc {
34
+ ol, ul {
35
+ list-style-type: none;
36
+ margin: 0;
37
+ }
38
+ a {
39
+ text-decoration: none;
40
+ }
41
+ }
@@ -0,0 +1,9 @@
1
+ // A valediction, the sign-off at the end of a letter
2
+ .valediction {
3
+ text-indent: 0;
4
+ margin: 1em 0;
5
+ font-style: italic;
6
+ }
7
+ .valediction + p {
8
+ text-indent: 0; // Paragraphs after a valediction should be flush left
9
+ }
@@ -0,0 +1,138 @@
1
+ /*
2
+ * Verse, poetry, lyrics
3
+ */
4
+
5
+ .verse {
6
+ text-indent: 0;
7
+ margin: 1em 0;
8
+ }
9
+ .verse + p {
10
+ text-indent: 0; /* Paragraphs after verse should be flush left */
11
+ }
12
+ ul.verse {
13
+ list-style-type: none;
14
+ padding: 0;
15
+ margin: 1em 0;
16
+ }
17
+ ul.verse li {
18
+ text-indent: -2em;
19
+ margin-left: 2em;
20
+ }
21
+
22
+ /* Indents for lines of verse. In markdown, add {:.indent-x} to the start of the list item text, e.g. - {:.indent-3}My line of poetry indented 3em */
23
+ ul.verse li.indent-1 { margin-left: 3em; }
24
+ ul.verse li.indent-2 { margin-left: 4em; }
25
+ ul.verse li.indent-3 { margin-left: 5em; }
26
+ ul.verse li.indent-4 { margin-left: 6em; }
27
+ ul.verse li.indent-5 { margin-left: 7em; }
28
+ ul.verse li.indent-6 { margin-left: 8em; }
29
+ ul.verse li.indent-7 { margin-left: 9em; }
30
+ ul.verse li.indent-8 { margin-left: 10em; }
31
+ ul.verse li.indent-9 { margin-left: 11em; }
32
+ ul.verse li.indent-10 { margin-left: 12em; }
33
+ ul.verse li.indent-11 { margin-left: 13em; }
34
+ ul.verse li.indent-12 { margin-left: 14em; }
35
+ ul.verse li.indent-13 { margin-left: 15em; }
36
+ ul.verse li.indent-14 { margin-left: 16em; }
37
+ ul.verse li.indent-15 { margin-left: 17em; }
38
+ ul.verse li.indent-16 { margin-left: 18em; }
39
+ ul.verse li.indent-17 { margin-left: 19em; }
40
+ ul.verse li.indent-18 { margin-left: 20em; }
41
+ ul.verse li.indent-19 { margin-left: 21em; }
42
+ ul.verse li.indent-20 { margin-left: 22em; }
43
+ ul.verse li.indent-21 { margin-left: 23em; }
44
+ ul.verse li.indent-22 { margin-left: 24em; }
45
+ ul.verse li.indent-23 { margin-left: 25em; }
46
+ ul.verse li.indent-24 { margin-left: 26em; }
47
+ ul.verse li.indent-25 { margin-left: 27em; }
48
+ ul.verse li.indent-26 { margin-left: 28em; }
49
+ ul.verse li.indent-27 { margin-left: 29em; }
50
+ ul.verse li.indent-28 { margin-left: 30em; }
51
+ ul.verse li.indent-29 { margin-left: 31em; }
52
+ ul.verse li.indent-30 { margin-left: 32em; }
53
+ ul.verse li.indent-31 { margin-left: 33em; }
54
+ ul.verse li.indent-32 { margin-left: 34em; }
55
+ ul.verse li.indent-33 { margin-left: 35em; }
56
+ ul.verse li.indent-34 { margin-left: 36em; }
57
+ ul.verse li.indent-35 { margin-left: 37em; }
58
+ ul.verse li.indent-36 { margin-left: 38em; }
59
+ ul.verse li.indent-37 { margin-left: 39em; }
60
+ ul.verse li.indent-38 { margin-left: 40em; }
61
+ ul.verse li.indent-39 { margin-left: 41em; }
62
+ ul.verse li.indent-40 { margin-left: 42em; }
63
+ ul.verse li.indent-41 { margin-left: 43em; }
64
+ ul.verse li.indent-42 { margin-left: 44em; }
65
+ ul.verse li.indent-43 { margin-left: 45em; }
66
+ ul.verse li.indent-44 { margin-left: 46em; }
67
+ ul.verse li.indent-45 { margin-left: 47em; }
68
+ ul.verse li.indent-46 { margin-left: 48em; }
69
+ ul.verse li.indent-47 { margin-left: 49em; }
70
+ ul.verse li.indent-48 { margin-left: 50em; }
71
+ ul.verse li.indent-49 { margin-left: 51em; }
72
+ ul.verse li.indent-50 { margin-left: 52em; }
73
+ ul.verse li.indent-51 { margin-left: 53em; }
74
+ ul.verse li.indent-52 { margin-left: 54em; }
75
+ ul.verse li.indent-53 { margin-left: 55em; }
76
+ ul.verse li.indent-54 { margin-left: 56em; }
77
+ ul.verse li.indent-55 { margin-left: 57em; }
78
+ ul.verse li.indent-56 { margin-left: 58em; }
79
+ ul.verse li.indent-57 { margin-left: 59em; }
80
+ ul.verse li.indent-58 { margin-left: 60em; }
81
+ ul.verse li.indent-59 { margin-left: 61em; }
82
+ ul.verse li.indent-60 { margin-left: 62em; }
83
+
84
+ /* Verse in a blockquote centres on its longest line, which is best-practice poetry layout */
85
+ blockquote.verse {
86
+ color: inherit;
87
+ margin-top: 0;
88
+ width: 100%;
89
+ padding: 0;
90
+ }
91
+ blockquote.verse h1,
92
+ blockquote.verse h2,
93
+ blockquote.verse h3,
94
+ blockquote.verse h4,
95
+ blockquote.verse h5,
96
+ blockquote.verse h6 {
97
+ margin-bottom: 1em;
98
+ }
99
+ blockquote.verse ul {
100
+ margin-bottom: 0; /* Already gets its space after from ul.verse */
101
+ }
102
+
103
+ // We originally included this to center poems on their longest line. But on small screens it's unnecessary.
104
+ // blockquote.verse {
105
+ // text-align: center;
106
+ // }
107
+ // blockquote.verse ul.verse {
108
+ // text-align: left;
109
+ // display: inline-block;
110
+ // min-width: 51%; // Ensures verses with short lines don't end up floating side by side
111
+ // }
112
+
113
+ /* If verse is in a list, we can preserve line breaks and white space */
114
+ ul.verse li {
115
+ white-space: pre-wrap;
116
+ }
117
+ ul.verse li h1,
118
+ ul.verse li h2,
119
+ ul.verse li h3,
120
+ ul.verse li h4,
121
+ ul.verse li h5,
122
+ ul.verse li h6 {
123
+ display: inline; /* To avoid pre-wrap line breaks inside the li */
124
+ }
125
+ ul.verse li h1 { margin-left: -1.75em; } /* Overrides indent applied to .verse li */
126
+ ul.verse li h2 { margin-left: -2.25em; } /* Overrides indent applied to .verse li */
127
+ ul.verse li h3 { margin-left: -3em; } /* Overrides indent applied to .verse li */
128
+ ul.verse li h4 { margin-left: -3.5em; } /* Overrides indent applied to .verse li */
129
+ ul.verse li h5 { margin-left: -4.25em; } /* Overrides indent applied to .verse li */
130
+ ul.verse li h6 { margin-left: -5em; } /* Overrides indent applied to .verse li */
131
+
132
+ // If a line is blank it's an empty list item. That will collapse away by default, so we add blank line back in.
133
+ ul.verse li:empty {
134
+ line-height: 100%; // On screens, this keeps line heights consistent. Don't use this in print where baseline grid is important.
135
+ }
136
+ ul.verse li:empty:after {
137
+ content: " ";
138
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Video
3
+ */
4
+
5
+ .videowrapper {
6
+ float: none;
7
+ clear: both;
8
+ width: 100%;
9
+ position: relative;
10
+ padding-bottom: 56.25%;
11
+ padding-top: 25px;
12
+ height: 0;
13
+ margin: 1em 0;
14
+ }
15
+ .videowrapper iframe {
16
+ position: absolute;
17
+ top: 0;
18
+ left: 0;
19
+ width: 100%;
20
+ height: 100%;
21
+ }
22
+ .videowrapper + p {
23
+ text-indent: 0; /* Don't indent a paragraph after a video. */
24
+ }
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Structure
3
+ */
4
+
5
+ body {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+ #wrapper{
10
+ clear: both;
11
+ max-width: 40em;
12
+ margin: auto;
13
+ padding: 0 0.3em 0 0.3em;
14
+ }
@@ -0,0 +1,194 @@
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: 3mm !default;
32
+ $trim: 3mm !default;
33
+ $crop-marks: crop !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 theme partials
147
+ // ---------------------
148
+
149
+ @import "partials/hide-footer";
150
+ @import "partials/hide-nav-bar";
151
+
152
+ // --------------------------------------------
153
+ // Page setup and control, avoid changing these
154
+ // --------------------------------------------
155
+
156
+ @import "partials/print-pdf-view"; // Sets the default initial view on PDFs
157
+ @import "partials/print-page-setup"; // Sets up the page from your variables
158
+ @import "partials/print-page-break-tools"; // Provides classes for semantic page breaks
159
+ @import "partials/print-hide-non-printing"; // Hides anything .non-printing
160
+ @import "partials/print-hide-video"; // Hides video from print output
161
+ @import "partials/print-fitting"; // Classes for floating, tracking, shrinking, etc.
162
+ @import "partials/print-hyphenation"; // Sets hyphenation dictionary
163
+
164
+ // ---------------------
165
+ // Classic-theme modules
166
+ // ---------------------
167
+
168
+ @import "partials/print-start-on-recto-or-verso"; // Starts chapters on a left- or right-hand-page
169
+ @import "partials/print-page-start-depth"; // Sets a top margin on opening pages
170
+ @import "partials/print-base-typography"; // Default typography for HTML elements
171
+ @import "partials/print-verse"; // Default typography for verse, poetry, lyrics
172
+ @import "partials/print-bibliographies";
173
+ @import "partials/print-epigraphs"; //
174
+ @import "partials/print-dedications"; //
175
+ @import "partials/print-definition-lists"; // Including .glossary
176
+ @import "partials/print-pullquotes"; // Supports .pullquote
177
+ @import "partials/print-boxes"; //
178
+ @import "partials/print-code"; // For computer code and preformatted text
179
+ @import "partials/print-tables"; //
180
+ @import "partials/print-figures"; //
181
+ @import "partials/print-notes"; // Footnotes, endnotes, sidenotes
182
+ @import "partials/print-title-pages"; // Half-title and title pages
183
+ @import "partials/print-copyright-page"; //
184
+ @import "partials/print-toc"; // Tables of contents
185
+ @import "partials/print-front-cover"; // Front-cover image for PDF ebooks
186
+ @import "partials/print-smallcaps"; //
187
+ @import "partials/print-maths"; //
188
+ @import "partials/print-valedictions"; //
189
+ @import "partials/print-quotations"; //
190
+ @import "partials/print-openers"; //
191
+ @import "partials/print-index"; //
192
+ @import "partials/print-reset-sequences"; // Resets p indents, margins after other elements. Must be last @import in list.
193
+ @import "partials/print-page-headers-footers-content"; // Sets content for headers and footers
194
+ @import "partials/print-page-headers-footers-style"; // Sets styling for headers and footers