jekyll-theme-hydejack 8.5.2 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +1208 -0
  3. data/LICENSE.md +9 -3
  4. data/NOTICE.md +290 -0
  5. data/README.md +126 -85
  6. data/_config.yml +73 -0
  7. data/_includes/base-classes +9 -0
  8. data/_includes/body/analytics.html +1 -1
  9. data/_includes/body/comments.html +1 -1
  10. data/_includes/body/footer.html +3 -3
  11. data/_includes/body/index.html +17 -16
  12. data/_includes/body/main.html +3 -13
  13. data/_includes/body/menu.html +3 -14
  14. data/_includes/body/nav.html +4 -4
  15. data/_includes/body/scripts.html +2 -4
  16. data/_includes/body/sidebar-bg.html +13 -0
  17. data/_includes/body/sidebar-sticky.html +25 -0
  18. data/_includes/body/sidebar.html +7 -40
  19. data/_includes/components/about.html +1 -1
  20. data/_includes/components/author.html +3 -3
  21. data/_includes/components/hy-img.html +15 -26
  22. data/_includes/components/link.html +1 -1
  23. data/_includes/components/message.html +1 -1
  24. data/_includes/components/post-list-item.html +3 -3
  25. data/_includes/components/post.html +14 -11
  26. data/_includes/components/related-posts.html +14 -4
  27. data/_includes/components/tag-list.html +5 -1
  28. data/_includes/head/css/inline +1 -0
  29. data/_includes/head/index.html +14 -8
  30. data/_includes/head/links-static.html +27 -0
  31. data/_includes/head/links.html +1 -32
  32. data/_includes/head/meta-static.html +18 -0
  33. data/_includes/head/meta.html +8 -24
  34. data/_includes/head/page-style.html +1 -3
  35. data/_includes/head/scripts.html +12 -7
  36. data/_includes/head/styles-inline.html +19 -0
  37. data/_includes/head/styles-layout.html +4 -0
  38. data/_includes/head/styles-no-inline.html +8 -0
  39. data/_includes/head/styles.html +5 -34
  40. data/_includes/header.txt +1 -1
  41. data/_includes/if-non-null +7 -0
  42. data/_includes/my-body.html +1 -1
  43. data/_includes/my-scripts.html +1 -1
  44. data/_includes/smart-url +1 -0
  45. data/_includes/smart-url.txt +1 -1
  46. data/_includes/styles/common.scss +18 -0
  47. data/_includes/styles/inline.scss +16 -28
  48. data/_includes/styles/page-style.scss +5 -60
  49. data/_includes/styles/style.scss +25 -36
  50. data/_includes/styles/variables.scss +62 -0
  51. data/_includes/templates/animation.html +1 -1
  52. data/_includes/templates/back.html +2 -2
  53. data/_includes/templates/error.html +1 -1
  54. data/_includes/templates/forward.html +2 -2
  55. data/_includes/templates/index.html +10 -11
  56. data/_includes/templates/loading.html +1 -1
  57. data/_includes/templates/permalink.html +2 -2
  58. data/_layouts/about.html +1 -1
  59. data/_layouts/base.html +6 -1
  60. data/_layouts/blog.html +9 -7
  61. data/_layouts/compress.html +1 -1
  62. data/_layouts/default.html +4 -4
  63. data/_layouts/list.html +11 -17
  64. data/_layouts/page.html +1 -0
  65. data/_layouts/post.html +5 -3
  66. data/_sass/_mixins.scss +6 -20
  67. data/_sass/_syntax.scss +142 -130
  68. data/_sass/_variables.scss +1 -42
  69. data/_sass/html.scss +42 -0
  70. data/_sass/hydejack/__inline__/_avatar.scss +10 -10
  71. data/_sass/hydejack/__inline__/_base.scss +7 -21
  72. data/_sass/hydejack/__inline__/_content.scss +9 -2
  73. data/_sass/hydejack/__inline__/_images.scss +1 -3
  74. data/_sass/hydejack/__inline__/_links.scss +28 -13
  75. data/_sass/hydejack/__inline__/_menu.scss +42 -13
  76. data/_sass/hydejack/__inline__/_sidebar.scss +40 -14
  77. data/_sass/hydejack/__inline__/_social.scss +3 -0
  78. data/_sass/hydejack/__inline__/_toc.scss +55 -0
  79. data/_sass/hydejack/__inline__/_utilities.scss +3 -0
  80. data/_sass/hydejack/__link__/_avatar.scss +0 -4
  81. data/_sass/hydejack/__link__/_base.scss +1 -2
  82. data/_sass/hydejack/__link__/_break-layout.scss +17 -8
  83. data/_sass/hydejack/__link__/_content.scss +1 -0
  84. data/_sass/hydejack/__link__/_footer.scss +6 -8
  85. data/_sass/hydejack/__link__/_images.scss +5 -40
  86. data/_sass/hydejack/__link__/_katex.scss +1 -26
  87. data/_sass/hydejack/__link__/_links.scss +29 -20
  88. data/_sass/hydejack/__link__/_mark-external.scss +2 -7
  89. data/_sass/hydejack/__link__/_menu.scss +63 -8
  90. data/_sass/hydejack/__link__/_sidebar.scss +12 -9
  91. data/_sass/hydejack/__link__/_toc.scss +53 -0
  92. data/_sass/hydejack/__link__/_utilities.scss +3 -0
  93. data/_sass/hydejack/_avatar.pre.scss +10 -12
  94. data/_sass/hydejack/_base.pre.scss +7 -23
  95. data/_sass/hydejack/_break-layout.pre.scss +19 -10
  96. data/_sass/hydejack/_content.pre.scss +10 -2
  97. data/_sass/hydejack/_footer.pre.scss +6 -8
  98. data/_sass/hydejack/_images.pre.scss +6 -42
  99. data/_sass/hydejack/_katex.pre.scss +3 -28
  100. data/_sass/hydejack/_links.pre.scss +49 -19
  101. data/_sass/hydejack/_mark-external.pre.scss +2 -7
  102. data/_sass/hydejack/_menu.pre.scss +91 -22
  103. data/_sass/hydejack/_sidebar.pre.scss +48 -22
  104. data/_sass/hydejack/_social.pre.scss +3 -0
  105. data/_sass/hydejack/_toc.pre.scss +65 -0
  106. data/_sass/hydejack/_utilities.pre.scss +3 -0
  107. data/_sass/my-inline.scss +2 -16
  108. data/_sass/my-style.scss +0 -9
  109. data/_sass/pooleparty/__inline__/_base.scss +10 -9
  110. data/_sass/pooleparty/__inline__/_message.scss +31 -0
  111. data/_sass/pooleparty/__inline__/_posts.scss +19 -2
  112. data/_sass/pooleparty/__inline__/_table.scss +0 -28
  113. data/_sass/pooleparty/__inline__/_type.scss +81 -15
  114. data/_sass/pooleparty/__link__/_base.scss +11 -5
  115. data/_sass/pooleparty/__link__/_code.scss +40 -7
  116. data/_sass/pooleparty/__link__/_footnotes.scss +4 -5
  117. data/_sass/pooleparty/__link__/_pagination.scss +3 -2
  118. data/_sass/pooleparty/__link__/_posts.scss +11 -6
  119. data/_sass/pooleparty/__link__/_read-more.scss +1 -1
  120. data/_sass/pooleparty/__link__/_table.scss +27 -16
  121. data/_sass/pooleparty/__link__/_type.scss +56 -19
  122. data/_sass/pooleparty/_base.pre.scss +25 -18
  123. data/_sass/pooleparty/_code.pre.scss +40 -7
  124. data/_sass/pooleparty/_footnotes.pre.scss +4 -5
  125. data/_sass/pooleparty/_message.pre.scss +33 -2
  126. data/_sass/pooleparty/_pagination.pre.scss +5 -4
  127. data/_sass/pooleparty/_posts.pre.scss +34 -12
  128. data/_sass/pooleparty/_read-more.pre.scss +1 -1
  129. data/_sass/pooleparty/_table.pre.scss +13 -20
  130. data/_sass/pooleparty/_type.pre.scss +100 -35
  131. data/assets/bower_components/MathJax/.bower.json +28 -0
  132. data/assets/bower_components/MathJax/LICENSE +202 -0
  133. data/assets/bower_components/MathJax/bower.json +11 -0
  134. data/assets/bower_components/MathJax/composer.json +14 -0
  135. data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -0
  136. data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -0
  137. data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -0
  138. data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -0
  139. data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -0
  140. data/assets/bower_components/MathJax/es5/core.js +1 -0
  141. data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -0
  142. data/assets/bower_components/MathJax/es5/input/mml.js +1 -0
  143. data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -0
  144. data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -0
  145. data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -0
  146. data/assets/bower_components/MathJax/es5/input/tex.js +1 -0
  147. data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -0
  148. data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -0
  149. data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -0
  150. data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -0
  151. data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -0
  152. data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -0
  153. data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -0
  154. data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -0
  155. data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -0
  156. data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -0
  157. data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -0
  158. data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -0
  159. data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -0
  160. data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -0
  161. data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -0
  162. data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -0
  163. data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -0
  164. data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -0
  165. data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -0
  166. data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -0
  167. data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -0
  168. data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -0
  169. data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -0
  170. data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -0
  171. data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -0
  172. data/assets/bower_components/MathJax/es5/latest.js +1 -0
  173. data/assets/bower_components/MathJax/es5/loader.js +1 -0
  174. data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -0
  175. data/assets/bower_components/MathJax/es5/mml-svg.js +1 -0
  176. data/assets/bower_components/MathJax/es5/node-main.js +1 -0
  177. data/assets/bower_components/MathJax/es5/output/chtml.js +1 -0
  178. data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -0
  179. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  180. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  181. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  182. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  183. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  184. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  185. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  186. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  187. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  188. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  189. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  190. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  191. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  192. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  193. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  194. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  195. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  196. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  197. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  198. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  199. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  200. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  201. data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  202. data/assets/bower_components/MathJax/es5/output/svg.js +1 -0
  203. data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -0
  204. data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +104 -0
  205. data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +104 -0
  206. data/assets/bower_components/MathJax/es5/sre/mathmaps/fr.js +104 -0
  207. data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +410 -0
  208. data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +104 -0
  209. data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1709 -0
  210. data/assets/bower_components/MathJax/es5/startup.js +1 -0
  211. data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -0
  212. data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -0
  213. data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -0
  214. data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -0
  215. data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -0
  216. data/assets/bower_components/MathJax/es5/tex-svg.js +1 -0
  217. data/assets/bower_components/MathJax/es5/ui/menu.js +1 -0
  218. data/assets/bower_components/MathJax/package.json +59 -0
  219. data/assets/bower_components/katex/.bower.json +2 -3
  220. data/assets/css/{hydejack-7.5.2.css → hydejack-9.0.0.css} +0 -0
  221. data/assets/icomoon/fonts/icomoon.eot +0 -0
  222. data/assets/icomoon/fonts/icomoon.svg +8 -2
  223. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  224. data/assets/icomoon/fonts/icomoon.woff +0 -0
  225. data/assets/icomoon/selection.json +1 -1
  226. data/assets/icomoon/style.css +31 -12
  227. data/assets/js/.gitkeep +0 -0
  228. data/assets/js/LEGACY-drawer-hydejack-9.0.0.js +14 -0
  229. data/assets/js/LEGACY-fetch-hydejack-9.0.0.js +14 -0
  230. data/assets/js/LEGACY-hydejack-9.0.0.js +28 -0
  231. data/assets/js/LEGACY-navbar-hydejack-9.0.0.js +14 -0
  232. data/assets/js/LEGACY-push-state-hydejack-9.0.0.js +14 -0
  233. data/assets/js/LEGACY-resize-observer-hydejack-9.0.0.js +14 -0
  234. data/assets/js/LEGACY-shadydom-hydejack-9.0.0.js +14 -0
  235. data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.0.js +47 -0
  236. data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.0.js +215 -0
  237. data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.0.js +14 -0
  238. data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.0.js +14 -0
  239. data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.0.js +33 -0
  240. data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.0.js +155 -0
  241. data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.0.js +14 -0
  242. data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.0.js +34 -0
  243. data/assets/js/LEGACY-webcomponents-hydejack-9.0.0.js +14 -0
  244. data/assets/js/drawer-hydejack-9.0.0.js +14 -0
  245. data/assets/js/fetch-hydejack-9.0.0.js +14 -0
  246. data/assets/js/hydejack-9.0.0.js +28 -0
  247. data/assets/js/navbar-hydejack-9.0.0.js +14 -0
  248. data/assets/js/push-state-hydejack-9.0.0.js +14 -0
  249. data/assets/js/resize-observer-hydejack-9.0.0.js +14 -0
  250. data/assets/js/shadydom-hydejack-9.0.0.js +14 -0
  251. data/assets/js/vendors~drawer-hydejack-9.0.0.js +47 -0
  252. data/assets/js/vendors~drawer~push-state-hydejack-9.0.0.js +163 -0
  253. data/assets/js/vendors~intersection-observer-hydejack-9.0.0.js +14 -0
  254. data/assets/js/vendors~push-state-hydejack-9.0.0.js +33 -0
  255. data/assets/js/vendors~shadydom-hydejack-9.0.0.js +146 -0
  256. data/assets/js/vendors~webanimations-hydejack-9.0.0.js +14 -0
  257. data/assets/js/webcomponents-hydejack-9.0.0.js +14 -0
  258. data/assets/version.json +3 -2
  259. data/licenses/PRO.md +4 -0
  260. data/licenses/README.md +1 -1
  261. data/licenses/{W3C.md → W3C-20150513.md} +0 -0
  262. metadata +161 -40
  263. data/_includes/scripts.html +0 -33
  264. data/assets/Resume.pdf +0 -0
  265. data/assets/css/hydejack-8.5.2.css +0 -3
  266. data/assets/img/blog/COLOURlovers.com-Hydejack.png +0 -0
  267. data/assets/img/blog/blog-layout.jpg +0 -0
  268. data/assets/img/blog/caleb-george-old.jpg +0 -0
  269. data/assets/img/blog/caleb-george.jpg +0 -0
  270. data/assets/img/blog/cover-page.jpg +0 -0
  271. data/assets/img/blog/dark-mode-ii.jpg +0 -0
  272. data/assets/img/blog/dark-mode.jpg +0 -0
  273. data/assets/img/blog/example-content-ii.jpg +0 -0
  274. data/assets/img/blog/example-content-iii.jpg +0 -0
  275. data/assets/img/blog/hydejack-8.png +0 -0
  276. data/assets/img/blog/hydejack-8@0,25x.png +0 -0
  277. data/assets/img/blog/hydejack-8@0,5x.png +0 -0
  278. data/assets/img/blog/lazy-images.jpg +0 -0
  279. data/assets/img/blog/louis-hansel.jpg +0 -0
  280. data/assets/img/blog/resume.png +0 -0
  281. data/assets/img/blog/steve-harvey.jpg +0 -0
  282. data/assets/img/blog/w3m.png +0 -0
  283. data/assets/img/blog/wade-lambert.jpg +0 -0
  284. data/assets/img/docs/google-fonts.png +0 -0
  285. data/assets/img/projects/hy-drawer.svg +0 -12
  286. data/assets/img/projects/hy-img.svg +0 -17
  287. data/assets/img/projects/hy-push-state.svg +0 -13
  288. data/assets/js/hydejack-8.5.2.js +0 -161
  289. data/assets/js/hydejack-legacy-8.5.2.js +0 -190
  290. data/assets/video/blog-layout.mp4 +0 -0
  291. data/assets/video/cover-page.mp4 +0 -0
  292. data/assets/video/dark-mode.mp4 +0 -0
  293. data/assets/video/lazy-images.mp4 +0 -0
@@ -30,11 +30,17 @@
30
30
 
31
31
 
32
32
 
33
- @media print {
34
- a:not(.no-print-link)::after {
35
- content: " (" attr(href) ") ";
36
- color: var(--text-muted);
37
- font-size: .83em;
33
+ @media (display-mode: standalone) {
34
+ body {
35
+ overscroll-behavior-y: contain;
38
36
  }
39
37
  }
40
38
 
39
+ :focus {
40
+ outline-color: var(--accent-color)!important;
41
+ }
42
+
43
+ ::selection {
44
+ background: var(--accent-color-faded);
45
+ }
46
+
@@ -31,18 +31,23 @@ code {
31
31
  @extend .color-transition;
32
32
  padding: .25em .5em;
33
33
  background-color: var(--gray-bg);
34
- font-size: .85em;
34
+ font-size: smaller;
35
35
  }
36
36
 
37
- .pre-base {
37
+ .figure-base {
38
+ @extend .color-transition;
38
39
  margin-left: -1rem;
39
40
  margin-right: -1rem;
40
- padding: 1rem;
41
- background-color: var(--gray-bg);
42
41
 
43
42
  // Prevent code linebreaks and allow side-scrolling for better readability on mobile
44
43
  overflow-x: auto;
45
44
  -webkit-overflow-scrolling: touch;
45
+ }
46
+
47
+ .pre-base {
48
+ @extend .figure-base;
49
+ padding: 1rem;
50
+ background-color: var(--gray-bg);
46
51
 
47
52
  // HACK: prevents painting for some reason
48
53
  backface-visibility: hidden;
@@ -58,8 +63,9 @@ pre {
58
63
  @extend .pre-base;
59
64
  margin-top: 0;
60
65
  display: block;
61
- line-height: 1.4;
66
+ line-height: 1.5;
62
67
  font-size: .85em;
68
+ position: relative;
63
69
  }
64
70
 
65
71
  pre > code {
@@ -67,9 +73,36 @@ pre > code {
67
73
  color: inherit;
68
74
  background-color: transparent;
69
75
  font-size: 1em;
76
+
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
+ }
89
+ }
90
+
91
+ .pre-header {
92
+ @extend .color-transition;
93
+ display: block;
94
+ margin-left: -1rem;
95
+ margin-right: -1rem;
96
+ padding: 0.4rem 1rem 0.25rem;
97
+ 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) }
70
103
  }
71
104
 
72
- pre, .highlight {
73
- margin-bottom: 2rem;
105
+ .pre-header + pre.highlight {
106
+ padding-top: .75rem;
74
107
  }
75
108
 
@@ -30,8 +30,10 @@ a[href^="#fnref:"] {
30
30
  margin-left: .1rem;
31
31
  font-weight: var(--font-weight-bold);
32
32
 
33
- @media screen and (max-width: 73.5em) {
33
+ @media screen and (max-width: $break-point-4) {
34
34
  font-weight: normal;
35
+ &::before { content: "["; }
36
+ &::after { content: "]"; }
35
37
  }
36
38
  }
37
39
 
@@ -42,9 +44,6 @@ sup {
42
44
  @media screen and (max-width: $break-point-4) {
43
45
  vertical-align: baseline;
44
46
  font-size: inherit;
45
-
46
- > a::before { content: "["; }
47
- > a::after { content: "]"; }
48
47
  }
49
48
  }
50
49
  }
@@ -54,7 +53,7 @@ sup {
54
53
  margin-top: 5rem;
55
54
 
56
55
  > ol {
57
- color: var(--text-muted);
56
+ color: var(--gray);
58
57
 
59
58
  > li {
60
59
  padding: .5rem;
@@ -27,7 +27,7 @@
27
27
  @extend .color-transition;
28
28
  width: calc(100% + 2rem);
29
29
  margin: 0 -1rem 1rem;
30
- color: var(--text-muted);
30
+ color: var(--gray);
31
31
  text-align: center;
32
32
 
33
33
  > ul {
@@ -48,6 +48,7 @@
48
48
 
49
49
  > a, > a:hover, > a:focus {
50
50
  border-color: var(--border-color)!important;
51
+ text-decoration: none;
51
52
  }
52
53
 
53
54
  &:first-child > * {
@@ -55,7 +56,7 @@
55
56
  }
56
57
 
57
58
  // Only provide a hover state for linked pagination items
58
- > a:hover, a:focus {
59
+ > a:hover, > a:focus {
59
60
  background-color: var(--gray-bg);
60
61
  border-bottom: 1px solid var(--border-color);
61
62
  }
@@ -26,13 +26,18 @@
26
26
 
27
27
  hr.dingbat {
28
28
  border: 0;
29
+ &:after{
30
+ content: "\2756";
31
+ display: block;
32
+ text-align: center;
33
+ font-size: 1.5rem;
34
+ color: var(--menu-text);
35
+ }
29
36
  }
30
37
 
31
- hr.dingbat::after {
32
- content: "\2756";
33
- display: block;
34
- text-align: center;
35
- font-size: 1.5rem;
36
- color: var(--menu-text);
38
+ @media print {
39
+ .page {
40
+ margin-bottom: 0
41
+ }
37
42
  }
38
43
 
@@ -25,7 +25,7 @@
25
25
 
26
26
  .read-more {
27
27
  @extend .faded;
28
- margin-top: 2rem;
28
+ margin-top: 1.5rem;
29
29
  margin-bottom: 3rem;
30
30
 
31
31
  &::after {
@@ -22,18 +22,27 @@
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
- table:not(.highlight) {
26
-
27
25
 
28
-
26
+ table:not(.highlight) {
27
+ @extend .figure-base;
28
+ border-collapse: collapse;
29
29
  display: block;
30
- overflow-x: auto;
31
- -webkit-overflow-scrolling: touch;
32
-
30
+ margin-bottom: 1rem;
31
+
32
+ td, th {
33
+ @extend .color-transition;
34
+ padding: .25rem .5rem;
35
+ border: 1px solid var(--border-color);
36
+
37
+ &:first-child {
38
+ padding-left: 1rem;
39
+ }
33
40
 
34
-
41
+ &:last-child {
42
+ padding-right: 1rem;
43
+ }
44
+ }
35
45
 
36
-
37
46
  thead {
38
47
  @extend .color-transition;
39
48
  background-color: var(--body-bg);
@@ -57,14 +66,6 @@ table:not(.highlight) {
57
66
  @extend .color-transition;
58
67
  background-color: var(--gray-bg);
59
68
  }
60
-
61
- }
62
-
63
-
64
- @media print {
65
- table:not(.highlight) {
66
- width: 100%!important;
67
- }
68
69
  }
69
70
 
70
71
  // CSS only Responsive Tables
@@ -149,6 +150,10 @@ table.stretch-table {
149
150
  display: table;
150
151
  width: 100% !important;
151
152
  width: calc(100% + 2rem) !important;
153
+ @media screen and (max-width: $break-point-4) {
154
+ display: block!important;
155
+ @include scroll-table();
156
+ }
152
157
  }
153
158
 
154
159
  table.scroll-table {
@@ -169,3 +174,9 @@ table.flip-table {
169
174
  }
170
175
  }
171
176
 
177
+ @media print {
178
+ table:not(.highlight) {
179
+ width: 100%!important;
180
+ }
181
+ }
182
+
@@ -22,6 +22,44 @@
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
+ .heading {
26
+ font-family: var(--font-family-heading);
27
+ font-weight: var(--font-weight-heading);
28
+ }
29
+
30
+ .f1 {
31
+ @extend .heading;
32
+ font-size: 2rem;
33
+ line-height: 1.3;
34
+ }
35
+
36
+ .f2 {
37
+ @extend .heading;
38
+ font-size: 1.5rem;
39
+ line-height: 1.4;
40
+ }
41
+
42
+ .f3 {
43
+ @extend .heading;
44
+ font-size: 1.2em;
45
+ line-height: 1.5;
46
+ }
47
+
48
+ .f4 {
49
+ @extend .heading;
50
+ font-size: 1.08rem;
51
+ }
52
+
53
+ .f5 {
54
+ @extend .heading;
55
+ font-size: 1.04rem;
56
+ }
57
+
58
+ .f6 {
59
+ @extend .heading;
60
+ font-size: 1rem;
61
+ }
62
+
25
63
 
26
64
 
27
65
 
@@ -41,6 +79,11 @@ dt, strong {
41
79
  font-weight: var(--font-weight-bold);
42
80
  }
43
81
 
82
+ dt:after{
83
+ content: " :";
84
+ color: var(--menu-text);
85
+ }
86
+
44
87
  dd {
45
88
  margin-bottom: .5rem;
46
89
  }
@@ -60,7 +103,7 @@ blockquote {
60
103
  @extend .color-transition;
61
104
  padding: .5rem 1rem;
62
105
  margin: .8rem 0;
63
- color: var(--text-muted);
106
+ color: var(--gray);
64
107
  border-left: .25rem solid var(--border-color);
65
108
 
66
109
  &.lead {
@@ -80,12 +123,12 @@ blockquote {
80
123
  }
81
124
 
82
125
  .fine {
83
- font-size: .83em;
126
+ font-size: smaller;
84
127
  }
85
128
 
86
129
  .faded {
87
130
  @extend .color-transition;
88
- color: var(--text-muted);
131
+ color: var(--gray);
89
132
  }
90
133
 
91
134
  .centered {
@@ -97,22 +140,9 @@ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
97
140
  position: relative;
98
141
 
99
142
  > .permalink {
100
- @media screen {
101
- border-bottom: none;
102
- opacity: 0;
103
- width: 1.5rem;
104
- text-align: center;
105
- float: right;
106
- transition: opacity 400ms;
107
- will-change: opacity;
108
- }
109
-
110
- @media screen and (min-width: $break-point-1 + 2em) {
111
- float: none;
112
- position: absolute;
113
- top: 0;
114
- left: -1.75rem;
115
- }
143
+ text-decoration: none;
144
+ opacity: 0;
145
+ transition: opacity 400ms;
116
146
 
117
147
  @media print {
118
148
  display: none;
@@ -130,6 +160,13 @@ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
130
160
  }
131
161
  }
132
162
 
163
+ .content-hash::before {
164
+ content: '#'
165
+ }
166
+ .content-json::before {
167
+ content: '{}'
168
+ }
169
+
133
170
  @media print {
134
171
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, dt {
135
172
  page-break-inside: avoid;
@@ -18,7 +18,7 @@
18
18
  // -webkit-tap-highlight-color: transparent; // link
19
19
  }
20
20
 
21
- // <<<<< INLINE
21
+ // <<< INLINE
22
22
  html,
23
23
  body {
24
24
  margin: 0;
@@ -26,8 +26,9 @@ body {
26
26
  }
27
27
 
28
28
  html {
29
- font-size: $root-font-size;
30
- line-height: $root-line-height;
29
+ font-family: var(--font-family);
30
+ font-size: var(--root-font-size);
31
+ line-height: var(--root-line-height);
31
32
  }
32
33
 
33
34
  body {
@@ -42,9 +43,10 @@ p {
42
43
  @extend .color-transition;
43
44
  }
44
45
 
45
- // No `:visited` state is required by default (browsers will use `a`)
46
- a {
47
- text-decoration: none;
46
+ .content img, .img,
47
+ .content video, .video {
48
+ max-width: 100%;
49
+ height: auto;
48
50
  }
49
51
 
50
52
  .lead {
@@ -52,23 +54,28 @@ a {
52
54
  margin-right: -1rem;
53
55
  }
54
56
 
55
- .content img, .img,
56
- .content video, .video {
57
- max-width: 100%;
58
-
57
+ img, video {
59
58
  &.lead {
59
+ display: block;
60
60
  max-width: calc(100% + 2rem);
61
61
  width: calc(100% + 2rem);
62
+ height: auto;
62
63
  }
63
64
  }
64
- // >>>>> INLINE
65
+ // >>> INLINE
65
66
 
66
- // <<<<< LINK
67
- @media print {
68
- a:not(.no-print-link)::after {
69
- content: " (" attr(href) ") ";
70
- color: var(--text-muted);
71
- font-size: .83em;
67
+ // <<< LINK
68
+ @media (display-mode: standalone) {
69
+ body {
70
+ overscroll-behavior-y: contain;
72
71
  }
73
72
  }
74
- // >>>>> LINK
73
+
74
+ :focus {
75
+ outline-color: var(--accent-color)!important;
76
+ }
77
+
78
+ ::selection {
79
+ background: var(--accent-color-faded);
80
+ }
81
+ // >>> LINK