j1-template 2021.0.6 → 2021.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/procedures/global/attributes_loader.proc +2 -2
  3. data/assets/data/menu.html +32 -3
  4. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +299 -12
  5. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  6. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +22 -2
  7. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  8. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot +0 -0
  9. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-regular-400.eot +0 -0
  10. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-solid-900.eot +0 -0
  11. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  12. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  13. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  14. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  15. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  16. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  17. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-brands-400.svg +855 -597
  18. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-regular-400.svg +94 -96
  19. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-solid-900.svg +1272 -771
  20. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-brands-400.ttf +0 -0
  21. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-regular-400.ttf +0 -0
  22. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-solid-900.ttf +0 -0
  23. data/lib/j1/commands/generate.rb +3 -2
  24. data/lib/j1/version.rb +1 -1
  25. data/lib/starter_web/Gemfile +1 -1
  26. data/lib/starter_web/_config.yml +2 -2
  27. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +225 -188
  28. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  29. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  30. data/lib/starter_web/_data/modules/navigator_menu.yml +16 -3
  31. data/lib/starter_web/_includes/attributes.asciidoc +24 -10
  32. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  33. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  34. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  35. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  36. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  37. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  38. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  39. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  40. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  41. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  42. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  43. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  44. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  45. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  46. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  47. data/lib/starter_web/collections/posts/public/featured/_posts/2020-04-01-confusion-about-base-url.adoc +1 -1
  48. data/lib/starter_web/collections/posts/public/featured/_posts/2020-05-01-top-open-source-static-site-generators.adoc +1 -1
  49. data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +1 -1
  50. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +1 -1
  51. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -1
  52. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -1
  53. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +1 -1
  54. data/lib/starter_web/package.json +1 -1
  55. data/lib/starter_web/pages/public/about/about_site.adoc +52 -2
  56. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  57. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  58. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  59. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  60. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  61. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  62. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  63. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  64. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  65. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  66. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  67. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  68. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  69. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  70. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  71. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  72. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  74. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  75. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  76. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  77. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  78. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  79. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  80. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  81. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  82. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  83. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  84. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  85. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  86. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  87. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  97. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
  98. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
  99. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -269
  100. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +163 -81
  101. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +5 -8
  102. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +4 -5
  103. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -54
  104. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +75 -39
  105. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +17 -1
  106. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  107. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  108. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  109. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  110. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +1 -1
  111. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  112. data/lib/starter_web/pages/public/previewer/rouge.adoc +41 -4
  113. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  114. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  115. data/lib/starter_web/utilsrv/package.json +1 -1
  116. metadata +57 -16
  117. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  118. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  119. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  120. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  121. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  122. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  123. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  124. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  125. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  126. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  127. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  128. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  129. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
@@ -140,12 +140,13 @@ module J1
140
140
  system_path = result[1]
141
141
  if options['system']
142
142
  J1.logger.info "Install patches on path #{system_path} ..."
143
+ dest = system_path + '/gems/' + patch_gem + '/lib'
143
144
  else
144
145
  J1.logger.info "Install patches on path #{user_path} ..."
145
- src = patch_source_path
146
146
  dest = user_path + '/gems/' + patch_gem + '/lib'
147
- FileUtils.cp_r(src, dest)
148
147
  end
148
+ src = patch_source_path
149
+ FileUtils.cp_r(src, dest)
149
150
  end
150
151
  end
151
152
 
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2021.0.6'
2
+ VERSION = '2021.0.7'
3
3
  end
@@ -54,7 +54,7 @@ gem 'jekyll', '~> 4.2'
54
54
 
55
55
  # Theme Rubies, default: J1 Template
56
56
  #
57
- gem 'j1-template', '~> 2021.0.6'
57
+ gem 'j1-template', '~> 2021.0.7'
58
58
 
59
59
  # ------------------------------------------------------------------------------
60
60
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -53,7 +53,7 @@ environment: production
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2021.0.6
56
+ version: 2021.0.7
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -386,7 +386,7 @@ exclude: [
386
386
  '.sass-cache', '.vscode',
387
387
  '.idea', '*.ignore',
388
388
  '*.bat', '*.sh', '*.tmp', 'dot.*',
389
- '*.txt', '*.log', '*.ppt*',
389
+ '*.txt', '*.log', '*.ppt*', '*.pdf',
390
390
  '*.zip', '*.7z', '*.tgz', '*.tar',
391
391
  '*.a2p', '*.asciidoc'
392
392
  ]
@@ -19,46 +19,48 @@
19
19
  # ------------------------------------------------------------------------------
20
20
  font:
21
21
  catalog:
22
- # Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
22
+ # Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A,
23
+ # Greek, Cyrillic, Vietnamese & an assortment of symbols
23
24
  Noto Serif:
24
- normal: GEM_FONTS_DIR/notoserif-regular-subset.ttf
25
- bold: GEM_FONTS_DIR/notoserif-bold-subset.ttf
26
- italic: GEM_FONTS_DIR/notoserif-italic-subset.ttf
27
- bold_italic: GEM_FONTS_DIR/notoserif-bold_italic-subset.ttf
25
+ normal: GEM_FONTS_DIR/notoserif-regular-subset.ttf
26
+ bold: GEM_FONTS_DIR/notoserif-bold-subset.ttf
27
+ italic: GEM_FONTS_DIR/notoserif-italic-subset.ttf
28
+ bold_italic: GEM_FONTS_DIR/notoserif-bold_italic-subset.ttf
28
29
  # M+ 1mn supports ASCII and the circled numbers used for conums
29
30
  M+ 1mn:
30
- normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
31
- bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
32
- italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
33
- bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
31
+ normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
32
+ bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
33
+ italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
34
+ bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
34
35
  # j1 is using roboto for default
35
36
  Roboto:
36
- normal: ../fonts/Roboto-Regular.ttf
37
- bold: ../fonts/Roboto-Bold.ttf
38
- italic: ../fonts/Roboto-Italic.ttf
39
- bold_italic: ../fonts/Roboto-BoldItalic.ttf
37
+ normal: ../fonts/Roboto-Regular.ttf
38
+ bold: ../fonts/Roboto-Bold.ttf
39
+ italic: ../fonts/Roboto-Italic.ttf
40
+ bold_italic: ../fonts/Roboto-BoldItalic.ttf
40
41
 
41
42
  page:
42
- background_color: FFFFFF
43
- layout: portrait
44
- # layout: landscape
45
- initial_zoom: FitH
46
- margin: [0.5in, 0.67in, 0.67in, 0.67in]
47
- # margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
48
- margin_inner: 0.75in
49
- margin_outer: 0.59in
50
- size: A4
43
+ background_color: FFFFFF
44
+ layout: portrait # landscape
45
+ initial_zoom: FitH
46
+ margin: [0.5in, 0.67in, 0.67in, 0.67in]
47
+ # margin_inner and margin_outer keys are used for recto/verso print
48
+ # margins when media=prepress
49
+ margin_inner: 0.75in
50
+ margin_outer: 0.59in
51
+ size: A4
52
+
51
53
  base:
52
- align: justify
54
+ align: justify
53
55
  # color as hex string (leading # is optional)
54
- font_color: 333333
56
+ font_color: 333333
55
57
  # color as RGB array
56
58
  #font_color: [51, 51, 51]
57
59
  # color as CMYK array (approximated)
58
60
  #font_color: [0, 0, 0, 0.92]
59
61
  #font_color: [0, 0, 0, 92%]
60
62
  # font_family: Noto Serif
61
- font_family: Roboto
63
+ font_family: Roboto
62
64
  # choose one of these font_size/line_height_length combinations
63
65
  #font_size: 14
64
66
  #line_height_length: 20
@@ -66,250 +68,285 @@ base:
66
68
  #line_height_length: 18
67
69
  #font_size: 11.2
68
70
  #line_height_length: 16
69
- font_size: 10.5
71
+ font_size: 10.5
70
72
  #line_height_length: 15
71
73
  # correct line height for Noto Serif metrics
72
74
  line_height_length: 12
73
75
  #font_size: 11.25
74
76
  #line_height_length: 18
75
- line_height: $base_line_height_length / $base_font_size
76
- font_size_large: round($base_font_size * 1.25)
77
- font_size_small: round($base_font_size * 0.85)
78
- font_size_min: $base_font_size * 0.75
79
- font_style: normal
80
- border_color: EEEEEE
81
- border_radius: 4
82
- border_width: 0.5
77
+ line_height: $base_line_height_length / $base_font_size
78
+ font_size_large: round($base_font_size * 1.25)
79
+ font_size_small: round($base_font_size * 0.85)
80
+ font_size_min: $base_font_size * 0.75
81
+ font_style: normal
82
+ border_color: EEEEEE
83
+ border_radius: 4
84
+ border_width: 0.5
85
+
83
86
  role:
84
87
  line-through:
85
- text_decoration: line-through
88
+ text_decoration: line-through
86
89
  underline:
87
- text_decoration: underline
90
+ text_decoration: underline
88
91
  big:
89
- font_size: $base_font_size_large
92
+ font_size: $base_font_size_large
90
93
  small:
91
- font_size: $base_font_size_small
94
+ font_size: $base_font_size_small
92
95
  subtitle:
93
- font_color: 999999
94
- font_size: 0.8em
95
- font_style: normal_italic
96
+ font_color: 999999
97
+ font_size: 0.8em
98
+ font_style: normal_italic
99
+
96
100
  # FIXME vertical_rhythm is weird; we should think in terms of ems
97
101
  #vertical_rhythm: $base_line_height_length * 2 / 3
98
102
  # correct line height for Noto Serif metrics (comes with built-in line height)
99
- vertical_rhythm: $base_line_height_length
100
- horizontal_rhythm: $base_line_height_length
103
+ vertical_rhythm: $base_line_height_length
104
+ horizontal_rhythm: $base_line_height_length
105
+
101
106
  link:
102
- font_color: 428BCA
107
+ font_color: 428BCA
108
+
103
109
  # literal is currently used for inline monospaced in prose and table cells
104
110
  literal:
105
- font_color: B12146
106
- font_family: M+ 1mn
111
+ font_color: B12146
112
+ font_family: M+ 1mn
113
+
107
114
  button:
108
- content: "[\u2009%s\u2009]"
109
- font_style: bold
115
+ content: "[\u2009%s\u2009]"
116
+ font_style: bold
117
+
110
118
  key:
111
- background_color: F5F5F5
112
- border_color: CCCCCC
113
- border_offset: 2
114
- border_radius: 2
115
- border_width: 0.5
116
- font_family: $literal_font_family
117
- separator: "\u202f+\u202f"
119
+ background_color: F5F5F5
120
+ border_color: CCCCCC
121
+ border_offset: 2
122
+ border_radius: 2
123
+ border_width: 0.5
124
+ font_family: $literal_font_family
125
+ separator: "\u202f+\u202f"
126
+
118
127
  mark:
119
- background_color: FFFF00
120
- border_offset: 1
128
+ background_color: FFFF00
129
+ border_offset: 1
130
+
121
131
  menu:
122
- caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
132
+ caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
133
+
123
134
  heading:
124
- align: left
135
+ align: left
125
136
  # font-family: Roboto-Bold
126
- font_color: $base_font_color
127
- font_style: bold
137
+ font_color: $base_font_color
138
+ font_style: bold
128
139
  # h1 is used for part titles (book doctype) or the doctitle (article doctype)
129
- h1_font_size: floor($base_font_size * 2.6)
140
+ h1_font_size: floor($base_font_size * 2.6)
130
141
  # h2 is used for chapter titles (book doctype only)
131
- h2_font_size: floor($base_font_size * 2.15)
132
- h3_font_size: round($base_font_size * 1.7)
133
- h4_font_size: $base_font_size_large
134
- h5_font_size: $base_font_size
135
- h6_font_size: $base_font_size_small
142
+ h2_font_size: floor($base_font_size * 2.15)
143
+ h3_font_size: round($base_font_size * 1.7)
144
+ h4_font_size: $base_font_size_large
145
+ h5_font_size: $base_font_size
146
+ h6_font_size: $base_font_size_small
136
147
  #line_height: 1.4
137
148
  # correct line height for Noto Serif metrics (comes with built-in line height)
138
- line_height: 1
139
- margin_top: $vertical_rhythm * 0.4
140
- margin_bottom: $vertical_rhythm * 0.9
141
- min_height_after: $base_line_height_length * 1.5
149
+ line_height: 1
150
+ margin_top: $vertical_rhythm * 0.4
151
+ margin_bottom: $vertical_rhythm * 0.9
152
+ min_height_after: $base_line_height_length * 1.5
153
+
142
154
  title_page:
143
- align: right
155
+ align: right
144
156
  logo:
145
- top: 10%
157
+ top: 10%
146
158
  title:
147
- top: 55%
148
- font_size: $heading_h1_font_size
149
- font_color: $role_subtitle_font_color
150
- line_height: 0.9
159
+ top: 55%
160
+ font_size: $heading_h1_font_size
161
+ font_color: $role_subtitle_font_color
162
+ line_height: 0.9
151
163
  subtitle:
152
- font_size: $heading_h3_font_size
153
- font_style: bold_italic
154
- line_height: 1
164
+ font_size: $heading_h3_font_size
165
+ font_style: bold_italic
166
+ line_height: 1
155
167
  authors:
156
- margin_top: $base_font_size * 1.25
157
- font_size: $base_font_size_large
158
- font_color: 181818
168
+ margin_top: $base_font_size * 1.25
169
+ font_size: $base_font_size_large
170
+ font_color: 181818
159
171
  revision:
160
- margin_top: $base_font_size * 1.25
172
+ margin_top: $base_font_size * 1.25
173
+
161
174
  block:
162
- margin_bottom: $vertical_rhythm
175
+ margin_bottom: $vertical_rhythm
176
+
163
177
  caption:
164
- align: left
165
- font_size: $base_font_size * 0.95
166
- font_style: italic
178
+ align: left
179
+ font_size: $base_font_size * 0.95
180
+ font_style: italic
167
181
  # FIXME perhaps set line_height instead of / in addition to margins?
168
- margin_inside: $vertical_rhythm / 3
182
+ margin_inside: $vertical_rhythm / 3
169
183
  #margin_inside: $vertical_rhythm / 4
170
- margin_outside: 0
184
+ margin_outside: 0
185
+
171
186
  lead:
172
- font_size: $base_font_size_large
173
- line_height: 1.4
187
+ font_size: $base_font_size_large
188
+ line_height: 1.4
189
+
174
190
  abstract:
175
- font_color: 5C6266
176
- font_size: $lead_font_size
177
- line_height: $lead_line_height
178
- font_style: italic
179
- first_line_font_style: bold
191
+ font_color: 5C6266
192
+ font_size: $lead_font_size
193
+ line_height: $lead_line_height
194
+ font_style: italic
195
+ first_line_font_style: bold
180
196
  title:
181
- align: center
182
- font_color: $heading_font_color
183
- font_size: $heading_h4_font_size
184
- font_style: $heading_font_style
197
+ align: center
198
+ font_color: $heading_font_color
199
+ font_size: $heading_h4_font_size
200
+ font_style: $heading_font_style
201
+
185
202
  admonition:
186
- column_rule_color: $base_border_color
187
- column_rule_width: $base_border_width
188
- padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
203
+ column_rule_color: $base_border_color
204
+ column_rule_width: $base_border_width
205
+ padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
189
206
  #icon:
190
207
  # tip:
191
208
  # name: far-lightbulb
192
209
  # stroke_color: 111111
193
210
  # size: 24
194
211
  label:
195
- text_transform: uppercase
196
- font_style: bold
212
+ text_transform: uppercase
213
+ font_style: bold
214
+
197
215
  blockquote:
198
- font_size: $base_font_size_large
199
- border_color: $base_border_color
200
- border_width: 0
201
- border_left_width: 5
216
+ font_size: $base_font_size_large
217
+ border_color: $base_border_color
218
+ border_width: 0
219
+ border_left_width: 5
202
220
  # FIXME disable negative padding bottom once margin collapsing is implemented
203
- padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
221
+ padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
204
222
  cite:
205
- font_size: $base_font_size_small
206
- font_color: $role_subtitle_font_color
223
+ font_size: $base_font_size_small
224
+ font_color: $role_subtitle_font_color
225
+
207
226
  verse:
208
- font_size: $blockquote_font_size
209
- border_color: $blockquote_border_color
210
- border_width: $blockquote_border_width
211
- border_left_width: $blockquote_border_left_width
212
- padding: $blockquote_padding
227
+ font_size: $blockquote_font_size
228
+ border_color: $blockquote_border_color
229
+ border_width: $blockquote_border_width
230
+ border_left_width: $blockquote_border_left_width
231
+ padding: $blockquote_padding
213
232
  cite:
214
- font_size: $blockquote_cite_font_size
215
- font_color: $blockquote_cite_font_color
233
+ font_size: $blockquote_cite_font_size
234
+ font_color: $blockquote_cite_font_color
235
+
216
236
  # code is used for source blocks (perhaps change to source or listing?)
217
237
  code:
218
- font_color: $base_font_color
219
- font_family: $literal_font_family
220
- font_size: ceil($base_font_size)
221
- padding: $code_font_size
222
- line_height: 1.25
223
- # line_gap is an experimental property to control how a background color is applied to an inline block element
224
- line_gap: 3.8
225
- background_color: F5F5F5
226
- border_color: CCCCCC
227
- border_radius: $base_border_radius
228
- border_width: 0.75
238
+ font_color: $base_font_color
239
+ font_family: $literal_font_family
240
+ font_size: ceil($base_font_size)
241
+ padding: $code_font_size
242
+ line_height: 1.25
243
+ # line_gap is an experimental property to control how a background
244
+ # color is applied to an inline block element
245
+ line_gap: 3.8
246
+ background_color: F5F5F5
247
+ border_color: CCCCCC
248
+ border_radius: $base_border_radius
249
+ border_width: 0.75
250
+
229
251
  conum:
230
- font_family: $literal_font_family
231
- font_color: $literal_font_color
232
- font_size: $base_font_size
233
- line_height: 4 / 3
234
- glyphs: circled
252
+ font_family: $literal_font_family
253
+ font_color: $literal_font_color
254
+ font_size: $base_font_size
255
+ line_height: 4 / 3
256
+ glyphs: circled
257
+
235
258
  example:
236
- border_color: $base_border_color
237
- border_radius: $base_border_radius
238
- border_width: 0.75
239
- background_color: $page_background_color
240
- # FIXME reenable padding bottom once margin collapsing is implemented
241
- padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
259
+ border_color: $base_border_color
260
+ border_radius: $base_border_radius
261
+ border_width: 0.75
262
+ background_color: $page_background_color
263
+ # FIXME reenable padding bottom once margin collapsing
264
+ # is implemented
265
+ padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
266
+
242
267
  image:
243
- align: left
268
+ align: left
269
+
244
270
  prose:
245
- margin_bottom: $block_margin_bottom
271
+ margin_bottom: $block_margin_bottom
272
+
246
273
  sidebar:
247
- background_color: EEEEEE
248
- border_color: E1E1E1
249
- border_radius: $base_border_radius
250
- border_width: $base_border_width
274
+ background_color: EEEEEE
275
+ border_color: E1E1E1
276
+ border_radius: $base_border_radius
277
+ border_width: $base_border_width
251
278
  # FIXME reenable padding bottom once margin collapsing is implemented
252
- padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
279
+ padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
253
280
  title:
254
- align: center
255
- font_color: $heading_font_color
256
- font_size: $heading_h4_font_size
257
- font_style: $heading_font_style
281
+ align: center
282
+ font_color: $heading_font_color
283
+ font_size: $heading_h4_font_size
284
+ font_style: $heading_font_style
285
+
258
286
  thematic_break:
259
- border_color: $base_border_color
260
- border_style: solid
261
- border_width: $base_border_width
262
- margin_top: $vertical_rhythm * 0.5
263
- margin_bottom: $vertical_rhythm * 1.5
287
+ border_color: $base_border_color
288
+ border_style: solid
289
+ border_width: $base_border_width
290
+ margin_top: $vertical_rhythm * 0.5
291
+ margin_bottom: $vertical_rhythm * 1.5
292
+
264
293
  description_list:
265
- term_font_style: bold
266
- term_spacing: $vertical_rhythm / 4
267
- description_indent: $horizontal_rhythm * 1.25
294
+ term_font_style: bold
295
+ term_spacing: $vertical_rhythm / 4
296
+ description_indent: $horizontal_rhythm * 1.25
297
+
268
298
  outline_list:
269
- indent: $horizontal_rhythm * 1.5
299
+ indent: $horizontal_rhythm * 1.5
270
300
  #marker_font_color: 404040
271
- # NOTE outline_list_item_spacing applies to list items that do not have complex content
272
- item_spacing: $vertical_rhythm / 2
301
+ # NOTE outline_list_item_spacing applies to list items that
302
+ # do not have complex content
303
+ item_spacing: $vertical_rhythm / 2
304
+
273
305
  table:
274
- background_color: $page_background_color
275
- border_color: DDDDDD
276
- border_width: $base_border_width
277
- cell_padding: 3
306
+ background_color: $page_background_color
307
+ border_color: DDDDDD
308
+ border_width: $base_border_width
309
+ cell_padding: 3
278
310
  head:
279
- font_style: bold
280
- border_bottom_width: $base_border_width * 2.5
311
+ font_style: bold
312
+ border_bottom_width: $base_border_width * 2.5
281
313
  body:
282
- stripe_background_color: F9F9F9
314
+ stripe_background_color: F9F9F9
283
315
  foot:
284
- background_color: F0F0F0
316
+ background_color: F0F0F0
317
+
285
318
  toc:
286
- indent: $horizontal_rhythm
287
- line_height: 1.4
319
+ indent: $horizontal_rhythm
320
+ line_height: 1.4
288
321
  dot_leader:
289
322
  #content: ". "
290
- font_color: A9A9A9
323
+ font_color: A9A9A9
291
324
  #levels: 2 3
325
+
292
326
  footnotes:
293
- font_size: round($base_font_size * 0.75)
294
- item_spacing: $outline_list_item_spacing / 2
327
+ font_size: round($base_font_size * 0.75)
328
+ item_spacing: $outline_list_item_spacing / 2
329
+
295
330
  header:
296
- font_size: $base_font_size_small
297
- line_height: 1
298
- vertical_align: middle
331
+ font_size: $base_font_size_small
332
+ line_height: 1
333
+ vertical_align: middle
334
+
299
335
  footer:
300
- font_size: $base_font_size_small
301
- # NOTE if background_color is set, background and border will span width of page
302
- border_color: DDDDDD
336
+ font_size: $base_font_size_small
337
+ # NOTE if background_color is set, background and border
338
+ # will span width of page
339
+ border_color: DDDDDD
303
340
  border_width: 0.25
304
- height: $base_line_height_length * 2.5
341
+ height: $base_line_height_length * 2.5
305
342
  line_height: 1
306
- padding: [$base_line_height_length / 2, 1, 0, 1]
307
- vertical_align: top
343
+ padding: [$base_line_height_length / 2, 1, 0, 1]
344
+ vertical_align: top
308
345
  recto:
309
346
  #columns: "<50% =0% >50%"
310
347
  right:
311
- content: '{page-number}'
348
+ content: '{page-number}'
312
349
  verso:
313
350
  #columns: $footer_recto_columns
314
351
  left:
315
- content: $footer_recto_right_content
352
+ content: $footer_recto_right_content