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
@@ -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
@@ -29,6 +29,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
29
29
  @media screen {
30
30
  position: relative;
31
31
  width: calc(100% + #{$pad});
32
+ border-top-right-radius: 0!important;
33
+ border-bottom-right-radius: 0!important;
32
34
  }
33
35
 
34
36
  @media screen and (min-width: $content-width) {
@@ -52,7 +54,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
52
54
  }
53
55
 
54
56
  @media screen and (min-width: $break-point-dynamic) {
55
- width: calc(100% + #{$content-margin-5 + 2rem});
57
+ $x: ($content-width-5 / 2) - ($content-padding * 2) + 21rem;
58
+ width: calc(100% + 50vw - #{$x} + 2px);
56
59
  }
57
60
  }
58
61
 
@@ -62,6 +65,10 @@ body:not(.no-break-layout) {
62
65
  }
63
66
  }
64
67
 
68
+ body.no-break-layout {
69
+ width: calc(100% + #{$content-margin-5 + 2rem});
70
+ }
71
+
65
72
  body.no-toc:not(.no-break-layout) {
66
73
  pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
67
74
  @media screen and (min-width: $break-point-dynamic) {
@@ -40,7 +40,7 @@ figure, .figure {
40
40
  margin-bottom: 2rem;
41
41
 
42
42
  > *:first-child {
43
- margin-bottom: .5rem;
43
+ margin-bottom: 1rem;
44
44
  }
45
45
  }
46
46
 
@@ -65,13 +65,23 @@ hy-drawer {
65
65
 
66
66
 
67
67
  a {
68
- // color: #fff;
69
- // border-bottom-color: rgba(255, 255, 255, 0.2);
70
- // text-decoration-color: rgba(255, 255, 255, 0.2);
68
+
69
+
70
+ &:hover {
71
+ border-bottom-color: #fff;
72
+ text-decoration-color: #fff;
73
+ }
74
+
75
+ }
76
+
77
+ &.invert a {
78
+
79
+
71
80
  &:hover {
72
- border-bottom-color: #fff;
73
- text-decoration-color: #fff;
81
+ border-bottom-color: #222;
82
+ text-decoration-color: #222;
74
83
  }
84
+
75
85
  }
76
86
  }
77
87
 
@@ -25,16 +25,15 @@
25
25
  #markdown-toc {
26
26
 
27
27
  transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease;
28
- &:before {
29
- left: 1rem;
30
- }
28
+ &:before { left: 1rem; }
31
29
  }
32
30
 
33
31
  body:not(.no-toc) #markdown-toc {
34
32
  @media screen and (min-width: $break-point-dynamic) {
35
33
 
36
- overscroll-behavior: contain;
37
34
 
35
+ overscroll-behavior: contain;
36
+
38
37
  &.toc-hide {
39
38
  opacity: 0;
40
39
  transform: translateX(-2rem);
@@ -53,3 +52,4 @@ body:not(.no-toc) #markdown-toc {
53
52
 
54
53
  }
55
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); }
@@ -51,7 +53,30 @@
51
53
 
52
54
  }
53
55
 
56
+ .larger { font-size: larger; }
57
+ .smaller { font-size: smaller; }
58
+
59
+ .clearfix {
60
+ content: "";
61
+ display: table;
62
+ clear: both;
63
+ }
64
+
65
+ .ellipsis {
66
+ white-space: nowrap;
67
+ overflow: hidden;
68
+ text-overflow: ellipsis;
69
+ }
70
+
54
71
  .border {
55
72
  // border: 1px solid var(--border-color);
56
73
  transition: border-color 1s ease;
57
74
  }
75
+
76
+ .border-radius {
77
+ @include border-radius();
78
+ }
79
+
80
+ .fallback-img {
81
+ @include fallback-image();
82
+ }
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2017 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
@@ -56,6 +56,28 @@ html {
56
56
  font-size: var(--root-font-size-large);
57
57
  }
58
58
  }
59
+
60
+ #breadcrumbs {
61
+ > ul {
62
+ @extend .ellipsis;
63
+ height: 1rem;
64
+ margin: -1.5rem 0 .5rem;
65
+ padding: 0;
66
+ font-size: .667rem;
67
+ color: var(--menu-text);
68
+ text-transform: uppercase;
69
+ width: 100%;
70
+ list-style: none;
71
+ > li {
72
+ display: inline;
73
+ a {
74
+ color: var(--gray);
75
+ text-decoration: none;
76
+ border-bottom: none;
77
+ }
78
+ }
79
+ }
80
+ }
59
81
  // >>>
60
82
  // <<< LINK
61
83
  @media print {
@@ -20,6 +20,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
20
20
  @media screen {
21
21
  position: relative;
22
22
  width: calc(100% + #{$pad});
23
+ border-top-right-radius: 0!important;
24
+ border-bottom-right-radius: 0!important;
23
25
  }
24
26
 
25
27
  @media screen and (min-width: $content-width) {
@@ -43,7 +45,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
43
45
  }
44
46
 
45
47
  @media screen and (min-width: $break-point-dynamic) {
46
- width: calc(100% + #{$content-margin-5 + 2rem});
48
+ $x: ($content-width-5 / 2) - ($content-padding * 2) + 21rem;
49
+ width: calc(100% + 50vw - #{$x} + 2px);
47
50
  }
48
51
  }
49
52
 
@@ -53,6 +56,10 @@ body:not(.no-break-layout) {
53
56
  }
54
57
  }
55
58
 
59
+ body.no-break-layout {
60
+ width: calc(100% + #{$content-margin-5 + 2rem});
61
+ }
62
+
56
63
  body.no-toc:not(.no-break-layout) {
57
64
  pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
58
65
  @media screen and (min-width: $break-point-dynamic) {
@@ -21,10 +21,13 @@
21
21
 
22
22
  @media screen {
23
23
  padding-left: $content-padding + .5rem;
24
- max-width: $content-width;
25
24
  min-height: 100vh;
26
25
  }
27
26
 
27
+ @media screen and (min-width: $break-point-1) {
28
+ max-width: $content-width;
29
+ }
30
+
28
31
  @media screen and (min-width: $break-point-2) {
29
32
  max-width: $content-width-2;
30
33
  }
@@ -36,6 +39,7 @@
36
39
  }
37
40
 
38
41
  @media screen and (min-width: $break-point-5) {
42
+ padding-top: 9rem;
39
43
  margin-left: $sidebar-width + $content-margin-5;
40
44
  margin-right: $content-margin-5;
41
45
  max-width: $content-width-5;
@@ -31,7 +31,7 @@ figure, .figure {
31
31
  margin-bottom: 2rem;
32
32
 
33
33
  > *:first-child {
34
- margin-bottom: .5rem;
34
+ margin-bottom: 1rem;
35
35
  }
36
36
  }
37
37
 
@@ -74,16 +74,35 @@ hy-drawer {
74
74
  color: rgba(255, 255, 255, .75);
75
75
  text-align: center;
76
76
  min-height: 100vh;
77
+ &.invert { color: rgba(32, 32, 32, .75) }
77
78
  // >>>
78
79
 
79
80
  a {
80
- color: #fff; // inline
81
- border-bottom-color: rgba(255, 255, 255, 0.2); // inline
82
- text-decoration-color: rgba(255, 255, 255, 0.2); // inline
81
+ // <<< inline
82
+ color: #fff;
83
+ border-bottom-color: rgba(255, 255, 255, 0.2);
84
+ text-decoration-color: rgba(255, 255, 255, 0.2);
85
+ // >>>
86
+ // <<< link
87
+ &:hover {
88
+ border-bottom-color: #fff;
89
+ text-decoration-color: #fff;
90
+ }
91
+ // >>>
92
+ }
93
+
94
+ &.invert a {
95
+ // <<< inline
96
+ color: #222;
97
+ border-bottom-color: rgba(32, 32, 32, 0.2);
98
+ text-decoration-color: rgba(32, 32, 32, 0.2);
99
+ // >>>
100
+ // <<< link
83
101
  &:hover {
84
- border-bottom-color: #fff; // link
85
- text-decoration-color: #fff; // link
102
+ border-bottom-color: #222;
103
+ text-decoration-color: #222;
86
104
  }
105
+ // >>>
87
106
  }
88
107
  }
89
108
 
@@ -158,6 +177,11 @@ hy-drawer.loaded .sidebar {
158
177
  }
159
178
  }
160
179
 
180
+ .sidebar.invert .sidebar-about > a.sidebar-title{
181
+ &::after { border-color: rgba(32, 32, 32, 0.2) }
182
+ &:hover::after { border-color: #222 }
183
+ }
184
+
161
185
  .sidebar-nav > ul {
162
186
  list-style: none;
163
187
  padding-left: 0;
@@ -21,9 +21,7 @@
21
21
  padding-bottom: .5rem;
22
22
  // >>>
23
23
  transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease; // link
24
- &:before {
25
- left: 1rem;
26
- }
24
+ &:before { left: 1rem; }
27
25
  }
28
26
 
29
27
  body:not(.no-toc) #markdown-toc {
@@ -31,14 +29,14 @@ body:not(.no-toc) #markdown-toc {
31
29
  // <<< inline
32
30
  position: absolute;
33
31
  z-index: 4;
34
- width: calc(50% - #{$half-content});
32
+ width: 20.5rem;
35
33
  right: 0;
36
34
  margin: auto;
37
35
  overflow: auto;
38
36
  // >>>
39
- overscroll-behavior: contain; // link
40
-
41
37
  // <<< link
38
+ overscroll-behavior: contain;
39
+
42
40
  &.toc-hide {
43
41
  opacity: 0;
44
42
  transform: translateX(-2rem);
@@ -57,3 +55,11 @@ body:not(.no-toc) #markdown-toc {
57
55
  // >>>
58
56
  }
59
57
  }
58
+
59
+ // <<< inline
60
+ body.no-break-layout:not(.no-toc) #markdown-toc {
61
+ @media screen and (min-width: $break-point-dynamic) {
62
+ width: calc(50% - #{$half-content});
63
+ }
64
+ }
65
+ // >>>
@@ -23,6 +23,8 @@
23
23
  .mt3 { margin-top: 3rem }
24
24
  .mt4 { margin-top: 4rem }
25
25
  .pb0 { padding-bottom: 0 }
26
+ .ml1 { margin-left: 1rem }
27
+ .mr1 { margin-right: 1rem }
26
28
 
27
29
  .sixteen-nine { @include aspect-ratio(16, 9); }
28
30
  .sixteen-ten { @include aspect-ratio(16, 10); }
@@ -43,7 +45,30 @@
43
45
  // >>>
44
46
  }
45
47
 
48
+ .larger { font-size: larger; }
49
+ .smaller { font-size: smaller; }
50
+
51
+ .clearfix {
52
+ content: "";
53
+ display: table;
54
+ clear: both;
55
+ }
56
+
57
+ .ellipsis {
58
+ white-space: nowrap;
59
+ overflow: hidden;
60
+ text-overflow: ellipsis;
61
+ }
62
+
46
63
  .border {
47
64
  border: 1px solid var(--border-color); // inline
48
65
  transition: border-color 1s ease; // link
49
66
  }
67
+
68
+ .border-radius {
69
+ @include border-radius();
70
+ }
71
+
72
+ .fallback-img {
73
+ @include fallback-image();
74
+ }
@@ -59,8 +59,10 @@ p {
59
59
  }
60
60
 
61
61
  .lead {
62
+ @extend .border-radius;
62
63
  margin-left: -1rem;
63
64
  margin-right: -1rem;
65
+ margin-bottom: 1.5rem;
64
66
  }
65
67
 
66
68
  img, video {
@@ -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) 2020 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
@@ -39,7 +39,7 @@
39
39
  color: var(--body-color);
40
40
  font-size: smaller;
41
41
  border-left: 1px solid var(--border-color);
42
- padding: 1.5rem 1rem 0 1rem;
42
+ padding: 1.2rem 1rem 0 1rem;
43
43
  margin: 1rem -1rem;
44
44
  position: relative;
45
45
 
@@ -34,6 +34,10 @@
34
34
  position: relative;
35
35
  margin-bottom: 1.5rem;
36
36
  }
37
+
38
+ .aspect-ratio.sixteen-nine.lead {
39
+ @extend .border-radius;
40
+ }
37
41
  }
38
42
 
39
43
  body:not(.no-third-column) {
@@ -57,10 +61,22 @@ body:not(.no-third-column) {
57
61
  // Meta data line below post title
58
62
  .post-date {
59
63
  @extend .h4;
60
- display: block;
61
- margin-top: -0.5rem;
62
- margin-bottom: 1rem;
64
+ display: flex;
65
+ justify-content: space-between;
66
+ margin-top: -.6rem;
67
+ height: 2rem;
68
+ margin-bottom: .85rem;
63
69
  color: var(--gray);
70
+
71
+ > .ellipsis {
72
+ cursor: pointer;
73
+ }
74
+
75
+ [class^="icon-"] {
76
+ display: inline-block;
77
+ font-size: smaller;
78
+ margin-right: .25rem;
79
+ }
64
80
  }
65
81
 
66
82