kitabu 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +7 -5
  5. data/lib/kitabu.rb +12 -1
  6. data/lib/kitabu/cli.rb +1 -1
  7. data/lib/kitabu/exporter.rb +5 -5
  8. data/lib/kitabu/{parser.rb → exporter/base.rb} +9 -11
  9. data/lib/kitabu/exporter/css.rb +24 -0
  10. data/lib/kitabu/{parser → exporter}/epub.rb +2 -2
  11. data/lib/kitabu/exporter/html.rb +109 -0
  12. data/lib/kitabu/{parser → exporter}/mobi.rb +2 -2
  13. data/lib/kitabu/exporter/pdf.rb +43 -0
  14. data/lib/kitabu/{parser → exporter}/txt.rb +2 -2
  15. data/lib/kitabu/footnotes/base.rb +33 -0
  16. data/lib/kitabu/footnotes/html.rb +52 -0
  17. data/lib/kitabu/footnotes/pdf.rb +47 -0
  18. data/lib/kitabu/source_list.rb +73 -0
  19. data/lib/kitabu/stats.rb +1 -1
  20. data/lib/kitabu/stream.rb +1 -1
  21. data/lib/kitabu/toc/html.rb +6 -6
  22. data/lib/kitabu/version.rb +1 -1
  23. data/spec/kitabu/exporter/css_spec.rb +16 -0
  24. data/spec/kitabu/{parser → exporter}/epub_spec.rb +3 -3
  25. data/spec/kitabu/exporter/html_spec.rb +36 -0
  26. data/spec/kitabu/{parser → exporter}/mobi_spec.rb +3 -3
  27. data/spec/kitabu/{parser → exporter}/pdf_spec.rb +3 -3
  28. data/spec/kitabu/{parser → exporter}/txt_spec.rb +3 -3
  29. data/spec/kitabu/footnotes/html_spec.rb +67 -0
  30. data/spec/kitabu/{parser/html_spec.rb → source_list_spec.rb} +5 -34
  31. data/spec/kitabu/stats_spec.rb +7 -7
  32. data/templates/templates/styles/pdf.scss +1 -47
  33. data/templates/text/04_Dynamic_Content.erb +1 -1
  34. metadata +29 -54
  35. data/examples/kitabu/output/epub/images/.gitkeep +0 -0
  36. data/examples/kitabu/output/epub/images/kitabu-icon.png +0 -0
  37. data/examples/kitabu/output/epub/images/kitabu-icon.svg +0 -19
  38. data/examples/kitabu/output/epub/images/kitabu-word.png +0 -0
  39. data/examples/kitabu/output/epub/images/kitabu-word.svg +0 -14
  40. data/examples/kitabu/output/epub/images/kitabu.png +0 -0
  41. data/examples/kitabu/output/epub/images/kitabu.svg +0 -20
  42. data/examples/kitabu/output/epub/section_0.html +0 -266
  43. data/examples/kitabu/output/epub/section_1.html +0 -246
  44. data/examples/kitabu/output/epub/section_2.html +0 -520
  45. data/examples/kitabu/output/epub/section_3.html +0 -282
  46. data/examples/kitabu/output/epub/section_4.html +0 -276
  47. data/examples/kitabu/output/epub/styles/epub.css +0 -437
  48. data/examples/kitabu/output/epub/styles/html.css +0 -712
  49. data/examples/kitabu/output/epub/styles/pdf.css +0 -840
  50. data/examples/kitabu/output/epub/styles/print.css +0 -1278
  51. data/examples/kitabu/output/epub/toc.html +0 -37
  52. data/examples/kitabu/output/images/.gitkeep +0 -0
  53. data/examples/kitabu/output/images/kitabu-icon.png +0 -0
  54. data/examples/kitabu/output/images/kitabu-icon.svg +0 -19
  55. data/examples/kitabu/output/images/kitabu-word.png +0 -0
  56. data/examples/kitabu/output/images/kitabu-word.svg +0 -14
  57. data/examples/kitabu/output/images/kitabu.png +0 -0
  58. data/examples/kitabu/output/images/kitabu.svg +0 -20
  59. data/examples/kitabu/output/kitabu.epub +0 -0
  60. data/examples/kitabu/output/kitabu.html +0 -513
  61. data/examples/kitabu/output/kitabu.mobi +0 -0
  62. data/examples/kitabu/output/kitabu.pdf +0 -0
  63. data/examples/kitabu/output/kitabu.pdf.html +0 -729
  64. data/examples/kitabu/output/kitabu.print.html +0 -729
  65. data/examples/kitabu/output/kitabu.print.pdf +0 -0
  66. data/examples/kitabu/output/kitabu.txt +0 -440
  67. data/examples/kitabu/output/styles/epub.css +0 -437
  68. data/examples/kitabu/output/styles/html.css +0 -712
  69. data/examples/kitabu/output/styles/pdf.css +0 -840
  70. data/examples/kitabu/output/styles/print.css +0 -1278
  71. data/lib/kitabu/parser/html.rb +0 -208
  72. data/lib/kitabu/parser/pdf.rb +0 -88
@@ -1,1278 +0,0 @@
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
- /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
440
- /**
441
- * 1. Set default font family to sans-serif.
442
- * 2. Prevent iOS text size adjust after orientation change, without disabling
443
- * user zoom.
444
- */
445
- /* line 9, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
446
- html {
447
- font-family: sans-serif;
448
- /* 1 */
449
- -ms-text-size-adjust: 100%;
450
- /* 2 */
451
- -webkit-text-size-adjust: 100%;
452
- /* 2 */
453
- }
454
-
455
- /**
456
- * Remove default margin.
457
- */
458
- /* line 19, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
459
- body {
460
- margin: 0;
461
- }
462
-
463
- /* HTML5 display definitions
464
- ========================================================================== */
465
- /**
466
- * Correct `block` display not defined for any HTML5 element in IE 8/9.
467
- * Correct `block` display not defined for `details` or `summary` in IE 10/11
468
- * and Firefox.
469
- * Correct `block` display not defined for `main` in IE 11.
470
- */
471
- /* line 33, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
472
- article,
473
- aside,
474
- details,
475
- figcaption,
476
- figure,
477
- footer,
478
- header,
479
- hgroup,
480
- main,
481
- menu,
482
- nav,
483
- section,
484
- summary {
485
- display: block;
486
- }
487
-
488
- /**
489
- * 1. Correct `inline-block` display not defined in IE 8/9.
490
- * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
491
- */
492
- /* line 54, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
493
- audio,
494
- canvas,
495
- progress,
496
- video {
497
- display: inline-block;
498
- /* 1 */
499
- vertical-align: baseline;
500
- /* 2 */
501
- }
502
-
503
- /**
504
- * Prevent modern browsers from displaying `audio` without controls.
505
- * Remove excess height in iOS 5 devices.
506
- */
507
- /* line 67, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
508
- audio:not([controls]) {
509
- display: none;
510
- height: 0;
511
- }
512
-
513
- /**
514
- * Address `[hidden]` styling not present in IE 8/9/10.
515
- * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
516
- */
517
- /* line 77, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
518
- [hidden],
519
- template {
520
- display: none;
521
- }
522
-
523
- /* Links
524
- ========================================================================== */
525
- /**
526
- * Remove the gray background color from active links in IE 10.
527
- */
528
- /* line 89, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
529
- a {
530
- background-color: transparent;
531
- }
532
-
533
- /**
534
- * Improve readability when focused and also mouse hovered in all browsers.
535
- */
536
- /* line 97, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
537
- a:active,
538
- a:hover {
539
- outline: 0;
540
- }
541
-
542
- /* Text-level semantics
543
- ========================================================================== */
544
- /**
545
- * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
546
- */
547
- /* line 109, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
548
- abbr[title] {
549
- border-bottom: 1px dotted;
550
- }
551
-
552
- /**
553
- * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
554
- */
555
- /* line 117, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
556
- b,
557
- strong {
558
- font-weight: bold;
559
- }
560
-
561
- /**
562
- * Address styling not present in Safari and Chrome.
563
- */
564
- /* line 126, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
565
- dfn {
566
- font-style: italic;
567
- }
568
-
569
- /**
570
- * Address variable `h1` font-size and margin within `section` and `article`
571
- * contexts in Firefox 4+, Safari, and Chrome.
572
- */
573
- /* line 135, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
574
- h1 {
575
- font-size: 2em;
576
- margin: 0.67em 0;
577
- }
578
-
579
- /**
580
- * Address styling not present in IE 8/9.
581
- */
582
- /* line 144, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
583
- mark {
584
- background: #ff0;
585
- color: #000;
586
- }
587
-
588
- /**
589
- * Address inconsistent and variable font size in all browsers.
590
- */
591
- /* line 153, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
592
- small {
593
- font-size: 80%;
594
- }
595
-
596
- /**
597
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
598
- */
599
- /* line 161, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
600
- sub,
601
- sup {
602
- font-size: 75%;
603
- line-height: 0;
604
- position: relative;
605
- vertical-align: baseline;
606
- }
607
-
608
- /* line 169, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
609
- sup {
610
- top: -0.5em;
611
- }
612
-
613
- /* line 173, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
614
- sub {
615
- bottom: -0.25em;
616
- }
617
-
618
- /* Embedded content
619
- ========================================================================== */
620
- /**
621
- * Remove border when inside `a` element in IE 8/9/10.
622
- */
623
- /* line 184, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
624
- img {
625
- border: 0;
626
- }
627
-
628
- /**
629
- * Correct overflow not hidden in IE 9/10/11.
630
- */
631
- /* line 192, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
632
- svg:not(:root) {
633
- overflow: hidden;
634
- }
635
-
636
- /* Grouping content
637
- ========================================================================== */
638
- /**
639
- * Address margin not present in IE 8/9 and Safari.
640
- */
641
- /* line 203, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
642
- figure {
643
- margin: 1em 40px;
644
- }
645
-
646
- /**
647
- * Address differences between Firefox and other browsers.
648
- */
649
- /* line 211, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
650
- hr {
651
- -moz-box-sizing: content-box;
652
- box-sizing: content-box;
653
- height: 0;
654
- }
655
-
656
- /**
657
- * Contain overflow in all browsers.
658
- */
659
- /* line 221, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
660
- pre {
661
- overflow: auto;
662
- }
663
-
664
- /**
665
- * Address odd `em`-unit font size rendering in all browsers.
666
- */
667
- /* line 229, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
668
- code,
669
- kbd,
670
- pre,
671
- samp {
672
- font-family: monospace, monospace;
673
- font-size: 1em;
674
- }
675
-
676
- /* Forms
677
- ========================================================================== */
678
- /**
679
- * Known limitation: by default, Chrome and Safari on OS X allow very limited
680
- * styling of `select`, unless a `border` property is set.
681
- */
682
- /**
683
- * 1. Correct color not being inherited.
684
- * Known issue: affects color of disabled elements.
685
- * 2. Correct font properties not being inherited.
686
- * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
687
- */
688
- /* line 252, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
689
- button,
690
- input,
691
- optgroup,
692
- select,
693
- textarea {
694
- color: inherit;
695
- /* 1 */
696
- font: inherit;
697
- /* 2 */
698
- margin: 0;
699
- /* 3 */
700
- }
701
-
702
- /**
703
- * Address `overflow` set to `hidden` in IE 8/9/10/11.
704
- */
705
- /* line 266, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
706
- button {
707
- overflow: visible;
708
- }
709
-
710
- /**
711
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
712
- * All other form control elements do not inherit `text-transform` values.
713
- * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
714
- * Correct `select` style inheritance in Firefox.
715
- */
716
- /* line 277, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
717
- button,
718
- select {
719
- text-transform: none;
720
- }
721
-
722
- /**
723
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
724
- * and `video` controls.
725
- * 2. Correct inability to style clickable `input` types in iOS.
726
- * 3. Improve usability and consistency of cursor style between image-type
727
- * `input` and others.
728
- */
729
- /* line 290, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
730
- button,
731
- html input[type="button"],
732
- input[type="reset"],
733
- input[type="submit"] {
734
- -webkit-appearance: button;
735
- /* 2 */
736
- cursor: pointer;
737
- /* 3 */
738
- }
739
-
740
- /**
741
- * Re-set default cursor for disabled elements.
742
- */
743
- /* line 302, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
744
- button[disabled],
745
- html input[disabled] {
746
- cursor: default;
747
- }
748
-
749
- /**
750
- * Remove inner padding and border in Firefox 4+.
751
- */
752
- /* line 311, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
753
- button::-moz-focus-inner,
754
- input::-moz-focus-inner {
755
- border: 0;
756
- padding: 0;
757
- }
758
-
759
- /**
760
- * Address Firefox 4+ setting `line-height` on `input` using `!important` in
761
- * the UA stylesheet.
762
- */
763
- /* line 322, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
764
- input {
765
- line-height: normal;
766
- }
767
-
768
- /**
769
- * It's recommended that you don't attempt to style these elements.
770
- * Firefox's implementation doesn't respect box-sizing, padding, or width.
771
- *
772
- * 1. Address box sizing set to `content-box` in IE 8/9/10.
773
- * 2. Remove excess padding in IE 8/9/10.
774
- */
775
- /* line 334, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
776
- input[type="checkbox"],
777
- input[type="radio"] {
778
- box-sizing: border-box;
779
- /* 1 */
780
- padding: 0;
781
- /* 2 */
782
- }
783
-
784
- /**
785
- * Fix the cursor style for Chrome's increment/decrement buttons. For certain
786
- * `font-size` values of the `input`, it causes the cursor style of the
787
- * decrement button to change from `default` to `text`.
788
- */
789
- /* line 346, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
790
- input[type="number"]::-webkit-inner-spin-button,
791
- input[type="number"]::-webkit-outer-spin-button {
792
- height: auto;
793
- }
794
-
795
- /**
796
- * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
797
- * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
798
- * (include `-moz` to future-proof).
799
- */
800
- /* line 357, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
801
- input[type="search"] {
802
- -webkit-appearance: textfield;
803
- /* 1 */
804
- -moz-box-sizing: content-box;
805
- -webkit-box-sizing: content-box;
806
- /* 2 */
807
- box-sizing: content-box;
808
- }
809
-
810
- /**
811
- * Remove inner padding and search cancel button in Safari and Chrome on OS X.
812
- * Safari (but not Chrome) clips the cancel button when the search input has
813
- * padding (and `textfield` appearance).
814
- */
815
- /* line 370, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
816
- input[type="search"]::-webkit-search-cancel-button,
817
- input[type="search"]::-webkit-search-decoration {
818
- -webkit-appearance: none;
819
- }
820
-
821
- /**
822
- * Define consistent border, margin, and padding.
823
- */
824
- /* line 379, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
825
- fieldset {
826
- border: 1px solid #c0c0c0;
827
- margin: 0 2px;
828
- padding: 0.35em 0.625em 0.75em;
829
- }
830
-
831
- /**
832
- * 1. Correct `color` not being inherited in IE 8/9/10/11.
833
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
834
- */
835
- /* line 390, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
836
- legend {
837
- border: 0;
838
- /* 1 */
839
- padding: 0;
840
- /* 2 */
841
- }
842
-
843
- /**
844
- * Remove default vertical scrollbar in IE 8/9/10/11.
845
- */
846
- /* line 399, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
847
- textarea {
848
- overflow: auto;
849
- }
850
-
851
- /**
852
- * Don't inherit the `font-weight` (applied by a rule above).
853
- * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
854
- */
855
- /* line 408, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
856
- optgroup {
857
- font-weight: bold;
858
- }
859
-
860
- /* Tables
861
- ========================================================================== */
862
- /**
863
- * Remove most spacing between table cells.
864
- */
865
- /* line 419, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
866
- table {
867
- border-collapse: collapse;
868
- border-spacing: 0;
869
- }
870
-
871
- /* line 424, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */
872
- td,
873
- th {
874
- padding: 0;
875
- }
876
-
877
- @page {
878
- size: 19.05cm 22.86cm portrait;
879
- }
880
- @page chapter:left {
881
- @bottom-left {
882
- background: #000;
883
- color: #fff;
884
- content: counter(page);
885
- font-size: 12px;
886
- margin-left: -100px;
887
- text-align: center;
888
- width: 35px;
889
- }
890
- }
891
- @page chapter:right {
892
- @bottom-right {
893
- background: #000;
894
- color: #fff;
895
- content: counter(page);
896
- font-size: 12px;
897
- margin-right: -100px;
898
- text-align: center;
899
- width: 35px;
900
- }
901
- }
902
- @page frontcover {
903
- margin: 0;
904
- background: #5091b1;
905
- border-left: 50px solid #40748e;
906
- }
907
- @page chapter {
908
- margin: 100px 100px 50px;
909
- background: #fff;
910
- @footnotes {
911
- border-top: thin solid #777;
912
- margin-top: 1em;
913
- padding-top: .5em;
914
- }
915
- }
916
- @page white {
917
- margin: 0;
918
- background: #fff;
919
- display: block;
920
- height: 100%;
921
- }
922
- /* line 61, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
923
- * {
924
- box-sizing: border-box;
925
- }
926
-
927
- /* line 65, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
928
- body {
929
- font-family: Caslon, serif;
930
- font-size: 14px;
931
- line-height: 1.5;
932
- }
933
-
934
- /* line 71, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
935
- a {
936
- color: #5091b1;
937
- }
938
-
939
- /* line 75, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
940
- .go-top {
941
- display: none;
942
- }
943
-
944
- /* line 80, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
945
- .white-page {
946
- page: white;
947
- page-break-before: always;
948
- page-break-after: always;
949
- }
950
-
951
- /* line 86, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
952
- .white-page:before {
953
- content: 'This page intentionally left blank';
954
- text-transform: uppercase;
955
- position: absolute;
956
- left: 0;
957
- right: 0;
958
- text-align: center;
959
- top: 50%;
960
- transform: translatey(-50%);
961
- }
962
-
963
- /* line 98, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
964
- .frontcover {
965
- page: frontcover;
966
- padding: 50px;
967
- padding-left: 0;
968
- text-align: center;
969
- font-family: sans-serif;
970
- }
971
-
972
- /* line 106, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
973
- .frontcover * {
974
- margin: 0;
975
- }
976
-
977
- /* line 110, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
978
- .frontcover .logo {
979
- background: url("../images/kitabu-word.svg") no-repeat center bottom;
980
- height: 150px;
981
- margin-bottom: 35px;
982
- }
983
-
984
- /* line 116, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
985
- .frontcover .logo img {
986
- display: none;
987
- }
988
-
989
- /* line 120, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
990
- .frontcover .description {
991
- display: inline-block;
992
- width: 400px;
993
- font-size: 20px;
994
- color: rgba(255, 255, 255, 0.7);
995
- }
996
-
997
- /* line 127, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
998
- .frontcover .description:after {
999
- content: '';
1000
- display: block;
1001
- background: url("../images/kitabu-icon.svg") no-repeat center bottom;
1002
- background-size: 200px;
1003
- height: 300px;
1004
- margin-top: 50px;
1005
- }
1006
-
1007
- /* line 136, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1008
- .frontcover .authors {
1009
- font-size: 24px;
1010
- padding: 50px;
1011
- font-weight: bold;
1012
- margin-top: 30px;
1013
- color: rgba(0, 0, 0, 0.4);
1014
- text-transform: uppercase;
1015
- }
1016
-
1017
- /* line 145, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1018
- .frontcover .authors:before {
1019
- content: 'By ';
1020
- }
1021
-
1022
- /* line 150, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1023
- .chapters {
1024
- counter-reset: chapter;
1025
- }
1026
-
1027
- /* line 154, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1028
- .chapter {
1029
- page: chapter;
1030
- page-break-before: always;
1031
- counter-increment: chapter;
1032
- }
1033
-
1034
- /* line 160, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1035
- .chapter > h2 {
1036
- font-family: sans-serif;
1037
- margin: -100px -100px 75px -100px;
1038
- background: #5091b1;
1039
- padding: 100px;
1040
- color: rgba(255, 255, 255, 0.6);
1041
- font-size: 40px;
1042
- }
1043
-
1044
- /* line 169, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1045
- .chapter > h3 {
1046
- margin-top: 40px;
1047
- }
1048
-
1049
- /* line 173, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1050
- .chapter > h2:before {
1051
- content: "Chapter " counter(chapter);
1052
- display: block;
1053
- font-size: 18px;
1054
- text-transform: uppercase;
1055
- color: #fff;
1056
- }
1057
-
1058
- /* line 182, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1059
- p code,
1060
- li code {
1061
- font-size: 12px;
1062
- font-family: Menlo, monospace;
1063
- }
1064
-
1065
- /* line 188, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1066
- .highlight {
1067
- padding: 15px;
1068
- font-size: 12px;
1069
- }
1070
-
1071
- /* line 193, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1072
- .highlight * {
1073
- font-family: Menlo, monospace;
1074
- }
1075
-
1076
- /* line 197, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1077
- .highlight .gutter {
1078
- color: #aaa;
1079
- padding-right: 15px;
1080
- }
1081
-
1082
- /* line 203, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1083
- .lexers-list {
1084
- margin: 0;
1085
- padding: 0;
1086
- columns: 2;
1087
- list-style: none;
1088
- }
1089
-
1090
- /* line 210, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1091
- .lexers-list li {
1092
- -webkit-column-break-inside: avoid;
1093
- break-inside: avoid-column;
1094
- }
1095
-
1096
- /* line 215, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1097
- .lexers-list span {
1098
- font-size: 13px;
1099
- }
1100
-
1101
- /* line 219, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1102
- .lexers-list li + li {
1103
- margin-top: 15px;
1104
- }
1105
-
1106
- /* line 224, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1107
- .fn {
1108
- counter-increment: footnote;
1109
- display: prince-footnote;
1110
- font-size: 9pt;
1111
- footnote-style-position: inside;
1112
- line-height: 1.4;
1113
- position: footnote;
1114
- }
1115
-
1116
- /* line 233, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1117
- .fn::footnote-call {
1118
- content: "";
1119
- font-size: 80%;
1120
- }
1121
-
1122
- /* line 238, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1123
- .fn::footnote-marker {
1124
- padding-right: 0.4em;
1125
- vertical-align: super;
1126
- display: none;
1127
- }
1128
-
1129
- /* line 244, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1130
- .footnote a,
1131
- .fn a {
1132
- color: #000;
1133
- }
1134
-
1135
- /* line 249, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1136
- .fn code {
1137
- font-size: 8pt;
1138
- }
1139
-
1140
- /* line 254, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1141
- .table-of-contents {
1142
- page: chapter;
1143
- font-family: sans-serif;
1144
- }
1145
-
1146
- /* line 259, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1147
- .table-of-contents > h2 {
1148
- font-family: sans-serif;
1149
- margin: -100px -100px 75px -100px;
1150
- background: #5091b1;
1151
- padding: 100px;
1152
- color: rgba(255, 255, 255, 0.6);
1153
- font-size: 40px;
1154
- }
1155
-
1156
- /* line 268, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1157
- .table-of-contents a {
1158
- text-decoration: none;
1159
- }
1160
-
1161
- /* line 273, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1162
- .table-of-contents .level4 {
1163
- display: none;
1164
- }
1165
- /* line 274, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1166
- .table-of-contents .level5 {
1167
- display: none;
1168
- }
1169
- /* line 275, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1170
- .table-of-contents .level6 {
1171
- display: none;
1172
- }
1173
-
1174
- /* line 278, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1175
- .table-of-contents * + .level2 {
1176
- margin-top: 25px;
1177
- }
1178
-
1179
- /* line 282, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1180
- .table-of-contents .level2 a {
1181
- text-transform: uppercase;
1182
- font-weight: bold;
1183
- color: #000;
1184
- font-size: 20px;
1185
- position: relative;
1186
- padding-left: 25px;
1187
- }
1188
- /* line 290, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1189
- .table-of-contents .level2 a:before {
1190
- content: target-counter(attr(href), page) " ";
1191
- position: absolute;
1192
- left: 0;
1193
- transform: translatex(-100%);
1194
- }
1195
-
1196
- /* line 298, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1197
- .table-of-contents .level3 {
1198
- padding-left: 25px;
1199
- }
1200
-
1201
- /* line 302, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1202
- .table-of-contents .level3 {
1203
- margin-top: 10px;
1204
- }
1205
-
1206
- /* line 306, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1207
- .table-of-contents .level3 a {
1208
- position: relative;
1209
- color: #777;
1210
- }
1211
- /* line 310, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1212
- .table-of-contents .level3 a:after {
1213
- content: leader(".") target-counter(attr(href), page) " ";
1214
- cursor: default;
1215
- }
1216
-
1217
- /* line 317, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1218
- .chapters {
1219
- counter-reset: fnref;
1220
- counter-reset: fndesc;
1221
- }
1222
-
1223
- /* line 322, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1224
- .fn-ref {
1225
- counter-increment: fnref;
1226
- }
1227
-
1228
- /* line 326, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1229
- .fn-desc {
1230
- counter-increment: fndesc;
1231
- display: prince-footnote;
1232
- footnote-style-position: inside;
1233
- position: footnote;
1234
- }
1235
-
1236
- /* line 333, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1237
- .fn-desc:footnote-marker {
1238
- vertical-align: super;
1239
- content: counter(fndesc);
1240
- margin-right: 5px;
1241
- }
1242
-
1243
- /* line 340, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1244
- .note {
1245
- font-size: 13px;
1246
- float: right;
1247
- overflow: hidden;
1248
- position: relative;
1249
- padding-left: 50px;
1250
- margin: 30px 0;
1251
- }
1252
-
1253
- /* line 349, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1254
- .note:before {
1255
- content: '!';
1256
- display: inline-block;
1257
- font-size: 25px;
1258
- width: 10px;
1259
- height: 10px;
1260
- padding: 15px;
1261
- line-height: 15px;
1262
- text-align: center;
1263
- position: absolute;
1264
- top: 15px;
1265
- left: 0;
1266
- }
1267
-
1268
- /* line 363, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1269
- .note.info:before {
1270
- background: #f5be28;
1271
- color: #fff;
1272
- }
1273
-
1274
- /* line 368, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/pdf.scss */
1275
- .note.warning:before {
1276
- background: #e42e24;
1277
- color: #fff;
1278
- }