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
@@ -28,8 +28,8 @@ hy-push-state, hy-drawer {
|
|
28
28
|
// >>>>>
|
29
29
|
|
30
30
|
// <<<<< INLINE
|
31
|
-
|
32
|
-
|
31
|
+
body::before {
|
32
|
+
@media screen {
|
33
33
|
content: '';
|
34
34
|
width: .5rem;
|
35
35
|
background: var(--border-color);
|
@@ -40,39 +40,23 @@ hy-push-state, hy-drawer {
|
|
40
40
|
}
|
41
41
|
|
42
42
|
@media (min-width: $break-point-3) {
|
43
|
-
|
43
|
+
width: $sidebar-width;
|
44
44
|
}
|
45
45
|
|
46
46
|
@media (min-width: $break-point-dynamic) {
|
47
|
-
|
48
|
-
body::before { width: calc(50% - #{$r28}); }
|
47
|
+
width: calc(50% - #{$half-content});
|
49
48
|
}
|
50
49
|
}
|
51
50
|
|
52
51
|
html {
|
53
52
|
@media screen and (min-width: $break-point-1) {
|
54
|
-
font-size:
|
53
|
+
font-size: var(--root-font-size-medium);
|
55
54
|
}
|
56
55
|
|
57
56
|
@media screen and (min-width: $break-point-font-large) {
|
58
|
-
font-size:
|
57
|
+
font-size: var(--root-font-size-large);
|
59
58
|
}
|
60
59
|
}
|
61
60
|
// >>>>>
|
62
61
|
|
63
|
-
@media print { html { font-size:
|
64
|
-
|
65
|
-
// <<<<< INLINE
|
66
|
-
.fade-in {
|
67
|
-
animation-duration: 500ms;
|
68
|
-
animation-timing-function: ease;
|
69
|
-
animation-name: fade-in;
|
70
|
-
animation-fill-mode: forwards;
|
71
|
-
}
|
72
|
-
|
73
|
-
@keyframes fade-in {
|
74
|
-
from { transform: translateY(-3rem); opacity: 0; }
|
75
|
-
50% { transform: translateY(-3rem); opacity: 0; }
|
76
|
-
to { transform: translateY(0); opacity: 1; }
|
77
|
-
}
|
78
|
-
// >>>>>
|
62
|
+
@media print { html { font-size: var(--root-font-size-print); } } // link
|
@@ -13,8 +13,8 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
-
//
|
17
|
-
pre, table:not(.highlight), .katex-display, .break-layout
|
16
|
+
// <<< LINK
|
17
|
+
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
18
18
|
$pad: $content-padding * 2;
|
19
19
|
|
20
20
|
@media screen {
|
@@ -37,19 +37,28 @@ pre, table:not(.highlight), .katex-display, .break-layout {
|
|
37
37
|
width: calc(100vw - #{$x});
|
38
38
|
}
|
39
39
|
|
40
|
-
@media screen and (min-width: $break-point-4) {
|
41
|
-
$x: $content-width-2 + $sidebar-width + $content-margin-3 - $pad;
|
42
|
-
width: calc(100% + 100vw - #{$x});
|
43
|
-
}
|
44
|
-
|
45
40
|
@media screen and (min-width: $break-point-5) {
|
46
41
|
$x: $content-width-5 + $sidebar-width + $content-margin-5 - $pad;
|
47
42
|
width: calc(100% + 100vw - #{$x});
|
48
43
|
}
|
49
44
|
|
50
45
|
@media screen and (min-width: $break-point-dynamic) {
|
51
|
-
|
52
|
-
|
46
|
+
width: calc(100% + #{$content-margin-5 + 2rem});
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
body:not(.no-break-layout) {
|
51
|
+
.katex-display > .katex, mjx-container[jax][display="true"] {
|
52
|
+
text-align: left!important;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
body.no-toc:not(.no-break-layout) {
|
57
|
+
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
58
|
+
@media screen and (min-width: $break-point-dynamic) {
|
59
|
+
$x: ($content-width-5 / 2) - ($content-padding * 2);
|
60
|
+
width: calc(100% + 50vw - #{$x});
|
61
|
+
}
|
53
62
|
}
|
54
63
|
}
|
55
|
-
//
|
64
|
+
// >>>
|
@@ -15,10 +15,9 @@
|
|
15
15
|
|
16
16
|
// <<<<< INLINE
|
17
17
|
.content {
|
18
|
-
position: relative;
|
19
18
|
margin-left: auto;
|
20
19
|
margin-right: auto;
|
21
|
-
padding:
|
20
|
+
padding: 8rem $content-padding 12rem;
|
22
21
|
|
23
22
|
@media screen {
|
24
23
|
padding-left: $content-padding + .5rem;
|
@@ -46,10 +45,19 @@
|
|
46
45
|
margin: auto;
|
47
46
|
}
|
48
47
|
}
|
48
|
+
|
49
|
+
.large-only {
|
50
|
+
display: none;
|
51
|
+
@media screen and (min-width: $break-point-dynamic) {
|
52
|
+
display: block;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
49
56
|
// >>>>>
|
50
57
|
// <<< link
|
51
58
|
.content {
|
52
59
|
@media print {
|
60
|
+
padding-top: 3rem;
|
53
61
|
padding-bottom: 1rem;
|
54
62
|
}
|
55
63
|
}
|
@@ -14,23 +14,21 @@
|
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
16
|
// <<<<< LINK
|
17
|
-
main > footer {
|
17
|
+
main > footer.content {
|
18
18
|
position: absolute;
|
19
19
|
bottom: 0;
|
20
|
-
left:
|
20
|
+
left: 0;
|
21
21
|
right: 0;
|
22
|
-
|
23
|
-
color: var(--text-muted);
|
22
|
+
color: var(--gray);
|
24
23
|
text-align: center;
|
24
|
+
min-height: 0;
|
25
|
+
padding-top: 0;
|
26
|
+
padding-bottom: 2rem;
|
25
27
|
|
26
28
|
> p {
|
27
29
|
margin-bottom: 0;
|
28
30
|
}
|
29
31
|
|
30
|
-
@media screen and (min-width: $break-point-3) {
|
31
|
-
left: 0;
|
32
|
-
}
|
33
|
-
|
34
32
|
@media print {
|
35
33
|
display: none;
|
36
34
|
}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
-
.content .
|
16
|
+
.content .aspect-ratio {
|
17
17
|
overflow: hidden; // inline
|
18
18
|
img {
|
19
19
|
margin: 0; // inline
|
@@ -22,44 +22,10 @@
|
|
22
22
|
object-fit: cover; // link
|
23
23
|
object-position: center; // link
|
24
24
|
background-color: var(--gray-bg); // inline
|
25
|
-
|
26
|
-
// <<< link
|
27
|
-
background-position: center;
|
28
|
-
background-repeat: no-repeat;
|
29
|
-
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ibWF0cml4KDAuMDQ4ODI4LCAwLCAwLCAwLjA0Nzk5MSwgNTQuOTk5OTczLCAyMC40MjgxNDgpIj4KICAgIDxwYXRoIGQ9Ik05NTkuODg0IDEyOGMwLjA0MCAwLjAzNCAwLjA4MiAwLjA3NiAwLjExNiAwLjExNnY3NjcuNzdjLTAuMDM0IDAuMDQwLTAuMDc2IDAuMDgyLTAuMTE2IDAuMTE2aC04OTUuNzdjLTAuMDQwLTAuMDM0LTAuMDgyLTAuMDc2LTAuMTE0LTAuMTE2di03NjcuNzcyYzAuMDM0LTAuMDQwIDAuMDc2LTAuMDgyIDAuMTE0LTAuMTE0aDg5NS43N3pNOTYwIDY0aC04OTZjLTM1LjIgMC02NCAyOC44LTY0IDY0djc2OGMwIDM1LjIgMjguOCA2NCA2NCA2NGg4OTZjMzUuMiAwIDY0LTI4LjggNjQtNjR2LTc2OGMwLTM1LjItMjguOC02NC02NC02NHYweiIgc3R5bGU9ImZpbGw6IHJnYigyMjEsIDIyMSwgMjIxKTsiLz4KICAgIDxwYXRoIGQ9Ik04MzIgMjg4YzAgNTMuMDIwLTQyLjk4IDk2LTk2IDk2cy05Ni00Mi45OC05Ni05NiA0Mi45OC05NiA5Ni05NiA5NiA0Mi45OCA5NiA5NnoiIHN0eWxlPSJmaWxsOiByZ2IoMjIxLCAyMjEsIDIyMSk7Ii8+CiAgICA8cGF0aCBkPSJNODk2IDgzMmgtNzY4di0xMjhsMjI0LTM4NCAyNTYgMzIwaDY0bDIyNC0xOTJ6IiBzdHlsZT0iZmlsbDogcmdiKDIyMSwgMjIxLCAyMjEpOyIvPgogIDwvZz4KPC9zdmc+');
|
30
|
-
// >>>
|
31
25
|
}
|
32
26
|
}
|
33
27
|
|
34
28
|
// <<< link
|
35
|
-
hy-img {
|
36
|
-
display: block;
|
37
|
-
position: relative;
|
38
|
-
|
39
|
-
.loading {
|
40
|
-
background-color: var(--gray-bg);
|
41
|
-
position: absolute;
|
42
|
-
top: 0;
|
43
|
-
left: 0;
|
44
|
-
right: 0;
|
45
|
-
bottom: 0;
|
46
|
-
display: flex;
|
47
|
-
justify-content: center;
|
48
|
-
align-items: center;
|
49
|
-
|
50
|
-
> * {
|
51
|
-
color: var(--menu-text);
|
52
|
-
font-size: 2rem;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
img {
|
57
|
-
animation-duration: 1000ms;
|
58
|
-
animation-timing-function: ease;
|
59
|
-
animation-name: fade-img;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
29
|
figure, .figure {
|
64
30
|
@extend .faded, .fine, .centered;
|
65
31
|
margin-bottom: 2rem;
|
@@ -73,11 +39,9 @@ figure, .figure {
|
|
73
39
|
margin-top: -1.5rem;
|
74
40
|
}
|
75
41
|
|
76
|
-
|
77
|
-
|
78
|
-
|
42
|
+
.figcaption {
|
43
|
+
@extend .faded, .fine, .centered;
|
44
|
+
margin-top: -0.5rem;
|
45
|
+
margin-bottom: 2rem;
|
79
46
|
}
|
80
|
-
|
81
|
-
.animation-main hy-img img { animation: none!important; }
|
82
|
-
|
83
|
-
// >>>
|
47
|
+
// >>>
|
@@ -13,36 +13,11 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
-
//
|
16
|
+
// <<< LINK
|
17
17
|
article {
|
18
|
-
.katex-display,
|
18
|
+
.katex-display, mjx-container[jax][display="true"] {
|
19
19
|
@extend .pre-base;
|
20
20
|
padding: 2rem;
|
21
|
-
& > .katex {
|
22
|
-
text-align: left;
|
23
|
-
}
|
24
21
|
}
|
25
|
-
|
26
|
-
.MathJax_Preview {
|
27
|
-
font-family: var(--code-font-family);
|
28
|
-
}
|
29
|
-
|
30
|
-
div.MathJax_Preview {
|
31
|
-
font-size: .75em;
|
32
|
-
line-height: 1.45;
|
33
|
-
white-space: pre;
|
34
|
-
margin-bottom: 2rem;
|
35
|
-
}
|
36
|
-
|
37
|
-
span.MathJax_Preview {
|
38
|
-
padding: .25em .5em;
|
39
|
-
font-size: .85em;
|
40
|
-
background-color: var(--code-bg);
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
.MathJax_Preview:empty {
|
45
|
-
display: none;
|
46
|
-
visibility: hidden;
|
47
22
|
}
|
48
|
-
//
|
23
|
+
// >>>
|
@@ -13,35 +13,65 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
-
hy-push-state a
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
hy-push-state a {
|
17
|
+
color: var(--body-color); // inline
|
18
|
+
|
19
|
+
// <<< inline
|
20
|
+
@supports not ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
21
|
+
text-decoration: none;
|
22
|
+
border-bottom: 2px solid;
|
23
|
+
}
|
24
|
+
|
25
|
+
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
26
|
+
text-decoration-style: solid;
|
27
|
+
text-underline-offset: .35rem;
|
28
|
+
text-decoration-thickness: 2px;
|
29
|
+
}
|
30
|
+
// >>>
|
21
31
|
|
22
32
|
// <<< link
|
33
|
+
transition: color 250ms, text-decoration-color 250ms, border-color 250ms;
|
23
34
|
&:hover {
|
24
|
-
text-decoration
|
25
|
-
transition: color 1s, border-color 50ms;
|
35
|
+
transition: color 50ms, text-decoration-color 50ms, border-color 50ms;
|
26
36
|
}
|
27
37
|
// >>>
|
28
38
|
|
39
|
+
// <<< inline
|
29
40
|
&.no-hover {
|
30
|
-
border-bottom: none;
|
31
|
-
|
32
|
-
|
33
|
-
&:hover { transition: none; } // link
|
41
|
+
border-bottom: none;
|
42
|
+
text-decoration-thickness: unset;
|
43
|
+
text-underline-offset: unset;
|
34
44
|
}
|
45
|
+
// >>>
|
35
46
|
}
|
36
47
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
48
|
+
.content a:not(.btn):not(.no-hover) {
|
49
|
+
// <<< inline
|
50
|
+
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
51
|
+
text-decoration-color: var(--accent-color-faded);
|
52
|
+
}
|
53
|
+
border-color: var(--accent-color-faded);
|
54
|
+
// >>>
|
41
55
|
// <<< link
|
42
|
-
|
43
|
-
|
44
|
-
|
56
|
+
&:hover {
|
57
|
+
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
58
|
+
text-decoration-color: var(--accent-color);
|
59
|
+
}
|
60
|
+
border-color: var(--accent-color);
|
61
|
+
}
|
45
62
|
// >>>
|
46
63
|
}
|
47
|
-
|
64
|
+
|
65
|
+
// <<< link
|
66
|
+
a.btn {
|
67
|
+
text-decoration: none;
|
68
|
+
}
|
69
|
+
|
70
|
+
@media print {
|
71
|
+
a:not(.no-print-link)::after {
|
72
|
+
content: " (" attr(href) ") ";
|
73
|
+
color: var(--gray);
|
74
|
+
font-size: 62%;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
// >>>
|
@@ -16,7 +16,7 @@
|
|
16
16
|
// <<< link
|
17
17
|
@media screen {
|
18
18
|
a.external,
|
19
|
-
a[href*="
|
19
|
+
a[href*="://"]:not(.no-mark-external):not(.no-mark),
|
20
20
|
a.no-push-state:not(.no-mark-external):not(.no-mark) {
|
21
21
|
&::after {
|
22
22
|
content: "\00A0\ea7e";
|
@@ -30,12 +30,7 @@
|
|
30
30
|
font-size: smaller;
|
31
31
|
-webkit-font-smoothing: antialiased;
|
32
32
|
-moz-osx-font-smoothing: grayscale;
|
33
|
-
|
34
|
-
transition: opacity 500ms;
|
35
|
-
}
|
36
|
-
&:hover::after, &:focus::after {
|
37
|
-
opacity: 1;
|
38
|
-
transition: opacity 100ms;
|
33
|
+
color: var(--menu-text);
|
39
34
|
}
|
40
35
|
}
|
41
36
|
}
|
@@ -13,7 +13,9 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
-
|
16
|
+
$navbar-height: 5rem;
|
17
|
+
|
18
|
+
// <<< inline
|
17
19
|
.fixed-common {
|
18
20
|
position: fixed;
|
19
21
|
left: 0;
|
@@ -30,45 +32,112 @@
|
|
30
32
|
@extend .fixed-common;
|
31
33
|
bottom: 0;
|
32
34
|
}
|
35
|
+
// >>>
|
33
36
|
|
34
|
-
.navbar
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
37
|
+
.navbar {
|
38
|
+
@extend .color-transition; // inline
|
39
|
+
|
40
|
+
> .content {
|
41
|
+
// <<< inline
|
42
|
+
position: relative;
|
43
|
+
padding-top: 0;
|
44
|
+
padding-bottom: 0;
|
45
|
+
min-height: 0;
|
46
|
+
max-height: $navbar-height;
|
47
|
+
// >>>
|
48
|
+
|
49
|
+
// <<< link
|
50
|
+
$shadow-padding: 3rem;
|
51
|
+
&::before {
|
52
|
+
content: "";
|
53
|
+
position: absolute;
|
54
|
+
display: block;
|
55
|
+
width: calc(100% - #{$shadow-padding * 2});
|
56
|
+
height: $navbar-height;
|
57
|
+
left: $shadow-padding;
|
58
|
+
margin: auto;
|
59
|
+
box-shadow: 0 0 2rem rgba(0,0,0,0.25);
|
60
|
+
z-index: -1;
|
61
|
+
}
|
62
|
+
// >>>
|
63
|
+
}
|
64
|
+
|
65
|
+
// <<< link
|
66
|
+
&.fixed-top {
|
67
|
+
> .content {
|
68
|
+
&::before {
|
69
|
+
bottom: 1px;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
&.fixed-bottom {
|
75
|
+
> .content {
|
76
|
+
&::before {
|
77
|
+
top: 1px;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
// >>>
|
39
82
|
}
|
40
83
|
|
84
|
+
// <<< inline
|
41
85
|
.nav-btn-bar {
|
42
|
-
|
86
|
+
@extend .color-transition;
|
87
|
+
margin: 0 -1rem;
|
88
|
+
background-color: white; // IE11
|
89
|
+
background-color: var(--body-bg);
|
90
|
+
height: $navbar-height;
|
91
|
+
display: flex;
|
92
|
+
align-items: center;
|
93
|
+
position: relative;
|
94
|
+
|
95
|
+
> :first-child, > :last-child {
|
96
|
+
border: none;
|
97
|
+
}
|
43
98
|
}
|
44
99
|
|
45
100
|
.nav-btn {
|
101
|
+
@extend .color-transition;
|
46
102
|
background: none;
|
47
103
|
border: none;
|
48
|
-
|
49
|
-
|
104
|
+
text-decoration: none;
|
105
|
+
display: flex;
|
106
|
+
align-items: center;
|
107
|
+
justify-content: center;
|
108
|
+
width: 3.25rem;
|
109
|
+
height: $navbar-height;
|
110
|
+
color: var(--menu-text);
|
111
|
+
border-right: 1px solid var(--border-color);
|
112
|
+
border-left: 1px solid var(--border-color);
|
113
|
+
margin-left: -1px;
|
114
|
+
}
|
115
|
+
// >>>
|
116
|
+
|
117
|
+
// <<< link
|
118
|
+
a.nav-btn, button.nav-btn {
|
50
119
|
cursor: pointer;
|
120
|
+
&:hover, &:focus {
|
121
|
+
background-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
.nav-span {
|
126
|
+
flex: 1;
|
51
127
|
}
|
52
128
|
|
53
129
|
.animation-main {
|
54
130
|
opacity: 0;
|
55
131
|
pointer-events: none;
|
56
132
|
}
|
57
|
-
// >>>>>
|
58
|
-
// <<<< LINK
|
59
|
-
.navbar {
|
60
|
-
@media print { display: none; }
|
61
|
-
.loading { display: none; }
|
62
|
-
}
|
63
133
|
|
64
134
|
#_navbar {
|
65
|
-
|
66
|
-
|
135
|
+
z-index: 3;
|
136
|
+
background-color: var(--body-bg);
|
67
137
|
}
|
68
138
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
border-top: 1px solid var(--border-color);
|
139
|
+
.navbar {
|
140
|
+
.loading { display: none; }
|
141
|
+
@media print { display: none; }
|
73
142
|
}
|
74
|
-
//
|
143
|
+
// >>>
|