jekyll-theme-hydejack 9.1.0 → 9.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/body/footer.html +1 -1
- data/_includes/body/scripts.html +2 -2
- data/_includes/components/post.html +20 -14
- data/_includes/components/tag-list.html +24 -24
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/styles/style.scss +1 -0
- data/_layouts/compress.html +1 -1
- data/_sass/_mixins.scss +18 -1
- data/_sass/_tippy.scss +40 -0
- data/_sass/html.scss +1 -7
- data/_sass/pooleparty/__inline__/_posts.scss +4 -1
- data/_sass/pooleparty/__inline__/_type.scss +2 -0
- data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
- data/_sass/pooleparty/__link__/_type.scss +2 -0
- data/_sass/pooleparty/_footnotes.pre.scss +2 -1
- data/_sass/pooleparty/_posts.pre.scss +4 -1
- data/_sass/pooleparty/_type.pre.scss +2 -0
- data/_sass/tippyjs/_mixins.scss +25 -0
- data/_sass/tippyjs/_vars.scss +6 -0
- data/_sass/tippyjs/animations/fade.scss +8 -0
- data/_sass/tippyjs/index.scss +90 -0
- data/assets/bower.json +1 -1
- data/assets/bower_components/katex/.bower.json +7 -6
- data/assets/bower_components/katex/LICENSE +1 -1
- data/assets/bower_components/katex/dist/contrib/auto-render.js +3 -14
- data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/auto-render.mjs +3 -14
- data/assets/bower_components/katex/dist/contrib/mhchem.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +0 -12
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +0 -12
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/katex.css +2 -25
- data/assets/bower_components/katex/dist/katex.js +1257 -1140
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +1 -1
- data/assets/bower_components/katex/dist/katex.mjs +1246 -1136
- data/assets/bower_components/katex/yarn.lock +114 -166
- data/assets/css/{hydejack-9.1.0.css → hydejack-9.1.1.css} +0 -0
- data/assets/js/{LEGACY-clap-button-hydejack-9.1.0.js → LEGACY-clap-button-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-drawer-hydejack-9.1.0.js → LEGACY-drawer-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-shadydom-hydejack-9.1.0.js → LEGACY-fetch-hydejack-9.1.1.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.0.js +28795 -26
- data/assets/js/LEGACY-hydejack-9.1.0.js.map +1 -0
- data/assets/js/LEGACY-hydejack-9.1.1.js +27 -0
- data/assets/js/{LEGACY-navbar-hydejack-9.1.0.js → LEGACY-navbar-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-push-state-hydejack-9.1.0.js → LEGACY-push-state-hydejack-9.1.1.js} +2 -2
- data/assets/js/{resize-observer-hydejack-9.1.0.js → LEGACY-resize-observer-hydejack-9.1.1.js} +2 -2
- data/assets/js/{shadydom-hydejack-9.1.0.js → LEGACY-shadydom-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-vendors~clap-button-hydejack-9.1.0.js → LEGACY-vendors~clap-button-hydejack-9.1.1.js} +5 -5
- data/assets/js/{LEGACY-vendors~drawer-hydejack-9.1.0.js → LEGACY-vendors~drawer-hydejack-9.1.1.js} +4 -4
- data/assets/js/{LEGACY-vendors~drawer~push-state-hydejack-9.1.0.js → LEGACY-vendors~drawer~push-state-hydejack-9.1.1.js} +13 -13
- data/assets/js/{LEGACY-vendors~fetch-hydejack-9.1.0.js → LEGACY-vendors~fetch-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.0.js → LEGACY-vendors~intersection-observer-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-vendors~push-state-hydejack-9.1.0.js → LEGACY-vendors~push-state-hydejack-9.1.1.js} +3 -3
- data/assets/js/{LEGACY-vendors~shadydom-hydejack-9.1.0.js → LEGACY-vendors~shadydom-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.0.js → LEGACY-vendors~webanimations-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.0.js → LEGACY-vendors~webcomponents-hydejack-9.1.1.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.1.0.js → LEGACY-webcomponents-hydejack-9.1.1.js} +2 -2
- data/assets/js/{clap-button-hydejack-9.1.0.js → clap-button-hydejack-9.1.1.js} +2 -2
- data/assets/js/{drawer-hydejack-9.1.0.js → drawer-hydejack-9.1.1.js} +2 -2
- data/assets/js/{fetch-hydejack-9.1.0.js → fetch-hydejack-9.1.1.js} +2 -2
- data/assets/js/hydejack-9.1.0.js +20722 -27
- data/assets/js/hydejack-9.1.0.js.map +1 -0
- data/assets/js/hydejack-9.1.1.js +28 -0
- data/assets/js/{navbar-hydejack-9.1.0.js → navbar-hydejack-9.1.1.js} +2 -2
- data/assets/js/{push-state-hydejack-9.1.0.js → push-state-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-resize-observer-hydejack-9.1.0.js → resize-observer-hydejack-9.1.1.js} +2 -2
- data/assets/js/{LEGACY-fetch-hydejack-9.1.0.js → shadydom-hydejack-9.1.1.js} +2 -2
- data/assets/js/{vendors~clap-button-hydejack-9.1.0.js → vendors~clap-button-hydejack-9.1.1.js} +5 -5
- data/assets/js/{vendors~drawer-hydejack-9.1.0.js → vendors~drawer-hydejack-9.1.1.js} +4 -4
- data/assets/js/{vendors~drawer~push-state-hydejack-9.1.0.js → vendors~drawer~push-state-hydejack-9.1.1.js} +11 -11
- data/assets/js/{vendors~fetch-hydejack-9.1.0.js → vendors~fetch-hydejack-9.1.1.js} +2 -2
- data/assets/js/{vendors~intersection-observer-hydejack-9.1.0.js → vendors~intersection-observer-hydejack-9.1.1.js} +2 -2
- data/assets/js/{vendors~push-state-hydejack-9.1.0.js → vendors~push-state-hydejack-9.1.1.js} +3 -3
- data/assets/js/{vendors~shadydom-hydejack-9.1.0.js → vendors~shadydom-hydejack-9.1.1.js} +2 -2
- data/assets/js/{vendors~webanimations-hydejack-9.1.0.js → vendors~webanimations-hydejack-9.1.1.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.1.0.js → webcomponents-hydejack-9.1.1.js} +2 -2
- data/assets/version.json +2 -2
- metadata +45 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 331e9c5d25f60e914c9e941c787a3125c517f1031f0ebdc1e39d054d86d1afe2
|
4
|
+
data.tar.gz: 65bec9a7abd39dc90eea6f74e2fb2225704fc3e984f02667f60478a4c8ac701e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeacb472265e43c24871dbd5c7669612269766b084788271c1a8b345952efc4d4652adb5018e829fc0fb346930bc0dcc4b74b69a8cd123a0a319cd545a387a34
|
7
|
+
data.tar.gz: 5fcacf3dd0c247d6d9e611d510656546fe0d55cd324441bf52f5eaba479fac48f11c2d4f0966ac9eca4fbdb206e8c59feb4dd8dec4fed61d50e1ffe88257f7dd
|
data/_includes/body/footer.html
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
{% endfor %}
|
14
14
|
</small></nav>
|
15
15
|
{% endif %}
|
16
|
-
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.1.
|
16
|
+
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.1.1</span></small></p>
|
17
17
|
<hr class="sr-only"/>
|
18
18
|
</footer>
|
19
19
|
{% endif %}
|
data/_includes/body/scripts.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<!--[if gt IE 10]><!---->
|
2
2
|
<script nomodule>{% include scripts/nomodule.min.js %}</script>
|
3
|
-
<script src="{{ '/assets/js/hydejack-9.1.
|
4
|
-
<script src="{{ '/assets/js/LEGACY-hydejack-9.1.
|
3
|
+
<script src="{{ '/assets/js/hydejack-9.1.1.js' | relative_url }}" type="module"></script>
|
4
|
+
<script src="{{ '/assets/js/LEGACY-hydejack-9.1.1.js' | relative_url }}" nomodule defer></script>
|
5
5
|
{% include my-scripts.html %}
|
6
6
|
{% include body/analytics.html %}
|
7
7
|
<!--<![endif]-->
|
@@ -13,19 +13,24 @@
|
|
13
13
|
</h1>
|
14
14
|
|
15
15
|
<div class="post-date">
|
16
|
-
|
17
|
-
{
|
18
|
-
{
|
16
|
+
{% capture foobar %}
|
17
|
+
{%- unless site.hydejack.hide_dates -%}
|
18
|
+
{%- assign post_format = site.data.strings.date_formats.post | default:"%d %b %Y" -%}
|
19
19
|
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:post_format }}</time>
|
20
|
-
{
|
21
|
-
{{ site.data.strings.posted | default:"Posted" }}
|
22
|
-
{
|
23
|
-
{
|
24
|
-
{
|
25
|
-
{
|
26
|
-
{
|
27
|
-
{
|
28
|
-
{
|
20
|
+
{%- else -%}
|
21
|
+
{{- site.data.strings.posted | default:"Posted" -}}
|
22
|
+
{%- endunless -%}
|
23
|
+
{{ ' ' }}
|
24
|
+
{%- assign category_start = site.data.strings.category_start | default:"in " -%}
|
25
|
+
{%- assign tag_start = site.data.strings.tag_start | default:"on " -%}
|
26
|
+
{%- include components/tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator -%}
|
27
|
+
{{ ' ' }}
|
28
|
+
{%- assign category_separator = site.data.strings.category_separator | default:" / " -%}
|
29
|
+
{%- assign tag_separator = site.data.strings.tag_separator | default:", " -%}
|
30
|
+
{%- include components/tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator -%}
|
31
|
+
{% endcapture %}
|
32
|
+
<span class="ellipsis mr1">
|
33
|
+
{{ foobar }}
|
29
34
|
</span>
|
30
35
|
{% unless site.hydejack.hide_dates or site.hydejack.hide_last_modified or post.hide_last_modified %}
|
31
36
|
{% if post.last_modified_at %}
|
@@ -33,16 +38,17 @@
|
|
33
38
|
{% assign d2 = post.last_modified_at | date:"%Y-%m-%d" %}
|
34
39
|
{% if d1 != d2 %}
|
35
40
|
{% assign label = site.data.strings.last_modified_at | default:"Last modified at" %}
|
36
|
-
|
41
|
+
{% assign last_modified_at_format = site.data.strings.date_formats.last_modified_at | default:"%Y-%m-%d" %}
|
42
|
+
<span class="ellipsis" data-tippy-content="{{ label }}{{ site.data.strings.colon }} {{ post.last_modified_at | date:last_modified_at_format }}">
|
37
43
|
<span class="sr-only">{{ label }}{{ site.data.strings.colon }}</span>
|
38
44
|
<span class="{{ site.data.strings.last_modified_icon | default:'icon-history' }}"></span>
|
39
|
-
{% assign last_modified_at_format = site.data.strings.date_formats.last_modified_at | default:"%Y-%m-%d" %}
|
40
45
|
<time datetime="{{ post.last_modified_at | date_to_xmlschema }}">{{ post.last_modified_at | date:last_modified_at_format }}</time>
|
41
46
|
</span>
|
42
47
|
{% endif %}
|
43
48
|
{% endif %}
|
44
49
|
{% endunless %}
|
45
50
|
</div>
|
51
|
+
|
46
52
|
{% assign alt = false %}
|
47
53
|
{% unless hide_image %}{% if post.image %}
|
48
54
|
{% unless no_link_title %}<a href="{{ post.url | relative_url }}" class="no-hover no-print-link {% unless post.hide_image %}flip-project{% endunless %}" tabindex="-1">{% endunless %}
|
@@ -1,30 +1,30 @@
|
|
1
|
-
{
|
2
|
-
{
|
3
|
-
{
|
4
|
-
{
|
5
|
-
{
|
1
|
+
{%- assign tags = include.tags -%}
|
2
|
+
{%- assign meta = include.meta -%}
|
3
|
+
{%- assign start_with = include.start_with -%}
|
4
|
+
{%- assign separator = include.separator -%}
|
5
|
+
{%- assign end_with = include.end_with -%}
|
6
6
|
|
7
|
-
{
|
7
|
+
{%- assign content = '' -%}
|
8
8
|
|
9
|
-
{
|
10
|
-
{
|
11
|
-
{
|
12
|
-
{
|
9
|
+
{%- if tags.size > 0 -%}
|
10
|
+
{%- assign content = start_with -%}
|
11
|
+
{%- for tag_slug in tags -%}
|
12
|
+
{%- capture iter_separator -%}{% if forloop.last %}{{ end_with }}{% else %}{{ separator }}{% endif %}{%- endcapture -%}
|
13
13
|
|
14
|
-
{
|
15
|
-
{
|
16
|
-
{
|
17
|
-
{
|
18
|
-
{
|
14
|
+
{%- if major >= 4 and minor >= 1 %}
|
15
|
+
{%- assign tag = meta | find: "slug", tag_slug -%}
|
16
|
+
{%- else -%}
|
17
|
+
{%- assign tag = meta | where: "slug", tag_slug | first -%}
|
18
|
+
{%- endif -%}
|
19
19
|
|
20
|
-
{
|
21
|
-
{
|
22
|
-
{
|
23
|
-
{
|
24
|
-
{
|
20
|
+
{%- if tag -%}
|
21
|
+
{%- capture content_temp -%}{{ content }}<a href="{{ tag.url | relative_url }}" class="flip-title">{{ tag.title }}</a>{{ iter_separator }}{%- endcapture -%}
|
22
|
+
{%- else -%}
|
23
|
+
{%- capture content_temp -%}{{ content }}<span>{{ tag_slug | capitalize }}</span>{{ iter_separator }}{%- endcapture -%}
|
24
|
+
{%- endif -%}
|
25
25
|
|
26
|
-
{
|
27
|
-
{
|
28
|
-
{
|
26
|
+
{%- assign content = content_temp -%}
|
27
|
+
{%- endfor -%}
|
28
|
+
{%- endif -%}
|
29
29
|
|
30
|
-
{{ content }}
|
30
|
+
{{- content -}}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{% assign google_fonts = site.google_fonts %}
|
2
|
-
{% capture style_url %}{{ 'assets/css/hydejack-9.1.
|
2
|
+
{% capture style_url %}{{ 'assets/css/hydejack-9.1.1.css' | relative_url }}{% endcapture %}
|
3
3
|
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
|
4
4
|
{% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %}
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{% assign google_fonts = site.google_fonts %}
|
2
|
-
{% capture style_url %}{{ 'assets/css/hydejack-9.1.
|
2
|
+
{% capture style_url %}{{ 'assets/css/hydejack-9.1.1.css' | relative_url }}{% endcapture %}
|
3
3
|
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
|
4
4
|
{% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %}
|
5
5
|
|
data/_includes/header.txt
CHANGED
data/_includes/styles/style.scss
CHANGED
data/_layouts/compress.html
CHANGED
@@ -10,6 +10,6 @@
|
|
10
10
|
/\___/ \ \____/
|
11
11
|
\/__/ \/___/
|
12
12
|
|
13
|
-
Powered by Hydejack v9.1.
|
13
|
+
Powered by Hydejack v9.1.1 <https://hydejack.com/>
|
14
14
|
-->{% capture _LINE_FEED %}
|
15
15
|
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}</html>
|
data/_sass/_mixins.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright (c)
|
1
|
+
// Copyright (c) 2021 Florian Klampfer <https://qwtel.com/>
|
2
2
|
//
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
4
4
|
// it under the terms of the GNU General Public License as published by
|
@@ -13,6 +13,23 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
+
@mixin light-mode() {
|
17
|
+
--body-color: #{$body-color};
|
18
|
+
--body-bg: #{$body-bg};
|
19
|
+
--border-color: #{$border-color};
|
20
|
+
--gray: #{$gray};
|
21
|
+
--gray-bg: #{$gray-bg};
|
22
|
+
--gray-text: #{$gray-text};
|
23
|
+
--menu-text: #{$menu-text};
|
24
|
+
--inv-body-color: #ccc;
|
25
|
+
--inv-body-bg: #282828;
|
26
|
+
|
27
|
+
.content {
|
28
|
+
-webkit-font-smoothing: initial;
|
29
|
+
-moz-osx-font-smoothing: initial;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
16
33
|
@mixin aspect-ratio($width, $height) {
|
17
34
|
position: relative;
|
18
35
|
|
data/_sass/_tippy.scss
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
$namespace-prefix: 'tippy';
|
2
|
+
|
3
|
+
@import "tippyjs/index";
|
4
|
+
|
5
|
+
[data-tippy-root] {
|
6
|
+
--body-color: var(--inv-body-color);
|
7
|
+
--body-bg: var(--inv-body-bg);
|
8
|
+
}
|
9
|
+
|
10
|
+
.tippy-box {
|
11
|
+
color: var(--body-color)!important;
|
12
|
+
background-color: var(--body-bg)!important;
|
13
|
+
}
|
14
|
+
|
15
|
+
.tippy-content {
|
16
|
+
font-family: $font-family!important;
|
17
|
+
font-weight: normal!important;
|
18
|
+
a {
|
19
|
+
@extend .heading;
|
20
|
+
text-underline-offset: 0.15rem;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.tippy-arrow {
|
25
|
+
color: var(--body-bg)!important;
|
26
|
+
}
|
27
|
+
|
28
|
+
.dark-mode {
|
29
|
+
.tippy-content {
|
30
|
+
-webkit-font-smoothing: initial;
|
31
|
+
-moz-osx-font-smoothing: initial;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.light-mode {
|
36
|
+
.tippy-content {
|
37
|
+
-webkit-font-smoothing: antialiased;
|
38
|
+
-moz-osx-font-smoothing: grayscale;
|
39
|
+
}
|
40
|
+
}
|
data/_sass/html.scss
CHANGED
@@ -3,13 +3,7 @@ html {
|
|
3
3
|
--font-family-heading: #{$font-family-heading};
|
4
4
|
--code-font-family: #{$code-font-family};
|
5
5
|
|
6
|
-
|
7
|
-
--gray-bg: #{$gray-bg};
|
8
|
-
--gray-text: #{$gray-text};
|
9
|
-
--menu-text: #{$menu-text};
|
10
|
-
--body-color: #{$body-color};
|
11
|
-
--body-bg: #{$body-bg};
|
12
|
-
--border-color: #{$border-color};
|
6
|
+
@include light-mode();
|
13
7
|
|
14
8
|
--root-font-size: #{$root-font-size};
|
15
9
|
--root-font-size-medium: #{$root-font-size-medium};
|
@@ -63,12 +63,15 @@ body:not(.no-third-column) {
|
|
63
63
|
@extend .h4;
|
64
64
|
display: flex;
|
65
65
|
justify-content: space-between;
|
66
|
-
white-space: nowrap;
|
67
66
|
margin-top: -.6rem;
|
68
67
|
height: 2rem;
|
69
68
|
margin-bottom: .85rem;
|
70
69
|
color: var(--gray);
|
71
70
|
|
71
|
+
> .ellipsis {
|
72
|
+
cursor: pointer;
|
73
|
+
}
|
74
|
+
|
72
75
|
[class^="icon-"] {
|
73
76
|
display: inline-block;
|
74
77
|
font-size: smaller;
|
@@ -51,6 +51,7 @@ sup {
|
|
51
51
|
// List of footnotes
|
52
52
|
.footnotes {
|
53
53
|
margin-top: 5rem;
|
54
|
+
margin-bottom: 5rem;
|
54
55
|
|
55
56
|
> ol {
|
56
57
|
color: var(--gray);
|
@@ -71,7 +72,7 @@ sup {
|
|
71
72
|
@extend .color-transition;
|
72
73
|
content: "";
|
73
74
|
display: block;
|
74
|
-
margin:
|
75
|
+
margin: 1rem 0;
|
75
76
|
border: 0;
|
76
77
|
border-top: 1px solid var(--border-color);
|
77
78
|
}
|
@@ -42,6 +42,7 @@ sup {
|
|
42
42
|
// List of footnotes
|
43
43
|
.footnotes {
|
44
44
|
margin-top: 5rem;
|
45
|
+
margin-bottom: 5rem;
|
45
46
|
|
46
47
|
> ol {
|
47
48
|
color: var(--gray);
|
@@ -62,7 +63,7 @@ sup {
|
|
62
63
|
@extend .color-transition;
|
63
64
|
content: "";
|
64
65
|
display: block;
|
65
|
-
margin:
|
66
|
+
margin: 1rem 0;
|
66
67
|
border: 0;
|
67
68
|
border-top: 1px solid var(--border-color);
|
68
69
|
}
|
@@ -54,12 +54,15 @@ body:not(.no-third-column) {
|
|
54
54
|
@extend .h4;
|
55
55
|
display: flex;
|
56
56
|
justify-content: space-between;
|
57
|
-
white-space: nowrap;
|
58
57
|
margin-top: -.6rem;
|
59
58
|
height: 2rem;
|
60
59
|
margin-bottom: .85rem;
|
61
60
|
color: var(--gray);
|
62
61
|
|
62
|
+
> .ellipsis {
|
63
|
+
cursor: pointer;
|
64
|
+
}
|
65
|
+
|
63
66
|
[class^="icon-"] {
|
64
67
|
display: inline-block;
|
65
68
|
font-size: smaller;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
@mixin backdrop-transform-enter($placement) {
|
2
|
+
$scale: 1;
|
3
|
+
@if ($placement == 'top') {
|
4
|
+
transform: scale($scale) translate(-50%, -55%);
|
5
|
+
} @else if ($placement == 'bottom') {
|
6
|
+
transform: scale($scale) translate(-50%, -45%);
|
7
|
+
} @else if ($placement == 'left') {
|
8
|
+
transform: scale($scale) translate(-50%, -50%);
|
9
|
+
} @else if ($placement == 'right') {
|
10
|
+
transform: scale($scale) translate(-50%, -50%);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin backdrop-transform-leave($placement) {
|
15
|
+
$scale: 0.2;
|
16
|
+
@if ($placement == 'top') {
|
17
|
+
transform: scale($scale) translate(-50%, -45%);
|
18
|
+
} @else if ($placement == 'bottom') {
|
19
|
+
transform: scale($scale) translate(-50%, 0);
|
20
|
+
} @else if ($placement == 'left') {
|
21
|
+
transform: scale($scale) translate(-75%, -50%);
|
22
|
+
} @else if ($placement == 'right') {
|
23
|
+
transform: scale($scale) translate(-25%, -50%);
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
$namespace-prefix: '__NAMESPACE_PREFIX__' !default;
|
2
|
+
$placements: 'top', 'bottom', 'left', 'right';
|
3
|
+
$origins: bottom, top, right, left;
|
4
|
+
$backdrop-origins: 0% 25%, 0% -50%, 50% 0%, -50% 0%;
|
5
|
+
$backdrop-border-radii: 40% 40% 0 0, 0 0 30% 30%, 50% 0 0 50%, 0 50% 50% 0;
|
6
|
+
$arrow-size: 16px;
|