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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +1208 -0
- data/LICENSE.md +9 -3
- data/NOTICE.md +290 -0
- data/README.md +126 -85
- data/_config.yml +73 -0
- data/_includes/base-classes +9 -0
- data/_includes/body/analytics.html +1 -1
- data/_includes/body/comments.html +1 -1
- data/_includes/body/footer.html +3 -3
- data/_includes/body/index.html +17 -16
- data/_includes/body/main.html +3 -13
- data/_includes/body/menu.html +3 -14
- data/_includes/body/nav.html +4 -4
- data/_includes/body/scripts.html +2 -4
- data/_includes/body/sidebar-bg.html +13 -0
- data/_includes/body/sidebar-sticky.html +25 -0
- data/_includes/body/sidebar.html +7 -40
- data/_includes/components/about.html +1 -1
- data/_includes/components/author.html +3 -3
- data/_includes/components/hy-img.html +15 -26
- data/_includes/components/link.html +1 -1
- data/_includes/components/message.html +1 -1
- data/_includes/components/post-list-item.html +3 -3
- data/_includes/components/post.html +14 -11
- data/_includes/components/related-posts.html +14 -4
- data/_includes/components/tag-list.html +5 -1
- data/_includes/head/css/inline +1 -0
- data/_includes/head/index.html +14 -8
- data/_includes/head/links-static.html +27 -0
- data/_includes/head/links.html +1 -32
- data/_includes/head/meta-static.html +18 -0
- data/_includes/head/meta.html +8 -24
- data/_includes/head/page-style.html +1 -3
- data/_includes/head/scripts.html +12 -7
- data/_includes/head/styles-inline.html +19 -0
- data/_includes/head/styles-layout.html +4 -0
- data/_includes/head/styles-no-inline.html +8 -0
- data/_includes/head/styles.html +5 -34
- data/_includes/header.txt +1 -1
- data/_includes/if-non-null +7 -0
- data/_includes/my-body.html +1 -1
- data/_includes/my-scripts.html +1 -1
- data/_includes/smart-url +1 -0
- data/_includes/smart-url.txt +1 -1
- data/_includes/styles/common.scss +18 -0
- data/_includes/styles/inline.scss +16 -28
- data/_includes/styles/page-style.scss +5 -60
- data/_includes/styles/style.scss +25 -36
- data/_includes/styles/variables.scss +62 -0
- data/_includes/templates/animation.html +1 -1
- data/_includes/templates/back.html +2 -2
- data/_includes/templates/error.html +1 -1
- data/_includes/templates/forward.html +2 -2
- data/_includes/templates/index.html +10 -11
- data/_includes/templates/loading.html +1 -1
- data/_includes/templates/permalink.html +2 -2
- data/_layouts/about.html +1 -1
- data/_layouts/base.html +6 -1
- data/_layouts/blog.html +9 -7
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +4 -4
- data/_layouts/list.html +11 -17
- data/_layouts/page.html +1 -0
- data/_layouts/post.html +5 -3
- data/_sass/_mixins.scss +6 -20
- data/_sass/_syntax.scss +142 -130
- data/_sass/_variables.scss +1 -42
- data/_sass/html.scss +42 -0
- data/_sass/hydejack/__inline__/_avatar.scss +10 -10
- data/_sass/hydejack/__inline__/_base.scss +7 -21
- data/_sass/hydejack/__inline__/_content.scss +9 -2
- data/_sass/hydejack/__inline__/_images.scss +1 -3
- data/_sass/hydejack/__inline__/_links.scss +28 -13
- data/_sass/hydejack/__inline__/_menu.scss +42 -13
- data/_sass/hydejack/__inline__/_sidebar.scss +40 -14
- data/_sass/hydejack/__inline__/_social.scss +3 -0
- data/_sass/hydejack/__inline__/_toc.scss +55 -0
- data/_sass/hydejack/__inline__/_utilities.scss +3 -0
- data/_sass/hydejack/__link__/_avatar.scss +0 -4
- data/_sass/hydejack/__link__/_base.scss +1 -2
- data/_sass/hydejack/__link__/_break-layout.scss +17 -8
- data/_sass/hydejack/__link__/_content.scss +1 -0
- data/_sass/hydejack/__link__/_footer.scss +6 -8
- data/_sass/hydejack/__link__/_images.scss +5 -40
- data/_sass/hydejack/__link__/_katex.scss +1 -26
- data/_sass/hydejack/__link__/_links.scss +29 -20
- data/_sass/hydejack/__link__/_mark-external.scss +2 -7
- data/_sass/hydejack/__link__/_menu.scss +63 -8
- data/_sass/hydejack/__link__/_sidebar.scss +12 -9
- data/_sass/hydejack/__link__/_toc.scss +53 -0
- data/_sass/hydejack/__link__/_utilities.scss +3 -0
- data/_sass/hydejack/_avatar.pre.scss +10 -12
- data/_sass/hydejack/_base.pre.scss +7 -23
- data/_sass/hydejack/_break-layout.pre.scss +19 -10
- data/_sass/hydejack/_content.pre.scss +10 -2
- data/_sass/hydejack/_footer.pre.scss +6 -8
- data/_sass/hydejack/_images.pre.scss +6 -42
- data/_sass/hydejack/_katex.pre.scss +3 -28
- data/_sass/hydejack/_links.pre.scss +49 -19
- data/_sass/hydejack/_mark-external.pre.scss +2 -7
- data/_sass/hydejack/_menu.pre.scss +91 -22
- data/_sass/hydejack/_sidebar.pre.scss +48 -22
- data/_sass/hydejack/_social.pre.scss +3 -0
- data/_sass/hydejack/_toc.pre.scss +65 -0
- data/_sass/hydejack/_utilities.pre.scss +3 -0
- data/_sass/my-inline.scss +2 -16
- data/_sass/my-style.scss +0 -9
- data/_sass/pooleparty/__inline__/_base.scss +10 -9
- data/_sass/pooleparty/__inline__/_message.scss +31 -0
- data/_sass/pooleparty/__inline__/_posts.scss +19 -2
- data/_sass/pooleparty/__inline__/_table.scss +0 -28
- data/_sass/pooleparty/__inline__/_type.scss +81 -15
- data/_sass/pooleparty/__link__/_base.scss +11 -5
- data/_sass/pooleparty/__link__/_code.scss +40 -7
- data/_sass/pooleparty/__link__/_footnotes.scss +4 -5
- data/_sass/pooleparty/__link__/_pagination.scss +3 -2
- data/_sass/pooleparty/__link__/_posts.scss +11 -6
- data/_sass/pooleparty/__link__/_read-more.scss +1 -1
- data/_sass/pooleparty/__link__/_table.scss +27 -16
- data/_sass/pooleparty/__link__/_type.scss +56 -19
- data/_sass/pooleparty/_base.pre.scss +25 -18
- data/_sass/pooleparty/_code.pre.scss +40 -7
- data/_sass/pooleparty/_footnotes.pre.scss +4 -5
- data/_sass/pooleparty/_message.pre.scss +33 -2
- data/_sass/pooleparty/_pagination.pre.scss +5 -4
- data/_sass/pooleparty/_posts.pre.scss +34 -12
- data/_sass/pooleparty/_read-more.pre.scss +1 -1
- data/_sass/pooleparty/_table.pre.scss +13 -20
- data/_sass/pooleparty/_type.pre.scss +100 -35
- data/assets/bower_components/MathJax/.bower.json +28 -0
- data/assets/bower_components/MathJax/LICENSE +202 -0
- data/assets/bower_components/MathJax/bower.json +11 -0
- data/assets/bower_components/MathJax/composer.json +14 -0
- data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -0
- data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -0
- data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -0
- data/assets/bower_components/MathJax/es5/core.js +1 -0
- data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -0
- data/assets/bower_components/MathJax/es5/input/mml.js +1 -0
- data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -0
- data/assets/bower_components/MathJax/es5/latest.js +1 -0
- data/assets/bower_components/MathJax/es5/loader.js +1 -0
- data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/mml-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/node-main.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
- data/assets/bower_components/MathJax/es5/output/svg.js +1 -0
- data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/fr.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +410 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1709 -0
- data/assets/bower_components/MathJax/es5/startup.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -0
- data/assets/bower_components/MathJax/es5/tex-svg.js +1 -0
- data/assets/bower_components/MathJax/es5/ui/menu.js +1 -0
- data/assets/bower_components/MathJax/package.json +59 -0
- data/assets/bower_components/katex/.bower.json +2 -3
- data/assets/css/{hydejack-7.5.2.css → hydejack-9.0.0.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +8 -2
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +1 -1
- data/assets/icomoon/style.css +31 -12
- data/assets/js/.gitkeep +0 -0
- data/assets/js/LEGACY-drawer-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-fetch-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-hydejack-9.0.0.js +28 -0
- data/assets/js/LEGACY-navbar-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-resize-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-shadydom-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.0.js +47 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.0.js +215 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.0.js +33 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.0.js +155 -0
- data/assets/js/LEGACY-vendors~webanimations-hydejack-9.0.0.js +14 -0
- data/assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.0.js +34 -0
- data/assets/js/LEGACY-webcomponents-hydejack-9.0.0.js +14 -0
- data/assets/js/drawer-hydejack-9.0.0.js +14 -0
- data/assets/js/fetch-hydejack-9.0.0.js +14 -0
- data/assets/js/hydejack-9.0.0.js +28 -0
- data/assets/js/navbar-hydejack-9.0.0.js +14 -0
- data/assets/js/push-state-hydejack-9.0.0.js +14 -0
- data/assets/js/resize-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/shadydom-hydejack-9.0.0.js +14 -0
- data/assets/js/vendors~drawer-hydejack-9.0.0.js +47 -0
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.0.js +163 -0
- data/assets/js/vendors~intersection-observer-hydejack-9.0.0.js +14 -0
- data/assets/js/vendors~push-state-hydejack-9.0.0.js +33 -0
- data/assets/js/vendors~shadydom-hydejack-9.0.0.js +146 -0
- data/assets/js/vendors~webanimations-hydejack-9.0.0.js +14 -0
- data/assets/js/webcomponents-hydejack-9.0.0.js +14 -0
- data/assets/version.json +3 -2
- data/licenses/PRO.md +4 -0
- data/licenses/README.md +1 -1
- data/licenses/{W3C.md → W3C-20150513.md} +0 -0
- metadata +161 -40
- data/_includes/scripts.html +0 -33
- data/assets/Resume.pdf +0 -0
- data/assets/css/hydejack-8.5.2.css +0 -3
- data/assets/img/blog/COLOURlovers.com-Hydejack.png +0 -0
- data/assets/img/blog/blog-layout.jpg +0 -0
- data/assets/img/blog/caleb-george-old.jpg +0 -0
- data/assets/img/blog/caleb-george.jpg +0 -0
- data/assets/img/blog/cover-page.jpg +0 -0
- data/assets/img/blog/dark-mode-ii.jpg +0 -0
- data/assets/img/blog/dark-mode.jpg +0 -0
- data/assets/img/blog/example-content-ii.jpg +0 -0
- data/assets/img/blog/example-content-iii.jpg +0 -0
- data/assets/img/blog/hydejack-8.png +0 -0
- data/assets/img/blog/hydejack-8@0,25x.png +0 -0
- data/assets/img/blog/hydejack-8@0,5x.png +0 -0
- data/assets/img/blog/lazy-images.jpg +0 -0
- data/assets/img/blog/louis-hansel.jpg +0 -0
- data/assets/img/blog/resume.png +0 -0
- data/assets/img/blog/steve-harvey.jpg +0 -0
- data/assets/img/blog/w3m.png +0 -0
- data/assets/img/blog/wade-lambert.jpg +0 -0
- data/assets/img/docs/google-fonts.png +0 -0
- data/assets/img/projects/hy-drawer.svg +0 -12
- data/assets/img/projects/hy-img.svg +0 -17
- data/assets/img/projects/hy-push-state.svg +0 -13
- data/assets/js/hydejack-8.5.2.js +0 -161
- data/assets/js/hydejack-legacy-8.5.2.js +0 -190
- data/assets/video/blog-layout.mp4 +0 -0
- data/assets/video/cover-page.mp4 +0 -0
- data/assets/video/dark-mode.mp4 +0 -0
- data/assets/video/lazy-images.mp4 +0 -0
@@ -25,8 +25,8 @@
|
|
25
25
|
|
26
26
|
|
27
27
|
|
28
|
-
|
29
|
-
|
28
|
+
body::before {
|
29
|
+
@media screen {
|
30
30
|
content: '';
|
31
31
|
width: .5rem;
|
32
32
|
background: var(--border-color);
|
@@ -37,37 +37,23 @@
|
|
37
37
|
}
|
38
38
|
|
39
39
|
@media (min-width: $break-point-3) {
|
40
|
-
|
40
|
+
width: $sidebar-width;
|
41
41
|
}
|
42
42
|
|
43
43
|
@media (min-width: $break-point-dynamic) {
|
44
|
-
|
45
|
-
body::before { width: calc(50% - #{$r28}); }
|
44
|
+
width: calc(50% - #{$half-content});
|
46
45
|
}
|
47
46
|
}
|
48
47
|
|
49
48
|
html {
|
50
49
|
@media screen and (min-width: $break-point-1) {
|
51
|
-
font-size:
|
50
|
+
font-size: var(--root-font-size-medium);
|
52
51
|
}
|
53
52
|
|
54
53
|
@media screen and (min-width: $break-point-font-large) {
|
55
|
-
font-size:
|
54
|
+
font-size: var(--root-font-size-large);
|
56
55
|
}
|
57
56
|
}
|
58
57
|
|
59
58
|
|
60
|
-
// @media print { html { font-size:
|
61
|
-
.fade-in {
|
62
|
-
animation-duration: 500ms;
|
63
|
-
animation-timing-function: ease;
|
64
|
-
animation-name: fade-in;
|
65
|
-
animation-fill-mode: forwards;
|
66
|
-
}
|
67
|
-
|
68
|
-
@keyframes fade-in {
|
69
|
-
from { transform: translateY(-3rem); opacity: 0; }
|
70
|
-
50% { transform: translateY(-3rem); opacity: 0; }
|
71
|
-
to { transform: translateY(0); opacity: 1; }
|
72
|
-
}
|
73
|
-
|
59
|
+
// @media print { html { font-size: var(--root-font-size-print); } }
|
@@ -24,10 +24,9 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
.content {
|
27
|
-
position: relative;
|
28
27
|
margin-left: auto;
|
29
28
|
margin-right: auto;
|
30
|
-
padding:
|
29
|
+
padding: 8rem $content-padding 12rem;
|
31
30
|
|
32
31
|
@media screen {
|
33
32
|
padding-left: $content-padding + .5rem;
|
@@ -56,4 +55,12 @@
|
|
56
55
|
}
|
57
56
|
}
|
58
57
|
|
58
|
+
.large-only {
|
59
|
+
display: none;
|
60
|
+
@media screen and (min-width: $break-point-dynamic) {
|
61
|
+
display: block;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
|
59
66
|
|
@@ -22,7 +22,7 @@
|
|
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
|
-
.content .
|
25
|
+
.content .aspect-ratio {
|
26
26
|
overflow: hidden;
|
27
27
|
img {
|
28
28
|
margin: 0;
|
@@ -31,8 +31,6 @@
|
|
31
31
|
// object-fit: cover;
|
32
32
|
// object-position: center;
|
33
33
|
background-color: var(--gray-bg);
|
34
|
-
|
35
34
|
}
|
36
35
|
}
|
37
36
|
|
38
|
-
|
@@ -22,24 +22,39 @@
|
|
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
|
-
hy-push-state a
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
hy-push-state a {
|
26
|
+
color: var(--body-color);
|
27
|
+
|
28
|
+
@supports not ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
29
|
+
text-decoration: none;
|
30
|
+
border-bottom: 2px solid;
|
31
|
+
}
|
32
|
+
|
33
|
+
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
34
|
+
text-decoration-style: solid;
|
35
|
+
text-underline-offset: .35rem;
|
36
|
+
text-decoration-thickness: 2px;
|
37
|
+
}
|
38
|
+
|
39
|
+
|
30
40
|
|
31
41
|
|
42
|
+
|
32
43
|
&.no-hover {
|
33
|
-
border-bottom: none;
|
34
|
-
|
35
|
-
|
36
|
-
// &:hover { transition: none; }
|
44
|
+
border-bottom: none;
|
45
|
+
text-decoration-thickness: unset;
|
46
|
+
text-underline-offset: unset;
|
37
47
|
}
|
48
|
+
|
38
49
|
}
|
39
50
|
|
40
|
-
|
41
|
-
|
42
|
-
|
51
|
+
.content a:not(.btn):not(.no-hover) {
|
52
|
+
|
53
|
+
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
54
|
+
text-decoration-color: var(--accent-color-faded);
|
55
|
+
}
|
56
|
+
border-color: var(--accent-color-faded);
|
57
|
+
|
43
58
|
|
44
59
|
}
|
45
|
-
|
60
|
+
|
@@ -22,6 +22,8 @@
|
|
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
|
+
$navbar-height: 5rem;
|
26
|
+
|
25
27
|
|
26
28
|
.fixed-common {
|
27
29
|
position: fixed;
|
@@ -40,28 +42,55 @@
|
|
40
42
|
bottom: 0;
|
41
43
|
}
|
42
44
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
45
|
+
|
46
|
+
.navbar {
|
47
|
+
@extend .color-transition;
|
48
|
+
> .content {
|
49
|
+
|
50
|
+
position: relative;
|
51
|
+
padding-top: 0;
|
52
|
+
padding-bottom: 0;
|
53
|
+
min-height: 0;
|
54
|
+
max-height: $navbar-height;
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
}
|
59
|
+
|
60
|
+
|
48
61
|
}
|
49
62
|
|
63
|
+
|
50
64
|
.nav-btn-bar {
|
51
|
-
|
65
|
+
@extend .color-transition;
|
66
|
+
margin: 0 -1rem;
|
67
|
+
background-color: white; // IE11
|
68
|
+
background-color: var(--body-bg);
|
69
|
+
height: $navbar-height;
|
70
|
+
display: flex;
|
71
|
+
align-items: center;
|
72
|
+
position: relative;
|
73
|
+
|
74
|
+
> :first-child, > :last-child {
|
75
|
+
border: none;
|
76
|
+
}
|
52
77
|
}
|
53
78
|
|
54
79
|
.nav-btn {
|
80
|
+
@extend .color-transition;
|
55
81
|
background: none;
|
56
82
|
border: none;
|
57
|
-
|
58
|
-
|
59
|
-
|
83
|
+
text-decoration: none;
|
84
|
+
display: flex;
|
85
|
+
align-items: center;
|
86
|
+
justify-content: center;
|
87
|
+
width: 3.25rem;
|
88
|
+
height: $navbar-height;
|
89
|
+
color: var(--menu-text);
|
90
|
+
border-right: 1px solid var(--border-color);
|
91
|
+
border-left: 1px solid var(--border-color);
|
92
|
+
margin-left: -1px;
|
60
93
|
}
|
61
94
|
|
62
|
-
.animation-main {
|
63
|
-
opacity: 0;
|
64
|
-
pointer-events: none;
|
65
|
-
}
|
66
95
|
|
67
96
|
|
@@ -26,7 +26,8 @@ hy-drawer {
|
|
26
26
|
width: 100%;
|
27
27
|
position: relative;
|
28
28
|
overflow: hidden;
|
29
|
-
|
29
|
+
display: block;
|
30
|
+
z-index: 4;
|
30
31
|
@media screen {
|
31
32
|
|
32
33
|
}
|
@@ -50,9 +51,7 @@ hy-drawer {
|
|
50
51
|
}
|
51
52
|
|
52
53
|
@media screen and (min-width: $break-point-dynamic) {
|
53
|
-
|
54
|
-
|
55
|
-
width: calc(50% - #{$r28});
|
54
|
+
width: calc(50% - #{$half-content});
|
56
55
|
|
57
56
|
|
58
57
|
}
|
@@ -68,14 +67,17 @@ hy-drawer {
|
|
68
67
|
align-items: center;
|
69
68
|
color: rgba(255, 255, 255, .75);
|
70
69
|
text-align: center;
|
71
|
-
z-index: 2;
|
72
70
|
min-height: 100vh;
|
73
71
|
|
74
72
|
|
75
73
|
a {
|
76
74
|
color: #fff;
|
77
75
|
border-bottom-color: rgba(255, 255, 255, 0.2);
|
78
|
-
|
76
|
+
text-decoration-color: rgba(255, 255, 255, 0.2);
|
77
|
+
&:hover {
|
78
|
+
// border-bottom-color: #fff;
|
79
|
+
// text-decoration-color: #fff;
|
80
|
+
}
|
79
81
|
}
|
80
82
|
}
|
81
83
|
|
@@ -104,7 +106,7 @@ hy-drawer {
|
|
104
106
|
&.sidebar-overlay::after {
|
105
107
|
// background: -moz-linear-gradient(top, rgba(32,32,32,0) 0%, rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%);
|
106
108
|
// background: -webkit-linear-gradient(top, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%);
|
107
|
-
background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%);
|
109
|
+
background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%);
|
108
110
|
}
|
109
111
|
}
|
110
112
|
|
@@ -122,8 +124,27 @@ hy-drawer {
|
|
122
124
|
margin-bottom: 1.5rem
|
123
125
|
}
|
124
126
|
|
125
|
-
>
|
126
|
-
|
127
|
+
> a.sidebar-title {
|
128
|
+
text-decoration: none;
|
129
|
+
> h2 {
|
130
|
+
margin: 0;
|
131
|
+
padding-bottom: .5rem;
|
132
|
+
}
|
133
|
+
|
134
|
+
&::after {
|
135
|
+
content: '';
|
136
|
+
display: block;
|
137
|
+
border-bottom: 2px solid;
|
138
|
+
margin: 0 auto .5rem;
|
139
|
+
width: 4rem;
|
140
|
+
border-color: rgba(255, 255, 255, 0.2);
|
141
|
+
transition: border-color 250ms;
|
142
|
+
}
|
143
|
+
|
144
|
+
&:hover::after {
|
145
|
+
border-color: rgba(255, 255, 255, 1);
|
146
|
+
transition: border-color 50ms;
|
147
|
+
}
|
127
148
|
}
|
128
149
|
}
|
129
150
|
|
@@ -132,12 +153,17 @@ hy-drawer {
|
|
132
153
|
padding-left: 0;
|
133
154
|
}
|
134
155
|
|
135
|
-
|
156
|
+
.sidebar-nav-item {
|
157
|
+
@extend .f4;
|
136
158
|
display: inline-block;
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
159
|
+
margin-bottom: .5rem;
|
160
|
+
}
|
161
|
+
|
162
|
+
#_main.no-drawer {
|
163
|
+
@media (min-width: $break-point-3) {
|
164
|
+
#_menu { display: none }
|
165
|
+
.nav-btn-bar > :nth-child(2) { border: none }
|
166
|
+
}
|
141
167
|
}
|
142
168
|
|
143
169
|
|
@@ -0,0 +1,55 @@
|
|
1
|
+
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
2
|
+
//
|
3
|
+
// To change the contents of this file,
|
4
|
+
// edit `_sass/hydejack/_toc.pre.scss`
|
5
|
+
// and run `npm run build:css`.
|
6
|
+
//
|
7
|
+
// During development you can run `npm run watch:css`
|
8
|
+
// to continuosly rebuild this file.
|
9
|
+
|
10
|
+
// Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
11
|
+
//
|
12
|
+
// This program is free software: you can redistribute it and/or modify
|
13
|
+
// it under the terms of the GNU General Public License as published by
|
14
|
+
// the Free Software Foundation, either version 3 of the License, or
|
15
|
+
// (at your option) any later version.
|
16
|
+
//
|
17
|
+
// This program is distributed in the hope that it will be useful,
|
18
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20
|
+
// GNU General Public License for more details.
|
21
|
+
//
|
22
|
+
// You should have received a copy of the GNU General Public License
|
23
|
+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
24
|
+
|
25
|
+
#markdown-toc {
|
26
|
+
|
27
|
+
@extend .note-sm;
|
28
|
+
padding: 0 1.5rem .5rem 2.5rem;
|
29
|
+
margin: 2rem -1rem 2rem calc(-1rem + 1px);
|
30
|
+
|
31
|
+
// transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease;
|
32
|
+
&:before {
|
33
|
+
position: relative;
|
34
|
+
left: -1.5rem;
|
35
|
+
top: -.25rem;
|
36
|
+
display: inline-block;
|
37
|
+
margin-bottom: .25rem;
|
38
|
+
}
|
39
|
+
|
40
|
+
}
|
41
|
+
|
42
|
+
body:not(.no-toc) #markdown-toc {
|
43
|
+
@media screen and (min-width: $break-point-dynamic) {
|
44
|
+
|
45
|
+
position: absolute;
|
46
|
+
z-index: 4;
|
47
|
+
width: calc(50% - #{$half-content});
|
48
|
+
right: 0;
|
49
|
+
margin: auto;
|
50
|
+
overflow: auto;
|
51
|
+
|
52
|
+
// overscroll-behavior: contain;
|
53
|
+
|
54
|
+
}
|
55
|
+
}
|
@@ -27,12 +27,15 @@
|
|
27
27
|
.mb4 { margin-bottom: 4rem }
|
28
28
|
.mb6 { margin-bottom: 6rem }
|
29
29
|
.mt0 { margin-top: 0 }
|
30
|
+
.mt1 { margin-top: 1rem }
|
30
31
|
.mt2 { margin-top: 2rem }
|
31
32
|
.mt3 { margin-top: 3rem }
|
32
33
|
.mt4 { margin-top: 4rem }
|
33
34
|
.pb0 { padding-bottom: 0 }
|
34
35
|
|
35
36
|
.sixteen-nine { @include aspect-ratio(16, 9); }
|
37
|
+
.sixteen-ten { @include aspect-ratio(16, 10); }
|
38
|
+
.four-three { @include aspect-ratio(4, 3); }
|
36
39
|
|
37
40
|
.sr-only {
|
38
41
|
display: none;
|
@@ -23,7 +23,7 @@
|
|
23
23
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
24
24
|
|
25
25
|
|
26
|
-
pre, table:not(.highlight), .katex-display, .break-layout
|
26
|
+
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
27
27
|
$pad: $content-padding * 2;
|
28
28
|
|
29
29
|
@media screen {
|
@@ -46,19 +46,28 @@ pre, table:not(.highlight), .katex-display, .break-layout {
|
|
46
46
|
width: calc(100vw - #{$x});
|
47
47
|
}
|
48
48
|
|
49
|
-
@media screen and (min-width: $break-point-4) {
|
50
|
-
$x: $content-width-2 + $sidebar-width + $content-margin-3 - $pad;
|
51
|
-
width: calc(100% + 100vw - #{$x});
|
52
|
-
}
|
53
|
-
|
54
49
|
@media screen and (min-width: $break-point-5) {
|
55
50
|
$x: $content-width-5 + $sidebar-width + $content-margin-5 - $pad;
|
56
51
|
width: calc(100% + 100vw - #{$x});
|
57
52
|
}
|
58
53
|
|
59
54
|
@media screen and (min-width: $break-point-dynamic) {
|
60
|
-
|
61
|
-
|
55
|
+
width: calc(100% + #{$content-margin-5 + 2rem});
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
body:not(.no-break-layout) {
|
60
|
+
.katex-display > .katex, mjx-container[jax][display="true"] {
|
61
|
+
text-align: left!important;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
body.no-toc:not(.no-break-layout) {
|
66
|
+
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
67
|
+
@media screen and (min-width: $break-point-dynamic) {
|
68
|
+
$x: ($content-width-5 / 2) - ($content-padding * 2);
|
69
|
+
width: calc(100% + 50vw - #{$x});
|
70
|
+
}
|
62
71
|
}
|
63
72
|
}
|
64
73
|
|