jekyll-theme-hydejack 8.4.0 → 8.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -7
  3. data/_includes/body/footer.html +1 -1
  4. data/_includes/body/menu.html +12 -0
  5. data/_includes/body/scripts.html +4 -17
  6. data/_includes/components/post-list-item.html +1 -3
  7. data/_includes/head/links.html +1 -1
  8. data/_includes/head/meta.html +1 -1
  9. data/_includes/head/scripts.html +9 -15
  10. data/_includes/head/styles.html +10 -22
  11. data/_includes/header.txt +1 -1
  12. data/_includes/styles/inline.scss +3 -13
  13. data/_includes/styles/page-style.scss +8 -0
  14. data/_includes/styles/style.scss +5 -15
  15. data/_includes/templates/back.html +2 -2
  16. data/_includes/templates/forward.html +6 -0
  17. data/_includes/templates/index.html +1 -0
  18. data/_layouts/base.html +1 -1
  19. data/_layouts/compress.html +1 -1
  20. data/_sass/_variables.scss +1 -1
  21. data/_sass/hydejack/__link__/_images.scss +4 -0
  22. data/_sass/hydejack/_images.pre.scss +4 -0
  23. data/_sass/pooleparty/__inline__/_base.scss +4 -0
  24. data/_sass/pooleparty/__link__/_table.scss +0 -1
  25. data/_sass/pooleparty/_base.pre.scss +4 -0
  26. data/_sass/pooleparty/_table.pre.scss +0 -1
  27. data/assets/bower.json +1 -2
  28. data/assets/bower_components/katex/.bower.json +5 -5
  29. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
  30. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
  31. data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  32. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  33. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  34. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  35. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  36. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  37. data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  38. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  39. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  40. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  41. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  42. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  43. data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  44. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
  45. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
  46. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
  47. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  48. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  49. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  50. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
  51. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
  52. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
  53. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
  54. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
  55. data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
  56. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  57. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  58. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  59. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
  60. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
  61. data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
  62. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  63. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  64. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  65. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  66. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  67. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  68. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  69. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  70. data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  71. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
  72. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
  73. data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
  74. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
  75. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
  76. data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  77. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
  78. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
  79. data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  80. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
  81. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
  82. data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  83. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
  84. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
  85. data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  86. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  87. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  88. data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  89. data/assets/bower_components/katex/dist/katex.css +10 -0
  90. data/assets/bower_components/katex/dist/katex.js +541 -249
  91. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  92. data/assets/bower_components/katex/dist/katex.min.js +1 -1
  93. data/assets/bower_components/katex/dist/katex.mjs +418 -198
  94. data/assets/css/{hydejack-8.4.0.css → hydejack-8.5.0.css} +0 -0
  95. data/assets/icomoon/fonts/icomoon.eot +0 -0
  96. data/assets/icomoon/fonts/icomoon.svg +2 -0
  97. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  98. data/assets/icomoon/fonts/icomoon.woff +0 -0
  99. data/assets/icomoon/selection.json +1 -2555
  100. data/assets/icomoon/style.css +11 -5
  101. data/assets/img/blog/louis-hansel.jpg +0 -0
  102. data/assets/js/hydejack-8.5.0.js +162 -0
  103. data/assets/js/hydejack-8.5.0.js.map +1 -0
  104. data/assets/js/hydejack-legacy-8.5.0.js +191 -0
  105. data/assets/js/hydejack-legacy-8.5.0.js.map +1 -0
  106. data/assets/version.json +1 -1
  107. metadata +9 -22
  108. data/assets/bower_components/fontfaceobserver/.bower.json +0 -33
  109. data/assets/bower_components/fontfaceobserver/.gitignore +0 -2
  110. data/assets/bower_components/fontfaceobserver/.travis.yml +0 -16
  111. data/assets/bower_components/fontfaceobserver/Gruntfile.js +0 -101
  112. data/assets/bower_components/fontfaceobserver/LICENSE +0 -23
  113. data/assets/bower_components/fontfaceobserver/bower.json +0 -22
  114. data/assets/bower_components/fontfaceobserver/exports.js +0 -8
  115. data/assets/bower_components/fontfaceobserver/externs-commonjs.js +0 -10
  116. data/assets/bower_components/fontfaceobserver/externs.js +0 -15
  117. data/assets/bower_components/fontfaceobserver/fontfaceobserver.js +0 -12
  118. data/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js +0 -8
  119. data/assets/bower_components/fontfaceobserver/package.json +0 -57
  120. data/assets/bower_components/fontfaceobserver/src/descriptors.js +0 -10
  121. data/assets/bower_components/fontfaceobserver/src/observer.js +0 -349
  122. data/assets/bower_components/fontfaceobserver/src/ruler.js +0 -130
  123. data/assets/bower_components/fontfaceobserver/vendor/google/base.js +0 -1489
  124. data/assets/js/hydejack-8.3.1.js +0 -47
  125. data/assets/js/hydejack-8.3.2.js +0 -47
  126. data/assets/js/hydejack-8.4.0.js +0 -47
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12a2ea5a7563b85475351cfeb46e01ff40521977
4
- data.tar.gz: 85c04dea0b8e7be84303a8dae2eb55af0f0dce30
3
+ metadata.gz: c70f872495a59580dc0597ec53eb6351c186de70
4
+ data.tar.gz: af79d9ab26f44d6935a2e8cdf86380407cdbd629
5
5
  SHA512:
6
- metadata.gz: 58910d20fddb272eed7b832918b40648aab4aab3e4e2176367c9ab516e889e6648f9789b9541fc883ac48ad3e30ff664141c5b78d8db0006de55e96e88f1f60a
7
- data.tar.gz: 5f04362e44fe40d162277de2aa1847cb19ef5855c9e5e04ef9f4761d0152b67808156f561aa21381c54b793338ee7ab261cddef7cfba86bec953b7f7fb3442a6
6
+ metadata.gz: 3961a65a028deff871d35a1352ffd785d5b29288730fee0731320912c159d4865c174f6e319c99ad0aae108335c99d25886212ca41a9040907b87962e6359d2e
7
+ data.tar.gz: ada5cf2a14604cb7375a562122b1f0e7774c2f94c86f2b1d65da31c9bc23c07cf17a988f5b4981438ded98b611729d81d9fc8348772ae28470f0322251f0363d
data/README.md CHANGED
@@ -23,15 +23,15 @@ There are two versions of **Hydejack**: The base version is free, while features
23
23
  | [Welcome] | | ✔ |
24
24
  | [Newsletter Box][news] | | ✔ |
25
25
  | [Custom Forms][forms] | | ✔ |
26
- | Dark Mode | | ✔ |
26
+ | [Dark Mode][darkm] | | ✔ |
27
+ | [Offline Support][ofln]| | ✔ |
27
28
  | Cookie Banner | | ✔ |
28
- | Offline Support | | ✔ |
29
29
  | No Hydejack Branding | | ✔ |
30
30
  | License | [GPL-3.0][lic] | [PRO] |
31
31
  | Source | [GitHub][src] | Included |
32
32
  | Support[^1] | No | No |
33
33
  | Price | Free | $59 |
34
- | | [**Download**][kit] <br/>-- or --<br/> [![Deploy to Netlify][dtn]][nfy] | [**Buy PRO**][buy] |
34
+ | | [**Download**][kit] <br/>-- or --<br/> [![Deploy to Netlify][dtn]][nfy] | [**Buy PRO** --- $59][buy] |
35
35
 
36
36
 
37
37
 
@@ -126,15 +126,15 @@ This table below shows what's included in each version:
126
126
  | [Welcome] | | &#x2714; |
127
127
  | [Newsletter Box][news] | | &#x2714; |
128
128
  | [Custom Forms][forms] | | &#x2714; |
129
- | Dark Mode | | &#x2714; |
129
+ | [Dark Mode][darkm] | | &#x2714; |
130
+ | [Offline Support][ofln]| | &#x2714; |
130
131
  | Cookie Banner | | &#x2714; |
131
- | Offline Support | | &#x2714; |
132
132
  | No Hydejack Branding | | &#x2714; |
133
133
  | License | [GPL-3.0][lic] | [PRO] |
134
134
  | Source | [GitHub][src] | Included |
135
135
  | Support[^1] | No | No |
136
136
  | Price | Free | $59 |
137
- | | [**Download**][kit] <br/>-- or --<br/> [![Deploy to Netlify][dtn]][nfy] | [**Buy PRO**][buy] |
137
+ | | [**Download**][kit] <br/>-- or --<br/> [![Deploy to Netlify][dtn]][nfy] | [**Buy PRO** --- $59][buy] |
138
138
 
139
139
 
140
140
 
@@ -155,12 +155,14 @@ This table below shows what's included in each version:
155
155
  [news]: #build-an-audience
156
156
  [syntax]: #syntax-highlighting
157
157
  [latex]: hydejack/_posts/2018-06-01-example-content-iii.md#math
158
+ [darkm]: hydejack/_posts/2018-09-01-introducing-dark-mode.md
158
159
 
159
160
  [lic]: LICENSE.md
160
161
  [pro]: licenses/PRO.md
161
162
  [docs]: docs/README.md
163
+ [ofln]: docs/advanced.md#enabling-offline-support
162
164
 
163
- [kit]: https://github.com/qwtel/hydejack-starter-kit/archive/v8.4.0.zip
165
+ [kit]: https://github.com/qwtel/hydejack-starter-kit/archive/v8.5.0.zip
164
166
  [src]: https://github.com/qwtel/hydejack
165
167
  [gem]: https://rubygems.org/gems/jekyll-theme-hydejack
166
168
  [buy]: https://app.simplegoods.co/i/NATYVLYT
@@ -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">8.4.0</span></small></p>
16
+ <p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">8.5.0</span></small></p>
17
17
  <hr class="sr-only"/>
18
18
  </footer>
19
19
  {% endif %}
@@ -6,6 +6,18 @@
6
6
  <span class="sr-only">{{ site.data.strings.navigation | default:"Navigation" }}</span>
7
7
  <span class="icon-menu"></span>
8
8
  </a>
9
+ <!-- <a id="_search" class="nav-btn no-hover fl" href="#_search">
10
+ <span class="sr-only">{{ site.data.strings.search | default:"Search" }}</span>
11
+ <span class="icon-search"></span>
12
+ </a>
13
+ <form action="https://duckduckgo.com/" method="GET">
14
+ <div class="form-group fr">
15
+ <label class="sr-only" for="_search">{{ site.data.strings.search | default:"Search" }}</label>
16
+ <input id="_search" name="q" class="form-control" type="search" />
17
+ </div>
18
+ <input type="hidden" name="q" value="site:hydejack.com" />
19
+ <input type="hidden" name="ia" value="web" />
20
+ </form> -->
9
21
  </div>
10
22
  </div>
11
23
  </div>
@@ -1,22 +1,9 @@
1
+ <!--[if gt IE 10]><!---->
1
2
  {% unless page.redirect %}
2
- <!--[if !IE]><!---->
3
- <script>loadJSDeferred(document.getElementById('_hrefJS').href);</script>
3
+ <script type="module">window.__ESM__=!0; import '{{ "/assets/js/hydejack-8.5.0.js" | relative_url }}';</script>
4
+ <script nomodule>if (!window.__ESM__) loadJSDeferred(document.getElementById('_hrefJS').href);</script>
4
5
  {% include my-scripts.html %}
5
- <!--<![endif]-->
6
6
 
7
7
  {% include body/analytics.html %}
8
-
9
- <script>
10
- if ('serviceWorker' in navigator) {
11
- {% if site.hydejack.offline.enabled %}
12
- navigator.serviceWorker.register(document.getElementById('_hrefSW').href)
13
- .then(r => r.update())
14
- .catch(() => {});
15
- {% else %}
16
- navigator.serviceWorker.getRegistration()
17
- .then(r => r.unregister())
18
- .catch(() => {});
19
- {% endif %}
20
- }
21
- </script>
22
8
  {% endunless %}
9
+ <!--<![endif]-->
@@ -2,8 +2,6 @@
2
2
  {% assign format = include.format | default:site.data.strings.date_formats.related_post | default:"%d %b %Y" %}
3
3
 
4
4
  <li>
5
- <a href="{{ post.url | relative_url }}" class="h4 flip-title">
6
- <span>{{ post.title }}</span>
7
- </a>
5
+ <a href="{{ post.url | relative_url }}" class="h4 flip-title"><span>{{ post.title }}</span></a>
8
6
  <time class="heading faded fine" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:format }}</time>
9
7
  </li>
@@ -20,7 +20,7 @@
20
20
  This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools).
21
21
  -->{% endcomment %}
22
22
  <link rel="dns-prefetch" href="{{ '/' | relative_url }}" id="_baseURL">
23
- <link rel="dns-prefetch" href="{{ '/assets/js/hydejack-8.4.0.js' | relative_url }}" id="_hrefJS">
23
+ <link rel="dns-prefetch" href="{{ '/assets/js/hydejack-legacy-8.5.0.js' | relative_url }}" id="_hrefJS">
24
24
  <link rel="dns-prefetch" href="{{ '/sw.js' | relative_url }}" id="_hrefSW">
25
25
  <link rel="dns-prefetch" href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js' | relative_url }}" id="_hrefFFO">
26
26
  <link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}" id="_hrefKatexJS">
@@ -31,4 +31,4 @@
31
31
  <meta name="theme-color" content="{{ theme_color | default:'#193747' }}">
32
32
  {% endunless %}
33
33
 
34
- <meta name="generator" content="Hydejack v8.4.0" />
34
+ <meta name="generator" content="Hydejack v8.5.0" />
@@ -1,15 +1,9 @@
1
- <script>{% include scripts/load-js.min.js %}{% include scripts/loadCSS.min.js %}{% include scripts/cssrelpreload.min.js %}</script>
2
-
3
- <script>!function(w, d) {
4
- w._noPushState = {{ site.hydejack.no_push_state | default:site.disable_push_state | default:false }};
5
- w._noDrawer = {{ site.hydejack.no_drawer | default:site.disable_drawer | default:false }};
6
-
7
- /*{% unless site.hydejack.no_google_fonts or site.no_google_fonts %}*/
8
- loadJS(d.getElementById('_hrefFFO').href, function() {
9
- if ('Promise' in w) Promise.all([
10
- new FontFaceObserver('{{ font | split:',' | first }}').load(),
11
- new FontFaceObserver('{{ font_heading | split:',' | first }}').load(),
12
- ]).then(function f() { d.body.classList.add('font-active'); }, function() {});
13
- });
14
- /*{% endunless %}*/
15
- }(window, document);</script>
1
+ <script>
2
+ {% include scripts/load-js.min.js %}
3
+ {% include scripts/loadCSS.min.js %}
4
+ {% include scripts/cssrelpreload.min.js %}
5
+ !function(w, d) {
6
+ w._noPushState = {{ site.hydejack.no_push_state | default:site.disable_push_state | default:false }};
7
+ w._noDrawer = {{ site.hydejack.no_drawer | default:site.disable_drawer | default:false }};
8
+ }(window, document);
9
+ </script>
@@ -1,49 +1,37 @@
1
1
  <!--[if gt IE 8]><!---->
2
- {% capture style_url %}{% link assets/css/hydejack-8.4.0.css %}{% endcapture %}
2
+ {% capture style_url %}{% link assets/css/hydejack-8.5.0.css %}{% endcapture %}
3
3
  {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
4
- {% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts }}{% endcapture %}
4
+ {% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts }}&display=swap{% endcapture %}
5
5
 
6
6
  {% assign font_heading = site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" %}
7
7
  {% assign font = site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" %}
8
8
 
9
+ {% assign layout = page.layout %}
10
+ {% assign no_google_fonts = site.hydejack.no_google_fonts or site.no_google_fonts %}
11
+
9
12
  {% if site.hydejack.no_inline_css or jekyll.environment == 'development' %}
10
13
  <link rel="stylesheet" href="{{ style_url | relative_url }}">
11
14
  <link rel="stylesheet" href="{{ icons_url | relative_url }}">
12
- {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
15
+ {% unless no_google_fonts %}
13
16
  <link rel="stylesheet" href="{{ fonts_url }}">
14
- <noscript>
15
- <style>
16
- html { font-family: {{ font }}!important; }
17
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }}!important; }
18
- </style>
19
- </noscript>
20
17
  {% endunless %}
21
18
  {% else %}
22
19
  <style>
23
- {% capture to_scssify %}{% include styles/inline.scss %}{% endcapture %}
24
- {{ to_scssify | scssify }}
20
+ {% capture to_scssify %}{% include styles/inline.scss %}{% endcapture %}{{ to_scssify | scssify }}
25
21
  </style>
26
22
 
27
23
  <link rel="preload" as="style" href="{{ style_url | relative_url }}" id="_stylePreload">
28
- <script>setRel('_stylePreload');</script>
29
-
30
24
  <link rel="preload" as="style" href="{{ icons_url | relative_url }}" id="_iconsPreload">
31
- <script>setRel('_iconsPreload');</script>
32
-
33
- {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
25
+ {% unless no_google_fonts %}
34
26
  <link rel="preload" as="style" href="{{ fonts_url }}" id="_fontsPreload">
35
- <script>setRel('_fontsPreload');</script>
36
27
  {% endunless %}
37
28
 
29
+ <script>setRel('_stylePreload');setRel('_iconsPreload');/*{% unless no_google_fonts %}*/setRel('_fontsPreload');/*{% endunless %}*/</script>
38
30
  <noscript>
39
31
  <link rel="stylesheet" href="{{ style_url | relative_url }}">
40
32
  <link rel="stylesheet" href="{{ icons_url | relative_url }}">
41
- {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
33
+ {% unless no_google_fonts %}
42
34
  <link rel="stylesheet" href="{{ fonts_url }}">
43
- <style>
44
- html { font-family: {{ font }}!important; }
45
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading }}!important; }
46
- </style>
47
35
  {% endunless %}
48
36
  </noscript>
49
37
  {% endif %}
@@ -9,5 +9,5 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v8.4.0 <https://hydejack.com/>
12
+ * Powered by Hydejack v8.5.0 <https://hydejack.com/>
13
13
  */
@@ -20,6 +20,7 @@
20
20
 
21
21
  $font-family-heading: {{ site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" }};
22
22
  $font-family: {{ site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" }};
23
+ $theme-color: {{ site.theme_color | default:'#193747' }};
23
24
 
24
25
  @import "variables";
25
26
  @import "my-variables";
@@ -50,20 +51,9 @@ $font-family: {{ site.font | default:"Noto Sans, Helvetica, Aria
50
51
  @import "hydejack/__inline__/footer";
51
52
 
52
53
  @import "my-inline";
53
- // @import "my-style";
54
54
 
55
- {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
56
- {% assign font2 = font | split:',' | shift | join:',' %}
57
- {% assign font_heading2 = font_heading | split:',' | shift | join:',' %}
58
- {% endunless %}
59
-
60
- html { font-family: {{ font2 | default:"serif" }}; }
61
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading2 | default:"serif" }}; }
62
-
63
- .font-active {
64
- font-family: $font-family;
65
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
66
- }
55
+ html { font-family: $font-family; }
56
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
67
57
 
68
58
  {% if site.hydejack.no_page_style %}
69
59
  {% assign color = site.accent_color | default:'#4fb1ba' %}
@@ -4,41 +4,49 @@
4
4
  {% assign color = include.color | default:'#4fb1ba' %}
5
5
  {% assign theme_color = include.theme_color | default:'#193747' %}
6
6
 
7
+ // 0
7
8
  .content a:not(.btn) {
8
9
  color: {{ color }};
9
10
  border-color: fade-out({{ color }}, 0.8);
10
11
  }
11
12
 
13
+ // 1
12
14
  .content a:not(.btn):hover {
13
15
  border-color: {{ color }};
14
16
  }
15
17
 
18
+ // 2
16
19
  :focus {
17
20
  outline-color: {{ color }}!important;
18
21
  }
19
22
 
23
+ // 3
20
24
  .btn-primary {
21
25
  color: #fff;
22
26
  background-color: {{ color }};
23
27
  border-color: {{ color }};
24
28
  }
25
29
 
30
+ // 4
26
31
  .btn-primary:focus, .btn-primary.focus, .form-control:focus, .form-control.focus {
27
32
  box-shadow: 0 0 0 3px rgba({{ color }}, .5);
28
33
  }
29
34
 
35
+ // 5
30
36
  .btn-primary:hover, .btn-primary.hover {
31
37
  color: #fff;
32
38
  background-color: darken({{ color }}, 7.5%);
33
39
  border-color: darken({{ color }}, 7.5%);
34
40
  }
35
41
 
42
+ // 6
36
43
  .btn-primary:disabled, .btn-primary.disabled {
37
44
  color: #fff;
38
45
  background-color: {{ color }};
39
46
  border-color: {{ color }};
40
47
  }
41
48
 
49
+ // 7
42
50
  .btn-primary:active, .btn-primary.active {
43
51
  color: #fff;
44
52
  background-color: darken({{ color }}, 7.5%);
@@ -20,6 +20,7 @@
20
20
 
21
21
  $font-family-heading: {{ site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" }};
22
22
  $font-family: {{ site.font | default:"Noto Sans, Helvetica, Arial, sans-serif" }};
23
+ $theme-color: {{ site.theme_color | default:'#193747' }};
23
24
 
24
25
  @import "variables";
25
26
  @import "my-variables";
@@ -53,16 +54,15 @@ $font-family: {{ site.font | default:"Noto Sans, Helvetica, Aria
53
54
  @import "hydejack/__link__/footer";
54
55
 
55
56
  {% unless site.hydejack.no_mark_external or site.no_mark_external %}
56
- @import "hydejack/__link__/mark-external";
57
+ @import "hydejack/__link__/mark-external";
57
58
  {% endunless %}
58
59
  {% unless site.hydejack.no_break_layout %}
59
- @import "hydejack/__link__/break-layout";
60
+ @import "hydejack/__link__/break-layout";
60
61
  {% endunless %}
61
62
 
62
63
  @import "syntax";
63
64
  @import "spinner";
64
65
 
65
- // @import "my-inline";
66
66
  @import "my-style";
67
67
  {% else %}
68
68
  @import "pooleparty/_base.pre.scss";
@@ -102,18 +102,8 @@ $font-family: {{ site.font | default:"Noto Sans, Helvetica, Aria
102
102
  @import "my-inline";
103
103
  @import "my-style";
104
104
 
105
- {% unless site.hydejack.no_google_fonts or site.no_google_fonts %}
106
- {% assign font = font | split:',' | shift | join:',' %}
107
- {% assign font_heading = font_heading | split:',' | shift | join:',' %}
108
- {% endunless %}
109
-
110
- html { font-family: {{ font | default:"serif" }}; }
111
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{ font_heading | default:"serif" }}; }
112
-
113
- .font-active {
114
- font-family: $font-family;
115
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
116
- }
105
+ html { font-family: $font-family; }
106
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
117
107
 
118
108
  {% if site.hydejack.no_page_style %}
119
109
  {% assign color = site.accent_color | default:'#4fb1ba' %}
@@ -1,6 +1,6 @@
1
1
  <template id="_back-template" hidden>
2
- <a id="_back" class="back nav-btn fl no-hover">
2
+ <button id="_back" class="back nav-btn no-hover fl">
3
3
  <span class="sr-only">{{ strings.back | default:"Back" }}</span>
4
4
  <span class="icon-arrow-left2"></span>
5
- </a>
5
+ </button>
6
6
  </template>
@@ -0,0 +1,6 @@
1
+ <template id="_forward-template" hidden>
2
+ <button id="_forward" class="forward nav-btn no-hover fl">
3
+ <span class="sr-only">{{ strings.forward | default:"Forward" }}</span>
4
+ <span class="icon-arrow-right2"></span>
5
+ </button>
6
+ </template>
@@ -4,6 +4,7 @@
4
4
  {% include templates/animation.html %}
5
5
  {% include templates/loading.html %}
6
6
  {% include templates/error.html %}
7
+ {% include templates/forward.html %}
7
8
  {% include templates/back.html %}
8
9
  {% include templates/permalink.html %}
9
10
  {% if site.hydejack.cookies_banner %}
@@ -33,6 +33,6 @@ layout: compress
33
33
  {% include head/index.html %}
34
34
  </head>
35
35
 
36
- <body>
36
+ <body class="no-color-transition">
37
37
  {% include body/index.html %}
38
38
  </body>
@@ -10,6 +10,6 @@
10
10
  /\___/ \ \____/
11
11
  \/__/ \/___/
12
12
 
13
- Powered by Hydejack v8.4.0 <https://hydejack.com/>
13
+ Powered by Hydejack v8.5.0 <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>
@@ -50,7 +50,7 @@ $break-point-1: 42em;
50
50
  $break-point-2: 54em;
51
51
  $break-point-3: 64em;
52
52
  $break-point-4: 72em;
53
- $break-point-5: 90em;
53
+ $break-point-5: 88em;
54
54
  $break-point-font-large: 124em;
55
55
 
56
56
  // The sidebar width starts adjusting dynamically when the content is at the center of the window.
@@ -76,6 +76,10 @@ figure, .figure {
76
76
  }
77
77
  }
78
78
 
79
+ .highlighter-rouge + .figure {
80
+ margin-top: -1.5rem;
81
+ }
82
+
79
83
  @keyframes fade-img {
80
84
  from { opacity: 0; }
81
85
  to { opacity: 1; }
@@ -69,6 +69,10 @@ figure, .figure {
69
69
  }
70
70
  }
71
71
 
72
+ .highlighter-rouge + .figure {
73
+ margin-top: -1.5rem;
74
+ }
75
+
72
76
  @keyframes fade-img {
73
77
  from { opacity: 0; }
74
78
  to { opacity: 1; }