kitabu 1.0.6 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -3
  3. data/.travis.yml +18 -0
  4. data/CHANGELOG.md +9 -0
  5. data/Gemfile.lock +67 -50
  6. data/README.md +235 -0
  7. data/attachments/browser-version.png +0 -0
  8. data/attachments/cover.png +0 -0
  9. data/attachments/kitabu.epub +0 -0
  10. data/attachments/kitabu.mobi +0 -0
  11. data/attachments/kitabu.pdf +0 -0
  12. data/{spec/support/mybook/output → examples/kitabu/output/epub/images}/.gitkeep +0 -0
  13. data/examples/kitabu/output/epub/images/kitabu-icon.png +0 -0
  14. data/examples/kitabu/output/epub/images/kitabu-icon.svg +19 -0
  15. data/examples/kitabu/output/epub/images/kitabu-word.png +0 -0
  16. data/examples/kitabu/output/epub/images/kitabu-word.svg +14 -0
  17. data/examples/kitabu/output/epub/images/kitabu.png +0 -0
  18. data/examples/kitabu/output/epub/images/kitabu.svg +20 -0
  19. data/examples/kitabu/output/epub/section_0.html +266 -0
  20. data/examples/kitabu/output/epub/section_1.html +246 -0
  21. data/examples/kitabu/output/epub/section_2.html +520 -0
  22. data/examples/kitabu/output/epub/section_3.html +282 -0
  23. data/examples/kitabu/output/epub/section_4.html +276 -0
  24. data/examples/kitabu/output/epub/styles/epub.css +437 -0
  25. data/examples/kitabu/output/epub/styles/html.css +712 -0
  26. data/examples/kitabu/output/epub/styles/pdf.css +840 -0
  27. data/examples/kitabu/output/epub/styles/print.css +1278 -0
  28. data/examples/kitabu/output/epub/toc.html +37 -0
  29. data/{spec/support/mybook/templates/epub/style.css → examples/kitabu/output/images/.gitkeep} +0 -0
  30. data/examples/kitabu/output/images/kitabu-icon.png +0 -0
  31. data/examples/kitabu/output/images/kitabu-icon.svg +19 -0
  32. data/examples/kitabu/output/images/kitabu-word.png +0 -0
  33. data/examples/kitabu/output/images/kitabu-word.svg +14 -0
  34. data/examples/kitabu/output/images/kitabu.png +0 -0
  35. data/examples/kitabu/output/images/kitabu.svg +20 -0
  36. data/examples/kitabu/output/kitabu.epub +0 -0
  37. data/examples/kitabu/output/kitabu.html +513 -0
  38. data/examples/kitabu/output/kitabu.mobi +0 -0
  39. data/examples/kitabu/output/kitabu.pdf +0 -0
  40. data/examples/kitabu/output/kitabu.pdf.html +729 -0
  41. data/examples/kitabu/output/kitabu.print.html +729 -0
  42. data/examples/kitabu/output/kitabu.print.pdf +0 -0
  43. data/examples/kitabu/output/kitabu.txt +440 -0
  44. data/examples/kitabu/output/styles/epub.css +437 -0
  45. data/examples/kitabu/output/styles/html.css +712 -0
  46. data/examples/kitabu/output/styles/pdf.css +840 -0
  47. data/examples/kitabu/output/styles/print.css +1278 -0
  48. data/kitabu.gemspec +7 -5
  49. data/lib/kitabu.rb +10 -20
  50. data/lib/kitabu/cli.rb +0 -5
  51. data/lib/kitabu/dependency.rb +0 -4
  52. data/lib/kitabu/exporter.rb +2 -0
  53. data/lib/kitabu/extensions/rouge.rb +9 -0
  54. data/lib/kitabu/generator.rb +9 -21
  55. data/lib/kitabu/helpers.rb +47 -0
  56. data/lib/kitabu/markdown.rb +31 -0
  57. data/lib/kitabu/parser.rb +21 -3
  58. data/lib/kitabu/parser/epub.rb +31 -18
  59. data/lib/kitabu/parser/html.rb +48 -29
  60. data/lib/kitabu/parser/mobi.rb +1 -1
  61. data/lib/kitabu/parser/pdf.rb +52 -8
  62. data/lib/kitabu/version.rb +2 -2
  63. data/spec/kitabu/cli/export_spec.rb +4 -4
  64. data/spec/kitabu/cli/new_spec.rb +2 -2
  65. data/spec/kitabu/markdown_spec.rb +24 -0
  66. data/spec/kitabu/parser/html_spec.rb +20 -25
  67. data/spec/kitabu/parser/mobi_spec.rb +14 -0
  68. data/spec/kitabu/parser/pdf_spec.rb +18 -1
  69. data/spec/kitabu/parser/txt_spec.rb +14 -0
  70. data/spec/spec_helper.rb +10 -6
  71. data/spec/support/mybook/config/helper.rb +4 -29
  72. data/spec/support/mybook/config/kitabu.yml +0 -10
  73. data/spec/support/mybook/templates/epub/cover.erb +4 -3
  74. data/{templates → spec/support/mybook/templates/epub}/cover.png +0 -0
  75. data/spec/support/mybook/templates/epub/page.erb +3 -2
  76. data/spec/support/mybook/templates/html/layout.erb +10 -13
  77. data/spec/support/mybook/templates/styles/epub.scss +3 -0
  78. data/spec/support/mybook/templates/styles/html.scss +3 -0
  79. data/spec/support/mybook/templates/styles/pdf.scss +3 -0
  80. data/spec/support/mybook/templates/styles/print.scss +3 -0
  81. data/spec/support/mybook/text/{01_Markdown_Chapter.markdown → 01_Markdown_Chapter.md} +2 -3
  82. data/spec/support/mybook/text/02_ERB_Chapter.md.erb +7 -0
  83. data/spec/support/mybook/text/{04_With_Directory/Some_Chapter.mkdn → 03_With_Directory/Some_Chapter.md} +0 -0
  84. data/spec/support/mybook/text/{CHANGELOG.textile → CHANGELOG.md} +2 -2
  85. data/spec/support/mybook/text/{TOC.textile → TOC.md} +0 -0
  86. data/spec/support/mybook/text/{_00_Introduction.markdown → _00_Introduction.md} +0 -0
  87. data/spec/support/shared.rb +14 -10
  88. data/templates/Gemfile +3 -3
  89. data/templates/Guardfile +1 -5
  90. data/templates/config.erb +5 -5
  91. data/templates/cover.erb +4 -3
  92. data/templates/epub.erb +3 -2
  93. data/templates/helper.rb +28 -29
  94. data/templates/images/.gitkeep +0 -0
  95. data/templates/images/kitabu-icon.png +0 -0
  96. data/templates/images/kitabu-icon.svg +19 -0
  97. data/templates/images/kitabu-word.png +0 -0
  98. data/templates/images/kitabu-word.svg +14 -0
  99. data/templates/images/kitabu.png +0 -0
  100. data/templates/images/kitabu.svg +20 -0
  101. data/{examples/RailsGuides/templates → templates/templates/epub}/cover.erb +4 -3
  102. data/templates/templates/epub/cover.png +0 -0
  103. data/templates/templates/epub/page.erb +16 -0
  104. data/templates/{layout.erb → templates/html/layout.erb} +22 -11
  105. data/templates/templates/styles/epub.scss +1 -0
  106. data/templates/templates/styles/files/_normalize.scss +427 -0
  107. data/templates/templates/styles/html.scss +252 -0
  108. data/templates/templates/styles/pdf.scss +371 -0
  109. data/templates/templates/styles/print.scss +2 -0
  110. data/templates/text/01_Getting_Started.md +26 -0
  111. data/templates/text/02_Creating_Chapters.md +22 -0
  112. data/templates/text/03_Syntax_Highlighting.erb +69 -0
  113. data/templates/text/04_Dynamic_Content.erb +64 -0
  114. data/templates/text/05_Exporting_Files.md +49 -0
  115. metadata +143 -83
  116. data/README.rdoc +0 -218
  117. data/examples/RailsGuides/config/helper.rb +0 -29
  118. data/examples/RailsGuides/config/kitabu.yml +0 -44
  119. data/examples/RailsGuides/images/challenge.png +0 -0
  120. data/examples/RailsGuides/images/posts_index.png +0 -0
  121. data/examples/RailsGuides/images/rails_welcome.png +0 -0
  122. data/examples/RailsGuides/output/RailsGuides.epub +0 -0
  123. data/examples/RailsGuides/output/RailsGuides.html +0 -1556
  124. data/examples/RailsGuides/output/RailsGuides.pdf +3 -4934
  125. data/examples/RailsGuides/templates/layout.css +0 -352
  126. data/examples/RailsGuides/templates/layout.erb +0 -43
  127. data/examples/RailsGuides/templates/syntax.css +0 -62
  128. data/examples/RailsGuides/templates/user.css +0 -19
  129. data/examples/RailsGuides/text/01_Guide_Assumptions.mkdn +0 -13
  130. data/examples/RailsGuides/text/02_What_is_Rails.mkdn +0 -106
  131. data/examples/RailsGuides/text/03_Creating_a_new_Rails_project.mkdn +0 -200
  132. data/examples/RailsGuides/text/04_Hello_Rails.mkdn +0 -62
  133. data/examples/RailsGuides/text/05_Getting_Up_and_Running_Quickly_with_Scaffolding.mkdn +0 -4
  134. data/examples/RailsGuides/text/06_Creating_a_resource.mkdn +0 -503
  135. data/examples/RailsGuides/text/07_Adding_a_second_model.mkdn +0 -232
  136. data/examples/RailsGuides/text/08_Refactoring.mkdn +0 -123
  137. data/examples/RailsGuides/text/09_Deleting_comments.mkdn +0 -57
  138. data/examples/RailsGuides/text/09_Security.mkdn +0 -56
  139. data/examples/RailsGuides/text/10_Building_a_multi_model_form.mkdn +0 -130
  140. data/examples/RailsGuides/text/11_View_helpers.mkdn +0 -50
  141. data/examples/RailsGuides/text/12_Whats_next.mkdn +0 -14
  142. data/examples/RailsGuides/text/13_Configuration_gotchas.mkdn +0 -10
  143. data/lib/kitabu/adapters/markdown.rb +0 -34
  144. data/lib/kitabu/extensions/redcloth.rb +0 -69
  145. data/lib/kitabu/syntax.rb +0 -130
  146. data/spec/kitabu/extensions/redcloth_spec.rb +0 -57
  147. data/spec/kitabu/syntax_spec.rb +0 -106
  148. data/spec/support/mybook/templates/html/layout.css +0 -353
  149. data/spec/support/mybook/templates/html/syntax.css +0 -58
  150. data/spec/support/mybook/templates/html/user.css +0 -1
  151. data/spec/support/mybook/text/02_Textile_Chapter.textile +0 -3
  152. data/spec/support/mybook/text/03_HTML_Chapter.html +0 -3
  153. data/templates/epub.css +0 -500
  154. data/templates/layout.css +0 -353
  155. data/templates/sample.md +0 -6
  156. data/templates/syntax.css +0 -58
  157. data/templates/user.css +0 -1
@@ -0,0 +1,437 @@
1
+ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2
+ /**
3
+ * 1. Set default font family to sans-serif.
4
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
5
+ * user zoom.
6
+ */
7
+ /* line 9, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
8
+ html {
9
+ font-family: sans-serif;
10
+ /* 1 */
11
+ -ms-text-size-adjust: 100%;
12
+ /* 2 */
13
+ -webkit-text-size-adjust: 100%;
14
+ /* 2 */
15
+ }
16
+
17
+ /**
18
+ * Remove default margin.
19
+ */
20
+ /* line 19, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
21
+ body {
22
+ margin: 0;
23
+ }
24
+
25
+ /* HTML5 display definitions
26
+ ========================================================================== */
27
+ /**
28
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
29
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
30
+ * and Firefox.
31
+ * Correct `block` display not defined for `main` in IE 11.
32
+ */
33
+ /* line 33, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
34
+ article,
35
+ aside,
36
+ details,
37
+ figcaption,
38
+ figure,
39
+ footer,
40
+ header,
41
+ hgroup,
42
+ main,
43
+ menu,
44
+ nav,
45
+ section,
46
+ summary {
47
+ display: block;
48
+ }
49
+
50
+ /**
51
+ * 1. Correct `inline-block` display not defined in IE 8/9.
52
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
53
+ */
54
+ /* line 54, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
55
+ audio,
56
+ canvas,
57
+ progress,
58
+ video {
59
+ display: inline-block;
60
+ /* 1 */
61
+ vertical-align: baseline;
62
+ /* 2 */
63
+ }
64
+
65
+ /**
66
+ * Prevent modern browsers from displaying `audio` without controls.
67
+ * Remove excess height in iOS 5 devices.
68
+ */
69
+ /* line 67, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
70
+ audio:not([controls]) {
71
+ display: none;
72
+ height: 0;
73
+ }
74
+
75
+ /**
76
+ * Address `[hidden]` styling not present in IE 8/9/10.
77
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
78
+ */
79
+ /* line 77, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
80
+ [hidden],
81
+ template {
82
+ display: none;
83
+ }
84
+
85
+ /* Links
86
+ ========================================================================== */
87
+ /**
88
+ * Remove the gray background color from active links in IE 10.
89
+ */
90
+ /* line 89, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
91
+ a {
92
+ background-color: transparent;
93
+ }
94
+
95
+ /**
96
+ * Improve readability when focused and also mouse hovered in all browsers.
97
+ */
98
+ /* line 97, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
99
+ a:active,
100
+ a:hover {
101
+ outline: 0;
102
+ }
103
+
104
+ /* Text-level semantics
105
+ ========================================================================== */
106
+ /**
107
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
108
+ */
109
+ /* line 109, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
110
+ abbr[title] {
111
+ border-bottom: 1px dotted;
112
+ }
113
+
114
+ /**
115
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
116
+ */
117
+ /* line 117, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
118
+ b,
119
+ strong {
120
+ font-weight: bold;
121
+ }
122
+
123
+ /**
124
+ * Address styling not present in Safari and Chrome.
125
+ */
126
+ /* line 126, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
127
+ dfn {
128
+ font-style: italic;
129
+ }
130
+
131
+ /**
132
+ * Address variable `h1` font-size and margin within `section` and `article`
133
+ * contexts in Firefox 4+, Safari, and Chrome.
134
+ */
135
+ /* line 135, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
136
+ h1 {
137
+ font-size: 2em;
138
+ margin: 0.67em 0;
139
+ }
140
+
141
+ /**
142
+ * Address styling not present in IE 8/9.
143
+ */
144
+ /* line 144, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
145
+ mark {
146
+ background: #ff0;
147
+ color: #000;
148
+ }
149
+
150
+ /**
151
+ * Address inconsistent and variable font size in all browsers.
152
+ */
153
+ /* line 153, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
154
+ small {
155
+ font-size: 80%;
156
+ }
157
+
158
+ /**
159
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
160
+ */
161
+ /* line 161, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
162
+ sub,
163
+ sup {
164
+ font-size: 75%;
165
+ line-height: 0;
166
+ position: relative;
167
+ vertical-align: baseline;
168
+ }
169
+
170
+ /* line 169, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
171
+ sup {
172
+ top: -0.5em;
173
+ }
174
+
175
+ /* line 173, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
176
+ sub {
177
+ bottom: -0.25em;
178
+ }
179
+
180
+ /* Embedded content
181
+ ========================================================================== */
182
+ /**
183
+ * Remove border when inside `a` element in IE 8/9/10.
184
+ */
185
+ /* line 184, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
186
+ img {
187
+ border: 0;
188
+ }
189
+
190
+ /**
191
+ * Correct overflow not hidden in IE 9/10/11.
192
+ */
193
+ /* line 192, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
194
+ svg:not(:root) {
195
+ overflow: hidden;
196
+ }
197
+
198
+ /* Grouping content
199
+ ========================================================================== */
200
+ /**
201
+ * Address margin not present in IE 8/9 and Safari.
202
+ */
203
+ /* line 203, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
204
+ figure {
205
+ margin: 1em 40px;
206
+ }
207
+
208
+ /**
209
+ * Address differences between Firefox and other browsers.
210
+ */
211
+ /* line 211, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
212
+ hr {
213
+ -moz-box-sizing: content-box;
214
+ box-sizing: content-box;
215
+ height: 0;
216
+ }
217
+
218
+ /**
219
+ * Contain overflow in all browsers.
220
+ */
221
+ /* line 221, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
222
+ pre {
223
+ overflow: auto;
224
+ }
225
+
226
+ /**
227
+ * Address odd `em`-unit font size rendering in all browsers.
228
+ */
229
+ /* line 229, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
230
+ code,
231
+ kbd,
232
+ pre,
233
+ samp {
234
+ font-family: monospace, monospace;
235
+ font-size: 1em;
236
+ }
237
+
238
+ /* Forms
239
+ ========================================================================== */
240
+ /**
241
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
242
+ * styling of `select`, unless a `border` property is set.
243
+ */
244
+ /**
245
+ * 1. Correct color not being inherited.
246
+ * Known issue: affects color of disabled elements.
247
+ * 2. Correct font properties not being inherited.
248
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
249
+ */
250
+ /* line 252, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
251
+ button,
252
+ input,
253
+ optgroup,
254
+ select,
255
+ textarea {
256
+ color: inherit;
257
+ /* 1 */
258
+ font: inherit;
259
+ /* 2 */
260
+ margin: 0;
261
+ /* 3 */
262
+ }
263
+
264
+ /**
265
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
266
+ */
267
+ /* line 266, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
268
+ button {
269
+ overflow: visible;
270
+ }
271
+
272
+ /**
273
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
274
+ * All other form control elements do not inherit `text-transform` values.
275
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
276
+ * Correct `select` style inheritance in Firefox.
277
+ */
278
+ /* line 277, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
279
+ button,
280
+ select {
281
+ text-transform: none;
282
+ }
283
+
284
+ /**
285
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
286
+ * and `video` controls.
287
+ * 2. Correct inability to style clickable `input` types in iOS.
288
+ * 3. Improve usability and consistency of cursor style between image-type
289
+ * `input` and others.
290
+ */
291
+ /* line 290, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
292
+ button,
293
+ html input[type="button"],
294
+ input[type="reset"],
295
+ input[type="submit"] {
296
+ -webkit-appearance: button;
297
+ /* 2 */
298
+ cursor: pointer;
299
+ /* 3 */
300
+ }
301
+
302
+ /**
303
+ * Re-set default cursor for disabled elements.
304
+ */
305
+ /* line 302, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
306
+ button[disabled],
307
+ html input[disabled] {
308
+ cursor: default;
309
+ }
310
+
311
+ /**
312
+ * Remove inner padding and border in Firefox 4+.
313
+ */
314
+ /* line 311, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
315
+ button::-moz-focus-inner,
316
+ input::-moz-focus-inner {
317
+ border: 0;
318
+ padding: 0;
319
+ }
320
+
321
+ /**
322
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
323
+ * the UA stylesheet.
324
+ */
325
+ /* line 322, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
326
+ input {
327
+ line-height: normal;
328
+ }
329
+
330
+ /**
331
+ * It's recommended that you don't attempt to style these elements.
332
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
333
+ *
334
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
335
+ * 2. Remove excess padding in IE 8/9/10.
336
+ */
337
+ /* line 334, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
338
+ input[type="checkbox"],
339
+ input[type="radio"] {
340
+ box-sizing: border-box;
341
+ /* 1 */
342
+ padding: 0;
343
+ /* 2 */
344
+ }
345
+
346
+ /**
347
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
348
+ * `font-size` values of the `input`, it causes the cursor style of the
349
+ * decrement button to change from `default` to `text`.
350
+ */
351
+ /* line 346, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
352
+ input[type="number"]::-webkit-inner-spin-button,
353
+ input[type="number"]::-webkit-outer-spin-button {
354
+ height: auto;
355
+ }
356
+
357
+ /**
358
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
359
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
360
+ * (include `-moz` to future-proof).
361
+ */
362
+ /* line 357, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
363
+ input[type="search"] {
364
+ -webkit-appearance: textfield;
365
+ /* 1 */
366
+ -moz-box-sizing: content-box;
367
+ -webkit-box-sizing: content-box;
368
+ /* 2 */
369
+ box-sizing: content-box;
370
+ }
371
+
372
+ /**
373
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
374
+ * Safari (but not Chrome) clips the cancel button when the search input has
375
+ * padding (and `textfield` appearance).
376
+ */
377
+ /* line 370, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
378
+ input[type="search"]::-webkit-search-cancel-button,
379
+ input[type="search"]::-webkit-search-decoration {
380
+ -webkit-appearance: none;
381
+ }
382
+
383
+ /**
384
+ * Define consistent border, margin, and padding.
385
+ */
386
+ /* line 379, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
387
+ fieldset {
388
+ border: 1px solid #c0c0c0;
389
+ margin: 0 2px;
390
+ padding: 0.35em 0.625em 0.75em;
391
+ }
392
+
393
+ /**
394
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
395
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
396
+ */
397
+ /* line 390, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
398
+ legend {
399
+ border: 0;
400
+ /* 1 */
401
+ padding: 0;
402
+ /* 2 */
403
+ }
404
+
405
+ /**
406
+ * Remove default vertical scrollbar in IE 8/9/10/11.
407
+ */
408
+ /* line 399, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
409
+ textarea {
410
+ overflow: auto;
411
+ }
412
+
413
+ /**
414
+ * Don't inherit the `font-weight` (applied by a rule above).
415
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
416
+ */
417
+ /* line 408, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
418
+ optgroup {
419
+ font-weight: bold;
420
+ }
421
+
422
+ /* Tables
423
+ ========================================================================== */
424
+ /**
425
+ * Remove most spacing between table cells.
426
+ */
427
+ /* line 419, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
428
+ table {
429
+ border-collapse: collapse;
430
+ border-spacing: 0;
431
+ }
432
+
433
+ /* line 424, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
434
+ td,
435
+ th {
436
+ padding: 0;
437
+ }
@@ -0,0 +1,712 @@
1
+ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2
+ /**
3
+ * 1. Set default font family to sans-serif.
4
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
5
+ * user zoom.
6
+ */
7
+ /* line 9, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
8
+ html {
9
+ font-family: sans-serif;
10
+ /* 1 */
11
+ -ms-text-size-adjust: 100%;
12
+ /* 2 */
13
+ -webkit-text-size-adjust: 100%;
14
+ /* 2 */
15
+ }
16
+
17
+ /**
18
+ * Remove default margin.
19
+ */
20
+ /* line 19, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
21
+ body {
22
+ margin: 0;
23
+ }
24
+
25
+ /* HTML5 display definitions
26
+ ========================================================================== */
27
+ /**
28
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
29
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
30
+ * and Firefox.
31
+ * Correct `block` display not defined for `main` in IE 11.
32
+ */
33
+ /* line 33, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
34
+ article,
35
+ aside,
36
+ details,
37
+ figcaption,
38
+ figure,
39
+ footer,
40
+ header,
41
+ hgroup,
42
+ main,
43
+ menu,
44
+ nav,
45
+ section,
46
+ summary {
47
+ display: block;
48
+ }
49
+
50
+ /**
51
+ * 1. Correct `inline-block` display not defined in IE 8/9.
52
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
53
+ */
54
+ /* line 54, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
55
+ audio,
56
+ canvas,
57
+ progress,
58
+ video {
59
+ display: inline-block;
60
+ /* 1 */
61
+ vertical-align: baseline;
62
+ /* 2 */
63
+ }
64
+
65
+ /**
66
+ * Prevent modern browsers from displaying `audio` without controls.
67
+ * Remove excess height in iOS 5 devices.
68
+ */
69
+ /* line 67, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
70
+ audio:not([controls]) {
71
+ display: none;
72
+ height: 0;
73
+ }
74
+
75
+ /**
76
+ * Address `[hidden]` styling not present in IE 8/9/10.
77
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
78
+ */
79
+ /* line 77, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
80
+ [hidden],
81
+ template {
82
+ display: none;
83
+ }
84
+
85
+ /* Links
86
+ ========================================================================== */
87
+ /**
88
+ * Remove the gray background color from active links in IE 10.
89
+ */
90
+ /* line 89, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
91
+ a {
92
+ background-color: transparent;
93
+ }
94
+
95
+ /**
96
+ * Improve readability when focused and also mouse hovered in all browsers.
97
+ */
98
+ /* line 97, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
99
+ a:active,
100
+ a:hover {
101
+ outline: 0;
102
+ }
103
+
104
+ /* Text-level semantics
105
+ ========================================================================== */
106
+ /**
107
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
108
+ */
109
+ /* line 109, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
110
+ abbr[title] {
111
+ border-bottom: 1px dotted;
112
+ }
113
+
114
+ /**
115
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
116
+ */
117
+ /* line 117, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
118
+ b,
119
+ strong {
120
+ font-weight: bold;
121
+ }
122
+
123
+ /**
124
+ * Address styling not present in Safari and Chrome.
125
+ */
126
+ /* line 126, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
127
+ dfn {
128
+ font-style: italic;
129
+ }
130
+
131
+ /**
132
+ * Address variable `h1` font-size and margin within `section` and `article`
133
+ * contexts in Firefox 4+, Safari, and Chrome.
134
+ */
135
+ /* line 135, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
136
+ h1 {
137
+ font-size: 2em;
138
+ margin: 0.67em 0;
139
+ }
140
+
141
+ /**
142
+ * Address styling not present in IE 8/9.
143
+ */
144
+ /* line 144, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
145
+ mark {
146
+ background: #ff0;
147
+ color: #000;
148
+ }
149
+
150
+ /**
151
+ * Address inconsistent and variable font size in all browsers.
152
+ */
153
+ /* line 153, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
154
+ small {
155
+ font-size: 80%;
156
+ }
157
+
158
+ /**
159
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
160
+ */
161
+ /* line 161, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
162
+ sub,
163
+ sup {
164
+ font-size: 75%;
165
+ line-height: 0;
166
+ position: relative;
167
+ vertical-align: baseline;
168
+ }
169
+
170
+ /* line 169, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
171
+ sup {
172
+ top: -0.5em;
173
+ }
174
+
175
+ /* line 173, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
176
+ sub {
177
+ bottom: -0.25em;
178
+ }
179
+
180
+ /* Embedded content
181
+ ========================================================================== */
182
+ /**
183
+ * Remove border when inside `a` element in IE 8/9/10.
184
+ */
185
+ /* line 184, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
186
+ img {
187
+ border: 0;
188
+ }
189
+
190
+ /**
191
+ * Correct overflow not hidden in IE 9/10/11.
192
+ */
193
+ /* line 192, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
194
+ svg:not(:root) {
195
+ overflow: hidden;
196
+ }
197
+
198
+ /* Grouping content
199
+ ========================================================================== */
200
+ /**
201
+ * Address margin not present in IE 8/9 and Safari.
202
+ */
203
+ /* line 203, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
204
+ figure {
205
+ margin: 1em 40px;
206
+ }
207
+
208
+ /**
209
+ * Address differences between Firefox and other browsers.
210
+ */
211
+ /* line 211, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
212
+ hr {
213
+ -moz-box-sizing: content-box;
214
+ box-sizing: content-box;
215
+ height: 0;
216
+ }
217
+
218
+ /**
219
+ * Contain overflow in all browsers.
220
+ */
221
+ /* line 221, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
222
+ pre {
223
+ overflow: auto;
224
+ }
225
+
226
+ /**
227
+ * Address odd `em`-unit font size rendering in all browsers.
228
+ */
229
+ /* line 229, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
230
+ code,
231
+ kbd,
232
+ pre,
233
+ samp {
234
+ font-family: monospace, monospace;
235
+ font-size: 1em;
236
+ }
237
+
238
+ /* Forms
239
+ ========================================================================== */
240
+ /**
241
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
242
+ * styling of `select`, unless a `border` property is set.
243
+ */
244
+ /**
245
+ * 1. Correct color not being inherited.
246
+ * Known issue: affects color of disabled elements.
247
+ * 2. Correct font properties not being inherited.
248
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
249
+ */
250
+ /* line 252, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
251
+ button,
252
+ input,
253
+ optgroup,
254
+ select,
255
+ textarea {
256
+ color: inherit;
257
+ /* 1 */
258
+ font: inherit;
259
+ /* 2 */
260
+ margin: 0;
261
+ /* 3 */
262
+ }
263
+
264
+ /**
265
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
266
+ */
267
+ /* line 266, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
268
+ button {
269
+ overflow: visible;
270
+ }
271
+
272
+ /**
273
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
274
+ * All other form control elements do not inherit `text-transform` values.
275
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
276
+ * Correct `select` style inheritance in Firefox.
277
+ */
278
+ /* line 277, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
279
+ button,
280
+ select {
281
+ text-transform: none;
282
+ }
283
+
284
+ /**
285
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
286
+ * and `video` controls.
287
+ * 2. Correct inability to style clickable `input` types in iOS.
288
+ * 3. Improve usability and consistency of cursor style between image-type
289
+ * `input` and others.
290
+ */
291
+ /* line 290, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
292
+ button,
293
+ html input[type="button"],
294
+ input[type="reset"],
295
+ input[type="submit"] {
296
+ -webkit-appearance: button;
297
+ /* 2 */
298
+ cursor: pointer;
299
+ /* 3 */
300
+ }
301
+
302
+ /**
303
+ * Re-set default cursor for disabled elements.
304
+ */
305
+ /* line 302, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
306
+ button[disabled],
307
+ html input[disabled] {
308
+ cursor: default;
309
+ }
310
+
311
+ /**
312
+ * Remove inner padding and border in Firefox 4+.
313
+ */
314
+ /* line 311, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
315
+ button::-moz-focus-inner,
316
+ input::-moz-focus-inner {
317
+ border: 0;
318
+ padding: 0;
319
+ }
320
+
321
+ /**
322
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
323
+ * the UA stylesheet.
324
+ */
325
+ /* line 322, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
326
+ input {
327
+ line-height: normal;
328
+ }
329
+
330
+ /**
331
+ * It's recommended that you don't attempt to style these elements.
332
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
333
+ *
334
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
335
+ * 2. Remove excess padding in IE 8/9/10.
336
+ */
337
+ /* line 334, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
338
+ input[type="checkbox"],
339
+ input[type="radio"] {
340
+ box-sizing: border-box;
341
+ /* 1 */
342
+ padding: 0;
343
+ /* 2 */
344
+ }
345
+
346
+ /**
347
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
348
+ * `font-size` values of the `input`, it causes the cursor style of the
349
+ * decrement button to change from `default` to `text`.
350
+ */
351
+ /* line 346, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
352
+ input[type="number"]::-webkit-inner-spin-button,
353
+ input[type="number"]::-webkit-outer-spin-button {
354
+ height: auto;
355
+ }
356
+
357
+ /**
358
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
359
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
360
+ * (include `-moz` to future-proof).
361
+ */
362
+ /* line 357, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
363
+ input[type="search"] {
364
+ -webkit-appearance: textfield;
365
+ /* 1 */
366
+ -moz-box-sizing: content-box;
367
+ -webkit-box-sizing: content-box;
368
+ /* 2 */
369
+ box-sizing: content-box;
370
+ }
371
+
372
+ /**
373
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
374
+ * Safari (but not Chrome) clips the cancel button when the search input has
375
+ * padding (and `textfield` appearance).
376
+ */
377
+ /* line 370, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
378
+ input[type="search"]::-webkit-search-cancel-button,
379
+ input[type="search"]::-webkit-search-decoration {
380
+ -webkit-appearance: none;
381
+ }
382
+
383
+ /**
384
+ * Define consistent border, margin, and padding.
385
+ */
386
+ /* line 379, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
387
+ fieldset {
388
+ border: 1px solid #c0c0c0;
389
+ margin: 0 2px;
390
+ padding: 0.35em 0.625em 0.75em;
391
+ }
392
+
393
+ /**
394
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
395
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
396
+ */
397
+ /* line 390, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
398
+ legend {
399
+ border: 0;
400
+ /* 1 */
401
+ padding: 0;
402
+ /* 2 */
403
+ }
404
+
405
+ /**
406
+ * Remove default vertical scrollbar in IE 8/9/10/11.
407
+ */
408
+ /* line 399, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
409
+ textarea {
410
+ overflow: auto;
411
+ }
412
+
413
+ /**
414
+ * Don't inherit the `font-weight` (applied by a rule above).
415
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
416
+ */
417
+ /* line 408, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
418
+ optgroup {
419
+ font-weight: bold;
420
+ }
421
+
422
+ /* Tables
423
+ ========================================================================== */
424
+ /**
425
+ * Remove most spacing between table cells.
426
+ */
427
+ /* line 419, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
428
+ table {
429
+ border-collapse: collapse;
430
+ border-spacing: 0;
431
+ }
432
+
433
+ /* line 424, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
434
+ td,
435
+ th {
436
+ padding: 0;
437
+ }
438
+
439
+ /* line 6 */
440
+ html {
441
+ background: #eee;
442
+ padding: 50px;
443
+ }
444
+
445
+ /* line 11 */
446
+ body {
447
+ width: 700px;
448
+ padding: 50px;
449
+ background: #fff;
450
+ margin: 0 auto;
451
+ line-height: 1.4;
452
+ }
453
+
454
+ /* line 19 */
455
+ a {
456
+ color: #5091b1;
457
+ }
458
+
459
+ /* line 23 */
460
+ p code,
461
+ li code {
462
+ color: #3F9C55;
463
+ }
464
+
465
+ /* line 29 */
466
+ .frontcover {
467
+ background: #5091b1;
468
+ color: #fff;
469
+ padding: 50px;
470
+ margin: -50px -50px 50px -50px;
471
+ text-align: center;
472
+ }
473
+
474
+ /* line 37 */
475
+ .frontcover * {
476
+ margin: 0;
477
+ }
478
+
479
+ /* line 41 */
480
+ .frontcover .description {
481
+ width: 45%;
482
+ margin: 20px auto;
483
+ color: rgba(255, 255, 255, 0.7);
484
+ }
485
+
486
+ /* line 47 */
487
+ .frontcover .authors {
488
+ font-weight: thin;
489
+ text-transform: uppercase;
490
+ font-size: 24px;
491
+ }
492
+
493
+ /* line 54 */
494
+ .chapter + .chapter:before {
495
+ content: '\2234';
496
+ display: block;
497
+ text-align: center;
498
+ font-size: 24px;
499
+ padding: 50px 0;
500
+ }
501
+
502
+ /* line 62 */
503
+ .chapter > h2 {
504
+ margin-top: 0;
505
+ }
506
+
507
+ /* line 67 */
508
+ .highlight {
509
+ padding: 15px;
510
+ }
511
+
512
+ /* line 71 */
513
+ .highlight .gutter {
514
+ color: #ccc;
515
+ padding-right: 15px;
516
+ }
517
+
518
+ /* line 77 */
519
+ .toc {
520
+ padding-bottom: 50px;
521
+ margin-bottom: 50px;
522
+ border-bottom: 1px solid #eee;
523
+ }
524
+
525
+ /* line 84 */
526
+ .chapters {
527
+ counter-reset: chapter 1;
528
+ }
529
+
530
+ /* line 88 */
531
+ .chapter {
532
+ counter-increment: chapter;
533
+ }
534
+
535
+ /* line 92 */
536
+ .chapter h2:before {
537
+ content: "Chapter " counter(chapter);
538
+ display: block;
539
+ text-transform: uppercase;
540
+ font-weight: normal;
541
+ color: #DB0209;
542
+ font-size: 14px;
543
+ }
544
+
545
+ /* line 101 */
546
+ .chapter h3 {
547
+ margin-top: 50px;
548
+ }
549
+
550
+ /* line 106 */
551
+ .footnotes {
552
+ margin-top: 50px;
553
+ padding-top: 25px;
554
+ border-top: 1px solid #eee;
555
+ }
556
+
557
+ /* line 112 */
558
+ .footnotes hr {
559
+ display: none;
560
+ }
561
+
562
+ /* line 117 */
563
+ .note {
564
+ font-size: 13px;
565
+ float: right;
566
+ overflow: hidden;
567
+ position: relative;
568
+ padding-left: 50px;
569
+ margin: 30px 0;
570
+ }
571
+
572
+ /* line 126 */
573
+ .note:before {
574
+ content: '!';
575
+ display: inline-block;
576
+ font-size: 25px;
577
+ width: 10px;
578
+ height: 10px;
579
+ padding: 15px;
580
+ line-height: 15px;
581
+ text-align: center;
582
+ border-radius: 50%;
583
+ border-bottom-right-radius: 0;
584
+ position: absolute;
585
+ top: 5px;
586
+ left: 0;
587
+ }
588
+
589
+ /* line 142 */
590
+ .note.info:before {
591
+ background: #f5be28;
592
+ color: #fff;
593
+ }
594
+
595
+ /* line 147 */
596
+ .note.warning:before {
597
+ background: #e42e24;
598
+ color: #fff;
599
+ }
600
+
601
+ /* line 153 */
602
+ .lexers-list {
603
+ margin: 0;
604
+ padding: 0;
605
+ -webkit-columns: 2;
606
+ columns: 2;
607
+ }
608
+
609
+ /* line 160 */
610
+ .lexers-list li {
611
+ -webkit-column-break-inside: avoid;
612
+ break-inside: avoid-column;
613
+ }
614
+
615
+ /* line 165 */
616
+ .lexers-list span {
617
+ font-size: 13px;
618
+ }
619
+
620
+ /* line 169 */
621
+ .lexers-list li + li {
622
+ margin-top: 15px;
623
+ }
624
+
625
+ /* line 174 */
626
+ .imprint {
627
+ margin-top: 50px;
628
+ padding-top: 50px;
629
+ border-top: 1px solid #eee;
630
+ }
631
+
632
+ /* line 180 */
633
+ .imprint * {
634
+ margin: 0;
635
+ font-size: 12px;
636
+ }
637
+
638
+ /* line 185 */
639
+ .imprint .description {
640
+ margin-bottom: 10px;
641
+ }
642
+
643
+ /* line 190 */
644
+ .table-of-contents {
645
+ padding-bottom: 50px;
646
+ margin-bottom: 50px;
647
+ border-bottom: 1px solid #eee;
648
+ }
649
+
650
+ /* line 196 */
651
+ .table-of-contents .level2 {
652
+ counter-increment: toc-level2;
653
+ counter-reset: toc-level3;
654
+ position: relative;
655
+ margin-bottom: 10px;
656
+ }
657
+
658
+ /* line 203 */
659
+ .table-of-contents .level2 a {
660
+ text-decoration: none;
661
+ color: #000;
662
+ text-transform: uppercase;
663
+ font-weight: bold;
664
+ }
665
+
666
+ /* line 210 */
667
+ .table-of-contents .level2:before {
668
+ content: "Chapter " counter(toc-level2);
669
+ font-size: 13px;
670
+ text-transform: uppercase;
671
+ font-weight: bold;
672
+ color: #aaa;
673
+ display: block;
674
+ }
675
+
676
+ /* line 219 */
677
+ .table-of-contents .level2 ~ .level2 {
678
+ margin-top: 40px;
679
+ }
680
+
681
+ /* line 223 */
682
+ #toc {
683
+ -webkit-columns: 2;
684
+ columns: 2;
685
+ }
686
+
687
+ /* line 228 */
688
+ #toc > div {
689
+ -webkit-column-break-inside: avoid;
690
+ break-inside: avoid-column;
691
+ }
692
+
693
+ /* line 234 */
694
+ .go-top {
695
+ font-size: 50px;
696
+ text-decoration: none;
697
+ position: fixed;
698
+ bottom: 25px;
699
+ right: 25px;
700
+ width: 60px;
701
+ display: inline-block;
702
+ background: rgba(0, 0, 0, 0.2);
703
+ text-align: center;
704
+ border-radius: 10px;
705
+ line-height: 1;
706
+ color: rgba(255, 255, 255, 0.4);
707
+ padding-top: 10px;
708
+ }
709
+ /* line 249 */
710
+ .go-top:hover {
711
+ color: #fff;
712
+ }