j1-template 2022.5.1 → 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 +56 -38
- 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
data/lib/j1/commands/patch.rb
CHANGED
@@ -8,7 +8,7 @@ module J1
|
|
8
8
|
|
9
9
|
def init_with_program(prog)
|
10
10
|
prog.command(:patch) do |c|
|
11
|
-
c.description 'Install patches available for J1
|
11
|
+
c.description 'Install patches available for a J1 Project'
|
12
12
|
c.syntax 'patch'
|
13
13
|
c.option 'force', '--force', 'Force to install patches even already exists'
|
14
14
|
c.option 'system', '--system', 'Install patches on the Ruby SYSTEM gem folder'
|
data/lib/j1/commands/rebuild.rb
CHANGED
@@ -8,7 +8,7 @@ module J1
|
|
8
8
|
|
9
9
|
def init_with_program(prog)
|
10
10
|
prog.command(:rebuild) do |c|
|
11
|
-
c.description 'Rebuild
|
11
|
+
c.description 'Rebuild a J1 Project'
|
12
12
|
c.syntax 'rebuild'
|
13
13
|
c.action do |args, options|
|
14
14
|
J1::Commands::Rebuild.process(args, options)
|
data/lib/j1/commands/reset.rb
CHANGED
@@ -8,7 +8,7 @@ module J1
|
|
8
8
|
|
9
9
|
def init_with_program(prog)
|
10
10
|
prog.command(:reset) do |c|
|
11
|
-
c.description 'Reset a J1
|
11
|
+
c.description 'Reset a J1 Project to factory state'
|
12
12
|
c.syntax 'reset'
|
13
13
|
c.action do |args, options|
|
14
14
|
J1::Commands::Reset.process(args, options)
|
data/lib/j1/commands/setup.rb
CHANGED
@@ -9,7 +9,7 @@ module J1
|
|
9
9
|
|
10
10
|
def init_with_program(prog)
|
11
11
|
prog.command(:setup) do |c|
|
12
|
-
c.description 'Initialize a J1
|
12
|
+
c.description 'Initialize a J1 Project for first use'
|
13
13
|
c.syntax 'setup'
|
14
14
|
c.option 'force', '--force', ' Force to install patches even already exists'
|
15
15
|
c.option 'system', '--system', ' Install patches on the Ruby SYSTEM gem folder'
|
data/lib/j1/commands/site.rb
CHANGED
@@ -8,7 +8,7 @@ module J1
|
|
8
8
|
|
9
9
|
def init_with_program(prog)
|
10
10
|
prog.command(:site) do |c|
|
11
|
-
c.description 'Run the
|
11
|
+
c.description 'Run the site of a J1 Project'
|
12
12
|
c.syntax 'site'
|
13
13
|
c.action do |args, options|
|
14
14
|
J1::Commands::Site.process(args, options)
|
data/lib/j1/version.rb
CHANGED
data/lib/j1_app.rb
CHANGED
@@ -31,7 +31,7 @@ require 'log4r'
|
|
31
31
|
# require 'log4r/yamlconfigurator'
|
32
32
|
require_relative 'j1_app/log4r/yamlconfigurator'
|
33
33
|
require 'log4r/outputter/datefileoutputter'
|
34
|
-
require 'log4r/outputter/emailoutputter'
|
34
|
+
# require 'log4r/outputter/emailoutputter'
|
35
35
|
include Log4r
|
36
36
|
|
37
37
|
# Require local Rubies
|
data/lib/starter_web/Gemfile
CHANGED
@@ -70,7 +70,7 @@ end
|
|
70
70
|
# ------------------------------------------------------------------------------
|
71
71
|
# Specify the THEME GEM used for the project
|
72
72
|
#
|
73
|
-
gem 'j1-template', '~> 2022.5.
|
73
|
+
gem 'j1-template', '~> 2022.5.2'
|
74
74
|
|
75
75
|
# ------------------------------------------------------------------------------
|
76
76
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/README.md
CHANGED
@@ -380,7 +380,7 @@ This command creates a **initial** project in folder **my-starter**.
|
|
380
380
|
2022-07-30 18:12:12 - GENERATE: Resolving dependencies...
|
381
381
|
2022-07-30 18:12:12 - GENERATE: Using bundler 2.3.7
|
382
382
|
...
|
383
|
-
2022-07-30 18:12:12 - GENERATE: Using j1-template 2022.5.
|
383
|
+
2022-07-30 18:12:12 - GENERATE: Using j1-template 2022.5.2.rc2
|
384
384
|
2022-07-30 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
|
385
385
|
2022-07-30 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
|
386
386
|
2022-07-30 18:12:12 - GENERATE: C:/Users/xxx/.gem/ruby/3.1.0;C:/DevTools/Ruby31-x64/lib/ruby/gems/3.1.0;
|
@@ -416,7 +416,7 @@ commands are available as well.
|
|
416
416
|
2022-07-30 18:17:48 - SETUP: Initialize the project ...
|
417
417
|
2022-07-30 18:17:48 - SETUP: Be patient, this will take a while ...
|
418
418
|
2022-07-30 18:17:49 - SETUP:
|
419
|
-
2022-07-30 18:17:49 - SETUP: > j1@2022.5.
|
419
|
+
2022-07-30 18:17:49 - SETUP: > j1@2022.5.2 setup C:\Users\xxx\j1-projects\my-starter
|
420
420
|
2022-07-30 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
|
421
421
|
2022-07-30 18:17:49 - SETUP:
|
422
422
|
2022-07-30 18:17:50 - SETUP: Setup project for first use ..
|
@@ -461,7 +461,7 @@ browser. Let's start the journey ...
|
|
461
461
|
Check setup state of the J1 project ...
|
462
462
|
2022-07-30 18:26:18 - SITE: Starting up your site ...
|
463
463
|
2022-07-30 18:26:18 - SITE:
|
464
|
-
2022-07-30 18:26:18 - SITE: > j1@2022.5.
|
464
|
+
2022-07-30 18:26:18 - SITE: > j1@2022.5.2 j1-site C:\Users\jadams\j1-projects\my-starter
|
465
465
|
2022-07-30 18:26:18 - SITE: > run-p -s j1-site:*
|
466
466
|
2022-07-30 18:26:18 - SITE:
|
467
467
|
2022-07-30 18:26:20 - SITE: Startup UTILSRV ..
|
@@ -500,7 +500,7 @@ Check setup state of the J1 project ...
|
|
500
500
|
REBUILD: Rebuild the projects website ...
|
501
501
|
REBUILD: Be patient, this will take a while ...
|
502
502
|
2022-07-30 18:45:09 - REBUILD:
|
503
|
-
2022-07-30 18:45:09 - REBUILD: > j1@2022.5.
|
503
|
+
2022-07-30 18:45:09 - REBUILD: > j1@2022.5.2 rebuild C:\Users\xxx\j1-projects\my-starter
|
504
504
|
2022-07-30 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
|
505
505
|
2022-07-30 18:45:09 - REBUILD:
|
506
506
|
2022-07-30 18:45:10 - REBUILD: Rebuild site incremental ..
|
@@ -548,7 +548,7 @@ using Lerna for all packages:
|
|
548
548
|
2022-07-30 18:29:07 - RESET: Reset the project to factory state ...
|
549
549
|
2022-07-30 18:29:07 - RESET: Be patient, this will take a while ...
|
550
550
|
2022-07-30 18:29:08 - RESET:
|
551
|
-
2022-07-30 18:29:08 - RESET: > j1@2022.5.
|
551
|
+
2022-07-30 18:29:08 - RESET: > j1@2022.5.2 reset C:\Users\xxx\j1-projects\my-starter
|
552
552
|
2022-07-30 18:29:08 - RESET: > run-s -s reset:*
|
553
553
|
2022-07-30 18:29:08 - RESET:
|
554
554
|
2022-07-30 18:29:08 - RESET: Reset project to factory state ..
|
data/lib/starter_web/_config.yml
CHANGED
@@ -55,7 +55,7 @@ environment: development
|
|
55
55
|
# ------------------------------------------------------------------------------
|
56
56
|
# Sets the build version of J1 Template Gem
|
57
57
|
#
|
58
|
-
version: 2022.5.
|
58
|
+
version: 2022.5.2
|
59
59
|
|
60
60
|
# version
|
61
61
|
# ------------------------------------------------------------------------------
|
@@ -0,0 +1,39 @@
|
|
1
|
+
== Covers
|
2
|
+
|
3
|
+
You can specify an image or a PDF page to use as either cover of the
|
4
|
+
document directly in your theme.
|
5
|
+
|
6
|
+
=== Front and back covers
|
7
|
+
|
8
|
+
The front cover image is assigned using the front-image key, and the
|
9
|
+
back cover image using the back-image key. Specifying the path as the
|
10
|
+
target of an inline image macro allows you to specify parameters for
|
11
|
+
that image, as shown here:
|
12
|
+
|
13
|
+
.Example
|
14
|
+
----
|
15
|
+
cover:
|
16
|
+
front:
|
17
|
+
image: image:cover.pdf[page=2]
|
18
|
+
back:
|
19
|
+
image: image:splash.png[fit=fill]
|
20
|
+
----
|
21
|
+
|
22
|
+
A cover image is handled like a background image, so the fit, width, and
|
23
|
+
position attributes can be specified.
|
24
|
+
|
25
|
+
=== Fit, width, and position
|
26
|
+
|
27
|
+
By default, background images are automatically scaled to fit the bounds of
|
28
|
+
the page (i.e., fit=contain) and centered (i.e., position=center). Wrapping
|
29
|
+
the value in the image macro allows you to customize an image’s size and
|
30
|
+
position. The size of the image assigned with an image macro can be
|
31
|
+
controlled using the sizing attributes, fit, pdfwidth, scaledwidth, or
|
32
|
+
width, when fit=none. The position of the image can be controlled using
|
33
|
+
the position attribute.
|
34
|
+
|
35
|
+
.Example
|
36
|
+
----
|
37
|
+
page:
|
38
|
+
background-image: image:page-bg.png[fit=none,position=top center]
|
39
|
+
----
|
@@ -11,120 +11,116 @@
|
|
11
11
|
# See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
|
12
12
|
# ------------------------------------------------------------------------------
|
13
13
|
# NOTE file is read "as is"; variables are not parsed; key layout must be flat
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
base_font_color:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
footnotes_font_size: 9
|
128
|
-
footnotes_item_spacing: 3
|
129
|
-
footer_recto_right_content: '{page-number}'
|
130
|
-
footer_verso_left_content: '{page-number}'
|
14
|
+
# ------------------------------------------------------------------------------
|
15
|
+
|
16
|
+
page_background_color: 'FFFFFF'
|
17
|
+
page_layout: portrait
|
18
|
+
page_initial_zoom: FitH
|
19
|
+
page_margin: 36 # 36 is equivalent to 0.5in
|
20
|
+
page_margin_inner: 48
|
21
|
+
page_margin_outer: 24
|
22
|
+
page_size: A4
|
23
|
+
base_align: left
|
24
|
+
base_font_color: '000000' # '333333'
|
25
|
+
base_font_family: Helvetica # Times-Roman
|
26
|
+
base_font_size: 12
|
27
|
+
base_font_size_min: 6
|
28
|
+
base_font_style: normal
|
29
|
+
base_line_height: 1.15
|
30
|
+
base_border_color: EEEEEE
|
31
|
+
base_border_width: 0.5
|
32
|
+
role_line-through_text_decoration: line-through
|
33
|
+
role_underline_text_decoration: underline
|
34
|
+
role_big_font_size: 14
|
35
|
+
role_small_font_size: 10
|
36
|
+
role_subtitle_font_size: 0.8em
|
37
|
+
button_content: '[%s]'
|
38
|
+
button_font_family: Courier
|
39
|
+
button_font_style: bold
|
40
|
+
key_font_family: Courier
|
41
|
+
key_font_style: italic
|
42
|
+
mark_background_color: FFFF00
|
43
|
+
mark_border_offset: 1
|
44
|
+
link_font_color: 0000EE
|
45
|
+
literal_font_family: Courier
|
46
|
+
heading_font_style: bold
|
47
|
+
heading_h1_font_size: 24
|
48
|
+
heading_h2_font_size: 18
|
49
|
+
heading_h3_font_size: 16
|
50
|
+
heading_h4_font_size: 14
|
51
|
+
heading_h5_font_size: 12
|
52
|
+
heading_h6_font_size: 10
|
53
|
+
heading_line_height: 1.15
|
54
|
+
heading_margin_top: 4
|
55
|
+
heading_margin_bottom: 12
|
56
|
+
heading_min_height_after: 20
|
57
|
+
title_page_align: center
|
58
|
+
title_page_line_height: 1.15
|
59
|
+
title_page_logo_top: 10%
|
60
|
+
title_page_title_top: 40%
|
61
|
+
title_page_title_font_size: 18
|
62
|
+
title_page_subtitle_font_size: 14
|
63
|
+
title_page_authors_margin_top: 12
|
64
|
+
outline_list_indent: 30
|
65
|
+
outline_list_item_spacing: 6
|
66
|
+
description_list_description_indent: 30
|
67
|
+
description_list_term_font_style: bold
|
68
|
+
description_list_term_spacing: 4
|
69
|
+
block_margin_bottom: 12
|
70
|
+
caption_align: left
|
71
|
+
caption_font_style: italic
|
72
|
+
caption_margin_inside: 4
|
73
|
+
caption_margin_outside: 0
|
74
|
+
abstract_font_size: 13.5
|
75
|
+
abstract_line_height: 1.4
|
76
|
+
abstract_padding: 0
|
77
|
+
abstract_title_align: center
|
78
|
+
abstract_title_font_style: bold
|
79
|
+
admonition_column_rule_color: EEEEEE
|
80
|
+
admonition_column_rule_width: 0.5
|
81
|
+
admonition_padding: [0, 12, 0, 12]
|
82
|
+
admonition_label_font_style: bold
|
83
|
+
admonition_label_text_transform: uppercase
|
84
|
+
blockquote_border_color: EEEEEE
|
85
|
+
blockquote_border_left_width: 4
|
86
|
+
blockquote_padding: [6, 12, -6, 14]
|
87
|
+
verse_border_color: EEEEEE
|
88
|
+
verse_border_left_width: 4
|
89
|
+
verse_padding: [6, 12, -6, 14]
|
90
|
+
code_font_family: Courier
|
91
|
+
code_font_size: 10.8
|
92
|
+
code_line_height: 1.2
|
93
|
+
code_padding: 9
|
94
|
+
code_border_color: EEEEEE
|
95
|
+
code_border_width: 0.5
|
96
|
+
conum_line_height: 1.15
|
97
|
+
conum_glyphs: circled
|
98
|
+
example_background_color: FFFFFF
|
99
|
+
example_border_color: EEEEEE
|
100
|
+
example_border_width: 0.5
|
101
|
+
example_padding: [12, 12, 0, 12]
|
102
|
+
image_align: left
|
103
|
+
lead_font_size: 13.5
|
104
|
+
lead_line_height: 1.4
|
105
|
+
prose_margin_bottom: 12
|
106
|
+
sidebar_background_color: EEEEEE
|
107
|
+
sidebar_padding: [12, 12, 0, 12]
|
108
|
+
sidebar_title_align: center
|
109
|
+
sidebar_title_font_style: bold
|
110
|
+
table_border_color: 000000
|
111
|
+
table_border_style: solid
|
112
|
+
table_border_width: 0.5
|
113
|
+
table_cell_padding: 2
|
114
|
+
table_head_font_style: bold
|
115
|
+
table_head_border_bottom_width: 1.25
|
116
|
+
table_body_stripe_background_color: EEEEEE
|
117
|
+
thematic_break_border_color: EEEEEE
|
118
|
+
thematic_break_border_style: solid
|
119
|
+
thematic_break_border_width: 0.5
|
120
|
+
thematic_break_margin_bottom: 12
|
121
|
+
toc_indent: 15
|
122
|
+
toc_line_height: 1.4
|
123
|
+
footnotes_font_size: 9
|
124
|
+
footnotes_item_spacing: 3
|
125
|
+
footer_recto_right_content: '{page-number}'
|
126
|
+
footer_verso_left_content: '{page-number}'
|
@@ -10,27 +10,28 @@
|
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
13
|
+
|
14
|
+
extends: default
|
15
|
+
base_border_color: BBBBBB
|
16
|
+
base_font_color: 000000
|
17
|
+
role_subtitle_font_color: 666666
|
18
|
+
link_font_color: ~
|
19
|
+
literal_font_color: ~
|
20
|
+
mark_background_color: CCCCCC
|
21
|
+
menu_caret_content: " <font size=\"1.15em\">\u203a</font> "
|
22
|
+
heading_font_color: $base_font_color
|
23
|
+
title_page_title_font_color: $role_subtitle_font_color
|
24
|
+
abstract_font_color: 2C2C2C
|
25
|
+
abstract_title_font_color: $heading_font_color
|
26
|
+
admonition_column_rule_color: $base_border_color
|
27
|
+
blockquote_border_color: $base_border_color
|
28
|
+
blockquote_cite_font_color: $role_subtitle_font_color
|
29
|
+
verse_border_color: $base_border_color
|
30
|
+
verse_cite_font_color: $blockquote_cite_font_color
|
31
|
+
code_font_color: $base_font_color
|
32
|
+
conum_font_color: $base_font_color
|
33
|
+
example_border_color: $base_border_color
|
34
|
+
sidebar_title_font_color: $heading_font_color
|
35
|
+
thematic_break_border_color: $base_border_color
|
36
|
+
toc_dot_leader_font_color: ~
|
37
|
+
footer_border_color: CCCCCC
|
data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml
CHANGED
@@ -10,6 +10,7 @@
|
|
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:
|
14
15
|
- default-for-print
|
15
16
|
- default-with-fallback-font
|