jekyll-theme-hydejack 9.0.2 → 9.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/_config.yml +5 -4
  4. data/_includes/body/breadcrumbs.html +19 -0
  5. data/_includes/body/footer.html +1 -1
  6. data/_includes/body/index.html +3 -2
  7. data/_includes/body/main.html +1 -0
  8. data/_includes/body/nav.html +3 -3
  9. data/_includes/body/scripts.html +2 -2
  10. data/_includes/body/sidebar.html +1 -1
  11. data/_includes/components/dingbat.html +12 -0
  12. data/_includes/components/hy-img.html +1 -1
  13. data/_includes/components/post.html +35 -9
  14. data/_includes/components/tag-list.html +24 -24
  15. data/_includes/head/links-static.html +3 -2
  16. data/_includes/head/meta-static.html +1 -1
  17. data/_includes/head/scripts.html +7 -2
  18. data/_includes/head/styles-inline.html +1 -1
  19. data/_includes/head/styles-no-inline.html +1 -1
  20. data/_includes/header.txt +1 -1
  21. data/_includes/scripts.html +33 -0
  22. data/_includes/scripts/load-js.min.js +1 -1
  23. data/_includes/scripts/nomodule.min.js +1 -1
  24. data/_includes/smart-url +10 -1
  25. data/_includes/styles/page-style.scss +1 -0
  26. data/_includes/styles/style.scss +1 -0
  27. data/_includes/styles/variables.scss +10 -6
  28. data/_includes/templates/animation.html +1 -0
  29. data/_includes/templates/index.html +20 -2
  30. data/_layouts/about.html +4 -1
  31. data/_layouts/base.html +3 -12
  32. data/_layouts/compress.html +1 -1
  33. data/_layouts/list.html +1 -1
  34. data/_layouts/page.html +4 -2
  35. data/_layouts/plain.html +29 -0
  36. data/_layouts/post.html +6 -1
  37. data/_sass/_mixins.scss +26 -3
  38. data/_sass/_tippy.scss +40 -0
  39. data/_sass/html.scss +1 -7
  40. data/_sass/hydejack/__inline__/_base.scss +23 -4
  41. data/_sass/hydejack/__inline__/_content.scss +8 -5
  42. data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
  43. data/_sass/hydejack/__inline__/_toc.scss +11 -11
  44. data/_sass/hydejack/__inline__/_utilities.scss +25 -0
  45. data/_sass/hydejack/__link__/_base.scss +9 -2
  46. data/_sass/hydejack/__link__/_break-layout.scss +8 -1
  47. data/_sass/hydejack/__link__/_content.scss +10 -4
  48. data/_sass/hydejack/__link__/_images.scss +1 -1
  49. data/_sass/hydejack/__link__/_sidebar.scss +15 -5
  50. data/_sass/hydejack/__link__/_toc.scss +4 -2
  51. data/_sass/hydejack/__link__/_utilities.scss +25 -0
  52. data/_sass/hydejack/_base.pre.scss +38 -8
  53. data/_sass/hydejack/_break-layout.pre.scss +8 -1
  54. data/_sass/hydejack/_content.pre.scss +12 -12
  55. data/_sass/hydejack/_images.pre.scss +1 -1
  56. data/_sass/hydejack/_sidebar.pre.scss +29 -5
  57. data/_sass/hydejack/_toc.pre.scss +14 -14
  58. data/_sass/hydejack/_utilities.pre.scss +25 -0
  59. data/_sass/pooleparty/__inline__/_base.scss +2 -0
  60. data/_sass/pooleparty/__inline__/_code.scss +1 -1
  61. data/_sass/pooleparty/__inline__/_message.scss +2 -2
  62. data/_sass/pooleparty/__inline__/_posts.scss +19 -3
  63. data/_sass/pooleparty/__inline__/_type.scss +4 -2
  64. data/_sass/pooleparty/__link__/_code.scss +138 -27
  65. data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
  66. data/_sass/pooleparty/__link__/_posts.scss +12 -0
  67. data/_sass/pooleparty/__link__/_read-more.scss +1 -0
  68. data/_sass/pooleparty/__link__/_table.scss +30 -36
  69. data/_sass/pooleparty/__link__/_type.scss +4 -2
  70. data/_sass/pooleparty/_base.pre.scss +2 -0
  71. data/_sass/pooleparty/_code.pre.scss +138 -27
  72. data/_sass/pooleparty/_footnotes.pre.scss +2 -1
  73. data/_sass/pooleparty/_message.pre.scss +2 -2
  74. data/_sass/pooleparty/_posts.pre.scss +31 -3
  75. data/_sass/pooleparty/_read-more.pre.scss +1 -0
  76. data/_sass/pooleparty/_table.pre.scss +30 -36
  77. data/_sass/pooleparty/_type.pre.scss +6 -4
  78. data/_sass/tippyjs/_mixins.scss +25 -0
  79. data/_sass/tippyjs/_vars.scss +6 -0
  80. data/_sass/tippyjs/animations/fade.scss +8 -0
  81. data/_sass/tippyjs/index.scss +90 -0
  82. data/assets/bower.json +2 -1
  83. data/assets/bower_components/MathJax/.bower.json +5 -5
  84. data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
  85. data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
  86. data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
  87. data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
  88. data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
  89. data/assets/bower_components/MathJax/es5/core.js +1 -1
  90. data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
  91. data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
  92. data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
  93. data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
  94. data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
  95. data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
  96. data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
  97. data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
  98. data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
  99. data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
  100. data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
  101. data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
  102. data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
  103. data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
  104. data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
  105. data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
  106. data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
  107. data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
  108. data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
  109. data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
  110. data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
  111. data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
  112. data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
  113. data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
  114. data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
  115. data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
  116. data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
  117. data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
  118. data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
  119. data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
  120. data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
  121. data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
  122. data/assets/bower_components/MathJax/es5/latest.js +1 -1
  123. data/assets/bower_components/MathJax/es5/loader.js +1 -1
  124. data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
  125. data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
  126. data/assets/bower_components/MathJax/es5/node-main.js +1 -1
  127. data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
  128. data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
  129. data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
  130. data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
  131. data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
  132. data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
  133. data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
  134. data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
  135. data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
  136. data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
  137. data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
  138. data/assets/bower_components/MathJax/es5/startup.js +1 -1
  139. data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
  140. data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
  141. data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
  142. data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
  143. data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
  144. data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
  145. data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
  146. data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
  147. data/assets/bower_components/MathJax/package.json +3 -3
  148. data/assets/bower_components/katex/.bower.json +7 -6
  149. data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +858 -0
  150. data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
  151. data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +741 -0
  152. data/assets/bower_components/katex/dist/katex.css +1 -10
  153. data/assets/bower_components/katex/dist/katex.js +1228 -612
  154. data/assets/bower_components/katex/dist/katex.min.css +1 -1
  155. data/assets/bower_components/katex/dist/katex.min.js +1 -1
  156. data/assets/bower_components/katex/dist/katex.mjs +1270 -591
  157. data/assets/bower_components/katex/docs/cli.md.template +21 -0
  158. data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
  159. data/assets/bower_components/katex/yarn.lock +233 -172
  160. data/assets/css/{hydejack-9.0.2.css → hydejack-9.1.2.css} +0 -0
  161. data/assets/icomoon/fonts/icomoon.eot +0 -0
  162. data/assets/icomoon/fonts/icomoon.svg +6 -3
  163. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  164. data/assets/icomoon/fonts/icomoon.woff +0 -0
  165. data/assets/icomoon/selection.json +1 -1
  166. data/assets/icomoon/style.css +17 -8
  167. data/assets/icons/favicon.ico +0 -0
  168. data/assets/icons/icon-128x128.png +0 -0
  169. data/assets/icons/icon-144x144.png +0 -0
  170. data/assets/icons/icon-152x152.png +0 -0
  171. data/assets/icons/icon-192x192.png +0 -0
  172. data/assets/icons/icon-384x384.png +0 -0
  173. data/assets/icons/icon-512x512.png +0 -0
  174. data/assets/icons/icon-72x72.png +0 -0
  175. data/assets/icons/icon-96x96.png +0 -0
  176. data/assets/img/logo.png +0 -0
  177. data/assets/img/sidebar-bg.jpg +0 -0
  178. data/assets/img/swipe.svg +1 -22
  179. data/assets/js/LEGACY-clap-button-hydejack-9.1.2.js +14 -0
  180. data/assets/js/LEGACY-drawer-hydejack-9.1.2.js +14 -0
  181. data/assets/js/{LEGACY-fetch-hydejack-9.0.2.js → LEGACY-fetch-hydejack-9.1.2.js} +2 -2
  182. data/assets/js/LEGACY-hydejack-9.1.2.js +27 -0
  183. data/assets/js/LEGACY-navbar-hydejack-9.1.2.js +14 -0
  184. data/assets/js/LEGACY-push-state-hydejack-9.1.2.js +14 -0
  185. data/assets/js/{resize-observer-hydejack-9.0.2.js → LEGACY-resize-observer-hydejack-9.1.2.js} +2 -2
  186. data/assets/js/{LEGACY-shadydom-hydejack-9.0.2.js → LEGACY-shadydom-hydejack-9.1.2.js} +2 -2
  187. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.2.js +182 -0
  188. data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.2.js +48 -0
  189. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.2.js +214 -0
  190. data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.2.js +14 -0
  191. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.2.js +14 -0
  192. data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.2.js +34 -0
  193. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.2.js +155 -0
  194. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.2.js → LEGACY-vendors~webanimations-hydejack-9.1.2.js} +2 -2
  195. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.2.js → LEGACY-vendors~webcomponents-hydejack-9.1.2.js} +4 -4
  196. data/assets/js/{LEGACY-webcomponents-hydejack-9.0.2.js → LEGACY-webcomponents-hydejack-9.1.2.js} +2 -2
  197. data/assets/js/clap-button-hydejack-9.1.2.js +14 -0
  198. data/assets/js/drawer-hydejack-9.1.2.js +14 -0
  199. data/assets/js/{shadydom-hydejack-9.0.2.js → fetch-hydejack-9.1.2.js} +2 -2
  200. data/assets/js/hydejack-9.1.2.js +28 -0
  201. data/assets/js/navbar-hydejack-9.1.2.js +14 -0
  202. data/assets/js/push-state-hydejack-9.1.2.js +14 -0
  203. data/assets/js/{LEGACY-resize-observer-hydejack-9.0.2.js → resize-observer-hydejack-9.1.2.js} +2 -2
  204. data/assets/js/shadydom-hydejack-9.1.2.js +14 -0
  205. data/assets/js/vendors~clap-button-hydejack-9.1.2.js +222 -0
  206. data/assets/js/vendors~drawer-hydejack-9.1.2.js +48 -0
  207. data/assets/js/vendors~drawer~push-state-hydejack-9.1.2.js +163 -0
  208. data/assets/js/vendors~fetch-hydejack-9.1.2.js +14 -0
  209. data/assets/js/vendors~intersection-observer-hydejack-9.1.2.js +14 -0
  210. data/assets/js/vendors~push-state-hydejack-9.1.2.js +34 -0
  211. data/assets/js/vendors~shadydom-hydejack-9.1.2.js +146 -0
  212. data/assets/js/{vendors~webanimations-hydejack-9.0.2.js → vendors~webanimations-hydejack-9.1.2.js} +2 -2
  213. data/assets/js/{webcomponents-hydejack-9.0.2.js → webcomponents-hydejack-9.1.2.js} +2 -2
  214. data/assets/site.webmanifest +1 -1
  215. data/assets/version.json +2 -2
  216. metadata +59 -38
  217. data/_includes/templates/back.html +0 -6
  218. data/_includes/templates/forward.html +0 -6
  219. data/assets/js/LEGACY-drawer-hydejack-9.0.2.js +0 -14
  220. data/assets/js/LEGACY-hydejack-9.0.2.js +0 -28
  221. data/assets/js/LEGACY-navbar-hydejack-9.0.2.js +0 -14
  222. data/assets/js/LEGACY-push-state-hydejack-9.0.2.js +0 -14
  223. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js +0 -47
  224. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js +0 -215
  225. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js +0 -14
  226. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js +0 -14
  227. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js +0 -33
  228. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js +0 -155
  229. data/assets/js/drawer-hydejack-9.0.2.js +0 -14
  230. data/assets/js/fetch-hydejack-9.0.2.js +0 -14
  231. data/assets/js/hydejack-9.0.2.js +0 -28
  232. data/assets/js/navbar-hydejack-9.0.2.js +0 -14
  233. data/assets/js/push-state-hydejack-9.0.2.js +0 -14
  234. data/assets/js/vendors~drawer-hydejack-9.0.2.js +0 -47
  235. data/assets/js/vendors~drawer~push-state-hydejack-9.0.2.js +0 -163
  236. data/assets/js/vendors~intersection-observer-hydejack-9.0.2.js +0 -14
  237. data/assets/js/vendors~push-state-hydejack-9.0.2.js +0 -33
  238. data/assets/js/vendors~shadydom-hydejack-9.0.2.js +0 -146
@@ -13,17 +13,19 @@
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
- /*{% assign vars = site.data.variables %}*/
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", 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' %}
17
19
 
18
- $font-family: {{ vars.font | default:site.font }};
19
- $font-family-heading: {{ vars.font_heading | default:site.font_heading }};
20
- $code-font-family: {{ vars.font_code | default:site.font_code }};
21
- $theme-color: {{ vars.theme_color | default:site.theme_color | default:'rgb(8,46,57)' }};
20
+ $font-family: {{ vars.font | default:site.font | default:ui_font }};
21
+ $font-family-heading: {{ vars.font_heading | default:site.font_heading | default:ui_font }};
22
+ $code-font-family: {{ vars.font_code | default:site.font_code | default:ui_font_code }};
23
+ $theme-color: {{ vars.theme_color | default:site.theme_color | default:'rgb(8,46,57)' }};
22
24
 
23
25
  $root-font-size: {{ vars.root_font_size | default:15 }}px;
24
26
  $root-font-size-medium: {{ vars.root_font_size_medium | default:16 }}px;
25
27
  $root-font-size-large: {{ vars.root_font_size_large | default:17 }}px;
26
- $root-font-size-print: {{ vars.root_font_size_print | default:9 }}pt;
28
+ $root-font-size-print: {{ vars.root_font_size_print | default:8 }}pt;
27
29
  $root-line-height: {{ vars.root_line_height | default:1.75 }};
28
30
 
29
31
  $font-weight: {{ vars.font_weight | default:400 }};
@@ -44,6 +46,8 @@ $break-point-3: {{ vars.break_point_3 | default:64 }}em;
44
46
  $break-point-4: {{ vars.break_point_4 | default:72 }}em;
45
47
  $break-point-5: {{ vars.break_point_5 | default:86 }}em;
46
48
 
49
+ $border-radius: {{ vars.border_radius | default:0.5 }}rem;
50
+
47
51
  $break-point-font-large: {{ vars.break_point_font_large | default:124 }}em;
48
52
 
49
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.2 <https://hydejack.com/>
13
+ Powered by Hydejack v9.1.2 <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/list.html CHANGED
@@ -14,7 +14,7 @@
14
14
  # You should have received a copy of the GNU General Public License
15
15
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
 
17
- layout: page
17
+ layout: plain
18
18
  ---
19
19
 
20
20
  {{ content }}
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" 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,40 @@
1
+ $namespace-prefix: 'tippy';
2
+
3
+ @import "tippyjs/index";
4
+
5
+ [data-tippy-root] {
6
+ --body-color: var(--inv-body-color);
7
+ --body-bg: var(--inv-body-bg);
8
+ }
9
+
10
+ .tippy-box {
11
+ color: var(--body-color)!important;
12
+ background-color: var(--body-bg)!important;
13
+ }
14
+
15
+ .tippy-content {
16
+ font-family: $font-family!important;
17
+ font-weight: normal!important;
18
+ a {
19
+ @extend .heading;
20
+ text-underline-offset: 0.15rem;
21
+ }
22
+ }
23
+
24
+ .tippy-arrow {
25
+ color: var(--body-bg)!important;
26
+ }
27
+
28
+ .dark-mode {
29
+ .tippy-content {
30
+ -webkit-font-smoothing: initial;
31
+ -moz-osx-font-smoothing: initial;
32
+ }
33
+ }
34
+
35
+ .light-mode {
36
+ .tippy-content {
37
+ -webkit-font-smoothing: antialiased;
38
+ -moz-osx-font-smoothing: grayscale;
39
+ }
40
+ }
data/_sass/html.scss CHANGED
@@ -3,13 +3,7 @@ html {
3
3
  --font-family-heading: #{$font-family-heading};
4
4
  --code-font-family: #{$code-font-family};
5
5
 
6
- --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
@@ -24,12 +24,11 @@
24
24
 
25
25
 
26
26
 
27
-
28
27
  body::before {
29
28
  @media screen {
30
29
  content: '';
31
30
  width: .5rem;
32
- background: var(--border-color);
31
+ background: var(--gray-bg);
33
32
  position: fixed;
34
33
  left: 0;
35
34
  top: 0;
@@ -55,5 +54,25 @@ html {
55
54
  }
56
55
  }
57
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
+ }
58
78
 
59
- // @media print { html { font-size: var(--root-font-size-print); } }
@@ -22,18 +22,21 @@
22
22
  // You should have received a copy of the GNU General Public License
23
23
  // along with this program. If not, see <http://www.gnu.org/licenses/>.
24
24
 
25
-
26
25
  .content {
26
+
27
27
  margin-left: auto;
28
28
  margin-right: auto;
29
29
  padding: 8rem $content-padding 12rem;
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;
@@ -53,6 +57,8 @@
53
57
  @media screen and (min-width: $break-point-dynamic) {
54
58
  margin: auto;
55
59
  }
60
+
61
+
56
62
  }
57
63
 
58
64
  .large-only {
@@ -61,6 +67,3 @@
61
67
  display: block;
62
68
  }
63
69
  }
64
-
65
-
66
-
@@ -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;
@@ -25,18 +25,12 @@
25
25
  #markdown-toc {
26
26
 
27
27
  @extend .note-sm;
28
- padding: 0 1.5rem .5rem 2.5rem;
29
28
  margin: 2rem -1rem 2rem calc(-1rem + 1px);
29
+ padding-left: 2.5rem;
30
+ padding-bottom: .5rem;
30
31
 
31
32
  // transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease;
32
- &:before {
33
- position: relative;
34
- left: -1.5rem;
35
- top: -.25rem;
36
- display: inline-block;
37
- margin-bottom: .25rem;
38
- }
39
-
33
+ &:before { left: 1rem; }
40
34
  }
41
35
 
42
36
  body:not(.no-toc) #markdown-toc {
@@ -44,12 +38,18 @@ body:not(.no-toc) #markdown-toc {
44
38
 
45
39
  position: absolute;
46
40
  z-index: 4;
47
- width: calc(50% - #{$half-content});
41
+ width: 20.5rem;
48
42
  right: 0;
49
43
  margin: auto;
50
44
  overflow: auto;
51
45
 
52
- // overscroll-behavior: contain;
53
46
 
54
47
  }
55
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
+ }