jekyll-theme-hydejack 9.0.4 → 9.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +5 -4
  3. data/_includes/body/breadcrumbs.html +19 -0
  4. data/_includes/body/footer.html +1 -1
  5. data/_includes/body/index.html +3 -2
  6. data/_includes/body/main.html +1 -0
  7. data/_includes/body/nav.html +3 -3
  8. data/_includes/body/scripts.html +2 -2
  9. data/_includes/body/sidebar.html +1 -1
  10. data/_includes/components/dingbat.html +13 -0
  11. data/_includes/components/post.html +35 -9
  12. data/_includes/components/tag-list.html +24 -24
  13. data/_includes/head/index.html +1 -1
  14. data/_includes/head/links-static.html +7 -4
  15. data/_includes/head/meta-static.html +1 -1
  16. data/_includes/head/scripts.html +7 -2
  17. data/_includes/head/styles-inline.html +4 -2
  18. data/_includes/head/styles-no-inline.html +4 -2
  19. data/_includes/header.txt +1 -1
  20. data/_includes/scripts.html +33 -0
  21. data/_includes/scripts/load-js.min.js +1 -1
  22. data/_includes/scripts/nomodule.min.js +1 -1
  23. data/_includes/smart-url +10 -1
  24. data/_includes/styles/page-style.scss +1 -0
  25. data/_includes/styles/style.scss +1 -0
  26. data/_includes/styles/variables.scss +4 -2
  27. data/_includes/templates/animation.html +1 -0
  28. data/_includes/templates/index.html +20 -2
  29. data/_layouts/about.html +4 -1
  30. data/_layouts/base.html +3 -12
  31. data/_layouts/compress.html +1 -1
  32. data/_layouts/page.html +4 -2
  33. data/_layouts/plain.html +29 -0
  34. data/_layouts/post.html +6 -1
  35. data/_sass/_mixins.scss +26 -3
  36. data/_sass/_tippy.scss +41 -0
  37. data/_sass/html.scss +1 -7
  38. data/_sass/hydejack/__inline__/_base.scss +23 -1
  39. data/_sass/hydejack/__inline__/_content.scss +5 -1
  40. data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
  41. data/_sass/hydejack/__inline__/_toc.scss +9 -5
  42. data/_sass/hydejack/__inline__/_utilities.scss +25 -0
  43. data/_sass/hydejack/__link__/_base.scss +1 -1
  44. data/_sass/hydejack/__link__/_break-layout.scss +8 -1
  45. data/_sass/hydejack/__link__/_images.scss +1 -1
  46. data/_sass/hydejack/__link__/_sidebar.scss +15 -5
  47. data/_sass/hydejack/__link__/_toc.scss +4 -4
  48. data/_sass/hydejack/__link__/_utilities.scss +25 -0
  49. data/_sass/hydejack/_base.pre.scss +23 -1
  50. data/_sass/hydejack/_break-layout.pre.scss +8 -1
  51. data/_sass/hydejack/_content.pre.scss +5 -1
  52. data/_sass/hydejack/_images.pre.scss +1 -1
  53. data/_sass/hydejack/_sidebar.pre.scss +29 -5
  54. data/_sass/hydejack/_toc.pre.scss +12 -6
  55. data/_sass/hydejack/_utilities.pre.scss +25 -0
  56. data/_sass/pooleparty/__inline__/_base.scss +2 -0
  57. data/_sass/pooleparty/__inline__/_code.scss +1 -1
  58. data/_sass/pooleparty/__inline__/_message.scss +1 -1
  59. data/_sass/pooleparty/__inline__/_posts.scss +19 -3
  60. data/_sass/pooleparty/__inline__/_type.scss +4 -2
  61. data/_sass/pooleparty/__link__/_code.scss +138 -27
  62. data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
  63. data/_sass/pooleparty/__link__/_posts.scss +12 -0
  64. data/_sass/pooleparty/__link__/_read-more.scss +1 -0
  65. data/_sass/pooleparty/__link__/_table.scss +30 -36
  66. data/_sass/pooleparty/__link__/_type.scss +4 -2
  67. data/_sass/pooleparty/_base.pre.scss +2 -0
  68. data/_sass/pooleparty/_code.pre.scss +138 -27
  69. data/_sass/pooleparty/_footnotes.pre.scss +2 -1
  70. data/_sass/pooleparty/_message.pre.scss +1 -1
  71. data/_sass/pooleparty/_posts.pre.scss +31 -3
  72. data/_sass/pooleparty/_read-more.pre.scss +1 -0
  73. data/_sass/pooleparty/_table.pre.scss +30 -36
  74. data/_sass/pooleparty/_type.pre.scss +6 -4
  75. data/_sass/tippyjs/_mixins.scss +25 -0
  76. data/_sass/tippyjs/_vars.scss +6 -0
  77. data/_sass/tippyjs/animations/fade.scss +8 -0
  78. data/_sass/tippyjs/index.scss +90 -0
  79. data/assets/bower.json +2 -1
  80. data/assets/bower_components/MathJax/.bower.json +5 -5
  81. data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
  82. data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
  83. data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
  84. data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
  85. data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
  86. data/assets/bower_components/MathJax/es5/core.js +1 -1
  87. data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
  88. data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
  89. data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
  90. data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
  91. data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
  92. data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
  93. data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
  94. data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
  95. data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
  96. data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
  97. data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
  98. data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
  99. data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
  100. data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
  101. data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
  102. data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
  103. data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
  104. data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
  105. data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
  106. data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
  107. data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
  108. data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
  109. data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
  110. data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
  111. data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
  112. data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
  113. data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
  114. data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
  115. data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
  116. data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
  117. data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
  118. data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
  119. data/assets/bower_components/MathJax/es5/latest.js +1 -1
  120. data/assets/bower_components/MathJax/es5/loader.js +1 -1
  121. data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
  122. data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
  123. data/assets/bower_components/MathJax/es5/node-main.js +1 -1
  124. data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
  125. data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
  126. data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
  127. data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
  128. data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
  129. data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
  130. data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
  131. data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
  132. data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
  133. data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
  134. data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
  135. data/assets/bower_components/MathJax/es5/startup.js +1 -1
  136. data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
  137. data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
  138. data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
  139. data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
  140. data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
  141. data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
  142. data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
  143. data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
  144. data/assets/bower_components/MathJax/package.json +3 -3
  145. data/assets/bower_components/katex/.bower.json +7 -6
  146. data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +858 -0
  147. data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
  148. data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +741 -0
  149. data/assets/bower_components/katex/dist/katex.css +1 -10
  150. data/assets/bower_components/katex/dist/katex.js +1228 -612
  151. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  152. data/assets/bower_components/katex/dist/katex.min.js +1 -1
  153. data/assets/bower_components/katex/dist/katex.mjs +1270 -591
  154. data/assets/bower_components/katex/docs/cli.md.template +21 -0
  155. data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
  156. data/assets/bower_components/katex/yarn.lock +233 -172
  157. data/assets/css/{hydejack-9.0.4.css → hydejack-9.1.4.css} +0 -0
  158. data/assets/icomoon/fonts/icomoon.eot +0 -0
  159. data/assets/icomoon/fonts/icomoon.svg +6 -3
  160. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  161. data/assets/icomoon/fonts/icomoon.woff +0 -0
  162. data/assets/icomoon/selection.json +1 -1
  163. data/assets/icomoon/style.css +17 -8
  164. data/assets/icons/icon-128x128.png +0 -0
  165. data/assets/icons/icon-144x144.png +0 -0
  166. data/assets/icons/icon-152x152.png +0 -0
  167. data/assets/icons/icon-192x192.png +0 -0
  168. data/assets/icons/icon-384x384.png +0 -0
  169. data/assets/icons/icon-512x512.png +0 -0
  170. data/assets/icons/icon-96x96.png +0 -0
  171. data/assets/img/logo.png +0 -0
  172. data/assets/img/sidebar-bg.jpg +0 -0
  173. data/assets/img/swipe.svg +1 -22
  174. data/assets/js/LEGACY-clap-button-hydejack-9.1.4.js +14 -0
  175. data/assets/js/LEGACY-drawer-hydejack-9.1.4.js +14 -0
  176. data/assets/js/{LEGACY-fetch-hydejack-9.0.4.js → LEGACY-fetch-hydejack-9.1.4.js} +2 -2
  177. data/assets/js/LEGACY-hydejack-9.1.4.js +27 -0
  178. data/assets/js/LEGACY-navbar-hydejack-9.1.4.js +14 -0
  179. data/assets/js/LEGACY-push-state-hydejack-9.1.4.js +14 -0
  180. data/assets/js/LEGACY-resize-observer-hydejack-9.1.4.js +14 -0
  181. data/assets/js/{LEGACY-shadydom-hydejack-9.0.4.js → LEGACY-shadydom-hydejack-9.1.4.js} +2 -2
  182. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.4.js +14 -0
  183. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.4.js +48 -0
  184. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.4.js +214 -0
  185. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.4.js +14 -0
  186. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.4.js +14 -0
  187. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.4.js +34 -0
  188. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.4.js +155 -0
  189. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.4.js → LEGACY-vendors~webanimations-hydejack-9.1.4.js} +2 -2
  190. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.4.js → LEGACY-vendors~webcomponents-hydejack-9.1.4.js} +4 -4
  191. data/assets/js/{LEGACY-webcomponents-hydejack-9.0.4.js → LEGACY-webcomponents-hydejack-9.1.4.js} +2 -2
  192. data/assets/js/clap-button-hydejack-9.1.4.js +14 -0
  193. data/assets/js/drawer-hydejack-9.1.4.js +14 -0
  194. data/assets/js/{shadydom-hydejack-9.0.4.js → fetch-hydejack-9.1.4.js} +2 -2
  195. data/assets/js/hydejack-9.1.4.js +28 -0
  196. data/assets/js/navbar-hydejack-9.1.4.js +14 -0
  197. data/assets/js/push-state-hydejack-9.1.4.js +14 -0
  198. data/assets/js/resize-observer-hydejack-9.1.4.js +14 -0
  199. data/assets/js/{fetch-hydejack-9.0.4.js → shadydom-hydejack-9.1.4.js} +2 -2
  200. data/assets/js/vendors~clap-button-hydejack-9.1.4.js +14 -0
  201. data/assets/js/vendors~drawer-hydejack-9.1.4.js +48 -0
  202. data/assets/js/vendors~drawer~push-state-hydejack-9.1.4.js +163 -0
  203. data/assets/js/vendors~fetch-hydejack-9.1.4.js +14 -0
  204. data/assets/js/vendors~intersection-observer-hydejack-9.1.4.js +14 -0
  205. data/assets/js/vendors~push-state-hydejack-9.1.4.js +34 -0
  206. data/assets/js/vendors~shadydom-hydejack-9.1.4.js +146 -0
  207. data/assets/js/{vendors~webanimations-hydejack-9.0.4.js → vendors~webanimations-hydejack-9.1.4.js} +2 -2
  208. data/assets/js/{webcomponents-hydejack-9.0.4.js → webcomponents-hydejack-9.1.4.js} +2 -2
  209. data/assets/site.webmanifest +1 -1
  210. data/assets/version.json +2 -2
  211. metadata +59 -47
  212. data/_includes/templates/back.html +0 -6
  213. data/_includes/templates/forward.html +0 -6
  214. data/assets/js/LEGACY-drawer-hydejack-9.0.4.js +0 -14
  215. data/assets/js/LEGACY-hydejack-9.0.4.js +0 -28
  216. data/assets/js/LEGACY-navbar-hydejack-9.0.4.js +0 -14
  217. data/assets/js/LEGACY-push-state-hydejack-9.0.4.js +0 -14
  218. data/assets/js/LEGACY-resize-observer-hydejack-9.0.4.js +0 -14
  219. data/assets/js/LEGACY-search-hydejack-9.0.4.js +0 -14
  220. data/assets/js/LEGACY-toc-hydejack-9.0.4.js +0 -14
  221. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.4.js +0 -47
  222. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.4.js +0 -215
  223. data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.4.js +0 -151
  224. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.4.js +0 -14
  225. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.4.js +0 -14
  226. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.4.js +0 -33
  227. data/assets/js/LEGACY-vendors~search-hydejack-9.0.4.js +0 -40
  228. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.4.js +0 -155
  229. data/assets/js/drawer-hydejack-9.0.4.js +0 -14
  230. data/assets/js/hydejack-9.0.4.js +0 -28
  231. data/assets/js/navbar-hydejack-9.0.4.js +0 -14
  232. data/assets/js/push-state-hydejack-9.0.4.js +0 -14
  233. data/assets/js/resize-observer-hydejack-9.0.4.js +0 -14
  234. data/assets/js/search-hydejack-9.0.4.js +0 -14
  235. data/assets/js/toc-hydejack-9.0.4.js +0 -14
  236. data/assets/js/vendors~drawer-hydejack-9.0.4.js +0 -47
  237. data/assets/js/vendors~drawer~push-state-hydejack-9.0.4.js +0 -163
  238. data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.4.js +0 -124
  239. data/assets/js/vendors~fetch-hydejack-9.0.4.js +0 -14
  240. data/assets/js/vendors~intersection-observer-hydejack-9.0.4.js +0 -14
  241. data/assets/js/vendors~push-state-hydejack-9.0.4.js +0 -33
  242. data/assets/js/vendors~search-hydejack-9.0.4.js +0 -40
  243. data/assets/js/vendors~shadydom-hydejack-9.0.4.js +0 -146
@@ -14,8 +14,8 @@
14
14
  // along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  // {% assign vars = site.data.variables %}
17
- // {% assign ui_font = 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif' %}
18
- // {% assign ui_font_code = 'ui-monospace, monospace' %}
17
+ // {% assign ui_font = 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif' %}
18
+ // {% assign ui_font_code = 'ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace' %}
19
19
 
20
20
  $font-family: {{ vars.font | default:site.font | default:ui_font }};
21
21
  $font-family-heading: {{ vars.font_heading | default:site.font_heading | default:ui_font }};
@@ -46,6 +46,8 @@ $break-point-3: {{ vars.break_point_3 | default:64 }}em;
46
46
  $break-point-4: {{ vars.break_point_4 | default:72 }}em;
47
47
  $break-point-5: {{ vars.break_point_5 | default:86 }}em;
48
48
 
49
+ $border-radius: {{ vars.border_radius | default:0.5 }}rem;
50
+
49
51
  $break-point-font-large: {{ vars.break_point_font_large | default:124 }}em;
50
52
 
51
53
  $content-margin-3: 3rem;
@@ -1,5 +1,6 @@
1
1
  <template id="_animation-template">
2
2
  <div class="animation-main fixed-top">
3
+ {% unless site.hydejack.no_breadcrumbs %}{% include body/breadcrumbs.html url="/" %}{% endunless %}
3
4
  <div class="content">
4
5
  <div class="page"></div>
5
6
  </div>
@@ -2,10 +2,28 @@
2
2
  {% assign strings = site.data.strings %}
3
3
  <h2 class="sr-only">{{ strings.templates | default: "Templates"}}{{ strings.colon | default:":" }}</h2>
4
4
 
5
+ <clap-config>
6
+ <clap-text at="1">Keep going!</clap-text>
7
+ <clap-text at="2">Keep going ×2!</clap-text>
8
+ <clap-text at="3">Give me more!</clap-text>
9
+ <clap-text at="5">Thank you, thank you</clap-text>
10
+ <clap-text at="7">Far too kind!</clap-text>
11
+ <clap-text at="10">Never gonna give me up?</clap-text>
12
+ <clap-text at="14">Never gonna let me down?</clap-text>
13
+ <clap-text at="20">Turn around and desert me!</clap-text>
14
+ <clap-text at="30">You're an addict!</clap-text>
15
+ <clap-text at="40">Son of a clapper!</clap-text>
16
+ <clap-text at="50">No way</clap-text>
17
+ <clap-text at="60">Go back to work!</clap-text>
18
+ <clap-text at="70">This is getting out of <em>hand</em></clap-text>
19
+ <clap-text at="80">Unbelievable</clap-text>
20
+ <clap-text at="90">PREPOSTEROUS</clap-text>
21
+ <clap-text at="100">I N S A N I T Y</clap-text>
22
+ <clap-text at="185"><span style="font-family:monospace">FEED ME A STRAY CAT</span></clap-text>
23
+ </clap-config>
24
+
5
25
  {% include templates/animation.html %}
6
26
  {% include templates/loading.html %}
7
27
  {% include templates/error.html %}
8
- {% include templates/forward.html %}
9
- {% include templates/back.html %}
10
28
  {% include templates/permalink.html %}
11
29
  </div>
data/_layouts/about.html CHANGED
@@ -17,7 +17,7 @@
17
17
  layout: base
18
18
  ---
19
19
 
20
- <article class="page" role="article">
20
+ <article class="page mb6" role="article">
21
21
  {% if content contains "<!--author-->" %}
22
22
  {% assign plugins = site.plugins | default:site.gems %}
23
23
  {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
@@ -41,3 +41,6 @@ layout: base
41
41
 
42
42
  {{ content }}
43
43
  </article>
44
+
45
+ {% include components/dingbat.html %}
46
+ {% include body/comments.html %}
data/_layouts/base.html CHANGED
@@ -17,22 +17,13 @@
17
17
  layout: compress
18
18
  ---
19
19
 
20
- {% assign version = jekyll.version | split:'.' %}
21
- {% assign major = v[0] %}
22
- {% assign minor = v[1] %}
23
- {% assign patch = v[2] %}
24
-
25
20
  {% assign plugins = site.plugins | default:site.gems %}
26
21
 
27
22
  {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
28
23
 
29
- {% assign image = site.accent_image | default:'/assets/img/sidebar-bg.jpg' %}
30
- {% assign color = site.accent_color | default:'rgb(79,177,186)' %}
31
- {% assign theme_color = site.theme_color | default:'rgb(8,46,57)' %}
32
-
33
- {% if page.accent_image %}{% assign image = page.accent_image %}{% endif %}
34
- {% if page.accent_color %}{% assign color = page.accent_color %}{% endif %}
35
- {% if page.theme_color %}{% assign theme_color = page.theme_color %}{% endif %}
24
+ {% assign image = page.accent_image | default:site.accent_image | default:'/assets/img/sidebar-bg.jpg' %}
25
+ {% assign color = page.accent_color | default:site.accent_color | default:'rgb(79,177,186)' %}
26
+ {% assign theme_color = page.theme_color | default:site.theme_color | default:'rgb(8,46,57)' %}
36
27
 
37
28
  <head>
38
29
  {% include head/index.html %}
@@ -10,6 +10,6 @@
10
10
  /\___/ \ \____/
11
11
  \/__/ \/___/
12
12
 
13
- Powered by Hydejack v9.0.4 <https://hydejack.com/>
13
+ Powered by Hydejack v9.1.4 <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/_layouts/page.html CHANGED
@@ -17,12 +17,14 @@
17
17
  layout: base
18
18
  ---
19
19
 
20
- <article class="page" role="article">
20
+ <article class="page mb6" role="article">
21
21
  <header>
22
22
  <h1 class="page-title">{{ page.title }}</h1>
23
23
  {% include components/message.html text=page.description hide=page.hide_description %}
24
24
  </header>
25
25
 
26
26
  {{ content }}
27
- {% include body/comments.html %}
28
27
  </article>
28
+
29
+ {% include components/dingbat.html %}
30
+ {% include body/comments.html %}
@@ -0,0 +1,29 @@
1
+ ---
2
+ # Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
3
+ #
4
+ # This program is free software: you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License as published by
6
+ # the Free Software Foundation, either version 3 of the License, or
7
+ # (at your option) any later version.
8
+ #
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+
17
+ layout: base
18
+ ---
19
+
20
+ <article class="page mb6" role="article">
21
+ <header>
22
+ <h1 class="page-title">{{ page.title }}</h1>
23
+ {% include components/message.html text=page.description hide=page.hide_description %}
24
+ </header>
25
+
26
+ {{ content }}
27
+ </article>
28
+
29
+ {% include components/dingbat.html hidden=true %}
data/_layouts/post.html CHANGED
@@ -17,9 +17,14 @@
17
17
  layout: base
18
18
  ---
19
19
 
20
+ {% assign version = jekyll.version | split:'.' %}
21
+ {% assign major = version[0] | plus:0 %}
22
+ {% assign minor = version[1] | plus:0 %}
23
+ {% assign patch = version[2] | plus:0 %}
24
+
20
25
  {% include_cached components/post.html post=page no_link_title=true no_excerpt=true hide_image=page.hide_image hide_description=page.hide_description %}
21
26
 
22
- <hr class="dingbat related" />
27
+ {% include components/dingbat.html %}
23
28
 
24
29
  {% assign addons = page.addons | default:site.hydejack.post_addons %}
25
30
  {% unless addons %}{% assign addons = "about,newsletter,related,random" | split:"," %}{% endunless %}
data/_sass/_mixins.scss CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2019 Florian Klampfer <https://qwtel.com/>
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
 
@@ -45,5 +62,11 @@
45
62
  @mixin fallback-image() {
46
63
  background-position: center;
47
64
  background-repeat: no-repeat;
48
- background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ibWF0cml4KDAuMDQ4ODI4LCAwLCAwLCAwLjA0Nzk5MSwgNTQuOTk5OTczLCAyMC40MjgxNDgpIj4KICAgIDxwYXRoIGQ9Ik05NTkuODg0IDEyOGMwLjA0MCAwLjAzNCAwLjA4MiAwLjA3NiAwLjExNiAwLjExNnY3NjcuNzdjLTAuMDM0IDAuMDQwLTAuMDc2IDAuMDgyLTAuMTE2IDAuMTE2aC04OTUuNzdjLTAuMDQwLTAuMDM0LTAuMDgyLTAuMDc2LTAuMTE0LTAuMTE2di03NjcuNzcyYzAuMDM0LTAuMDQwIDAuMDc2LTAuMDgyIDAuMTE0LTAuMTE0aDg5NS43N3pNOTYwIDY0aC04OTZjLTM1LjIgMC02NCAyOC44LTY0IDY0djc2OGMwIDM1LjIgMjguOCA2NCA2NCA2NGg4OTZjMzUuMiAwIDY0LTI4LjggNjQtNjR2LTc2OGMwLTM1LjItMjguOC02NC02NC02NHYweiIgc3R5bGU9ImZpbGw6IHJnYigyMjEsIDIyMSwgMjIxKTsiLz4KICAgIDxwYXRoIGQ9Ik04MzIgMjg4YzAgNTMuMDIwLTQyLjk4IDk2LTk2IDk2cy05Ni00Mi45OC05Ni05NiA0Mi45OC05NiA5Ni05NiA5NiA0Mi45OCA5NiA5NnoiIHN0eWxlPSJmaWxsOiByZ2IoMjIxLCAyMjEsIDIyMSk7Ii8+CiAgICA8cGF0aCBkPSJNODk2IDgzMmgtNzY4di0xMjhsMjI0LTM4NCAyNTYgMzIwaDY0bDIyNC0xOTJ6IiBzdHlsZT0iZmlsbDogcmdiKDIyMSwgMjIxLCAyMjEpOyIvPgogIDwvZz4KPC9zdmc+');
49
- }
65
+ background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ibWF0cml4KDAuMDQ4ODI4LCAwLCAwLCAwLjA0Nzk5MSwgNTQuOTk5OTczLCAyMC40MjgxNDgpIj4KICAgIDxwYXRoIHN0eWxlPSJmaWxsOnJnYmEoMTI4LDEyOCwxMjgsLjMzKSIgZD0iTTk1OS44ODQgMTI4YzAuMDQwIDAuMDM0IDAuMDgyIDAuMDc2IDAuMTE2IDAuMTE2djc2Ny43N2MtMC4wMzQgMC4wNDAtMC4wNzYgMC4wODItMC4xMTYgMC4xMTZoLTg5NS43N2MtMC4wNDAtMC4wMzQtMC4wODItMC4wNzYtMC4xMTQtMC4xMTZ2LTc2Ny43NzJjMC4wMzQtMC4wNDAgMC4wNzYtMC4wODIgMC4xMTQtMC4xMTRoODk1Ljc3ek05NjAgNjRoLTg5NmMtMzUuMiAwLTY0IDI4LjgtNjQgNjR2NzY4YzAgMzUuMiAyOC44IDY0IDY0IDY0aDg5NmMzNS4yIDAgNjQtMjguOCA2NC02NHYtNzY4YzAtMzUuMi0yOC44LTY0LTY0LTY0djB6Ii8+CiAgICA8cGF0aCBzdHlsZT0iZmlsbDpyZ2JhKDEyOCwxMjgsMTI4LC4zMykiIGQ9Ik04MzIgMjg4YzAgNTMuMDIwLTQyLjk4IDk2LTk2IDk2cy05Ni00Mi45OC05Ni05NiA0Mi45OC05NiA5Ni05NiA5NiA0Mi45OCA5NiA5NnoiLz4KICAgIDxwYXRoIHN0eWxlPSJmaWxsOnJnYmEoMTI4LDEyOCwxMjgsLjMzKSIgZD0iTTg5NiA4MzJoLTc2OHYtMTI4bDIyNC0zODQgMjU2IDMyMGg2NGwyMjQtMTkyeiIvPgogIDwvZz4KPC9zdmc+');
66
+ }
67
+
68
+ @mixin border-radius() {
69
+ @media (min-width: $break-point-1) {
70
+ border-radius: $border-radius;
71
+ }
72
+ }
data/_sass/_tippy.scss ADDED
@@ -0,0 +1,41 @@
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-decoration: none;
21
+ border: none;
22
+ }
23
+ }
24
+
25
+ .tippy-arrow {
26
+ color: var(--body-bg)!important;
27
+ }
28
+
29
+ .dark-mode {
30
+ .tippy-content {
31
+ -webkit-font-smoothing: initial;
32
+ -moz-osx-font-smoothing: initial;
33
+ }
34
+ }
35
+
36
+ .light-mode {
37
+ .tippy-content {
38
+ -webkit-font-smoothing: antialiased;
39
+ -moz-osx-font-smoothing: grayscale;
40
+ }
41
+ }
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
- --gray: #{$gray};
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};
@@ -7,7 +7,7 @@
7
7
  // During development you can run `npm run watch:css`
8
8
  // to continuosly rebuild this file.
9
9
 
10
- // Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
10
+ // Copyright (c) 2021 Florian Klampfer <https://qwtel.com/>
11
11
  //
12
12
  // This program is free software: you can redistribute it and/or modify
13
13
  // it under the terms of the GNU General Public License as published by
@@ -54,3 +54,25 @@ html {
54
54
  }
55
55
  }
56
56
 
57
+ #breadcrumbs {
58
+ > ul {
59
+ @extend .ellipsis;
60
+ height: 1rem;
61
+ margin: -1.5rem 0 .5rem;
62
+ padding: 0;
63
+ font-size: .667rem;
64
+ color: var(--menu-text);
65
+ text-transform: uppercase;
66
+ width: 100%;
67
+ list-style: none;
68
+ > li {
69
+ display: inline;
70
+ a {
71
+ color: var(--gray);
72
+ text-decoration: none;
73
+ border-bottom: none;
74
+ }
75
+ }
76
+ }
77
+ }
78
+
@@ -30,10 +30,13 @@
30
30
 
31
31
  @media screen {
32
32
  padding-left: $content-padding + .5rem;
33
- max-width: $content-width;
34
33
  min-height: 100vh;
35
34
  }
36
35
 
36
+ @media screen and (min-width: $break-point-1) {
37
+ max-width: $content-width;
38
+ }
39
+
37
40
  @media screen and (min-width: $break-point-2) {
38
41
  max-width: $content-width-2;
39
42
  }
@@ -45,6 +48,7 @@
45
48
  }
46
49
 
47
50
  @media screen and (min-width: $break-point-5) {
51
+ padding-top: 9rem;
48
52
  margin-left: $sidebar-width + $content-margin-5;
49
53
  margin-right: $content-margin-5;
50
54
  max-width: $content-width-5;
@@ -68,16 +68,25 @@ hy-drawer {
68
68
  color: rgba(255, 255, 255, .75);
69
69
  text-align: center;
70
70
  min-height: 100vh;
71
+ &.invert { color: rgba(32, 32, 32, .75) }
71
72
 
72
73
 
73
74
  a {
75
+
74
76
  color: #fff;
75
77
  border-bottom-color: rgba(255, 255, 255, 0.2);
76
78
  text-decoration-color: rgba(255, 255, 255, 0.2);
77
- &:hover {
78
- // border-bottom-color: #fff;
79
- // text-decoration-color: #fff;
80
- }
79
+
80
+
81
+ }
82
+
83
+ &.invert a {
84
+
85
+ color: #222;
86
+ border-bottom-color: rgba(32, 32, 32, 0.2);
87
+ text-decoration-color: rgba(32, 32, 32, 0.2);
88
+
89
+
81
90
  }
82
91
  }
83
92
 
@@ -148,6 +157,11 @@ hy-drawer {
148
157
  }
149
158
  }
150
159
 
160
+ .sidebar.invert .sidebar-about > a.sidebar-title{
161
+ &::after { border-color: rgba(32, 32, 32, 0.2) }
162
+ &:hover::after { border-color: #222 }
163
+ }
164
+
151
165
  .sidebar-nav > ul {
152
166
  list-style: none;
153
167
  padding-left: 0;
@@ -30,9 +30,7 @@
30
30
  padding-bottom: .5rem;
31
31
 
32
32
  // transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease;
33
- &:before {
34
- left: 1rem;
35
- }
33
+ &:before { left: 1rem; }
36
34
  }
37
35
 
38
36
  body:not(.no-toc) #markdown-toc {
@@ -40,12 +38,18 @@ body:not(.no-toc) #markdown-toc {
40
38
 
41
39
  position: absolute;
42
40
  z-index: 4;
43
- width: calc(50% - #{$half-content});
41
+ width: 20.5rem;
44
42
  right: 0;
45
43
  margin: auto;
46
44
  overflow: auto;
47
45
 
48
- // overscroll-behavior: contain;
49
46
 
50
47
  }
51
48
  }
49
+
50
+
51
+ body.no-break-layout:not(.no-toc) #markdown-toc {
52
+ @media screen and (min-width: $break-point-dynamic) {
53
+ width: calc(50% - #{$half-content});
54
+ }
55
+ }
@@ -32,6 +32,8 @@
32
32
  .mt3 { margin-top: 3rem }
33
33
  .mt4 { margin-top: 4rem }
34
34
  .pb0 { padding-bottom: 0 }
35
+ .ml1 { margin-left: 1rem }
36
+ .mr1 { margin-right: 1rem }
35
37
 
36
38
  .sixteen-nine { @include aspect-ratio(16, 9); }
37
39
  .sixteen-ten { @include aspect-ratio(16, 10); }
@@ -42,7 +44,30 @@
42
44
 
43
45
  }
44
46
 
47
+ .larger { font-size: larger; }
48
+ .smaller { font-size: smaller; }
49
+
50
+ .clearfix {
51
+ content: "";
52
+ display: table;
53
+ clear: both;
54
+ }
55
+
56
+ .ellipsis {
57
+ white-space: nowrap;
58
+ overflow: hidden;
59
+ text-overflow: ellipsis;
60
+ }
61
+
45
62
  .border {
46
63
  border: 1px solid var(--border-color);
47
64
  // transition: border-color 1s ease;
48
65
  }
66
+
67
+ .border-radius {
68
+ @include border-radius();
69
+ }
70
+
71
+ .fallback-img {
72
+ @include fallback-image();
73
+ }