j1-template 2021.0.3 → 2021.0.4
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/modules/navigator/procedures/topsearch.proc +10 -10
- data/assets/data/quicklinks.html +2 -2
- data/assets/themes/j1/adapter/js/mmenu.js +18 -22
- data/assets/themes/j1/adapter/js/{lunr_search.js → quicksearch.js} +11 -11
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.eot → eot/fa-brands-400.eot} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.eot → eot/fa-regular-400.eot} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.eot → eot/fa-solid-900.eot} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.svg → svg/fa-brands-400.svg} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.svg → svg/fa-regular-400.svg} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.svg → svg/fa-solid-900.svg} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.ttf → ttf/fa-brands-400.ttf} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.ttf → ttf/fa-regular-400.ttf} +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.ttf → ttf/fa-solid-900.ttf} +0 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.eot → eot/materialdesignicons-webfont.eot} +0 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.svg → svg/materialdesignicons-webfont.svg} +0 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.ttf → ttf/materialdesignicons-webfont.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.eot → eot/Roboto-Bold.eot} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.eot → eot/Roboto-Light.eot} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.eot → eot/Roboto-Medium.eot} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.eot → eot/Roboto-Regular.eot} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.eot → eot/Roboto-Thin.eot} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Black.ttf → ttf/Roboto-Black.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BlackItalic.ttf → ttf/Roboto-BlackItalic.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.ttf → ttf/Roboto-Bold.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BoldItalic.ttf → ttf/Roboto-BoldItalic.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Italic.ttf → ttf/Roboto-Italic.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.ttf → ttf/Roboto-Light.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-LightItalic.ttf → ttf/Roboto-LightItalic.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.ttf → ttf/Roboto-Medium.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-MediumItalic.ttf → ttf/Roboto-MediumItalic.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.ttf → ttf/Roboto-Regular.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.ttf → ttf/Roboto-Thin.ttf} +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-ThinItalic.ttf → ttf/Roboto-ThinItalic.ttf} +0 -0
- data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png +0 -0
- data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png +0 -0
- data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png +0 -0
- data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc.png +0 -0
- data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc_disabled.png +0 -0
- data/assets/themes/j1/modules/datatables/css/datatables.css +1113 -0
- data/assets/themes/j1/modules/datatables/css/datatables.min.css +136 -0
- data/assets/themes/j1/modules/datatables/css/theme/uno.css +473 -0
- data/assets/themes/j1/modules/datatables/js/datatables.js +95360 -0
- data/assets/themes/j1/modules/datatables/js/datatables.min.js +533 -0
- data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.css → quicksearch.css} +0 -0
- data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.min.css → quicksearch.min.css} +0 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.js +304 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.min.js +1 -0
- data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.js → quicksearch.js} +22 -3
- data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.min.js → quicksearch.min.js} +0 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.js +381 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.min.js +1 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.js +284 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.js +384 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.js +450 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.js +599 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.js +541 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.js +703 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.js +565 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.js +617 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.js +188 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.min.js +1 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.js +5 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.min.js +1 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.js +79 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.min.js +1 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.js +448 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.js +258 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.js +570 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.js +558 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.js +391 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.js +256 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.th.js +97 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.js +1087 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.min.js +18 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.js +84 -0
- data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.min.js +1 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -2
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1mn-subset +26 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1p-subset +26 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoemoji-subset +3 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoserif-subset +26 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-mplus +16 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoemoji +201 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoserif +201 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-roboto +11 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Black.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BlackItalic.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Bold.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BoldItalic.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Italic.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Light.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-LightItalic.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Medium.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-MediumItalic.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Regular.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Thin.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-ThinItalic.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold-subset.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold_italic-subset.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-italic-subset.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-regular-subset.ttf +0 -0
- data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/mplus1p-regular-fallback.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/fonts/notoemoji-subset.ttf +0 -0
- data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold-subset.ttf +0 -0
- data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold_italic-subset.ttf +0 -0
- data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-italic-subset.ttf +0 -0
- data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-regular-subset.ttf +0 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/base-theme.yml +130 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-theme.yml +36 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml +15 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-theme.yml +298 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-with-fallback-font-theme.yml +21 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +315 -0
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +73 -0
- data/lib/starter_web/_data/modules/navigator.yml +4 -6
- data/lib/starter_web/_data/modules/{lunr_search.yml → quicksearch.yml} +3 -3
- data/lib/starter_web/_data/modules/themer.yml +1 -1
- data/lib/starter_web/_data/resources.yml +34 -37
- data/lib/starter_web/_includes/attributes.asciidoc +3 -1
- data/lib/starter_web/_plugins/lunr_index.rb +19 -8
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
- data/lib/starter_web/dot.gitattributes +2 -16
- data/lib/starter_web/package.json +6 -6
- data/lib/starter_web/pages/protected/site_search.adoc +2 -7
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +1 -1
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +2 -2
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +146 -47
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +127 -49
- data/assets/themes/j1/core/fonts/materialdesign_icons/license.md +0 -97
- data/assets/themes/j1/core/fonts/roboto/fonts/OpenSansEmoji.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold-ascii.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold_italic-ascii.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-italic-ascii.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
- data/lib/starter_web/_data/modules/defaults/lunr_search.yml +0 -171
@@ -0,0 +1,21 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/asciidoc2pdf/themes/default-with-fallback-font-theme
|
3
|
+
# Asciidoctor theme: default-with-fallback-font
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://github.com/asciidoctor/asciidoctor-pdf
|
7
|
+
#
|
8
|
+
# Copyright (C) 2014-2020 OpenDevise Inc. and the Asciidoctor Project
|
9
|
+
#
|
10
|
+
# Asciidoctor themes are licensed under the MIT License.
|
11
|
+
# See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
|
12
|
+
# ------------------------------------------------------------------------------
|
13
|
+
extends: default
|
14
|
+
font:
|
15
|
+
catalog:
|
16
|
+
merge: true
|
17
|
+
# M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic, Vietnamese, Japanese & an assortment of symbols
|
18
|
+
# It also provides arrows for ->, <-, => and <= replacements in case these glyphs are missing from font
|
19
|
+
M+ 1p Fallback: GEM_FONTS_DIR/mplus1p-regular-fallback.ttf
|
20
|
+
Noto Emoji: GEM_FONTS_DIR/notoemoji-subset.ttf
|
21
|
+
fallbacks: [M+ 1p Fallback, Noto Emoji]
|
@@ -0,0 +1,315 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/asciidoc2pdf/themes/j1-theme.yml
|
3
|
+
# J1 Template default theme for PDF generation
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
# https://github.com/asciidoctor/asciidoctor-pdf
|
8
|
+
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
|
+
# Copyright (C) 2014-2020 OpenDevise Inc. and the Asciidoctor Project
|
11
|
+
#
|
12
|
+
# J1 Template is licensed under the MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
14
|
+
# Asciidoctor themes are licensed under the MIT License.
|
15
|
+
# See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
|
16
|
+
# ------------------------------------------------------------------------------
|
17
|
+
# NOTE:
|
18
|
+
# Theme is based on Asciidoctor default theme (default-theme.yml).
|
19
|
+
# ------------------------------------------------------------------------------
|
20
|
+
font:
|
21
|
+
catalog:
|
22
|
+
# Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
|
23
|
+
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
|
28
|
+
# M+ 1mn supports ASCII and the circled numbers used for conums
|
29
|
+
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
|
34
|
+
# j1 is using roboto for default
|
35
|
+
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
|
40
|
+
|
41
|
+
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
|
51
|
+
base:
|
52
|
+
align: justify
|
53
|
+
# color as hex string (leading # is optional)
|
54
|
+
font_color: 333333
|
55
|
+
# color as RGB array
|
56
|
+
#font_color: [51, 51, 51]
|
57
|
+
# color as CMYK array (approximated)
|
58
|
+
#font_color: [0, 0, 0, 0.92]
|
59
|
+
#font_color: [0, 0, 0, 92%]
|
60
|
+
# font_family: Noto Serif
|
61
|
+
font_family: Roboto
|
62
|
+
# choose one of these font_size/line_height_length combinations
|
63
|
+
#font_size: 14
|
64
|
+
#line_height_length: 20
|
65
|
+
#font_size: 11.25
|
66
|
+
#line_height_length: 18
|
67
|
+
#font_size: 11.2
|
68
|
+
#line_height_length: 16
|
69
|
+
font_size: 10.5
|
70
|
+
#line_height_length: 15
|
71
|
+
# correct line height for Noto Serif metrics
|
72
|
+
line_height_length: 12
|
73
|
+
#font_size: 11.25
|
74
|
+
#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
|
83
|
+
role:
|
84
|
+
line-through:
|
85
|
+
text_decoration: line-through
|
86
|
+
underline:
|
87
|
+
text_decoration: underline
|
88
|
+
big:
|
89
|
+
font_size: $base_font_size_large
|
90
|
+
small:
|
91
|
+
font_size: $base_font_size_small
|
92
|
+
subtitle:
|
93
|
+
font_color: 999999
|
94
|
+
font_size: 0.8em
|
95
|
+
font_style: normal_italic
|
96
|
+
# FIXME vertical_rhythm is weird; we should think in terms of ems
|
97
|
+
#vertical_rhythm: $base_line_height_length * 2 / 3
|
98
|
+
# 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
|
101
|
+
link:
|
102
|
+
font_color: 428BCA
|
103
|
+
# literal is currently used for inline monospaced in prose and table cells
|
104
|
+
literal:
|
105
|
+
font_color: B12146
|
106
|
+
font_family: M+ 1mn
|
107
|
+
button:
|
108
|
+
content: "[\u2009%s\u2009]"
|
109
|
+
font_style: bold
|
110
|
+
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"
|
118
|
+
mark:
|
119
|
+
background_color: FFFF00
|
120
|
+
border_offset: 1
|
121
|
+
menu:
|
122
|
+
caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
|
123
|
+
heading:
|
124
|
+
align: left
|
125
|
+
# font-family: Roboto-Bold
|
126
|
+
font_color: $base_font_color
|
127
|
+
font_style: bold
|
128
|
+
# h1 is used for part titles (book doctype) or the doctitle (article doctype)
|
129
|
+
h1_font_size: floor($base_font_size * 2.6)
|
130
|
+
# 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
|
136
|
+
#line_height: 1.4
|
137
|
+
# 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
|
142
|
+
title_page:
|
143
|
+
align: right
|
144
|
+
logo:
|
145
|
+
top: 10%
|
146
|
+
title:
|
147
|
+
top: 55%
|
148
|
+
font_size: $heading_h1_font_size
|
149
|
+
font_color: $role_subtitle_font_color
|
150
|
+
line_height: 0.9
|
151
|
+
subtitle:
|
152
|
+
font_size: $heading_h3_font_size
|
153
|
+
font_style: bold_italic
|
154
|
+
line_height: 1
|
155
|
+
authors:
|
156
|
+
margin_top: $base_font_size * 1.25
|
157
|
+
font_size: $base_font_size_large
|
158
|
+
font_color: 181818
|
159
|
+
revision:
|
160
|
+
margin_top: $base_font_size * 1.25
|
161
|
+
block:
|
162
|
+
margin_bottom: $vertical_rhythm
|
163
|
+
caption:
|
164
|
+
align: left
|
165
|
+
font_size: $base_font_size * 0.95
|
166
|
+
font_style: italic
|
167
|
+
# FIXME perhaps set line_height instead of / in addition to margins?
|
168
|
+
margin_inside: $vertical_rhythm / 3
|
169
|
+
#margin_inside: $vertical_rhythm / 4
|
170
|
+
margin_outside: 0
|
171
|
+
lead:
|
172
|
+
font_size: $base_font_size_large
|
173
|
+
line_height: 1.4
|
174
|
+
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
|
180
|
+
title:
|
181
|
+
align: center
|
182
|
+
font_color: $heading_font_color
|
183
|
+
font_size: $heading_h4_font_size
|
184
|
+
font_style: $heading_font_style
|
185
|
+
admonition:
|
186
|
+
column_rule_color: $base_border_color
|
187
|
+
column_rule_width: $base_border_width
|
188
|
+
padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
|
189
|
+
#icon:
|
190
|
+
# tip:
|
191
|
+
# name: far-lightbulb
|
192
|
+
# stroke_color: 111111
|
193
|
+
# size: 24
|
194
|
+
label:
|
195
|
+
text_transform: uppercase
|
196
|
+
font_style: bold
|
197
|
+
blockquote:
|
198
|
+
font_size: $base_font_size_large
|
199
|
+
border_color: $base_border_color
|
200
|
+
border_width: 0
|
201
|
+
border_left_width: 5
|
202
|
+
# 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]
|
204
|
+
cite:
|
205
|
+
font_size: $base_font_size_small
|
206
|
+
font_color: $role_subtitle_font_color
|
207
|
+
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
|
213
|
+
cite:
|
214
|
+
font_size: $blockquote_cite_font_size
|
215
|
+
font_color: $blockquote_cite_font_color
|
216
|
+
# code is used for source blocks (perhaps change to source or listing?)
|
217
|
+
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
|
229
|
+
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
|
235
|
+
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]
|
242
|
+
image:
|
243
|
+
align: left
|
244
|
+
prose:
|
245
|
+
margin_bottom: $block_margin_bottom
|
246
|
+
sidebar:
|
247
|
+
background_color: EEEEEE
|
248
|
+
border_color: E1E1E1
|
249
|
+
border_radius: $base_border_radius
|
250
|
+
border_width: $base_border_width
|
251
|
+
# FIXME reenable padding bottom once margin collapsing is implemented
|
252
|
+
padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
|
253
|
+
title:
|
254
|
+
align: center
|
255
|
+
font_color: $heading_font_color
|
256
|
+
font_size: $heading_h4_font_size
|
257
|
+
font_style: $heading_font_style
|
258
|
+
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
|
264
|
+
description_list:
|
265
|
+
term_font_style: bold
|
266
|
+
term_spacing: $vertical_rhythm / 4
|
267
|
+
description_indent: $horizontal_rhythm * 1.25
|
268
|
+
outline_list:
|
269
|
+
indent: $horizontal_rhythm * 1.5
|
270
|
+
#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
|
273
|
+
table:
|
274
|
+
background_color: $page_background_color
|
275
|
+
border_color: DDDDDD
|
276
|
+
border_width: $base_border_width
|
277
|
+
cell_padding: 3
|
278
|
+
head:
|
279
|
+
font_style: bold
|
280
|
+
border_bottom_width: $base_border_width * 2.5
|
281
|
+
body:
|
282
|
+
stripe_background_color: F9F9F9
|
283
|
+
foot:
|
284
|
+
background_color: F0F0F0
|
285
|
+
toc:
|
286
|
+
indent: $horizontal_rhythm
|
287
|
+
line_height: 1.4
|
288
|
+
dot_leader:
|
289
|
+
#content: ". "
|
290
|
+
font_color: A9A9A9
|
291
|
+
#levels: 2 3
|
292
|
+
footnotes:
|
293
|
+
font_size: round($base_font_size * 0.75)
|
294
|
+
item_spacing: $outline_list_item_spacing / 2
|
295
|
+
header:
|
296
|
+
font_size: $base_font_size_small
|
297
|
+
line_height: 1
|
298
|
+
vertical_align: middle
|
299
|
+
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
|
303
|
+
border_width: 0.25
|
304
|
+
height: $base_line_height_length * 2.5
|
305
|
+
line_height: 1
|
306
|
+
padding: [$base_line_height_length / 2, 1, 0, 1]
|
307
|
+
vertical_align: top
|
308
|
+
recto:
|
309
|
+
#columns: "<50% =0% >50%"
|
310
|
+
right:
|
311
|
+
content: '{page-number}'
|
312
|
+
verso:
|
313
|
+
#columns: $footer_recto_columns
|
314
|
+
left:
|
315
|
+
content: $footer_recto_right_content
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/modules/defaults/quicksearch.yml
|
3
|
+
# Default configuration settings for J1 QuickSearch module
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2021 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
|
12
|
+
# ------------------------------------------------------------------------------
|
13
|
+
|
14
|
+
# ------------------------------------------------------------------------------
|
15
|
+
# About this configuration (used for J1 CC only)
|
16
|
+
#
|
17
|
+
about_config:
|
18
|
+
title: J1 LunrSearch
|
19
|
+
scope: Default settings
|
20
|
+
location: _data/modules/defaults/lunr_search.yml
|
21
|
+
|
22
|
+
# ------------------------------------------------------------------------------
|
23
|
+
# J1LunrSearch settings
|
24
|
+
#
|
25
|
+
# enabled
|
26
|
+
# ----------------------------------------------------------------------------
|
27
|
+
# Enables|Disables the use of J1 Search Manager
|
28
|
+
#
|
29
|
+
# values: boolean (true|false)
|
30
|
+
# default: false
|
31
|
+
#
|
32
|
+
# ------------------------------------------------------------------------------
|
33
|
+
|
34
|
+
# ------------------------------------------------------------------------------
|
35
|
+
# About this configuration (used for J1 CC only)
|
36
|
+
#
|
37
|
+
about_config:
|
38
|
+
|
39
|
+
title: J1LunrSearch
|
40
|
+
scope: Default settings
|
41
|
+
location: _data/modules/defaults/jekyll_search.yml
|
42
|
+
|
43
|
+
# ------------------------------------------------------------------------------
|
44
|
+
# Default settings
|
45
|
+
#
|
46
|
+
defaults:
|
47
|
+
|
48
|
+
enabled: false
|
49
|
+
placement: navbar
|
50
|
+
target: _blank
|
51
|
+
|
52
|
+
excludes: [ /assets/*, /apps/*, /log/* , /node_modules/*, '/*\.htm*/' ]
|
53
|
+
stopwords: /assets/themes/j1/modules/lunrSearch/stopwords/en.txt
|
54
|
+
stopwords_locale: en
|
55
|
+
strip_index_html: false
|
56
|
+
strip_categories: [ pages, posts, public, featured ]
|
57
|
+
min_length: 3
|
58
|
+
date_format: mmm dd, yyyy
|
59
|
+
|
60
|
+
module_dir: /assets/themes/j1/modules/lunrSearch/js
|
61
|
+
index_dir: /assets/data
|
62
|
+
index_name: lunr-index.json
|
63
|
+
index_file: /assets/data/lunr-index.json
|
64
|
+
|
65
|
+
search_input: '#search-query' # '#jss-input'
|
66
|
+
results: '#search-results' # selector for containing search results element
|
67
|
+
template: '#search-results-template' # selector for Mustache.js template
|
68
|
+
titleMsg: # '<h1>Search results<h1>' message attached in front of results (can be empty)
|
69
|
+
emptyMsg: # '<p>Nothing found.</p>' # shown message if search returns no results
|
70
|
+
|
71
|
+
|
72
|
+
# ------------------------------------------------------------------------------
|
73
|
+
# END config
|
@@ -19,8 +19,8 @@
|
|
19
19
|
#
|
20
20
|
about_config:
|
21
21
|
title: Navigator
|
22
|
-
scope:
|
23
|
-
location: _data/modules/
|
22
|
+
scope: User settings
|
23
|
+
location: _data/modules/navigator.yml
|
24
24
|
|
25
25
|
# ------------------------------------------------------------------------------
|
26
26
|
# User configuration settings
|
@@ -32,7 +32,6 @@ settings:
|
|
32
32
|
#
|
33
33
|
nav_bar:
|
34
34
|
enabled: true
|
35
|
-
|
36
35
|
fixed: true
|
37
36
|
|
38
37
|
# ----------------------------------------------------------------------------
|
@@ -40,7 +39,6 @@ settings:
|
|
40
39
|
#
|
41
40
|
nav_menu:
|
42
41
|
enabled: true
|
43
|
-
|
44
42
|
delay_open_menu: 250
|
45
43
|
|
46
44
|
# ----------------------------------------------------------------------------
|
@@ -78,7 +76,7 @@ settings:
|
|
78
76
|
# DRAWER Sidebar
|
79
77
|
#
|
80
78
|
- menu:
|
81
|
-
enabled:
|
79
|
+
enabled: false
|
82
80
|
|
83
81
|
xhr_container_id: navigator_sidebar_mmenu
|
84
82
|
xhr_data_path: /assets/data/mmenu_sidebar/index.html
|
@@ -215,7 +213,7 @@ settings:
|
|
215
213
|
|
216
214
|
r_text_sizer: false # true | false
|
217
215
|
|
218
|
-
github_url: https://github.com/jekyll-one
|
216
|
+
github_url: none # https://github.com/jekyll-one
|
219
217
|
disqus_url: none # https://disqus.com/
|
220
218
|
patreon_url: none # https://www.patreon.com/jekyll_one/posts
|
221
219
|
|