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
@@ -17,12 +17,13 @@ hy-drawer {
17
17
  width: 100%; // inline
18
18
  position: relative; // inline
19
19
  overflow: hidden; // inline
20
- z-index: 2; // link
20
+ display: block; // inline
21
+ z-index: 4; // inline
21
22
 
22
23
  @media screen {
23
24
  // <<< link
24
25
  --hy-drawer-width: 100%;
25
- --hy-drawer-slide-width: calc(100% - .5rem);
26
+ --hy-drawer-peek-width: .5rem;
26
27
  --hy-drawer-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
27
28
  // >>>
28
29
  }
@@ -43,17 +44,15 @@ hy-drawer {
43
44
  // >>>
44
45
 
45
46
  // <<< link
46
- --hy-drawer-slide-width: calc(100% - #{$sidebar-width});
47
+ --hy-drawer-peek-width: #{$sidebar-width};
47
48
  // >>>
48
49
  }
49
50
 
50
51
  @media screen and (min-width: $break-point-dynamic) {
51
- $r28: ($content-width-5 / 2) + $content-margin-5;
52
-
53
- width: calc(50% - #{$r28});
52
+ width: calc(50% - #{$half-content});
54
53
 
55
54
  // <<< link
56
- --hy-drawer-slide-width: calc(50% + #{$r28});
55
+ --hy-drawer-peek-width: calc(50% - #{$half-content});
57
56
  // >>>
58
57
  }
59
58
 
@@ -74,22 +73,25 @@ hy-drawer {
74
73
  align-items: center;
75
74
  color: rgba(255, 255, 255, .75);
76
75
  text-align: center;
77
- z-index: 2;
78
76
  min-height: 100vh;
79
77
  // >>>
80
78
 
81
79
  a {
82
80
  color: #fff; // inline
83
81
  border-bottom-color: rgba(255, 255, 255, 0.2); // inline
84
- &:hover { border-bottom-color: #fff; } // link
82
+ text-decoration-color: rgba(255, 255, 255, 0.2); // inline
83
+ &:hover {
84
+ border-bottom-color: #fff; // link
85
+ text-decoration-color: #fff; // link
86
+ }
85
87
  }
86
88
  }
87
89
 
88
- // <<<<< link
90
+ // <<< link
89
91
  hy-drawer.loaded .sidebar {
90
92
  min-height: 100%;
91
93
  }
92
- // >>>>>
94
+ // >>>
93
95
 
94
96
  .sidebar-bg {
95
97
  // <<< inline
@@ -114,7 +116,7 @@ hy-drawer.loaded .sidebar {
114
116
  &.sidebar-overlay::after {
115
117
  background: -moz-linear-gradient(top, rgba(32,32,32,0) 0%, rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); // link
116
118
  background: -webkit-linear-gradient(top, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); // link
117
- background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%);
119
+ background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); // inline
118
120
  }
119
121
  }
120
122
 
@@ -132,8 +134,27 @@ hy-drawer.loaded .sidebar {
132
134
  margin-bottom: 1.5rem
133
135
  }
134
136
 
135
- > h2 {
136
- margin-top: 0;
137
+ > a.sidebar-title {
138
+ text-decoration: none;
139
+ > h2 {
140
+ margin: 0;
141
+ padding-bottom: .5rem;
142
+ }
143
+
144
+ &::after {
145
+ content: '';
146
+ display: block;
147
+ border-bottom: 2px solid;
148
+ margin: 0 auto .5rem;
149
+ width: 4rem;
150
+ border-color: rgba(255, 255, 255, 0.2);
151
+ transition: border-color 250ms;
152
+ }
153
+
154
+ &:hover::after {
155
+ border-color: rgba(255, 255, 255, 1);
156
+ transition: border-color 50ms;
157
+ }
137
158
  }
138
159
  }
139
160
 
@@ -142,16 +163,21 @@ hy-drawer.loaded .sidebar {
142
163
  padding-left: 0;
143
164
  }
144
165
 
145
- a.sidebar-nav-item {
166
+ .sidebar-nav-item {
167
+ @extend .f4;
146
168
  display: inline-block;
147
- font-weight: var(--font-weight-heading);
148
- line-height: 1.75;
149
- padding: .25rem;
150
- border-bottom: 1px solid rgba(255, 255, 255, 0.2);
169
+ margin-bottom: .5rem;
170
+ }
171
+
172
+ #_main.no-drawer {
173
+ @media (min-width: $break-point-3) {
174
+ #_menu { display: none }
175
+ .nav-btn-bar > :nth-child(2) { border: none }
176
+ }
151
177
  }
152
- // >>>>>
178
+ // >>>
153
179
 
154
- // <<<<< LINK
180
+ // <<< LINK
155
181
  @media print {
156
182
  .sidebar {
157
183
  display: none;
@@ -172,4 +198,4 @@ a.sidebar-nav-item {
172
198
  transform: scale(1);
173
199
  }
174
200
  }
175
- // >>>>>
201
+ // >>>
@@ -36,6 +36,9 @@
36
36
  height: 4rem;
37
37
  padding: .5rem 0;
38
38
  line-height: 4rem - 2 * .5rem;
39
+ text-decoration: none;
40
+ border-bottom-width: 2px;
41
+ border-bottom-style: solid;
39
42
  }
40
43
  }
41
44
 
@@ -0,0 +1,65 @@
1
+ // Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
2
+ //
3
+ // This program is free software: you can redistribute it and/or modify
4
+ // it under the terms of the GNU General Public License as published by
5
+ // the Free Software Foundation, either version 3 of the License, or
6
+ // (at your option) any later version.
7
+ //
8
+ // This program is distributed in the hope that it will be useful,
9
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ // GNU General Public License for more details.
12
+ //
13
+ // You should have received a copy of the GNU General Public License
14
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
16
+ #markdown-toc {
17
+ // <<< inline
18
+ @extend .note-sm;
19
+ padding: 0 1.5rem .5rem 2.5rem;
20
+ margin: 2rem -1rem 2rem calc(-1rem + 1px);
21
+ // >>>
22
+ transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease; // link
23
+
24
+ // <<< inline
25
+ &:before {
26
+ position: relative;
27
+ left: -1.5rem;
28
+ top: -.25rem;
29
+ display: inline-block;
30
+ margin-bottom: .25rem;
31
+ }
32
+ // >>>
33
+ }
34
+
35
+ body:not(.no-toc) #markdown-toc {
36
+ @media screen and (min-width: $break-point-dynamic) {
37
+ // <<< inline
38
+ position: absolute;
39
+ z-index: 4;
40
+ width: calc(50% - #{$half-content});
41
+ right: 0;
42
+ margin: auto;
43
+ overflow: auto;
44
+ // >>>
45
+ overscroll-behavior: contain; // link
46
+
47
+ // <<< link
48
+ &.toc-hide {
49
+ opacity: 0;
50
+ transform: translateX(-2rem);
51
+ }
52
+
53
+ &.toc-show {
54
+ opacity: 1;
55
+ transform: translateX(0);
56
+ }
57
+
58
+ &.affix {
59
+ position: fixed;
60
+ top: 1rem;
61
+ max-height: calc(100vh - 1rem);
62
+ }
63
+ // >>>
64
+ }
65
+ }
@@ -18,12 +18,15 @@
18
18
  .mb4 { margin-bottom: 4rem }
19
19
  .mb6 { margin-bottom: 6rem }
20
20
  .mt0 { margin-top: 0 }
21
+ .mt1 { margin-top: 1rem }
21
22
  .mt2 { margin-top: 2rem }
22
23
  .mt3 { margin-top: 3rem }
23
24
  .mt4 { margin-top: 4rem }
24
25
  .pb0 { padding-bottom: 0 }
25
26
 
26
27
  .sixteen-nine { @include aspect-ratio(16, 9); }
28
+ .sixteen-ten { @include aspect-ratio(16, 10); }
29
+ .four-three { @include aspect-ratio(4, 3); }
27
30
 
28
31
  .sr-only {
29
32
  display: none; // inline
@@ -1,16 +1,2 @@
1
- // Uncomment below to remove border radius on projects and pagination items (pre v6.5)
2
- /*
3
- .card, .pagination-item {
4
- border-radius: 0!important;
5
- }
6
- */
7
-
8
- // Uncomment below to restore the old (pre v6.5) sidebar
9
- /*
10
- @media screen {
11
- .sidebar-sticky {
12
- left: 2rem;
13
- max-width: none;
14
- }
15
- }
16
- */
1
+ // Uncomment to disable dingbat icons below posts
2
+ // hr.dingbat { display: none }
@@ -1,9 +0,0 @@
1
- .dl-table {
2
- a {
3
- padding-bottom: 0.4rem;
4
- }
5
-
6
- .btn {
7
- margin: 1.5rem 0;
8
- }
9
- }
@@ -35,8 +35,9 @@ body {
35
35
  }
36
36
 
37
37
  html {
38
- font-size: $root-font-size;
39
- line-height: $root-line-height;
38
+ font-family: var(--font-family);
39
+ font-size: var(--root-font-size);
40
+ line-height: var(--root-line-height);
40
41
  }
41
42
 
42
43
  body {
@@ -51,9 +52,10 @@ p {
51
52
  @extend .color-transition;
52
53
  }
53
54
 
54
- // No `:visited` state is required by default (browsers will use `a`)
55
- a {
56
- text-decoration: none;
55
+ .content img, .img,
56
+ .content video, .video {
57
+ max-width: 100%;
58
+ height: auto;
57
59
  }
58
60
 
59
61
  .lead {
@@ -61,13 +63,12 @@ a {
61
63
  margin-right: -1rem;
62
64
  }
63
65
 
64
- .content img, .img,
65
- .content video, .video {
66
- max-width: 100%;
67
-
66
+ img, video {
68
67
  &.lead {
68
+ display: block;
69
69
  max-width: calc(100% + 2rem);
70
70
  width: calc(100% + 2rem);
71
+ height: auto;
71
72
  }
72
73
  }
73
74
 
@@ -33,3 +33,34 @@
33
33
  margin-right: -1rem;
34
34
  }
35
35
 
36
+ .note-sm {
37
+ @extend .message;
38
+ background: transparent;
39
+ color: var(--body-color);
40
+ font-size: smaller;
41
+ border-left: 1px solid var(--border-color);
42
+ padding: 1.5rem 1rem 0 1rem;
43
+ margin-top: 1rem;
44
+ position: relative;
45
+
46
+ &:before {
47
+ font-size: 0.667rem;
48
+ font-weight: bold;
49
+ font-style: normal;
50
+ letter-spacing: .025rem;
51
+ text-transform: uppercase;
52
+ color: var(--menu-text);
53
+ position: absolute;
54
+ top: 0;
55
+ }
56
+
57
+ &[title]:before {
58
+ content: attr(title)!important;
59
+ }
60
+ }
61
+
62
+ .note {
63
+ @extend .note-sm;
64
+ font-size: 1rem;
65
+ }
66
+
@@ -31,7 +31,23 @@
31
31
  }
32
32
 
33
33
  > header {
34
- margin-bottom: 2rem;
34
+ position: relative;
35
+ margin-bottom: 1.5rem;
36
+ }
37
+ }
38
+
39
+ body:not(.no-third-column) {
40
+ .page > header {
41
+ > .lead + .note-sm,
42
+ > a.no-hover + .note-sm {
43
+ @media screen and (min-width: $break-point-dynamic) {
44
+ position: absolute;
45
+ right: -25rem;
46
+ width: 21rem;
47
+ bottom: 0;
48
+ margin-bottom: 0;
49
+ }
50
+ }
35
51
  }
36
52
  }
37
53
 
@@ -40,10 +56,11 @@
40
56
 
41
57
  // Meta data line below post title
42
58
  .post-date {
59
+ @extend .h4;
43
60
  display: block;
44
61
  margin-top: -0.5rem;
45
62
  margin-bottom: 1rem;
46
- color: var(--text-muted);
63
+ color: var(--gray);
47
64
  }
48
65
 
49
66
 
@@ -22,32 +22,4 @@
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
- border-collapse: collapse;
28
- margin-bottom: 2rem;
29
- margin-left: -1rem;
30
-
31
-
32
-
33
-
34
-
35
- td, th {
36
- @extend .color-transition;
37
- padding: .25rem .5rem;
38
- border: 1px solid var(--border-color);
39
-
40
- &:first-child {
41
- padding-left: 1rem;
42
- }
43
-
44
- &:last-child {
45
- padding-right: 1rem;
46
- }
47
- }
48
-
49
-
50
-
51
- }
52
-
53
25
 
@@ -22,30 +22,88 @@
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
- h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
25
+ .heading {
26
+ font-family: var(--font-family-heading);
27
27
  font-weight: var(--font-weight-heading);
28
- margin: 5rem 0 1rem;
29
28
  }
30
29
 
31
- h1, .h1 {
30
+ .f1 {
31
+ @extend .heading;
32
32
  font-size: 2rem;
33
33
  line-height: 1.3;
34
34
  }
35
35
 
36
- h2, .h2 {
36
+ .f2 {
37
+ @extend .heading;
37
38
  font-size: 1.5rem;
38
39
  line-height: 1.4;
39
40
  }
40
41
 
41
- h3, .h3 {
42
- font-size: 1.17em;
42
+ .f3 {
43
+ @extend .heading;
44
+ font-size: 1.2em;
43
45
  line-height: 1.5;
44
46
  }
45
47
 
46
- h4, h5, h6, .h4, .h5, .h6 {
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;
47
60
  font-size: 1rem;
48
- margin-bottom: 0.5rem;
61
+ }
62
+
63
+
64
+ h1, .h1 { @extend .f1; }
65
+ h2, .h2 { @extend .f2; }
66
+ h3, .h3 { @extend .f3; }
67
+ h4, .h4 { @extend .f4; }
68
+ h5, .h5 { @extend .f5; }
69
+ h6, .h6 { @extend .f6; }
70
+
71
+ .content {
72
+ h1, .h1 {
73
+ > a { text-decoration: none; border-bottom: none; }
74
+ @media screen and (max-width: $break-point-1) {
75
+ font-size: 1.7rem;
76
+ line-height: 1.35;
77
+ }
78
+ @media screen and (min-width: $break-point-5) {
79
+ font-size: 2.4rem;
80
+ line-height: 1.25;
81
+ }
82
+ }
83
+ }
84
+
85
+ body:not(.no-large-headings) {
86
+ .content {
87
+ h1, .h1 {
88
+ @media screen and (min-width: $break-point-dynamic) {
89
+ width: calc(100% + 50vw - 32rem);
90
+ font-size: 3rem;
91
+ line-height: 1.2;
92
+ }
93
+ @media screen and (min-width: $break-point-font-large) {
94
+ font-size: 4rem;
95
+ line-height: 1.1;
96
+ }
97
+ }
98
+ }
99
+ }
100
+
101
+ h1, h2, h3, .h1, .h2, .h3 {
102
+ margin: 3rem 0 1rem;
103
+ }
104
+
105
+ h4, h5, h6, .h4, .h5, .h6 {
106
+ margin: 2rem 0 .5rem;
49
107
  }
50
108
 
51
109
  p {
@@ -69,20 +127,28 @@ ul, ol {
69
127
  padding-left: 1.25rem;
70
128
  }
71
129
 
72
- hr {
130
+ hr, .hr {
73
131
  @extend .color-transition;
74
- position: relative;
75
- margin: 3rem 0;
76
132
  border: 0;
133
+ margin: 1rem 0;
77
134
  border-top: 1px solid var(--border-color);
78
135
  }
79
136
 
80
- .hr {
137
+ .hr-after::after {
138
+ @extend .color-transition;
139
+ content: "";
140
+ display: block;
141
+ margin: 1rem 0;
142
+ border-top: 1px solid var(--border-color);
143
+ }
144
+
145
+ .hr-bottom {
81
146
  @extend .color-transition;
82
147
  border-bottom: 1px solid var(--border-color);
83
- padding-bottom: 1rem;
84
- margin-bottom: 2rem;
148
+ padding-bottom: .75rem;
149
+ margin-bottom: 1rem;
85
150
  }
86
151
 
87
152
 
88
153
 
154
+