j1-template 2022.5.1.rc1 → 2022.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/assets/data/banner.html +2 -2
- data/assets/data/panel.html +4 -4
- data/assets/themes/j1/adapter/js/attic.js +19 -2
- data/assets/themes/j1/adapter/js/rtable.js +68 -5
- data/assets/themes/j1/adapter/js/scroller.js +7 -0
- data/assets/themes/j1/core/css/vendor.css +5 -6
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +2 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/jquery/js/extensions/hasClass.js +20 -0
- data/assets/themes/j1/modules/jquery/js/extensions/removeClass.js +24 -0
- data/assets/themes/j1/modules/rtable/js/rtable.js +22 -16
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/LICENSE +21 -21
- data/assets/themes/j1/modules/themeSwitcher/README.md +166 -166
- data/lib/j1/commands/app.rb +36 -0
- data/lib/j1/commands/generate.rb +1 -1
- data/lib/j1/commands/patch.rb +1 -1
- data/lib/j1/commands/rebuild.rb +1 -1
- data/lib/j1/commands/reset.rb +1 -1
- data/lib/j1/commands/setup.rb +1 -1
- data/lib/j1/commands/site.rb +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/asciidoc2pdf/images/cover/readme +39 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/base-theme.yml +113 -117
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-theme.yml +25 -24
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml +1 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-theme.yml +215 -212
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-with-fallback-font-theme.yml +9 -5
- data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +24 -5
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/rtable.yml +12 -1
- data/lib/starter_web/_data/puma/config.rb +3 -0
- data/lib/starter_web/_data/resources.yml +4 -2
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/banner/1280x600/lunr.jpg +0 -0
- data/lib/starter_web/assets/images/{modules/attics/banner/library-1920x800-bw.jpg → banner/1920x800/library.jpg} +0 -0
- data/lib/starter_web/assets/images/banner/scalable/readme +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/{ev.jpg → _ev.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/_guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/crawford-jolly.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/moritz-kindler.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/{alexander-redl.jpg → _alexander-redl.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{alexander-shatov-1920x1280.jpg → _alexander-shatov-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{annie-spratt-1920x1280.jpg → _annie-spratt-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{antonino-visalli-1920x1280.jpg → _antonino-visalli-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{christa-dodoo-1920x1280.jpg → _christa-dodoo-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{guillaume-bolduc-1920x1280.jpg → _guillaume-bolduc-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{harpal-singh.jpg → _harpal-singh.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{humble-lamb-1920x1280.jpg → _humble-lamb-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{john-schnobrich-2-1920x1280.jpg → _john-schnobrich-2-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{kirklai-1920x1280.jpg → _kirklai-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{romain-vignes-1920x1280.jpg → _romain-vignes-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{runner-1920x1200.jpg → _runner-1920x1200.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{spacex-1920x1280.jpg → _spacex-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/_vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/{wrongtog-1920x1280.jpg → _wrongtog-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{building-blocks-1920x1280-bw.jpg → building-blocks-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/lunr-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/{shubham-dhage-2-1920x1280.jpg → shubham-dhage-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +2 -2
- data/lib/starter_web/index.html +23 -18
- data/lib/starter_web/package.json +5 -4
- data/lib/starter_web/pages/public/about/features.adoc +9 -4
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +9 -5
- data/lib/starter_web/pages/public/about/site.adoc +8 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +5 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +2 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/{100_converter/000_basic_example.asciidoc → 000_examples/basic_example.asciidoc} +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +20 -11
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +76 -24
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +33 -29
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +67 -88
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +40 -39
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/images/readme +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/tables/math_expressions.asciidoc +19 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/tables/measurement_units.asciidoc +22 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +20 -5
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +5 -325
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +3 -134
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/images/readme +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/build_command_options.asciidoc +72 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/files_and_folders.asciidoc +66 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/global_configuration_options.asciidoc +63 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/global_variables.asciidoc +26 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/page_variables.asciidoc +54 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/serve_command_options.asciidoc +45 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/site_variables.asciidoc +59 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +21 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +124 -122
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/archive.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/index.html +3 -3
- data/lib/starter_web/pages/public/features/general.adoc +4 -4
- data/lib/starter_web/pages/public/features/template.adoc +1 -2
- data/lib/starter_web/pages/public/learn/quickstart.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{400_asciidoc_extensions.adoc → asciidoc_extensions.adoc} +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{410_bs_modals_extentions.adoc → bs_modals_extentions.adoc} +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{300_icon_fonts.adoc → icon_fonts.adoc} +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{100_present_images.adoc → present_images.adoc} +10 -10
- data/lib/starter_web/pages/public/learn/roundtrip/{100_present_videos.adoc → present_videos.adoc} +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{600_quicksearch.adoc → quicksearch.adoc} +6 -7
- data/lib/starter_web/pages/public/learn/roundtrip/{420_responsive_tables_extensions.adoc → responsive_tables_extensions.adoc} +86 -73
- data/lib/starter_web/pages/public/learn/roundtrip/{500_themes.adoc → themes.adoc} +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{200_typography.adoc → typography.adoc} +6 -6
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -2
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -2
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -2
- data/lib/starter_web/pages/public/plans/plans.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +5 -5
- data/lib/starter_web/pages/public/se/se-fake.adoc +2 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +58 -40
- data/lib/starter_web/assets/images/modules/attics/1920x1280/ben-kolde.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/braden-collum.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/firmbee-com.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/max-harlynking.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/franck-1920x12800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-2-1920x1280.jpg +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
# ------------------------------------------------------------------------------
|
2
3
|
# ~/_data/asciidoc2pdf/themes/default-theme.yml
|
3
4
|
# Asciidoctor theme: default
|
@@ -10,289 +11,291 @@
|
|
10
11
|
# Asciidoctor themes are licensed under the MIT License.
|
11
12
|
# See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
|
12
13
|
# ------------------------------------------------------------------------------
|
14
|
+
|
13
15
|
font:
|
14
16
|
catalog:
|
15
17
|
# Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
|
16
18
|
Noto Serif:
|
17
|
-
normal:
|
18
|
-
bold:
|
19
|
-
italic:
|
20
|
-
bold_italic:
|
19
|
+
normal: GEM_FONTS_DIR/notoserif-regular-subset.ttf
|
20
|
+
bold: GEM_FONTS_DIR/notoserif-bold-subset.ttf
|
21
|
+
italic: GEM_FONTS_DIR/notoserif-italic-subset.ttf
|
22
|
+
bold_italic: GEM_FONTS_DIR/notoserif-bold_italic-subset.ttf
|
21
23
|
# M+ 1mn supports ASCII and the circled numbers used for conums
|
22
24
|
M+ 1mn:
|
23
|
-
normal:
|
24
|
-
bold:
|
25
|
-
italic:
|
26
|
-
bold_italic:
|
25
|
+
normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
|
26
|
+
bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
|
27
|
+
italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
|
28
|
+
bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
|
29
|
+
|
27
30
|
page:
|
28
|
-
background_color:
|
29
|
-
layout:
|
30
|
-
initial_zoom:
|
31
|
-
margin:
|
31
|
+
background_color: FFFFFF
|
32
|
+
layout: portrait
|
33
|
+
initial_zoom: FitH
|
34
|
+
margin: [0.5in, 0.67in, 0.67in, 0.67in]
|
32
35
|
# margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
|
33
|
-
margin_inner:
|
34
|
-
margin_outer:
|
35
|
-
size:
|
36
|
+
margin_inner: 0.75in
|
37
|
+
margin_outer: 0.59in
|
38
|
+
size: A4
|
39
|
+
|
36
40
|
base:
|
37
|
-
align:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
#font_size: 11.2
|
52
|
-
#line_height_length: 16
|
53
|
-
font_size: 10.5
|
54
|
-
#line_height_length: 15
|
55
|
-
# correct line height for Noto Serif metrics
|
56
|
-
line_height_length: 12
|
57
|
-
#font_size: 11.25
|
58
|
-
#line_height_length: 18
|
59
|
-
line_height: $base_line_height_length / $base_font_size
|
60
|
-
font_size_large: round($base_font_size * 1.25)
|
61
|
-
font_size_small: round($base_font_size * 0.85)
|
62
|
-
font_size_min: $base_font_size * 0.75
|
63
|
-
font_style: normal
|
64
|
-
border_color: EEEEEE
|
65
|
-
border_radius: 4
|
66
|
-
border_width: 0.5
|
41
|
+
align: justify
|
42
|
+
font_color: 333333
|
43
|
+
font_family: Noto Serif
|
44
|
+
font_size: 10.5
|
45
|
+
line_height_length: 12
|
46
|
+
line_height: $base_line_height_length / $base_font_size
|
47
|
+
font_size_large: round($base_font_size * 1.25)
|
48
|
+
font_size_small: round($base_font_size * 0.85)
|
49
|
+
font_size_min: $base_font_size * 0.75
|
50
|
+
font_style: normal
|
51
|
+
border_color: EEEEEE
|
52
|
+
border_radius: 4
|
53
|
+
border_width: 0.5
|
54
|
+
|
67
55
|
role:
|
68
56
|
line-through:
|
69
|
-
text_decoration:
|
57
|
+
text_decoration: line-through
|
70
58
|
underline:
|
71
|
-
text_decoration:
|
59
|
+
text_decoration: underline
|
72
60
|
big:
|
73
|
-
font_size:
|
61
|
+
font_size: $base_font_size_large
|
74
62
|
small:
|
75
|
-
font_size:
|
63
|
+
font_size: $base_font_size_small
|
76
64
|
subtitle:
|
77
|
-
font_color:
|
78
|
-
font_size:
|
79
|
-
font_style:
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
horizontal_rhythm: $base_line_height_length
|
65
|
+
font_color: 999999
|
66
|
+
font_size: 0.8em
|
67
|
+
font_style: normal_italic
|
68
|
+
|
69
|
+
vertical_rhythm: $base_line_height_length
|
70
|
+
horizontal_rhythm: $base_line_height_length
|
71
|
+
|
85
72
|
link:
|
86
|
-
font_color:
|
73
|
+
font_color: 428BCA
|
74
|
+
|
87
75
|
# literal is currently used for inline monospaced in prose and table cells
|
88
76
|
literal:
|
89
|
-
font_color:
|
90
|
-
font_family:
|
77
|
+
font_color: B12146
|
78
|
+
font_family: M+ 1mn
|
79
|
+
|
91
80
|
button:
|
92
|
-
content:
|
93
|
-
font_style:
|
81
|
+
content: "[\u2009%s\u2009]"
|
82
|
+
font_style: bold
|
83
|
+
|
94
84
|
key:
|
95
|
-
background_color:
|
96
|
-
border_color:
|
97
|
-
border_offset:
|
98
|
-
border_radius:
|
99
|
-
border_width:
|
100
|
-
font_family:
|
101
|
-
separator:
|
85
|
+
background_color: F5F5F5
|
86
|
+
border_color: CCCCCC
|
87
|
+
border_offset: 2
|
88
|
+
border_radius: 2
|
89
|
+
border_width: 0.5
|
90
|
+
font_family: $literal_font_family
|
91
|
+
separator: "\u202f+\u202f"
|
92
|
+
|
102
93
|
mark:
|
103
|
-
background_color:
|
104
|
-
border_offset:
|
94
|
+
background_color: FFFF00
|
95
|
+
border_offset: 1
|
96
|
+
|
105
97
|
menu:
|
106
|
-
caret_content:
|
98
|
+
caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
|
99
|
+
|
107
100
|
heading:
|
108
|
-
align:
|
109
|
-
font_color:
|
110
|
-
font_style:
|
111
|
-
# h1 is used for part titles (book doctype) or the doctitle (article doctype)
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
margin_top: $vertical_rhythm * 0.4
|
123
|
-
margin_bottom: $vertical_rhythm * 0.9
|
124
|
-
min_height_after: $base_line_height_length * 1.5
|
101
|
+
align: left
|
102
|
+
font_color: $base_font_color
|
103
|
+
font_style: bold
|
104
|
+
h1_font_size: floor($base_font_size * 2.6) # h1 is used for part titles (book doctype) or the doctitle (article doctype)
|
105
|
+
h2_font_size: floor($base_font_size * 2.15) # h2 is used for chapter titles (book doctype only)
|
106
|
+
h3_font_size: round($base_font_size * 1.7)
|
107
|
+
h4_font_size: $base_font_size_large
|
108
|
+
h5_font_size: $base_font_size
|
109
|
+
h6_font_size: $base_font_size_small
|
110
|
+
line_height: 1 # correct line height for Noto Serif metrics (comes with built-in line height)
|
111
|
+
margin_top: $vertical_rhythm * 0.4
|
112
|
+
margin_bottom: $vertical_rhythm * 0.9
|
113
|
+
min_height_after: $base_line_height_length * 1.5
|
114
|
+
|
125
115
|
title_page:
|
126
|
-
align:
|
116
|
+
align: right
|
127
117
|
logo:
|
128
|
-
top:
|
118
|
+
top: 10%
|
129
119
|
title:
|
130
|
-
top:
|
131
|
-
font_size:
|
132
|
-
font_color:
|
133
|
-
line_height:
|
120
|
+
top: 55%
|
121
|
+
font_size: $heading_h1_font_size
|
122
|
+
font_color: $role_subtitle_font_color
|
123
|
+
line_height: 0.9
|
134
124
|
subtitle:
|
135
|
-
font_size:
|
136
|
-
font_style:
|
137
|
-
line_height:
|
125
|
+
font_size: $heading_h3_font_size
|
126
|
+
font_style: bold_italic
|
127
|
+
line_height: 1
|
138
128
|
authors:
|
139
|
-
margin_top:
|
140
|
-
font_size:
|
141
|
-
font_color:
|
129
|
+
margin_top: $base_font_size * 1.25
|
130
|
+
font_size: $base_font_size_large
|
131
|
+
font_color: 181818
|
142
132
|
revision:
|
143
|
-
margin_top:
|
133
|
+
margin_top: $base_font_size * 1.25
|
134
|
+
|
144
135
|
block:
|
145
|
-
margin_bottom:
|
136
|
+
margin_bottom: $vertical_rhythm
|
137
|
+
|
146
138
|
caption:
|
147
|
-
align:
|
148
|
-
font_size:
|
149
|
-
font_style:
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
margin_outside: 0
|
139
|
+
align: left
|
140
|
+
font_size: $base_font_size * 0.95
|
141
|
+
font_style: italic
|
142
|
+
margin_inside: $vertical_rhythm / 3
|
143
|
+
margin_outside: 0
|
144
|
+
|
154
145
|
lead:
|
155
|
-
font_size:
|
156
|
-
line_height:
|
146
|
+
font_size: $base_font_size_large
|
147
|
+
line_height: 1.4
|
148
|
+
|
157
149
|
abstract:
|
158
|
-
font_color:
|
159
|
-
font_size:
|
160
|
-
line_height:
|
161
|
-
font_style:
|
162
|
-
first_line_font_style:
|
150
|
+
font_color: 5C6266
|
151
|
+
font_size: $lead_font_size
|
152
|
+
line_height: $lead_line_height
|
153
|
+
font_style: italic
|
154
|
+
first_line_font_style: bold
|
163
155
|
title:
|
164
|
-
align:
|
165
|
-
font_color:
|
166
|
-
font_size:
|
167
|
-
font_style:
|
156
|
+
align: center
|
157
|
+
font_color: $heading_font_color
|
158
|
+
font_size: $heading_h4_font_size
|
159
|
+
font_style: $heading_font_style
|
160
|
+
|
168
161
|
admonition:
|
169
|
-
column_rule_color:
|
170
|
-
column_rule_width:
|
171
|
-
padding:
|
162
|
+
column_rule_color: $base_border_color
|
163
|
+
column_rule_width: $base_border_width
|
164
|
+
padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
|
172
165
|
#icon:
|
173
166
|
# tip:
|
174
167
|
# name: far-lightbulb
|
175
168
|
# stroke_color: 111111
|
176
169
|
# size: 24
|
177
170
|
label:
|
178
|
-
text_transform:
|
179
|
-
font_style:
|
171
|
+
text_transform: uppercase
|
172
|
+
font_style: bold
|
173
|
+
|
180
174
|
blockquote:
|
181
|
-
font_size:
|
182
|
-
border_color:
|
183
|
-
border_width:
|
184
|
-
border_left_width:
|
185
|
-
|
186
|
-
padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
|
175
|
+
font_size: $base_font_size_large
|
176
|
+
border_color: $base_border_color
|
177
|
+
border_width: 0
|
178
|
+
border_left_width: 5
|
179
|
+
padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
|
187
180
|
cite:
|
188
|
-
font_size:
|
189
|
-
font_color:
|
181
|
+
font_size: $base_font_size_small
|
182
|
+
font_color: $role_subtitle_font_color
|
183
|
+
|
190
184
|
verse:
|
191
|
-
font_size:
|
192
|
-
border_color:
|
193
|
-
border_width:
|
194
|
-
border_left_width:
|
195
|
-
padding:
|
185
|
+
font_size: $blockquote_font_size
|
186
|
+
border_color: $blockquote_border_color
|
187
|
+
border_width: $blockquote_border_width
|
188
|
+
border_left_width: $blockquote_border_left_width
|
189
|
+
padding: $blockquote_padding
|
196
190
|
cite:
|
197
|
-
font_size:
|
198
|
-
font_color:
|
191
|
+
font_size: $blockquote_cite_font_size
|
192
|
+
font_color: $blockquote_cite_font_color
|
193
|
+
|
199
194
|
# code is used for source blocks (perhaps change to source or listing?)
|
200
195
|
code:
|
201
|
-
font_color:
|
202
|
-
font_family:
|
203
|
-
font_size:
|
204
|
-
padding:
|
205
|
-
line_height:
|
206
|
-
# line_gap is an experimental property to control how a background color is applied to an inline block element
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
196
|
+
font_color: $base_font_color
|
197
|
+
font_family: $literal_font_family
|
198
|
+
font_size: ceil($base_font_size)
|
199
|
+
padding: $code_font_size
|
200
|
+
line_height: 1.25
|
201
|
+
line_gap: 3.8 # line_gap is an experimental property to control how a background color is applied to an inline block element
|
202
|
+
background_color: F5F5F5
|
203
|
+
border_color: CCCCCC
|
204
|
+
border_radius: $base_border_radius
|
205
|
+
border_width: 0.75
|
206
|
+
|
212
207
|
conum:
|
213
|
-
font_family:
|
214
|
-
font_color:
|
215
|
-
font_size:
|
216
|
-
line_height:
|
217
|
-
glyphs:
|
208
|
+
font_family: $literal_font_family
|
209
|
+
font_color: $literal_font_color
|
210
|
+
font_size: $base_font_size
|
211
|
+
line_height: 4 / 3
|
212
|
+
glyphs: circled
|
213
|
+
|
218
214
|
example:
|
219
|
-
border_color:
|
220
|
-
border_radius:
|
221
|
-
border_width:
|
222
|
-
background_color:
|
223
|
-
|
224
|
-
|
215
|
+
border_color: $base_border_color
|
216
|
+
border_radius: $base_border_radius
|
217
|
+
border_width: 0.75
|
218
|
+
background_color: $page_background_color
|
219
|
+
padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
|
220
|
+
|
225
221
|
image:
|
226
|
-
align:
|
222
|
+
align: left
|
223
|
+
|
227
224
|
prose:
|
228
|
-
margin_bottom:
|
225
|
+
margin_bottom: $block_margin_bottom
|
226
|
+
|
229
227
|
sidebar:
|
230
|
-
background_color:
|
231
|
-
border_color:
|
232
|
-
border_radius:
|
233
|
-
border_width:
|
234
|
-
|
235
|
-
padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
|
228
|
+
background_color: EEEEEE
|
229
|
+
border_color: E1E1E1
|
230
|
+
border_radius: $base_border_radius
|
231
|
+
border_width: $base_border_width
|
232
|
+
padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
|
236
233
|
title:
|
237
|
-
align:
|
238
|
-
font_color:
|
239
|
-
font_size:
|
240
|
-
font_style:
|
234
|
+
align: center
|
235
|
+
font_color: $heading_font_color
|
236
|
+
font_size: $heading_h4_font_size
|
237
|
+
font_style: $heading_font_style
|
238
|
+
|
241
239
|
thematic_break:
|
242
|
-
border_color:
|
243
|
-
border_style:
|
244
|
-
border_width:
|
245
|
-
margin_top:
|
246
|
-
margin_bottom:
|
240
|
+
border_color: $base_border_color
|
241
|
+
border_style: solid
|
242
|
+
border_width: $base_border_width
|
243
|
+
margin_top: $vertical_rhythm * 0.5
|
244
|
+
margin_bottom: $vertical_rhythm * 1.5
|
245
|
+
|
247
246
|
description_list:
|
248
|
-
term_font_style:
|
249
|
-
term_spacing:
|
250
|
-
description_indent:
|
247
|
+
term_font_style: bold
|
248
|
+
term_spacing: $vertical_rhythm / 4
|
249
|
+
description_indent: $horizontal_rhythm * 1.25
|
250
|
+
|
251
251
|
outline_list:
|
252
|
-
indent:
|
252
|
+
indent: $horizontal_rhythm * 1.5
|
253
253
|
#marker_font_color: 404040
|
254
|
-
#
|
255
|
-
|
254
|
+
item_spacing: $vertical_rhythm / 2 # outline_list_item_spacing applies to list items that do not have complex content
|
255
|
+
|
256
256
|
table:
|
257
|
-
background_color:
|
258
|
-
border_color:
|
259
|
-
border_width:
|
260
|
-
cell_padding:
|
257
|
+
background_color: $page_background_color
|
258
|
+
border_color: DDDDDD
|
259
|
+
border_width: $base_border_width
|
260
|
+
cell_padding: 3
|
261
261
|
head:
|
262
|
-
font_style:
|
263
|
-
border_bottom_width:
|
262
|
+
font_style: bold
|
263
|
+
border_bottom_width: $base_border_width * 2.5
|
264
264
|
body:
|
265
|
-
stripe_background_color:
|
265
|
+
stripe_background_color: F9F9F9
|
266
266
|
foot:
|
267
|
-
background_color:
|
267
|
+
background_color: F0F0F0
|
268
|
+
|
268
269
|
toc:
|
269
|
-
indent:
|
270
|
-
line_height:
|
270
|
+
indent: $horizontal_rhythm
|
271
|
+
line_height: 1.4
|
271
272
|
dot_leader:
|
272
273
|
#content: ". "
|
273
|
-
font_color:
|
274
|
+
font_color: A9A9A9
|
274
275
|
#levels: 2 3
|
276
|
+
|
275
277
|
footnotes:
|
276
|
-
font_size:
|
277
|
-
item_spacing:
|
278
|
+
font_size: round($base_font_size * 0.75)
|
279
|
+
item_spacing: $outline_list_item_spacing / 2
|
280
|
+
|
278
281
|
header:
|
279
|
-
font_size:
|
280
|
-
line_height:
|
281
|
-
vertical_align:
|
282
|
+
font_size: $base_font_size_small
|
283
|
+
line_height: 1
|
284
|
+
vertical_align: middle
|
285
|
+
|
282
286
|
footer:
|
283
|
-
font_size:
|
284
|
-
#
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
vertical_align: top
|
287
|
+
font_size: $base_font_size_small
|
288
|
+
border_color: DDDDDD # if background_color is set, background and border will span width of page
|
289
|
+
border_width: 0.25
|
290
|
+
height: $base_line_height_length * 2.5
|
291
|
+
line_height: 1
|
292
|
+
padding: [$base_line_height_length / 2, 1, 0, 1]
|
293
|
+
vertical_align: top
|
291
294
|
recto:
|
292
295
|
#columns: "<50% =0% >50%"
|
293
296
|
right:
|
294
|
-
content:
|
297
|
+
content: '{page-number}'
|
295
298
|
verso:
|
296
299
|
#columns: $footer_recto_columns
|
297
300
|
left:
|
298
|
-
content:
|
301
|
+
content: $footer_recto_right_content
|
@@ -10,12 +10,16 @@
|
|
10
10
|
# Asciidoctor themes are licensed under the MIT License.
|
11
11
|
# See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
|
12
12
|
# ------------------------------------------------------------------------------
|
13
|
-
|
13
|
+
|
14
|
+
extends: default
|
14
15
|
font:
|
16
|
+
|
15
17
|
catalog:
|
16
|
-
merge:
|
18
|
+
merge: true
|
19
|
+
|
17
20
|
# M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic, Vietnamese, Japanese & an assortment of symbols
|
18
21
|
# It also provides arrows for ->, <-, => and <= replacements in case these glyphs are missing from font
|
19
|
-
M+ 1p Fallback:
|
20
|
-
Noto Emoji:
|
21
|
-
|
22
|
+
M+ 1p Fallback: GEM_FONTS_DIR/mplus1p-regular-fallback.ttf
|
23
|
+
Noto Emoji: GEM_FONTS_DIR/notoemoji-subset.ttf
|
24
|
+
|
25
|
+
fallbacks: [M+ 1p Fallback, Noto Emoji]
|
@@ -17,6 +17,25 @@
|
|
17
17
|
# NOTE:
|
18
18
|
# Theme is based on Asciidoctor default theme (default-theme.yml).
|
19
19
|
# ------------------------------------------------------------------------------
|
20
|
+
# NOTE:
|
21
|
+
# asciidoctor-pdf, Version 2.3.0 (2022-08-16)
|
22
|
+
# jadams, 2022-08-31: Fixed theme for the warnings:
|
23
|
+
#
|
24
|
+
# asciidoctor: WARNING: the literal theme category is deprecated; use the codespan category instead
|
25
|
+
# asciidoctor: WARNING: the key theme category is deprecated; use the kbd category instead
|
26
|
+
# asciidoctor: WARNING: the blockquote theme category is deprecated; use the quote category instead
|
27
|
+
# asciidoctor: WARNING: the outline-list theme category is deprecated; use the list category instead
|
28
|
+
#
|
29
|
+
# ------------------------------------------------------------------------------
|
30
|
+
|
31
|
+
# See: https://docs.asciidoctor.org/pdf-converter/latest/theme/covers/
|
32
|
+
#
|
33
|
+
# cover:
|
34
|
+
# front:
|
35
|
+
# image: ../images/cover/<cover-image>
|
36
|
+
# back:
|
37
|
+
# image: ./images/cover/<background-image>[fit=fill]
|
38
|
+
|
20
39
|
font:
|
21
40
|
catalog:
|
22
41
|
# Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A,
|
@@ -106,8 +125,8 @@ horizontal_rhythm: $base_line_height_length
|
|
106
125
|
link:
|
107
126
|
font_color: 428BCA
|
108
127
|
|
109
|
-
#
|
110
|
-
|
128
|
+
# codespan is used for inline monospaced in prose and table cells
|
129
|
+
codespan:
|
111
130
|
font_color: B12146
|
112
131
|
font_family: M+ 1mn
|
113
132
|
|
@@ -115,7 +134,7 @@ button:
|
|
115
134
|
content: "[\u2009%s\u2009]"
|
116
135
|
font_style: bold
|
117
136
|
|
118
|
-
|
137
|
+
kbd:
|
119
138
|
background_color: F5F5F5
|
120
139
|
border_color: CCCCCC
|
121
140
|
border_offset: 2
|
@@ -212,7 +231,7 @@ admonition:
|
|
212
231
|
text_transform: uppercase
|
213
232
|
font_style: bold
|
214
233
|
|
215
|
-
|
234
|
+
quote:
|
216
235
|
font_size: $base_font_size_large
|
217
236
|
border_color: $base_border_color
|
218
237
|
border_width: 0
|
@@ -295,7 +314,7 @@ description_list:
|
|
295
314
|
term_spacing: $vertical_rhythm / 4
|
296
315
|
description_indent: $horizontal_rhythm * 1.25
|
297
316
|
|
298
|
-
|
317
|
+
list:
|
299
318
|
indent: $horizontal_rhythm * 1.5
|
300
319
|
#marker_font_color: 404040
|
301
320
|
# NOTE outline_list_item_spacing applies to list items that
|
@@ -113,7 +113,7 @@ settings:
|
|
113
113
|
# id: new-version
|
114
114
|
# image: /assets/images/sticker/600x600/sticker-new-version.png
|
115
115
|
# size: 200
|
116
|
-
# title: Get new version 2022.5.
|
116
|
+
# title: Get new version 2022.5.2
|
117
117
|
# style: "width: 140px; height: 120px;"
|
118
118
|
# href: "https://rubygems.org/gems/j1-template"
|
119
119
|
# target: blank
|
@@ -30,7 +30,18 @@ description:
|
|
30
30
|
defaults:
|
31
31
|
enabled: false
|
32
32
|
|
33
|
-
|
33
|
+
rtable:
|
34
|
+
breakpoint: lg # sm | md | lg | xl
|
35
|
+
type: default # default | light | dark
|
36
|
+
hover: false
|
37
|
+
mode: stack # stack | swipe | toggle
|
38
|
+
sort: false
|
39
|
+
minimap : false
|
40
|
+
|
41
|
+
table-responsive:
|
42
|
+
breakpoint: lg # sm | md | lg | xl
|
43
|
+
type: default # default | light | dark
|
44
|
+
hover: false
|
34
45
|
|
35
46
|
# ------------------------------------------------------------------------------
|
36
47
|
# END config
|