chulapa-jekyll 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +116 -0
- data/README.md +189 -204
- data/_data/version.yml +2 -2
- data/_includes/components/archive-documents.html +56 -0
- data/_includes/components/author.html +6 -1
- data/_includes/components/breadcrumbdatesocial.html +1 -1
- data/_includes/components/cactus.html +2 -1
- data/_includes/components/cloud-entry.html +26 -0
- data/_includes/components/cloud.html +66 -0
- data/_includes/components/collection-documents.html +17 -0
- data/_includes/components/footer-content.html +34 -0
- data/_includes/components/headers.html +5 -5
- data/_includes/components/indexcards.html +13 -10
- data/_includes/components/indexcategory-documents.html +11 -0
- data/_includes/components/navbar-classic.html +58 -0
- data/_includes/components/navbeforeafter.html +7 -4
- data/_includes/components/navigation-fallback.html +19 -0
- data/_includes/components/random.html +1 -103
- data/_includes/components/recommendations.html +97 -0
- data/_includes/components/related.html +1 -96
- data/_includes/components/scripts.html +9 -0
- data/_includes/components/sidetoc.html +5 -4
- data/_includes/components/simplelist.html +6 -6
- data/_includes/components/skin-attribution.html +169 -0
- data/_includes/components/theme-selector.html +14 -0
- data/_includes/footer.html +14 -217
- data/_includes/head.html +265 -257
- data/_includes/navbar.html +33 -77
- data/_includes/search/fusejs.html +3 -19
- data/_includes/search/google.html +3 -3
- data/_includes/search/lunr.html +3 -11
- data/_includes/search/simplesearch.html +6 -6
- data/_includes/snippets/bootstrapdemo.html +28 -10
- data/_includes/snippets/carousel.html +16 -12
- data/_includes/snippets/dark-skin-enabled.html +14 -0
- data/_includes/snippets/masonry.html +6 -4
- data/_includes/snippets/microformats-url.html +2 -0
- data/_includes/snippets/publisher.html +15 -18
- data/_includes/snippets/video.html +6 -6
- data/_includes/snippets/youtube.html +10 -4
- data/_includes/theme-styles.html +201 -0
- data/_includes/welcomments/comment_form.html +5 -4
- data/_includes/welcomments/comments.html +5 -5
- data/_layouts/archive.html +2 -75
- data/_layouts/cloudcategory.html +2 -101
- data/_layouts/cloudtag.html +2 -103
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +17 -6
- data/_layouts/indexcategory.html +2 -30
- data/_layouts/landingpage.html +6 -4
- data/_layouts/minimal.html +12 -8
- data/_layouts/search.html +6 -5
- data/_sass/bootstrap/_variables.scss +1 -1
- data/_sass/bootstrap/mixins/_badge.scss +1 -1
- data/_sass/chulapa/_autothemer.scss +31 -0
- data/_sass/chulapa/_buttons.scss +101 -0
- data/_sass/chulapa/_classes.scss +137 -9
- data/_sass/chulapa/_mixins.scss +42 -1
- data/_sass/chulapa/_theme-selector.scss +1 -0
- data/_sass/chulapa/skins/_deeply.scss +229 -0
- data/_sass/chulapa/skins/_electro.scss +30 -0
- data/_sass/chulapa/skins/_graymor.scss +39 -0
- data/_sass/chulapa/skins/_hootstrap.scss +34 -0
- data/_sass/chulapa/skins/_lymcha.scss +27 -0
- data/_sass/chulapa/skins/_mickie.scss +38 -0
- data/_sass/chulapa/skins/_minco.scss +45 -0
- data/_sass/chulapa/skins/_monotone.scss +15 -0
- data/_sass/chulapa/skins/_preptor.scss +30 -0
- data/_sass/chulapa/skins/_skeeblu.scss +34 -0
- data/_sass/chulapa/skins/_sunset.scss +33 -0
- data/_sass/chulapa/skins/_wandoo.scss +22 -0
- data/_sass/chulapa/skins/bootswatch/_cyborg.scss +543 -0
- data/_sass/chulapa/skins/bootswatch/_darkly.scss +452 -0
- data/_sass/chulapa/skins/bootswatch/_flatly.scss +415 -0
- data/_sass/chulapa/skins/bootswatch/_journal.scss +163 -0
- data/_sass/chulapa/skins/bootswatch/_lux.scss +342 -0
- data/_sass/chulapa/skins/bootswatch/_materia.scss +914 -0
- data/_sass/chulapa/skins/bootswatch/_minty.scss +342 -0
- data/_sass/chulapa/skins/bootswatch/_sketchy.scss +757 -0
- data/_sass/chulapa/skins/bootswatch/_slate.scss +746 -0
- data/_sass/chulapa/skins/bootswatch/_solar.scss +454 -0
- data/_sass/chulapa/skins/bootswatch/_united.scss +85 -0
- data/_sass/chulapa/skins/bootswatch/_yeti.scss +699 -0
- data/_sass/chulapa/skins/bootswatch/cyborg.patch +301 -0
- data/_sass/chulapa/skins/bootswatch/darkly.patch +493 -0
- data/_sass/chulapa/skins/bootswatch/flatly.patch +325 -0
- data/_sass/chulapa/skins/bootswatch/journal.patch +71 -0
- data/_sass/chulapa/skins/bootswatch/lux.patch +97 -0
- data/_sass/chulapa/skins/bootswatch/materia.patch +250 -0
- data/_sass/chulapa/skins/bootswatch/minty.patch +400 -0
- data/_sass/chulapa/skins/bootswatch/sketchy.patch +863 -0
- data/_sass/chulapa/skins/bootswatch/slate.patch +537 -0
- data/_sass/chulapa/skins/bootswatch/solar.patch +307 -0
- data/_sass/chulapa/skins/bootswatch/united.patch +91 -0
- data/_sass/chulapa/skins/bootswatch/yeti.patch +552 -0
- data/_sass/chulapa-master.scss +10 -0
- data/_sass/skins/academia.scss +28 -0
- data/_sass/skins/auto.scss +23 -28
- data/_sass/skins/butterfly-dark.scss +22 -3
- data/_sass/skins/butterfly-dim.scss +32 -5
- data/_sass/skins/butterfly.scss +35 -3
- data/_sass/skins/cerulean.scss +120 -0
- data/_sass/skins/chulapa.scss +23 -3
- data/_sass/skins/cyborg.scss +3 -512
- data/_sass/skins/darkly.scss +3 -424
- data/_sass/skins/deeply.scss +10 -279
- data/_sass/skins/electro.scss +4 -25
- data/_sass/skins/flatly.scss +3 -386
- data/_sass/skins/focal.scss +33 -2
- data/_sass/skins/gitdev-dark.scss +19 -8
- data/_sass/skins/gitdev.scss +2 -2
- data/_sass/skins/graymor.scss +7 -30
- data/_sass/skins/hootstrap.scss +5 -19
- data/_sass/skins/journal.scss +3 -131
- data/_sass/skins/listen.scss +35 -3
- data/_sass/skins/litera.scss +281 -0
- data/_sass/skins/lux.scss +3 -310
- data/_sass/skins/lymcha.scss +4 -17
- data/_sass/skins/materia.scss +3 -889
- data/_sass/skins/media.scss +11 -1
- data/_sass/skins/mickie.scss +7 -26
- data/_sass/skins/minco.scss +10 -29
- data/_sass/skins/minty.scss +3 -309
- data/_sass/skins/monotone.scss +6 -24
- data/_sass/skins/navi.scss +29 -1
- data/_sass/skins/none.scss +24 -2
- data/_sass/skins/pear.scss +34 -1
- data/_sass/skins/preptor.scss +6 -16
- data/_sass/skins/pulse.scss +158 -0
- data/_sass/skins/skeeblu.scss +6 -17
- data/_sass/skins/sketchy.scss +3 -735
- data/_sass/skins/slate.scss +3 -719
- data/_sass/skins/solar.scss +3 -425
- data/_sass/skins/sunset.scss +6 -26
- data/_sass/skins/towards.scss +26 -1
- data/_sass/skins/twitter-dim.scss +43 -5
- data/_sass/skins/twitter-lights-out.scss +25 -3
- data/_sass/skins/twitter.scss +32 -3
- data/_sass/skins/united.scss +3 -57
- data/_sass/skins/universal.scss +17 -0
- data/_sass/skins/wandoo.scss +6 -12
- data/_sass/skins/yeti.scss +3 -673
- data/_sass/vendor/bootswatch/LICENSE +21 -0
- data/_sass/vendor/bootswatch/LICENSE-4.5.0 +21 -0
- data/_sass/vendor/bootswatch/README.md +57 -0
- data/_sass/vendor/bootswatch/cerulean/_bootswatch.scss +102 -0
- data/_sass/vendor/bootswatch/cerulean/_variables.scss +57 -0
- data/_sass/vendor/bootswatch/cyborg/_bootswatch.scss +330 -0
- data/_sass/vendor/bootswatch/cyborg/_variables.scss +169 -0
- data/_sass/vendor/bootswatch/darkly/_bootswatch.scss +247 -0
- data/_sass/vendor/bootswatch/darkly/_variables.scss +164 -0
- data/_sass/vendor/bootswatch/flatly/_bootswatch.scss +274 -0
- data/_sass/vendor/bootswatch/flatly/_variables.scss +106 -0
- data/_sass/vendor/bootswatch/journal/_bootswatch.scss +62 -0
- data/_sass/vendor/bootswatch/journal/_variables.scss +60 -0
- data/_sass/vendor/bootswatch/litera/_bootswatch.scss +268 -0
- data/_sass/vendor/bootswatch/litera/_variables.scss +96 -0
- data/_sass/vendor/bootswatch/lux/_bootswatch.scss +191 -0
- data/_sass/vendor/bootswatch/lux/_variables.scss +103 -0
- data/_sass/vendor/bootswatch/materia/_bootswatch.scss +747 -0
- data/_sass/vendor/bootswatch/materia/_variables.scss +129 -0
- data/_sass/vendor/bootswatch/minty/_bootswatch.scss +380 -0
- data/_sass/vendor/bootswatch/minty/_variables.scss +94 -0
- data/_sass/vendor/bootswatch/pulse/_bootswatch.scss +145 -0
- data/_sass/vendor/bootswatch/pulse/_variables.scss +96 -0
- data/_sass/vendor/bootswatch/sketchy/_bootswatch.scss +492 -0
- data/_sass/vendor/bootswatch/sketchy/_variables.scss +172 -0
- data/_sass/vendor/bootswatch/slate/_bootswatch.scss +531 -0
- data/_sass/vendor/bootswatch/slate/_variables.scss +163 -0
- data/_sass/vendor/bootswatch/solar/_bootswatch.scss +243 -0
- data/_sass/vendor/bootswatch/solar/_variables.scss +171 -0
- data/_sass/vendor/bootswatch/source.json +86 -0
- data/_sass/vendor/bootswatch/united/_bootswatch.scss +10 -0
- data/_sass/vendor/bootswatch/united/_variables.scss +54 -0
- data/_sass/vendor/bootswatch/yeti/_bootswatch.scss +586 -0
- data/_sass/vendor/bootswatch/yeti/_variables.scss +110 -0
- data/_sass/vendor/tophat/LICENSE +21 -0
- data/_sass/vendor/tophat/README.md +38 -0
- data/_sass/vendor/tophat/deeply/_styles.scss +6 -0
- data/_sass/vendor/tophat/deeply/_variables.scss +73 -0
- data/_sass/vendor/tophat/deeply/theme.scss +77 -0
- data/_sass/vendor/tophat/electro/_styles.scss +5 -0
- data/_sass/vendor/tophat/electro/_variables.scss +23 -0
- data/_sass/vendor/tophat/electro/theme.scss +28 -0
- data/_sass/vendor/tophat/graymor/_styles.scss +5 -0
- data/_sass/vendor/tophat/graymor/_variables.scss +18 -0
- data/_sass/vendor/tophat/graymor/theme.scss +24 -0
- data/_sass/vendor/tophat/hootstrap/_styles.scss +5 -0
- data/_sass/vendor/tophat/hootstrap/_variables.scss +14 -0
- data/_sass/vendor/tophat/hootstrap/theme.scss +18 -0
- data/_sass/vendor/tophat/lymcha/_styles.scss +5 -0
- data/_sass/vendor/tophat/lymcha/_variables.scss +13 -0
- data/_sass/vendor/tophat/lymcha/theme.scss +16 -0
- data/_sass/vendor/tophat/mickie/_styles.scss +5 -0
- data/_sass/vendor/tophat/mickie/_variables.scss +13 -0
- data/_sass/vendor/tophat/mickie/theme.scss +17 -0
- data/_sass/vendor/tophat/minco/_styles.scss +5 -0
- data/_sass/vendor/tophat/minco/_variables.scss +14 -0
- data/_sass/vendor/tophat/minco/theme.scss +18 -0
- data/_sass/vendor/tophat/monotone/_styles.scss +5 -0
- data/_sass/vendor/tophat/monotone/_variables.scss +14 -0
- data/_sass/vendor/tophat/monotone/theme.scss +18 -0
- data/_sass/vendor/tophat/preptor/_styles.scss +5 -0
- data/_sass/vendor/tophat/preptor/_variables.scss +14 -0
- data/_sass/vendor/tophat/preptor/theme.scss +18 -0
- data/_sass/vendor/tophat/skeeblu/_styles.scss +5 -0
- data/_sass/vendor/tophat/skeeblu/_variables.scss +17 -0
- data/_sass/vendor/tophat/skeeblu/theme.scss +22 -0
- data/_sass/vendor/tophat/source.json +57 -0
- data/_sass/vendor/tophat/sunset/_styles.scss +5 -0
- data/_sass/vendor/tophat/sunset/_variables.scss +13 -0
- data/_sass/vendor/tophat/sunset/theme.scss +16 -0
- data/_sass/vendor/tophat/wandoo/_styles.scss +5 -0
- data/_sass/vendor/tophat/wandoo/_variables.scss +18 -0
- data/_sass/vendor/tophat/wandoo/theme.scss +24 -0
- data/assets/css/dark/highlighter.scss +10 -0
- data/assets/css/dark/main.scss +43 -0
- data/assets/css/highlighter.scss +6 -1
- data/assets/css/main.scss +12 -3
- data/assets/css/search-fusejs.css +14 -0
- data/assets/css/search-lunr.css +7 -0
- data/assets/js/better404/better404.js +31 -38
- data/assets/js/ch_ytdefer/ch_ytdefer.js +27 -82
- data/assets/js/chulapa_carousel.js +115 -0
- data/assets/js/chulapa_mermaid.js +31 -0
- data/assets/js/chulapa_navigation.js +71 -0
- data/assets/js/chulapa_photoswipe.js +106 -0
- data/assets/js/chulapa_script.js +198 -76
- data/assets/js/chulapa_search.js +89 -0
- data/assets/js/clipboard/chulapa_clipboard.js +17 -108
- data/assets/js/cusdis/chulapa_cusdis.js +1 -1
- data/assets/js/fusejs/fusejs-search.js +5 -140
- data/assets/js/fusejs/fusejs-search.min.js +4 -4
- data/assets/js/lunr/lunr-search.js +7 -130
- data/assets/js/lunr/lunr-search.min.js +1 -1
- metadata +141 -2
data/_layouts/default.html
CHANGED
|
@@ -2,18 +2,25 @@
|
|
|
2
2
|
layout: minimal
|
|
3
3
|
header_in_content: true
|
|
4
4
|
---
|
|
5
|
+
{%- assign is_feed = false -%}
|
|
6
|
+
{%- if layout.chulapa_microformats_feed == true -%}
|
|
7
|
+
{%- assign is_feed = true -%}
|
|
8
|
+
{%- endif -%}
|
|
9
|
+
<div class="{% if is_feed %}h-feed{% else %}h-entry{% endif %} d-flex flex-column flex-fill">
|
|
10
|
+
{% include snippets/microformats-url.html %}
|
|
11
|
+
<main class="d-flex flex-column flex-fill">
|
|
5
12
|
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
|
6
|
-
<
|
|
13
|
+
<div class="container-lg pb-3 flex-fill">
|
|
7
14
|
{% if page.show_breadcrumb or page.show_date or page.show_sociallinks -%}
|
|
8
15
|
{%- include components/breadcrumbdatesocial.html -%}
|
|
9
16
|
{% endif %}
|
|
10
17
|
<div class="row pt-2">
|
|
11
|
-
<aside class="col-lg-2 mt-lg-3 small">
|
|
18
|
+
<{% if page.show_author %}aside{% else %}div{% endif %} class="col-lg-2 mt-lg-3 small">
|
|
12
19
|
{%- if page.show_author -%}
|
|
13
20
|
{% include components/author.html %}
|
|
14
21
|
{%- endif -%}
|
|
15
|
-
</aside>
|
|
16
|
-
<article id="maincontent" class="col-lg-8 mt-3
|
|
22
|
+
</{% if page.show_author %}aside{% else %}div{% endif %}>
|
|
23
|
+
<{% if is_feed %}div{% else %}article{% endif %} id="maincontent" class="col-lg-8 mt-3">
|
|
17
24
|
{% if page.show_sidetoc %}
|
|
18
25
|
|
|
19
26
|
{% include components/sidetoc.html %}
|
|
@@ -26,9 +33,12 @@ header_in_content: true
|
|
|
26
33
|
{% include components/toc.html sanitize=false html=content h_min=h_min h_max=h_max skip_no_ids=true id="toc" class="chulapa-toc-wrapper.list-group.mb-5.mx-3.mx-lg-5" item_class="list-group-item.font-weight-bold.py-1.pr-0.mr-0.chulapa-toc-reset" %}
|
|
27
34
|
</nav>
|
|
28
35
|
{% endif %}
|
|
36
|
+
{% unless is_feed %}<div class="e-content">{% endunless %}
|
|
29
37
|
{{- content -}}
|
|
30
|
-
</
|
|
38
|
+
{% unless is_feed %}</div>{% endunless %}
|
|
39
|
+
</{% if is_feed %}div{% else %}article{% endif %}>
|
|
31
40
|
</div>
|
|
41
|
+
</div>
|
|
32
42
|
</main>
|
|
33
43
|
{%- if page.show_bottomnavs -%}
|
|
34
44
|
{%- include components/navbeforeafter.html -%}
|
|
@@ -48,6 +58,7 @@ header_in_content: true
|
|
|
48
58
|
{%- if page.show_related -%}
|
|
49
59
|
{%- include components/related.html -%}
|
|
50
60
|
{%- endif -%}
|
|
51
|
-
|
|
61
|
+
{%- if page.show_random -%}
|
|
52
62
|
{%- include components/random.html -%}
|
|
53
63
|
{%- endif -%}
|
|
64
|
+
</div>
|
data/_layouts/indexcategory.html
CHANGED
|
@@ -1,36 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
|
+
chulapa_microformats_feed: true
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
{{- content -}}
|
|
6
7
|
|
|
7
|
-
{%-
|
|
8
|
-
{%- assign cols = page.include_collection | split: "," -%}
|
|
9
|
-
{%- for col in cols -%}
|
|
10
|
-
{%- if forloop.first -%}
|
|
11
|
-
{%- assign alldocs = site.documents |
|
|
12
|
-
where_exp: "item", "item.collection == col" -%}
|
|
13
|
-
{%- assign showcol = false -%}
|
|
14
|
-
{%- else -%}
|
|
15
|
-
{%- assign docloop = site.documents |
|
|
16
|
-
where_exp: "item", "item.collection == col" -%}
|
|
17
|
-
{%- assign alldocs = alldocs | concat: docloop %}
|
|
18
|
-
{%- assign showcol = true -%}
|
|
19
|
-
{%- endif -%}
|
|
20
|
-
{%- endfor -%}
|
|
21
|
-
{%- else -%}
|
|
22
|
-
{%- assign alldocs = site.documents -%}
|
|
23
|
-
{%- assign showcol = true -%}
|
|
24
|
-
{% endif %}
|
|
25
|
-
|
|
26
|
-
{% assign sort = page.index_sort | default: 'name' %}
|
|
27
|
-
|
|
28
|
-
{% if page.index_sort_asc %}
|
|
29
|
-
{% assign alldocs = alldocs | sort: "{{sort}}" %}
|
|
30
|
-
{% else %}
|
|
31
|
-
{% assign alldocs = alldocs | sort: "{{sort}}" | reverse %}
|
|
32
|
-
{% endif %}
|
|
33
|
-
|
|
34
|
-
{% assign end = page.index_items | default: 10 %}
|
|
35
|
-
|
|
36
|
-
{% include_cached components/indexcards.html cacheddocs=alldocs cachedlimit=end %}
|
|
8
|
+
{%- include components/collection-documents.html renderer='components/indexcategory-documents.html' -%}
|
data/_layouts/landingpage.html
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
layout: minimal
|
|
3
3
|
header_in_content: true
|
|
4
4
|
---
|
|
5
|
+
<div class="h-entry d-flex flex-column flex-fill">
|
|
6
|
+
{% include snippets/microformats-url.html %}
|
|
5
7
|
<div class="chulapa-bg-landingpage">
|
|
6
8
|
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
|
7
9
|
</div>
|
|
@@ -11,11 +13,11 @@ header_in_content: true
|
|
|
11
13
|
{%- include components/breadcrumbdatesocial.html -%}
|
|
12
14
|
{% endif %}
|
|
13
15
|
<div class="row pt-2">
|
|
14
|
-
<aside class="col-lg-2 mt-lg-3 small">
|
|
16
|
+
<{% if page.show_author %}aside{% else %}div{% endif %} class="col-lg-2 mt-lg-3 small">
|
|
15
17
|
{%- if page.show_author -%}
|
|
16
18
|
{% include components/author.html %}
|
|
17
19
|
{%- endif -%}
|
|
18
|
-
</aside>
|
|
20
|
+
</{% if page.show_author %}aside{% else %}div{% endif %}>
|
|
19
21
|
<article id="maincontent" class="col-lg-8 mt-3 e-content">
|
|
20
22
|
|
|
21
23
|
{% if page.show_sidetoc %}
|
|
@@ -64,9 +66,9 @@ header_in_content: true
|
|
|
64
66
|
{%- include components/related.html -%}
|
|
65
67
|
</div>
|
|
66
68
|
{%- endif -%}
|
|
67
|
-
|
|
69
|
+
{%- if page.show_random -%}
|
|
68
70
|
<div class="chulapa-landingpage-related">
|
|
69
71
|
{%- include components/random.html -%}
|
|
70
72
|
</div>
|
|
71
73
|
{%- endif -%}
|
|
72
|
-
|
|
74
|
+
</div>
|
data/_layouts/minimal.html
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: compress
|
|
3
3
|
---
|
|
4
|
-
<!doctype html>
|
|
5
4
|
{%- include snippets/page-language.html -%}
|
|
5
|
+
<!doctype html>
|
|
6
6
|
<html lang="{{ page_language | escape }}">
|
|
7
|
-
{
|
|
7
|
+
{% include head.html theme_script=true %}
|
|
8
8
|
{%- include snippets/canonical-url.html url=page.url canonical=page.canonical_url -%}
|
|
9
|
-
<body class="d-flex flex-column
|
|
10
|
-
<a class="
|
|
9
|
+
<body {% if page.mermaid == true %}data-mermaid="true" {% endif %}class="d-flex flex-column" id="body">
|
|
10
|
+
<a class="sr-only sr-only-focusable chulapa-skip-link" href="#chulapa-content">Skip to content</a>
|
|
11
11
|
{% include_cached navbar.html pageurl=page.url %}
|
|
12
12
|
{% if page.show_header == true %}
|
|
13
13
|
{% unless layout.header_in_content %}
|
|
14
14
|
{% include components/headers.html headertype=page.header_type imghero=page.header_img projects=page.project_links %}
|
|
15
15
|
{% endunless %}
|
|
16
16
|
{% endif %}
|
|
17
|
+
<div id="chulapa-content" tabindex="-1"></div>
|
|
17
18
|
{{- content -}}
|
|
18
19
|
{%- include_cached footer.html show_comments=page.show_comments pageurl=page.url pageid=page.id pagetitle = page.title -%}
|
|
19
20
|
<!-- JS, Popper.js, and jQuery -->
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<script src="
|
|
23
|
-
|
|
21
|
+
{% include components/scripts.html theme=true %}
|
|
22
|
+
{% if page.mermaid == true %}
|
|
23
|
+
<script type="module" src="{{ "/assets/js/chulapa_mermaid.js" | relative_url }}"></script>
|
|
24
|
+
{% endif %}
|
|
25
|
+
{% if content contains 'data-photoswipe-gallery="' %}
|
|
26
|
+
<script type="module" src="{{ '/assets/js/chulapa_photoswipe.js' | relative_url }}"></script>
|
|
27
|
+
{% endif %}
|
|
24
28
|
{% include custom/custom_bottomscripts.html %}
|
|
25
29
|
</body>
|
|
26
30
|
</html>
|
data/_layouts/search.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
1
|
{%- include snippets/page-language.html -%}
|
|
2
|
+
<!doctype html>
|
|
3
3
|
<html lang="{{ page_language | escape }}">
|
|
4
|
-
|
|
4
|
+
{% include head.html %}
|
|
5
5
|
<body class="d-flex flex-column">
|
|
6
6
|
{% include_cached navbar.html pageurl=page.url %}
|
|
7
7
|
<header class="text-center header-chulapa">
|
|
@@ -33,9 +33,10 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
</main>
|
|
35
35
|
{%- include_cached footer.html -%}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
{% include components/scripts.html %}
|
|
37
|
+
{% if site.search.provider == "lunr" or site.search.provider == "fusejs" %}
|
|
38
|
+
<script src="{{ '/assets/js/chulapa_search.js' | relative_url }}"></script>
|
|
39
|
+
{% endif %}
|
|
39
40
|
{%- if site.search.provider == "lunr" -%}
|
|
40
41
|
<script src="https://unpkg.com/lunr/lunr.min.js"></script>
|
|
41
42
|
<script src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
|
|
@@ -43,7 +43,7 @@ $orange: #fd7e14 !default;
|
|
|
43
43
|
$yellow: #ffc107 !default;
|
|
44
44
|
$green: #28a745 !default;
|
|
45
45
|
$teal: #20c997 !default;
|
|
46
|
-
$cyan: #
|
|
46
|
+
$cyan: #20a6bb !default;
|
|
47
47
|
|
|
48
48
|
$colors: () !default;
|
|
49
49
|
// stylelint-disable-next-line scss/dollar-variable-default
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Chulapa - Bootstrap Autothemer
|
|
3
|
+
* Copyright 2020 Chulapa Jekyll Skin Author
|
|
4
|
+
* Licensed under MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
$primary: #007bff !default;
|
|
8
|
+
$yiq-contrasted-threshold: 117 !default;
|
|
9
|
+
$white: mix(#fff, $primary, 95%) !default;
|
|
10
|
+
$gray-100: mix(#f8f9fa, $primary, 85%) !default;
|
|
11
|
+
$gray-200: mix(#e9ecef, $primary, 85%) !default;
|
|
12
|
+
$gray-300: mix(#dee2e6, $primary, 85%) !default;
|
|
13
|
+
$gray-400: mix(#ced4da, $primary, 85%) !default;
|
|
14
|
+
$gray-500: mix(#adb5bd, $primary, 85%) !default;
|
|
15
|
+
$gray-600: mix(#6c757d, $primary, 85%) !default;
|
|
16
|
+
$gray-700: mix(#495057, $primary, 85%) !default;
|
|
17
|
+
$gray-800: mix(#343a40, $primary, 85%) !default;
|
|
18
|
+
$gray-900: mix(#212529, $primary, 85%) !default;
|
|
19
|
+
$black: mix(#000, $primary, 95%) !default;
|
|
20
|
+
|
|
21
|
+
$secondary: $gray-600 !default;
|
|
22
|
+
$success: mix(#28a745, $primary, 75%) !default;
|
|
23
|
+
$info: mix(#17a2b8, $primary, 75%) !default;
|
|
24
|
+
$warning: mix(#ffc107, $primary, 75%) !default;
|
|
25
|
+
$danger: mix(#dc3545, $primary, 75%) !default;
|
|
26
|
+
$light: mix(white, $primary, 75%) !default;
|
|
27
|
+
$dark: mix(black, $primary, 75%) !default;
|
|
28
|
+
|
|
29
|
+
$carousel-control-color: $dark !default;
|
|
30
|
+
$carousel-indicator-active-bg: $dark !default;
|
|
31
|
+
$code-color: #E80E61 !default;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// Corrections apply only to stock colors; site vars retain Bootstrap behavior.
|
|
2
|
+
$skin-button-labels: () !default;
|
|
3
|
+
$skin-button-outlines: () !default;
|
|
4
|
+
$skin-button-backgrounds: () !default;
|
|
5
|
+
$skin-button-palette: () !default;
|
|
6
|
+
$skin-button-body-bg: null !default;
|
|
7
|
+
$skin-button-lighter-states: () !default;
|
|
8
|
+
$skin-button-outline-important: () !default;
|
|
9
|
+
|
|
10
|
+
// Some legacy skins initialize $theme-colors before vars; check both views.
|
|
11
|
+
$skin-button-effective-palette: (
|
|
12
|
+
primary: $primary,
|
|
13
|
+
secondary: $secondary,
|
|
14
|
+
success: $success,
|
|
15
|
+
info: $info,
|
|
16
|
+
warning: $warning,
|
|
17
|
+
danger: $danger,
|
|
18
|
+
light: $light,
|
|
19
|
+
dark: $dark,
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
@each $variant, $background in $skin-button-backgrounds {
|
|
23
|
+
$stock: map-get($skin-button-palette, $variant);
|
|
24
|
+
@if $stock == map-get($skin-button-effective-palette, $variant) and $stock == theme-color($variant) {
|
|
25
|
+
.btn-#{$variant} {
|
|
26
|
+
@include button-variant($background, $background);
|
|
27
|
+
&,
|
|
28
|
+
&:hover,
|
|
29
|
+
&:focus,
|
|
30
|
+
&.focus,
|
|
31
|
+
&:disabled,
|
|
32
|
+
&.disabled,
|
|
33
|
+
&:not(:disabled):not(.disabled):active,
|
|
34
|
+
&:not(:disabled):not(.disabled).active,
|
|
35
|
+
.show > &.dropdown-toggle {
|
|
36
|
+
color: #fff;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@each $variant, $label in $skin-button-labels {
|
|
43
|
+
$stock: map-get($skin-button-palette, $variant);
|
|
44
|
+
@if $stock == map-get($skin-button-effective-palette, $variant) and $stock == theme-color($variant) {
|
|
45
|
+
.btn-#{$variant} {
|
|
46
|
+
&,
|
|
47
|
+
&:hover,
|
|
48
|
+
&:focus,
|
|
49
|
+
&.focus,
|
|
50
|
+
&:disabled,
|
|
51
|
+
&.disabled,
|
|
52
|
+
&:not(:disabled):not(.disabled):active,
|
|
53
|
+
&:not(:disabled):not(.disabled).active,
|
|
54
|
+
.show > &.dropdown-toggle {
|
|
55
|
+
color: $label;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@each $variant, $label in $skin-button-outlines {
|
|
62
|
+
$stock: map-get($skin-button-palette, $variant);
|
|
63
|
+
@if $stock == map-get($skin-button-effective-palette, $variant) and $stock == theme-color($variant) and $skin-button-body-bg == $body-bg {
|
|
64
|
+
.btn-outline-#{$variant} {
|
|
65
|
+
// Lux's upstream Secondary rule also forces these properties.
|
|
66
|
+
@if index($skin-button-outline-important, $variant) {
|
|
67
|
+
color: $label !important;
|
|
68
|
+
border-color: $label !important;
|
|
69
|
+
}
|
|
70
|
+
&:not(:hover):not(:active):not(.active):not(.disabled):not(:disabled) {
|
|
71
|
+
color: $label;
|
|
72
|
+
border-color: $label;
|
|
73
|
+
|
|
74
|
+
.show > &.dropdown-toggle {
|
|
75
|
+
color: color-yiq(theme-color($variant));
|
|
76
|
+
border-color: theme-color($variant);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@each $variant in $skin-button-lighter-states {
|
|
84
|
+
$stock: map-get($skin-button-palette, $variant);
|
|
85
|
+
@if $stock == map-get($skin-button-effective-palette, $variant) and $stock == theme-color($variant) {
|
|
86
|
+
.btn.btn-#{$variant}:not(:disabled):not(.disabled) {
|
|
87
|
+
&:hover,
|
|
88
|
+
&:focus,
|
|
89
|
+
&.focus {
|
|
90
|
+
background-color: lighten(theme-color($variant), 3%);
|
|
91
|
+
color: $gray-900;
|
|
92
|
+
}
|
|
93
|
+
&:active,
|
|
94
|
+
&.active,
|
|
95
|
+
.show > &.dropdown-toggle {
|
|
96
|
+
background-color: lighten(theme-color($variant), 5%);
|
|
97
|
+
color: $gray-900;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
data/_sass/chulapa/_classes.scss
CHANGED
|
@@ -558,6 +558,14 @@
|
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
+
#toc a.chulapa-toc-active,
|
|
562
|
+
#sidetoc a.chulapa-toc-active,
|
|
563
|
+
#markdown-toc a.chulapa-toc-active {
|
|
564
|
+
text-decoration: underline !important;
|
|
565
|
+
text-decoration-thickness: 0.125em;
|
|
566
|
+
text-underline-offset: 0.2em;
|
|
567
|
+
}
|
|
568
|
+
|
|
561
569
|
.chulapa-toc-reset {
|
|
562
570
|
border: 0;
|
|
563
571
|
ul {
|
|
@@ -736,7 +744,7 @@
|
|
|
736
744
|
|
|
737
745
|
//Navbar modern
|
|
738
746
|
.navbar-chulapa-fab {
|
|
739
|
-
|
|
747
|
+
button {
|
|
740
748
|
line-height: unset;
|
|
741
749
|
}
|
|
742
750
|
|
|
@@ -773,6 +781,8 @@
|
|
|
773
781
|
z-index: 15000;
|
|
774
782
|
opacity: 0;
|
|
775
783
|
width: 0;
|
|
784
|
+
visibility: hidden;
|
|
785
|
+
overflow-y: auto;
|
|
776
786
|
transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
|
777
787
|
}
|
|
778
788
|
|
|
@@ -815,7 +825,8 @@
|
|
|
815
825
|
color: $navbar-chulapa-text-color;
|
|
816
826
|
|
|
817
827
|
&:link,
|
|
818
|
-
&:visited
|
|
828
|
+
&:visited,
|
|
829
|
+
&.dropdown-toggle {
|
|
819
830
|
display: inline-block;
|
|
820
831
|
background-image: linear-gradient(
|
|
821
832
|
120deg,
|
|
@@ -871,13 +882,14 @@
|
|
|
871
882
|
}
|
|
872
883
|
}
|
|
873
884
|
|
|
874
|
-
&-button
|
|
885
|
+
&-button[aria-expanded="true"] ~ &-background {
|
|
875
886
|
transform: scale(80);
|
|
876
887
|
}
|
|
877
888
|
|
|
878
|
-
&-button
|
|
889
|
+
&-button[aria-expanded="true"] ~ &-nav {
|
|
879
890
|
opacity: 1;
|
|
880
891
|
width: 100%;
|
|
892
|
+
visibility: visible;
|
|
881
893
|
|
|
882
894
|
.navbar-nav {
|
|
883
895
|
transform: translate(100vw, -50%);
|
|
@@ -913,16 +925,16 @@
|
|
|
913
925
|
}
|
|
914
926
|
}
|
|
915
927
|
|
|
916
|
-
&-button
|
|
928
|
+
&-button[aria-expanded="true"] .navbar-toggler-icon {
|
|
917
929
|
background-color: transparent;
|
|
918
930
|
}
|
|
919
931
|
|
|
920
|
-
&-button
|
|
932
|
+
&-button[aria-expanded="true"] .navbar-toggler-icon::before {
|
|
921
933
|
top: 0;
|
|
922
934
|
transform: rotate(135deg);
|
|
923
935
|
}
|
|
924
936
|
|
|
925
|
-
&-button
|
|
937
|
+
&-button[aria-expanded="true"] .navbar-toggler-icon::after {
|
|
926
938
|
top: 0;
|
|
927
939
|
transform: rotate(-135deg);
|
|
928
940
|
}
|
|
@@ -962,7 +974,8 @@ h6 {
|
|
|
962
974
|
}
|
|
963
975
|
}
|
|
964
976
|
|
|
965
|
-
&:hover .chulapa-header-link
|
|
977
|
+
&:hover .chulapa-header-link,
|
|
978
|
+
.chulapa-header-link:focus {
|
|
966
979
|
opacity: 1;
|
|
967
980
|
}
|
|
968
981
|
}
|
|
@@ -998,6 +1011,13 @@ h6 {
|
|
|
998
1011
|
object-fit: contain;
|
|
999
1012
|
}
|
|
1000
1013
|
|
|
1014
|
+
// The viewer's controls sit over images; use a two-color keyboard focus ring.
|
|
1015
|
+
.pswp .pswp__button:focus-visible {
|
|
1016
|
+
outline: 2px solid #fff !important;
|
|
1017
|
+
outline-offset: -5px;
|
|
1018
|
+
box-shadow: inset 0 0 0 7px #000;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1001
1021
|
.chulapa-border-card-index {
|
|
1002
1022
|
border-color: $indexcards-chulapa-border-color;
|
|
1003
1023
|
}
|
|
@@ -1055,7 +1075,6 @@ h6 {
|
|
|
1055
1075
|
}
|
|
1056
1076
|
|
|
1057
1077
|
&:focus {
|
|
1058
|
-
outline: 0;
|
|
1059
1078
|
text-shadow: none;
|
|
1060
1079
|
}
|
|
1061
1080
|
}
|
|
@@ -1278,3 +1297,112 @@ $wlc-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
|
|
|
1278
1297
|
#disqus_recommendations {
|
|
1279
1298
|
width: 100%;
|
|
1280
1299
|
}
|
|
1300
|
+
|
|
1301
|
+
// Keep keyboard focus visible across skins and Bootstrap controls.
|
|
1302
|
+
a:focus-visible,
|
|
1303
|
+
button:focus-visible,
|
|
1304
|
+
input:focus-visible,
|
|
1305
|
+
select:focus-visible,
|
|
1306
|
+
textarea:focus-visible,
|
|
1307
|
+
[tabindex]:focus-visible {
|
|
1308
|
+
outline: 2px solid currentColor !important;
|
|
1309
|
+
outline-offset: 3px;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.chulapa-skip-link {
|
|
1313
|
+
position: fixed !important;
|
|
1314
|
+
top: 0;
|
|
1315
|
+
left: 0;
|
|
1316
|
+
z-index: 21000;
|
|
1317
|
+
padding: $spacer;
|
|
1318
|
+
color: $body-color;
|
|
1319
|
+
background: $body-bg;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1323
|
+
.navbar-chulapa-fab *,
|
|
1324
|
+
.navbar-chulapa-fab *::before,
|
|
1325
|
+
.navbar-chulapa-fab *::after,
|
|
1326
|
+
.bs-canvas-anim,
|
|
1327
|
+
.chulapa-header-link,
|
|
1328
|
+
.fa, .far, .fas, .fab, .fa-solid, .fa-regular, .fa-brands {
|
|
1329
|
+
transition: none !important;
|
|
1330
|
+
animation: none !important;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
// Distinguish prose links without relying on color alone.
|
|
1335
|
+
.e-content p a:not(.btn):not(.nav-link):not(.chulapa-header-link),
|
|
1336
|
+
.e-content li:not(.list-group-item):not(.nav-item) > a:not(.btn):not(.nav-link) {
|
|
1337
|
+
text-decoration: underline;
|
|
1338
|
+
text-underline-offset: 0.15em;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
// Native action buttons retain the appearance of navigation links and controls.
|
|
1342
|
+
// Override the button reset, but remain less specific than even a plain .nav-link.
|
|
1343
|
+
:where(.navbar-chulapa, .navbar-chulapa-fab) button:where(.nav-link) {
|
|
1344
|
+
border: 0;
|
|
1345
|
+
border-radius: 0;
|
|
1346
|
+
background-color: transparent;
|
|
1347
|
+
font-weight: inherit;
|
|
1348
|
+
letter-spacing: inherit;
|
|
1349
|
+
text-shadow: inherit;
|
|
1350
|
+
text-align: inherit;
|
|
1351
|
+
text-transform: inherit;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
.carousel-control-prev,
|
|
1355
|
+
.carousel-control-next {
|
|
1356
|
+
border: 0;
|
|
1357
|
+
padding: 0;
|
|
1358
|
+
background-color: transparent;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.carousel-indicators li { position: relative; }
|
|
1362
|
+
.carousel-indicators button {
|
|
1363
|
+
position: absolute;
|
|
1364
|
+
top: 50%;
|
|
1365
|
+
left: 0;
|
|
1366
|
+
width: 100%;
|
|
1367
|
+
min-height: 24px;
|
|
1368
|
+
transform: translateY(-50%);
|
|
1369
|
+
border: 0;
|
|
1370
|
+
padding: 0;
|
|
1371
|
+
background: transparent;
|
|
1372
|
+
}
|
|
1373
|
+
.chulapa-carousel-toggle {
|
|
1374
|
+
position: absolute;
|
|
1375
|
+
top: .5rem;
|
|
1376
|
+
right: .5rem;
|
|
1377
|
+
z-index: 3;
|
|
1378
|
+
min-height: 44px;
|
|
1379
|
+
min-width: 44px;
|
|
1380
|
+
padding: .5rem .75rem;
|
|
1381
|
+
border: 1px solid #fff;
|
|
1382
|
+
border-radius: .25rem;
|
|
1383
|
+
background: #111;
|
|
1384
|
+
color: #fff;
|
|
1385
|
+
}
|
|
1386
|
+
.chulapa-carousel-toggle:focus-visible,
|
|
1387
|
+
.carousel-indicators button:focus-visible {
|
|
1388
|
+
outline-color: #fff !important;
|
|
1389
|
+
box-shadow: 0 0 0 2px #000;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
.carousel-indicators li:focus-within { opacity: 1; }
|
|
1393
|
+
|
|
1394
|
+
// Long headings must reflow when text is enlarged, rather than widen the page.
|
|
1395
|
+
h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
|
|
1396
|
+
.chulapa-btn-sidebar,
|
|
1397
|
+
.bs-canvas .close { min-width: 44px; min-height: 44px; }
|
|
1398
|
+
.chulapa-carousel-toggle { max-width: calc(100% - 1rem); overflow-wrap: anywhere; }
|
|
1399
|
+
|
|
1400
|
+
.chulapa-carousel-symbol i { display: none; }
|
|
1401
|
+
.chulapa-carousel-symbol.has-icon-font i { display: inline-block; }
|
|
1402
|
+
.chulapa-carousel-symbol.has-icon-font .chulapa-carousel-fallback,
|
|
1403
|
+
.chulapa-carousel-symbol svg + .chulapa-carousel-fallback { display: none; }
|
|
1404
|
+
|
|
1405
|
+
// Component demos show the selector even without dark-mode configuration.
|
|
1406
|
+
.bs-component {
|
|
1407
|
+
@include chulapa-theme-selector-styles;
|
|
1408
|
+
}
|
data/_sass/chulapa/_mixins.scss
CHANGED
|
@@ -74,4 +74,45 @@
|
|
|
74
74
|
box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Share the selector appearance with the always-visible Bootstrap demo.
|
|
80
|
+
@mixin chulapa-theme-selector-styles {
|
|
81
|
+
// Keep the current mode as legible as the navbar's active controls.
|
|
82
|
+
.navbar-chulapa .navbar-nav .chulapa-theme-toggle,
|
|
83
|
+
.navbar-chulapa-fab .chulapa-theme-toggle {
|
|
84
|
+
color: $navbar-chulapa-active-color;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Dark mode toggler
|
|
88
|
+
.chulapa-theme-toggle .chulapa-theme-label {
|
|
89
|
+
display: none !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.chulapa-theme-toggle {
|
|
93
|
+
padding-left: 0.6rem;
|
|
94
|
+
padding-right: 0.6rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Default color (closed)
|
|
98
|
+
.navbar-chulapa-fab-nav .chulapa-theme-toggle,
|
|
99
|
+
.navbar-chulapa-fab-nav .chulapa-theme-toggle i,
|
|
100
|
+
.navbar-chulapa .chulapa-theme-toggle,
|
|
101
|
+
.navbar-chulapa .chulapa-theme-toggle i {
|
|
102
|
+
color: $navbar-chulapa-text-color !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Remove focus outline
|
|
106
|
+
.chulapa-theme-toggle:focus,
|
|
107
|
+
.chulapa-theme-toggle:focus-visible {
|
|
108
|
+
outline: none !important;
|
|
109
|
+
box-shadow: none !important;
|
|
110
|
+
color: $navbar-chulapa-text-color !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Active color when dropdown is open
|
|
114
|
+
.chulapa-theme-selector.show .chulapa-theme-toggle,
|
|
115
|
+
.chulapa-theme-selector.show .chulapa-theme-toggle i {
|
|
116
|
+
color: $navbar-chulapa-active-color !important;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@include chulapa-theme-selector-styles;
|