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
@@ -48,11 +48,13 @@
48
48
  .f4 {
49
49
  @extend .heading;
50
50
  font-size: 1.08rem;
51
+ line-height: 1.6;
51
52
  }
52
53
 
53
54
  .f5 {
54
55
  @extend .heading;
55
56
  font-size: 1.04rem;
57
+ line-height: 1.7;
56
58
  }
57
59
 
58
60
  .f6 {
@@ -99,11 +101,11 @@ body:not(.no-large-headings) {
99
101
  }
100
102
 
101
103
  h1, h2, h3, .h1, .h2, .h3 {
102
- margin: 3rem 0 1rem;
104
+ margin: 4rem 0 1rem;
103
105
  }
104
106
 
105
107
  h4, h5, h6, .h4, .h5, .h6 {
106
- margin: 2rem 0 .5rem;
108
+ margin: 3rem 0 .5rem;
107
109
  }
108
110
 
109
111
  p {
@@ -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
@@ -35,6 +35,7 @@ code {
35
35
  }
36
36
 
37
37
  .figure-base {
38
+ @include border-radius();
38
39
  @extend .color-transition;
39
40
  margin-left: -1rem;
40
41
  margin-right: -1rem;
@@ -47,6 +48,7 @@ code {
47
48
  .pre-base {
48
49
  @extend .figure-base;
49
50
  padding: 1rem;
51
+ margin-bottom: 1.5rem;
50
52
  background-color: var(--gray-bg);
51
53
 
52
54
  // HACK: prevents painting for some reason
@@ -63,46 +65,155 @@ pre {
63
65
  @extend .pre-base;
64
66
  margin-top: 0;
65
67
  display: block;
66
- line-height: 1.5;
67
- font-size: .85em;
68
+ font-size: .83em;
69
+ line-height: 1.5em;
68
70
  position: relative;
69
71
  }
70
72
 
71
73
  pre > code {
74
+ display: inline-block;
75
+ position: relative;
76
+ min-width: 100%;
72
77
  padding: 0;
73
78
  color: inherit;
74
79
  background-color: transparent;
75
80
  font-size: 1em;
76
81
 
77
- .highlight-code-line {
78
- @extend .color-transition;
79
- &:before { content: ' ' }
80
- position: absolute;
81
- left: 0;
82
- display: inline-block;
83
- width: 100%;
84
- background: var(--border-color);
85
- border-left: 3px solid var(--accent-color);
86
- opacity: 0.33;
87
- z-index: -1;
88
- }
82
+ // .__hl {
83
+ // @extend .color-transition;
84
+ // display: inline-block;
85
+ // position: absolute;
86
+ // left: -1rem;
87
+ // right: -1rem;
88
+ // background: var(--accent-color-highlight);
89
+ // border-left: .25rem solid var(--accent-color-faded);
90
+ // z-index: -1;
91
+ // }
89
92
  }
90
93
 
91
- .pre-header {
94
+ .pre-header-common {
92
95
  @extend .color-transition;
93
- display: block;
94
- margin-left: -1rem;
95
- margin-right: -1rem;
96
- padding: 0.4rem 1rem 0.25rem;
96
+ height: 2rem;
97
+ border: none;
97
98
  border-bottom: 1px solid var(--border-color);
98
- font-style: normal!important;
99
- font-size: smaller;
100
- color: var(--gray)!important;
101
- background-color: var(--gray-bg);
102
- .lang { color: var(--menu-text) }
99
+ border-bottom-left-radius: 0;
100
+ border-bottom-right-radius: 0;
101
+ }
102
+
103
+ div.highlight {
104
+ position: relative;
105
+
106
+ > .pre-header {
107
+ @extend .figure-base;
108
+ @extend .pre-header-common;
109
+ display: block;
110
+ color: var(--gray)!important;
111
+ background-color: var(--gray-bg);
112
+
113
+ > span {
114
+ font-size: smaller;
115
+ }
116
+
117
+ > * {
118
+ display: inline-block;
119
+ padding: .3rem 1rem .2rem;
120
+ }
121
+ }
122
+
123
+ > button {
124
+ @extend .pre-header-common;
125
+ position: absolute;
126
+ top: 0;
127
+ right: -1rem;
128
+ color: var(--menu-text);
129
+ background: none;
130
+ border-left: 1px solid var(--border-color);
131
+ border-right: 1px solid var(--border-color);
132
+ border-top-left-radius: 0;
133
+ padding-left: 1rem;
134
+ padding-right: 1rem;
135
+ overflow: hidden;
136
+ cursor: pointer;
137
+ opacity: 0;
138
+ transition: opacity 300ms;
139
+
140
+ &:hover {
141
+ background: var(--gray-bg);
142
+ }
143
+
144
+ &.copy-success {
145
+ > .icon-copy {
146
+ animation-name: icon-copy;
147
+ animation-duration: 1.5s;
148
+ animation-timing-function: ease;
149
+ }
150
+ > .icon-checkmark {
151
+ animation-name: icon-checkmark;
152
+ animation-duration: 1.5s;
153
+ animation-timing-function: ease;
154
+ }
155
+ }
156
+ > .icon-copy {
157
+ display: inline-block;
158
+ }
159
+ > .icon-checkmark {
160
+ position: absolute;
161
+
162
+ top: 50%;
163
+ margin-top: -3em;
164
+
165
+ left: 0;
166
+ right: 0;
167
+ text-align: center;
168
+ }
169
+ }
170
+
171
+ &:hover > button {
172
+ opacity: 1;
173
+ transition: opacity 100ms;
174
+ }
175
+
176
+ > .pre-header ~ pre.highlight {
177
+ border-top-left-radius: 0;
178
+ border-top-right-radius: 0;
179
+ padding-top: .65rem;
180
+ }
181
+
182
+ > .pre-header ~ button {
183
+ opacity: 1;
184
+ }
185
+ }
186
+
187
+ body.no-break-layout {
188
+ div.highlight > button {
189
+ border-right: none;
190
+ }
191
+ }
192
+
193
+ @keyframes icon-checkmark {
194
+ 0% {
195
+ transform: translateY(0);
196
+ }
197
+ 15%, 85% {
198
+ transform: translateY(2.5em);
199
+ }
200
+ 100% {
201
+ transform: translateY(5em);
202
+ }
103
203
  }
104
204
 
105
- .pre-header + pre.highlight {
106
- padding-top: .75rem;
205
+ @keyframes icon-copy {
206
+ 0% {
207
+ transform: translateY(0);
208
+ }
209
+ 15% {
210
+ transform: translateY(2.5em);
211
+ }
212
+ 15.01%, 85% {
213
+ transform: translateY(-2.5em);
214
+ }
215
+ 100% {
216
+ transform: translateY(0);
217
+ }
107
218
  }
108
219
 
@@ -51,6 +51,7 @@ sup {
51
51
  // List of footnotes
52
52
  .footnotes {
53
53
  margin-top: 5rem;
54
+ margin-bottom: 5rem;
54
55
 
55
56
  > ol {
56
57
  color: var(--gray);
@@ -71,7 +72,7 @@ sup {
71
72
  @extend .color-transition;
72
73
  content: "";
73
74
  display: block;
74
- margin: 1.5rem 0;
75
+ margin: 1rem 0;
75
76
  border: 0;
76
77
  border-top: 1px solid var(--border-color);
77
78
  }
@@ -24,6 +24,18 @@
24
24
 
25
25
 
26
26
 
27
+ clap-button {
28
+ margin-left: auto;
29
+ margin-right: auto;
30
+ --clap-button-color: var(--accent-color);
31
+ }
32
+
33
+ clap-button + p.message {
34
+ margin: -2rem auto 0;
35
+ max-width: 32rem;
36
+ font-size: smaller
37
+ }
38
+
27
39
  hr.dingbat {
28
40
  border: 0;
29
41
  &:after{
@@ -27,6 +27,7 @@
27
27
  @extend .faded;
28
28
  margin-top: 1.5rem;
29
29
  margin-bottom: 3rem;
30
+ text-align: right;
30
31
 
31
32
  &::after {
32
33
  content: " \2192";
@@ -23,26 +23,36 @@
23
23
  // along with this program. If not, see <http://www.gnu.org/licenses/>.
24
24
 
25
25
 
26
- table:not(.highlight) {
26
+ table:not(.rouge-table) {
27
27
  @extend .figure-base;
28
28
  border-collapse: collapse;
29
+ border-radius: 0!important;
29
30
  display: block;
30
- margin-bottom: 1rem;
31
+ margin-bottom: 1.5rem;
31
32
 
32
33
  td, th {
33
34
  @extend .color-transition;
34
- padding: .25rem .5rem;
35
- border: 1px solid var(--border-color);
35
+ padding: .5em .75em;
36
36
 
37
37
  &:first-child {
38
38
  padding-left: 1rem;
39
+ border-left: 1px solid var(--border-color);
39
40
  }
40
41
 
41
42
  &:last-child {
42
43
  padding-right: 1rem;
44
+ border-right: 1px solid var(--border-color);
43
45
  }
44
46
  }
45
47
 
48
+ > *:first-child {
49
+ border-top: 1px solid var(--border-color);
50
+ }
51
+
52
+ > *:last-child {
53
+ border-bottom: 1px solid var(--border-color);
54
+ }
55
+
46
56
  thead {
47
57
  @extend .color-transition;
48
58
  background-color: var(--body-bg);
@@ -52,7 +62,7 @@ table:not(.highlight) {
52
62
  tbody + tbody,
53
63
  tfoot {
54
64
  @extend .color-transition;
55
- border-top: 3px double var(--border-color);
65
+ border-top: 1px solid var(--border-color);
56
66
  }
57
67
 
58
68
  tbody tr:nth-child(even) td,
@@ -79,13 +89,6 @@ table:not(.highlight) {
79
89
  display: flex;
80
90
  overflow: hidden;
81
91
 
82
- thead,
83
- thead + tbody,
84
- tbody + tbody {
85
- border-top: 1px solid var(--border-color);
86
- border-bottom: 1px solid var(--border-color);
87
- }
88
-
89
92
  thead, tbody {
90
93
  display: flex;
91
94
  }
@@ -93,9 +96,11 @@ table:not(.highlight) {
93
96
  thead {
94
97
  flex-shrink: 0;
95
98
  min-width: min-content;
99
+ border-left: 1px solid var(--border-color);
100
+ border-bottom: 1px solid var(--border-color);
96
101
 
97
102
  th {
98
- padding-left: 1rem;
103
+ padding-left: 1em;
99
104
  }
100
105
  }
101
106
 
@@ -103,7 +108,6 @@ table:not(.highlight) {
103
108
  position: relative;
104
109
  overflow-x: auto;
105
110
  overflow-y: hidden;
106
- padding-left: 1px;
107
111
  -webkit-overflow-scrolling: touch;
108
112
  }
109
113
 
@@ -113,35 +117,25 @@ table:not(.highlight) {
113
117
  min-width: min-content;
114
118
  flex-shrink: 0;
115
119
 
116
- td {
117
- border-left: none;
118
- }
119
-
120
- &:first-child {
121
- td {
122
- border-left: 1px solid var(--border-color);
123
- }
124
- }
125
-
126
120
  &:last-child {
121
+ border-right: 1px solid var(--border-color);
127
122
  td {
128
- padding-right: 1rem;
129
- border-right: 1px solid var(--border-color);
123
+ padding-right: 1em;
130
124
  }
131
125
  }
132
126
  }
133
127
 
134
128
  td, th {
135
129
  display: block;
136
- border-bottom: none;
137
130
 
138
131
  &:first-child {
139
- padding-left: .5rem;
140
- border-top: none;
132
+ padding-left: .5em;
133
+ border-left: none;
141
134
  }
142
135
 
143
136
  &:last-child {
144
- padding-right: .5rem;
137
+ padding-right: .5em;
138
+ border-right: none;
145
139
  }
146
140
  }
147
141
  }
@@ -149,11 +143,11 @@ table:not(.highlight) {
149
143
  table.stretch-table {
150
144
  display: table;
151
145
  width: 100% !important;
152
- width: calc(100% + 2rem) !important;
153
- @media screen and (max-width: $break-point-4) {
154
- display: block!important;
155
- @include scroll-table();
156
- }
146
+ width: calc(100% + 2em) !important;
147
+ // @media screen and (max-width: $break-point-4) {
148
+ // display: block!important;
149
+ // @include scroll-table();
150
+ // }
157
151
  }
158
152
 
159
153
  table.scroll-table {
@@ -175,7 +169,7 @@ table.flip-table {
175
169
  }
176
170
 
177
171
  @media print {
178
- table:not(.highlight) {
172
+ table:not(.rouge-table) {
179
173
  width: 100%!important;
180
174
  }
181
175
  }
@@ -48,11 +48,13 @@
48
48
  .f4 {
49
49
  @extend .heading;
50
50
  font-size: 1.08rem;
51
+ line-height: 1.6;
51
52
  }
52
53
 
53
54
  .f5 {
54
55
  @extend .heading;
55
56
  font-size: 1.04rem;
57
+ line-height: 1.7;
56
58
  }
57
59
 
58
60
  .f6 {
@@ -122,7 +124,7 @@ blockquote {
122
124
  font-weight: var(--font-weight-heading);
123
125
  }
124
126
 
125
- .fine {
127
+ .fine, .smaller {
126
128
  font-size: smaller;
127
129
  }
128
130
 
@@ -135,12 +137,12 @@ blockquote {
135
137
  text-align: center;
136
138
  }
137
139
 
138
-
139
140
  h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
140
141
  position: relative;
141
142
 
142
143
  > .permalink {
143
144
  text-decoration: none;
145
+ border: none;
144
146
  opacity: 0;
145
147
  transition: opacity 400ms;
146
148