jekyll-theme-hydejack 7.4.2 → 7.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -22
  3. data/_includes/body.html +2 -2
  4. data/_includes/comments.html +0 -5
  5. data/_includes/footer.html +10 -2
  6. data/_includes/head/links.html +5 -0
  7. data/_includes/head/meta.html +1 -1
  8. data/_includes/head/styles.html +1 -1
  9. data/_includes/header.txt +1 -1
  10. data/_includes/{body/menu.html → menu.html} +0 -0
  11. data/_includes/{body/scripts.html → scripts.html} +1 -1
  12. data/_includes/smart-url +1 -1
  13. data/_includes/styles/inline.scss +3 -0
  14. data/_includes/styles/style.scss +7 -4
  15. data/_includes/templates.html +6 -45
  16. data/_includes/templates/animation.html +7 -0
  17. data/_includes/templates/back.html +6 -0
  18. data/_includes/templates/cookies-banner.html +12 -0
  19. data/_includes/templates/error.html +10 -0
  20. data/_includes/templates/loading.html +6 -0
  21. data/_includes/templates/permalink.html +6 -0
  22. data/_layouts/compress.html +1 -1
  23. data/_sass/_variables.scss +1 -0
  24. data/_sass/hydejack/__inline/_base.scss +1 -2
  25. data/_sass/hydejack/__inline/_content.scss +1 -0
  26. data/_sass/hydejack/__inline/_mark-external.scss +1 -1
  27. data/_sass/hydejack/__inline/_sidebar.scss +0 -2
  28. data/_sass/hydejack/__inline/_social.scss +2 -0
  29. data/_sass/hydejack/__link/_base.scss +1 -1
  30. data/_sass/hydejack/__link/_content.scss +7 -0
  31. data/_sass/hydejack/__link/_footer.scss +15 -4
  32. data/_sass/hydejack/__link/_mark-external.scss +1 -1
  33. data/_sass/hydejack/__link/_sidebar.scss +0 -7
  34. data/_sass/hydejack/__link/_social.scss +8 -0
  35. data/_sass/hydejack/_base.pre.scss +1 -2
  36. data/_sass/hydejack/_content.pre.scss +7 -0
  37. data/_sass/hydejack/_footer.pre.scss +15 -4
  38. data/_sass/hydejack/_mark-external.pre.scss +1 -1
  39. data/_sass/hydejack/_sidebar.pre.scss +0 -7
  40. data/_sass/hydejack/_social.pre.scss +8 -0
  41. data/_sass/pooleparty/__inline/_related.scss +2 -0
  42. data/_sass/pooleparty/__link/_base.scss +3 -2
  43. data/_sass/pooleparty/__link/_footnotes.scss +7 -5
  44. data/_sass/pooleparty/__link/_related.scss +8 -0
  45. data/_sass/pooleparty/__link/_type.scss +1 -2
  46. data/_sass/pooleparty/_base.pre.scss +3 -2
  47. data/_sass/pooleparty/_footnotes.pre.scss +7 -5
  48. data/_sass/pooleparty/_related.pre.scss +8 -0
  49. data/_sass/pooleparty/_type.pre.scss +1 -2
  50. data/assets/css/{hydejack-7.4.2.css → hydejack-7.5.0.css} +0 -0
  51. data/assets/img/sidebar-bg.jpg +0 -0
  52. data/assets/js/hydejack-7.5.0.js +14 -0
  53. data/assets/version.json +1 -1
  54. metadata +12 -8
  55. data/_includes/scripts/load-disqus.js +0 -56
  56. data/_includes/scripts/load-disqus.min.js +0 -1
  57. data/assets/js/hydejack-7.4.2.js +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32ec07c3d64816ece01f08a6f32da75b56d6363c
4
- data.tar.gz: 0625d0a0e1b29028a9851c3349473cab7855eef7
3
+ metadata.gz: a261dc43bb519018672c3064e7e815b9338a9f1f
4
+ data.tar.gz: 39a2da53b56bc041deeff24fa2a802f7e60b4da1
5
5
  SHA512:
6
- metadata.gz: 52ffe7cf6ba05f81ba6653ee7f2dd43718d1aa99c00bf08e3867edcd5f1d62beb32beb96dc87e0aa8ad7c46c1472b55fcf2e0db546d0c1711c15091ececb34e1
7
- data.tar.gz: f5fe8c6cdc5584e586490cda5dfa7a56311effb8a8a662cee578700ea18aed7d3661ba8ab8064f7a3c704598c7134b695f4b0b84b83e266d3caf1b04d3749713
6
+ metadata.gz: 45781ee209617108af591ccbfa1f23ff4bfc4ac155d05f65473a8bffa04ffe1971e97416c64d18afff87a7cb4f830d6778361e8b5e3430f1daaef96861197628
7
+ data.tar.gz: 2d57f9afccdc8415c99dd21db2f2e32c4830e50c1f4e1263d9cc4a00b836e2e83a3b6c048efa087114a54d8e2241045e943fc3322c6f295e445fd0efc2fb341f
data/README.md CHANGED
@@ -17,12 +17,12 @@ a showcase for your projects, and a resume that fits with the rest of the design
17
17
  It's best to just [see it in action](https://qwtel.com/hydejack/).
18
18
 
19
19
  ## Features
20
- Both versions include *all* of these features:
20
+ Both versions include these features:
21
21
 
22
22
  * Full in-app page loading, powered by [hy-push-state]
23
23
  * A customizable sidebar that turns into a drawer menu on mobile, powered by [hy-drawer]
24
24
  * Advanced FLIP animations, inspired by Material Design
25
- * Good [Google PageSpeed Score][gpss][^1]
25
+ * Good [Google PageSpeed Score][gpss][^3]
26
26
  * Higher *perceived speed* thanks to content pre-fetching
27
27
  * [Syntax highlighting][syntax], powered by [Rouge]
28
28
  * [LaTeX math blocks][latex], powered by [KaTeX]
@@ -51,24 +51,32 @@ A [portfolio], a [resume] layout and a [welcome] page to feature your favorite p
51
51
 
52
52
  This table details what is and isn't included in each respective version.
53
53
 
54
- | | Free | PRO |
55
- |:------------------------------------|:--------------------------------------:|:--------------------------------------:|
56
- | Blog | ✔ | ✔ |
57
- | [Features][feat] | ✔ | ✔ |
58
- | [Portfolio] Layout | | ✔ |
59
- | [Resume] Layout | | ✔ |
60
- | [Welcome] Layout | | ✔ |
61
- | [Newsletter Box][news] | | ✔ |
62
- | [Custom Forms][forms] | | ✔ |
63
- | No Hydejack Branding | | ✔ |
64
- | License | [GPL-3.0][license] | [PRO] |
65
- | Price | Free | $29 |
66
- | | [**Download**][kit] or [**Fork**][git] | [**Buy Now**][buy] [^2] |
67
-
68
-
69
- [^1]: Actual page load speed depends on your hosting provider, resolution of embedded images and usage of 3rd party plugins.
54
+ | | Free | PRO |
55
+ |:------------------------------------|:--------------------------------------:|:--------------------------------------------:|
56
+ | Blog | ✔ | ✔ |
57
+ | [Features][feat] | ✔ | ✔ |
58
+ | [Portfolio] Layout | | ✔ |
59
+ | [Resume] Layout | | ✔ |
60
+ | [Welcome] Layout | | ✔ |
61
+ | [Newsletter Box][news] | | ✔ |
62
+ | [Custom Forms][forms] | | ✔ |
63
+ | No Hydejack Branding | | ✔ |
64
+ | License | [GPL-3.0][license] | [PRO] |
65
+ | Source | [GitHub][src] | Included |
66
+ | Support[^1] | No | No |
67
+ | Price | Free | $29 |
68
+ | | [**Download**][kit] | [**Buy Now - $29**][buy] [^2] |
69
+ {:.stretch-table}
70
+
71
+ [^1]: You MAY open an issue on GitHub, but no response and/or fix is guaranteed.
72
+ You understand that using Jekyll requires technical know-how, and is NOT comparable to Wordpress in terms of usability.
73
+ Please use the free version to confirm that Hydejack works for you.
74
+ For more, see the [PRO] license.
75
+
70
76
  [^2]: Transactions secured by [Stripe](https://stripe.com). Downloads handled by [Simple Goods](https://simplegoods.co/).
71
77
 
78
+ [^3]: Actual page load speed depends on your hosting provider, resolution of embedded images and usage of 3rd party plugins.
79
+
72
80
  ~~~
73
81
  __ __ __ __
74
82
  /\ \/\ \ /\ \ __ /\ \
@@ -95,16 +103,17 @@ This table details what is and isn't included in each respective version.
95
103
 
96
104
  [license]: LICENSE.md
97
105
  [pro]: licenses/PRO.md
98
- [docs]: docs/7.4.2/index.md
106
+ [docs]: docs/7.5.0/index.md
99
107
 
100
- [kit]: https://github.com/qwtel/hydejack-starter-kit/archive/master.zip
108
+ [kit]: https://github.com/qwtel/hydejack-starter-kit/archive/v7.5.0.zip
109
+ [src]: https://github.com/qwtel/hydejack
101
110
  [git]: https://github.com/qwtel/hydejack-starter-kit
102
111
  [gem]: https://rubygems.org/gems/jekyll-theme-hydejack
103
112
  [buy]: https://app.simplegoods.co/i/AQTTVBOE
104
113
 
105
114
  [gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F
106
- [wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.4.2/index.md
107
- [pdf]: https://github.com/qwtel/hydejack/releases/download/v7.4.2/Documentation._.Hydejack.pdf
115
+ [wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.5.0/index.md
116
+ [pdf]: https://github.com/qwtel/hydejack/releases/download/v7.5.0/Documentation._.Hydejack.pdf
108
117
  [hy-push-state]: https://qwtel.com/hy-push-state/
109
118
  [hy-drawer]: https://qwtel.com/hy-drawer/
110
119
  [rouge]: http://rouge.jneen.net
@@ -1,4 +1,4 @@
1
- {% include body/menu.html %}
1
+ {% include menu.html %}
2
2
 
3
3
  <hy-push-state>
4
4
  <main
@@ -22,4 +22,4 @@
22
22
  {% include sidebar.html %}
23
23
  </hy-push-state>
24
24
 
25
- {% include body/scripts.html %}
25
+ {% include scripts.html %}
@@ -2,12 +2,7 @@
2
2
  {% if disqus and page.comments %}
3
3
  <aside class="comments related" role="complementary">
4
4
  <h2 class="hr">{{ site.data.strings.comments | default:"Comments" }}</h2>
5
-
6
5
  <div id="disqus_thread"></div>
7
-
8
- <script>
9
- {% include scripts/load-disqus.min.js disqus=disqus %}
10
- </script>
11
6
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
12
7
  </aside>
13
8
  {% endif %}
@@ -1,8 +1,16 @@
1
1
  <footer role="contentinfo">
2
2
  <hr/>
3
3
  {% if site.copyright.size > 0 %}
4
- <p><small class="copyright">{{ site.copyright | markdownify | replace:'<p>','' | replace:'</p>','' }}</small></p>
4
+ <p><small class="copyright">{{ site.copyright | markdownify | replace:'<p>','' | replace:'</p>','' }}</small></p>
5
5
  {% endif %}
6
- <p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.4.2</span></small></p>
6
+ {% if site.legal.size > 0 %}
7
+ <nav class="legal"><small>
8
+ {% for le in site.legal %}
9
+ <a href="{% include smart-url url=le.href %}">{{ le.name | default:le.title }}</a>
10
+ {% unless forloop.last %}{{ site.data.strings.separator | default:'|' }}{% endunless %}
11
+ {% endfor %}
12
+ </small></nav>
13
+ {% endif %}
14
+ <p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.5.0</span></small></p>
7
15
  <hr class="sr-only"/>
8
16
  </footer>
@@ -16,6 +16,11 @@
16
16
  <link rel="dns-prefetch" href="https://www.google-analytics.com">
17
17
  {% endif %}
18
18
 
19
+ {% assign disqus = site.disqus | default:site.disqus_shortname %}
20
+ {% if disqus %}
21
+ <link id="_disqusJS" rel="dns-prefetch" href="https://{{ disqus }}.disqus.com/embed.js">
22
+ {% endif %}
23
+
19
24
  {% comment %}<!--
20
25
  The links below are here so that we can use their `href` in JS (see `_js/src/katex.js`).
21
26
  This way, CDN optimizers or other tools can modify the URL and we avoid hard-coding it in JavaScript.
@@ -27,4 +27,4 @@
27
27
  <meta name="theme-color" content="{{ page.theme_color | default:color | default:'#4fb1ba' }}">
28
28
  {% endunless %}
29
29
 
30
- <meta name="generator" content="Hydejack v7.4.2">
30
+ <meta name="generator" content="Hydejack v7.5.0">
@@ -1,5 +1,5 @@
1
1
  <!--[if gt IE 8]><!---->
2
- {% capture style_url %}{% link assets/css/hydejack-7.4.2.css %}{% endcapture %}
2
+ {% capture style_url %}{% link assets/css/hydejack-7.5.0.css %}{% endcapture %}
3
3
 
4
4
  {% if site.hydejack.no_inline_css or jekyll.environment == 'development' %}
5
5
  <link rel="stylesheet" href="{{ style_url | relative_url }}">
@@ -9,5 +9,5 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v7.4.2 <https://qwtel.com/hydejack/>
12
+ * Powered by Hydejack v7.5.0 <https://qwtel.com/hydejack/>
13
13
  */
File without changes
@@ -26,7 +26,7 @@
26
26
  {% endif %}
27
27
 
28
28
  <!--[if gt IE 9]><!---->
29
- {% capture js_url %}{% link assets/js/hydejack-7.4.2.js %}{% endcapture %}
29
+ {% capture js_url %}{% link assets/js/hydejack-7.5.0.js %}{% endcapture %}
30
30
  <script>loadJSDeferred('{{ js_url | relative_url }}');</script>
31
31
  {% include my-scripts.html %}
32
32
  <!--<![endif]-->
@@ -1 +1 @@
1
- {% assign url = include.url %}{% if url contains '//' %}{{ url }}{% else %}{% assign url = url | remove_first:site.baseurl %}{{ url | relative_url }}{% endif %}
1
+ {% assign url = include.url %}{% if url contains '//' %}{{ url }}{% else %}{% assign url = url | remove_first:site.baseurl %}{{ url | relative_url }}{%- endif -%}
@@ -21,6 +21,9 @@
21
21
  {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
22
22
  {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
23
23
 
24
+ $font-family-heading: {{ font_heading }};
25
+ $font-family: {{ font }};
26
+
24
27
  @import "variables";
25
28
  @import "my-variables";
26
29
  @import "mixins";
@@ -21,6 +21,9 @@
21
21
  {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
22
22
  {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
23
23
 
24
+ $font-family-heading: {{ font_heading }};
25
+ $font-family: {{ font }};
26
+
24
27
  @import "variables";
25
28
  @import "my-variables";
26
29
  @import "mixins";
@@ -63,10 +66,10 @@
63
66
 
64
67
  {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
65
68
  .wf-active {
66
- font-family: {{ font | default:"serif" }};
69
+ font-family: {{ font }};
67
70
 
68
71
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
69
- font-family: {{ font_heading | default:"serif" }};
72
+ font-family: {{ font_heading }};
70
73
  }
71
74
  }
72
75
  {% endunless %}
@@ -105,10 +108,10 @@
105
108
  @import "my-style";
106
109
 
107
110
  html {
108
- font-family: {{ font | default:"serif" }};
111
+ font-family: {{ font }};
109
112
  }
110
113
 
111
114
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
112
- font-family: {{ font_heading | default:"serif" }};
115
+ font-family: {{ font_heading }};
113
116
  }
114
117
  {% endunless %}
@@ -2,50 +2,11 @@
2
2
  <hr class="sr-only"/>
3
3
  <h2 class="sr-only">{{ strings.templates | default: "Templates"}}{{ strings.colon | default:":" }}</h2>
4
4
 
5
- <template id="_animation-template">
6
- <div class="animation-main fixed-top">
7
- <div class="content">
8
- <div class="page"></div>
9
- </div>
10
- </div>
11
- </template>
12
-
13
- <template id="_loading-template">
14
- <div class="loading">
15
- <span class="sr-only">{{ strings.loading | default:"Loading…" }}</span>
16
- <span class="icon-cog"></span>
17
- </div>
18
- </template>
19
-
20
- <template id="_error-template">
21
- <div class="page">
22
- <h1 class="page-title">{{ strings.error.title | default:"Error" }}</h1>
23
- {% capture link %}<a class="this-link" href=""></a>{% endcapture %}
24
- {% assign text = strings.error.message | default:"Sorry, an error occurred while loading: <!--link-->." %}
25
- <p class="lead">
26
- {{ text | replace:"<!--link-->",link }}
27
- </p>
28
- </div>
29
- </template>
30
-
31
- <template id="_back-template">
32
- <a id="_back" class="back nav-btn no-hover">
33
- <span class="sr-only">{{ strings.back | default:"Back" }}</span>
34
- <span class="icon-arrow-left2"></span>
35
- </a>
36
- </template>
37
-
5
+ {% include templates/animation.html %}
6
+ {% include templates/loading.html %}
7
+ {% include templates/error.html %}
8
+ {% include templates/back.html %}
9
+ {% include templates/permalink.html %}
38
10
  {% if site.google_analytics and site.hydejack.cookies_banner %}
39
- <template id="_cookies-banner-template">
40
- <div id="_cookies-banner" class="navbar fixed-top CookiesOK">
41
- <div class="content">
42
- <div class="nav-btn-bar">
43
- <small class="nav-btn">
44
- <span>{{ site.data.strings.cookies_banner.text | default:'This site uses cookies.' | markdownify | replace:'<p>','' | replace:'</p>','' }}</span>
45
- <button id="_cookies-ok" class="btn btn-primary btn-sm">{{ site.data.strings.cookies_banner.okay | default:'Okay' }}</button>
46
- </small>
47
- </div>
48
- </div>
49
- </div>
50
- </template>
11
+ {% include templates/cookies-banner.html %}
51
12
  {% endif %}
@@ -0,0 +1,7 @@
1
+ <template id="_animation-template">
2
+ <div class="animation-main fixed-top">
3
+ <div class="content">
4
+ <div class="page"></div>
5
+ </div>
6
+ </div>
7
+ </template>
@@ -0,0 +1,6 @@
1
+ <template id="_back-template">
2
+ <a id="_back" class="back nav-btn no-hover">
3
+ <span class="sr-only">{{ strings.back | default:"Back" }}</span>
4
+ <span class="icon-arrow-left2"></span>
5
+ </a>
6
+ </template>
@@ -0,0 +1,12 @@
1
+ <template id="_cookies-banner-template">
2
+ <div id="_cookies-banner" class="navbar fixed-top CookiesOK">
3
+ <div class="content">
4
+ <div class="nav-btn-bar">
5
+ <small class="nav-btn">
6
+ <span>{{ site.data.strings.cookies_banner.text | default:'This site uses cookies.' | markdownify | replace:'<p>','' | replace:'</p>','' }}</span>
7
+ <button id="_cookies-ok" class="btn btn-primary btn-sm">{{ site.data.strings.cookies_banner.okay | default:'Okay' }}</button>
8
+ </small>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ </template>
@@ -0,0 +1,10 @@
1
+ <template id="_error-template">
2
+ <div class="page">
3
+ <h1 class="page-title">{{ strings.error.title | default:"Error" }}</h1>
4
+ {% capture link %}<a class="this-link" href=""></a>{% endcapture %}
5
+ {% assign text = strings.error.message | default:"Sorry, an error occurred while loading: <!--link-->." %}
6
+ <p class="lead">
7
+ {{ text | replace:"<!--link-->",link }}
8
+ </p>
9
+ </div>
10
+ </template>
@@ -0,0 +1,6 @@
1
+ <template id="_loading-template">
2
+ <div class="loading">
3
+ <span class="sr-only">{{ strings.loading | default:"Loading…" }}</span>
4
+ <span class="icon-cog"></span>
5
+ </div>
6
+ </template>
@@ -0,0 +1,6 @@
1
+ <template id="_permalink-template">
2
+ <a href="#" class="permalink">
3
+ <span class="sr-only">{{ strings.permalink | default:"Permalink" }}</span>
4
+ <span class="{{ strings.permalink_icon | default:"icon-link" }}"></span>
5
+ </a>
6
+ </template>
@@ -10,6 +10,6 @@
10
10
  /\___/ \ \____/
11
11
  \/__/ \/___/
12
12
 
13
- Powered by Hydejack v7.4.2 <https://qwtel.com/hydejack/>
13
+ Powered by Hydejack v7.5.0 <https://qwtel.com/hydejack/>
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>
@@ -25,6 +25,7 @@ $gray-text: #666;
25
25
  $root-font-size: 16px;
26
26
  $root-font-size-medium: 17px;
27
27
  $root-font-size-large: 18px;
28
+ $root-font-size-print: 11pt;
28
29
  $root-line-height: 1.75;
29
30
 
30
31
  $font-weight: 400;
@@ -55,7 +55,7 @@ html {
55
55
  }
56
56
 
57
57
 
58
- // @media print { html { font-size: $root-font-size; } }
58
+ // @media print { html { font-size: $root-font-size-print; } }
59
59
  // Link styles
60
60
  hy-push-state a, .a {
61
61
  position: relative;
@@ -99,7 +99,6 @@ hy-push-state a, .a {
99
99
  .mb4 { margin-bottom: 4rem }
100
100
  .mb6 { margin-bottom: 6rem }
101
101
  .mt0 { margin-top: 0 }
102
- .mt3 { margin-top: 3rem }
103
102
  .mt4 { margin-top: 4rem }
104
103
  .pb0 { padding-bottom: 0 }
105
104
 
@@ -31,7 +31,7 @@
31
31
 
32
32
  // <<< link
33
33
  @media screen {
34
- a[href*="//"]:not(.no-mark-external), , a.external:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
34
+ a.external, a[href*="//"]:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
35
35
  &::after {
36
36
  content: "\00A0\ea7e";
37
37
  font-family: 'icomoon'!important;
@@ -118,8 +118,6 @@ hy-drawer {
118
118
  width: 15rem;
119
119
  }
120
120
 
121
-
122
- // @media print { padding: 0 1.5rem; }
123
121
  }
124
122
 
125
123
  /* About section */
@@ -45,7 +45,7 @@ hy-push-state, hy-drawer {
45
45
 
46
46
 
47
47
 
48
- @media print { html { font-size: $root-font-size; } }
48
+ @media print { html { font-size: $root-font-size-print; } }
49
49
  // Link styles
50
50
  hy-push-state a, .a {
51
51
  // position: relative;
@@ -30,3 +30,10 @@
30
30
  // SOFTWARE.
31
31
 
32
32
 
33
+
34
+ .content {
35
+ @media print {
36
+ padding-bottom: 1rem;
37
+ }
38
+ }
39
+