jekyll-theme-hydejack 9.0.4 → 9.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +5 -4
- data/_includes/body/breadcrumbs.html +19 -0
- data/_includes/body/footer.html +1 -1
- data/_includes/body/index.html +3 -2
- data/_includes/body/main.html +1 -0
- data/_includes/body/nav.html +3 -3
- data/_includes/body/scripts.html +2 -2
- data/_includes/body/sidebar.html +1 -1
- data/_includes/components/dingbat.html +13 -0
- data/_includes/components/post.html +35 -9
- data/_includes/components/tag-list.html +24 -24
- data/_includes/head/index.html +1 -1
- data/_includes/head/links-static.html +7 -4
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/scripts.html +7 -2
- data/_includes/head/styles-inline.html +4 -2
- data/_includes/head/styles-no-inline.html +4 -2
- data/_includes/header.txt +1 -1
- data/_includes/scripts.html +33 -0
- data/_includes/scripts/load-js.min.js +1 -1
- data/_includes/scripts/nomodule.min.js +1 -1
- data/_includes/smart-url +10 -1
- data/_includes/styles/page-style.scss +1 -0
- data/_includes/styles/style.scss +1 -0
- data/_includes/styles/variables.scss +4 -2
- data/_includes/templates/animation.html +1 -0
- data/_includes/templates/index.html +20 -2
- data/_layouts/about.html +4 -1
- data/_layouts/base.html +3 -12
- data/_layouts/compress.html +1 -1
- data/_layouts/page.html +4 -2
- data/_layouts/plain.html +29 -0
- data/_layouts/post.html +6 -1
- data/_sass/_mixins.scss +26 -3
- data/_sass/_tippy.scss +41 -0
- data/_sass/html.scss +1 -7
- data/_sass/hydejack/__inline__/_base.scss +23 -1
- data/_sass/hydejack/__inline__/_content.scss +5 -1
- data/_sass/hydejack/__inline__/_sidebar.scss +18 -4
- data/_sass/hydejack/__inline__/_toc.scss +9 -5
- data/_sass/hydejack/__inline__/_utilities.scss +25 -0
- data/_sass/hydejack/__link__/_base.scss +1 -1
- data/_sass/hydejack/__link__/_break-layout.scss +8 -1
- data/_sass/hydejack/__link__/_images.scss +1 -1
- data/_sass/hydejack/__link__/_sidebar.scss +15 -5
- data/_sass/hydejack/__link__/_toc.scss +4 -4
- data/_sass/hydejack/__link__/_utilities.scss +25 -0
- data/_sass/hydejack/_base.pre.scss +23 -1
- data/_sass/hydejack/_break-layout.pre.scss +8 -1
- data/_sass/hydejack/_content.pre.scss +5 -1
- data/_sass/hydejack/_images.pre.scss +1 -1
- data/_sass/hydejack/_sidebar.pre.scss +29 -5
- data/_sass/hydejack/_toc.pre.scss +12 -6
- data/_sass/hydejack/_utilities.pre.scss +25 -0
- data/_sass/pooleparty/__inline__/_base.scss +2 -0
- data/_sass/pooleparty/__inline__/_code.scss +1 -1
- data/_sass/pooleparty/__inline__/_message.scss +1 -1
- data/_sass/pooleparty/__inline__/_posts.scss +19 -3
- data/_sass/pooleparty/__inline__/_type.scss +4 -2
- data/_sass/pooleparty/__link__/_code.scss +138 -27
- data/_sass/pooleparty/__link__/_footnotes.scss +2 -1
- data/_sass/pooleparty/__link__/_posts.scss +12 -0
- data/_sass/pooleparty/__link__/_read-more.scss +1 -0
- data/_sass/pooleparty/__link__/_table.scss +30 -36
- data/_sass/pooleparty/__link__/_type.scss +4 -2
- data/_sass/pooleparty/_base.pre.scss +2 -0
- data/_sass/pooleparty/_code.pre.scss +138 -27
- data/_sass/pooleparty/_footnotes.pre.scss +2 -1
- data/_sass/pooleparty/_message.pre.scss +1 -1
- data/_sass/pooleparty/_posts.pre.scss +31 -3
- data/_sass/pooleparty/_read-more.pre.scss +1 -0
- data/_sass/pooleparty/_table.pre.scss +30 -36
- data/_sass/pooleparty/_type.pre.scss +6 -4
- data/_sass/tippyjs/_mixins.scss +25 -0
- data/_sass/tippyjs/_vars.scss +6 -0
- data/_sass/tippyjs/animations/fade.scss +8 -0
- data/_sass/tippyjs/index.scss +90 -0
- data/assets/bower.json +2 -1
- data/assets/bower_components/MathJax/.bower.json +5 -5
- data/assets/bower_components/MathJax/es5/a11y/assistive-mml.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/complexity.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/explorer.js +1 -1
- data/assets/bower_components/MathJax/es5/a11y/semantic-enrich.js +1 -1
- data/assets/bower_components/MathJax/es5/adaptors/liteDOM.js +1 -1
- data/assets/bower_components/MathJax/es5/core.js +1 -1
- data/assets/bower_components/MathJax/es5/input/asciimath.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml.js +1 -1
- data/assets/bower_components/MathJax/es5/input/mml/entities.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-base.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex-full.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/action.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/all-packages.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/ams.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/amscd.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/autoload.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bbox.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/boldsymbol.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/braket.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/bussproofs.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/cancel.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/color.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/colorV2.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/configMacros.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/enclose.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/extpfeil.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/html.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/mhchem.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/newcommand.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noerrors.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/noundefined.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/physics.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/require.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/tagFormat.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/textmacros.js +1 -0
- data/assets/bower_components/MathJax/es5/input/tex/extensions/unicode.js +1 -1
- data/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js +1 -1
- data/assets/bower_components/MathJax/es5/latest.js +1 -1
- data/assets/bower_components/MathJax/es5/loader.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/node-main.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/output/chtml/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg.js +1 -1
- data/assets/bower_components/MathJax/es5/output/svg/fonts/tex.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/de.js +104 -0
- data/assets/bower_components/MathJax/es5/sre/mathmaps/en.js +11 -5
- data/assets/bower_components/MathJax/es5/sre/mathmaps/es.js +1 -1
- data/assets/bower_components/MathJax/es5/sre/mathmaps/mathmaps_ie.js +117 -9
- data/assets/bower_components/MathJax/es5/sre/mathmaps/nemeth.js +3 -3
- data/assets/bower_components/MathJax/es5/sre/sre-node.js +11 -0
- data/assets/bower_components/MathJax/es5/sre/sre_browser.js +1110 -1186
- data/assets/bower_components/MathJax/es5/startup.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-chtml.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-mml-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg-full.js +1 -1
- data/assets/bower_components/MathJax/es5/tex-svg.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/menu.js +1 -1
- data/assets/bower_components/MathJax/es5/ui/safe.js +1 -0
- data/assets/bower_components/MathJax/package.json +3 -3
- data/assets/bower_components/katex/.bower.json +7 -6
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.js +858 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.min.js +1 -0
- data/assets/bower_components/katex/dist/contrib/render-a11y-string.mjs +741 -0
- data/assets/bower_components/katex/dist/katex.css +1 -10
- data/assets/bower_components/katex/dist/katex.js +1228 -612
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +1 -1
- data/assets/bower_components/katex/dist/katex.mjs +1270 -591
- data/assets/bower_components/katex/docs/cli.md.template +21 -0
- data/assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js +1201 -0
- data/assets/bower_components/katex/yarn.lock +233 -172
- data/assets/css/{hydejack-9.0.4.css → hydejack-9.1.4.css} +0 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +6 -3
- 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 +17 -8
- data/assets/icons/icon-128x128.png +0 -0
- data/assets/icons/icon-144x144.png +0 -0
- data/assets/icons/icon-152x152.png +0 -0
- data/assets/icons/icon-192x192.png +0 -0
- data/assets/icons/icon-384x384.png +0 -0
- data/assets/icons/icon-512x512.png +0 -0
- data/assets/icons/icon-96x96.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/img/swipe.svg +1 -22
- data/assets/js/LEGACY-clap-button-hydejack-9.1.4.js +14 -0
- data/assets/js/LEGACY-drawer-hydejack-9.1.4.js +14 -0
- data/assets/js/{LEGACY-fetch-hydejack-9.0.4.js → LEGACY-fetch-hydejack-9.1.4.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.4.js +27 -0
- data/assets/js/LEGACY-navbar-hydejack-9.1.4.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.1.4.js +14 -0
- data/assets/js/LEGACY-resize-observer-hydejack-9.1.4.js +14 -0
- data/assets/js/{LEGACY-shadydom-hydejack-9.0.4.js → LEGACY-shadydom-hydejack-9.1.4.js} +2 -2
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.4.js +14 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.4.js +48 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.4.js +214 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.4.js +14 -0
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.4.js +14 -0
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.4.js +34 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.4.js +155 -0
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.0.4.js → LEGACY-vendors~webanimations-hydejack-9.1.4.js} +2 -2
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.0.4.js → LEGACY-vendors~webcomponents-hydejack-9.1.4.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.0.4.js → LEGACY-webcomponents-hydejack-9.1.4.js} +2 -2
- data/assets/js/clap-button-hydejack-9.1.4.js +14 -0
- data/assets/js/drawer-hydejack-9.1.4.js +14 -0
- data/assets/js/{shadydom-hydejack-9.0.4.js → fetch-hydejack-9.1.4.js} +2 -2
- data/assets/js/hydejack-9.1.4.js +28 -0
- data/assets/js/navbar-hydejack-9.1.4.js +14 -0
- data/assets/js/push-state-hydejack-9.1.4.js +14 -0
- data/assets/js/resize-observer-hydejack-9.1.4.js +14 -0
- data/assets/js/{fetch-hydejack-9.0.4.js → shadydom-hydejack-9.1.4.js} +2 -2
- data/assets/js/vendors~clap-button-hydejack-9.1.4.js +14 -0
- data/assets/js/vendors~drawer-hydejack-9.1.4.js +48 -0
- data/assets/js/vendors~drawer~push-state-hydejack-9.1.4.js +163 -0
- data/assets/js/vendors~fetch-hydejack-9.1.4.js +14 -0
- data/assets/js/vendors~intersection-observer-hydejack-9.1.4.js +14 -0
- data/assets/js/vendors~push-state-hydejack-9.1.4.js +34 -0
- data/assets/js/vendors~shadydom-hydejack-9.1.4.js +146 -0
- data/assets/js/{vendors~webanimations-hydejack-9.0.4.js → vendors~webanimations-hydejack-9.1.4.js} +2 -2
- data/assets/js/{webcomponents-hydejack-9.0.4.js → webcomponents-hydejack-9.1.4.js} +2 -2
- data/assets/site.webmanifest +1 -1
- data/assets/version.json +2 -2
- metadata +59 -47
- data/_includes/templates/back.html +0 -6
- data/_includes/templates/forward.html +0 -6
- data/assets/js/LEGACY-drawer-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-hydejack-9.0.4.js +0 -28
- data/assets/js/LEGACY-navbar-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-push-state-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-resize-observer-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-search-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-toc-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.0.4.js +0 -47
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.4.js +0 -215
- data/assets/js/LEGACY-vendors~drawer~push-state~search-hydejack-9.0.4.js +0 -151
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.4.js +0 -14
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.0.4.js +0 -33
- data/assets/js/LEGACY-vendors~search-hydejack-9.0.4.js +0 -40
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.0.4.js +0 -155
- data/assets/js/drawer-hydejack-9.0.4.js +0 -14
- data/assets/js/hydejack-9.0.4.js +0 -28
- data/assets/js/navbar-hydejack-9.0.4.js +0 -14
- data/assets/js/push-state-hydejack-9.0.4.js +0 -14
- data/assets/js/resize-observer-hydejack-9.0.4.js +0 -14
- data/assets/js/search-hydejack-9.0.4.js +0 -14
- data/assets/js/toc-hydejack-9.0.4.js +0 -14
- data/assets/js/vendors~drawer-hydejack-9.0.4.js +0 -47
- data/assets/js/vendors~drawer~push-state-hydejack-9.0.4.js +0 -163
- data/assets/js/vendors~drawer~push-state~search-hydejack-9.0.4.js +0 -124
- data/assets/js/vendors~fetch-hydejack-9.0.4.js +0 -14
- data/assets/js/vendors~intersection-observer-hydejack-9.0.4.js +0 -14
- data/assets/js/vendors~push-state-hydejack-9.0.4.js +0 -33
- data/assets/js/vendors~search-hydejack-9.0.4.js +0 -40
- data/assets/js/vendors~shadydom-hydejack-9.0.4.js +0 -146
@@ -7,7 +7,7 @@
|
|
7
7
|
// During development you can run `npm run watch:css`
|
8
8
|
// to continuosly rebuild this file.
|
9
9
|
|
10
|
-
// Copyright (c)
|
10
|
+
// Copyright (c) 2021 Florian Klampfer <https://qwtel.com/>
|
11
11
|
//
|
12
12
|
// This program is free software: you can redistribute it and/or modify
|
13
13
|
// it under the terms of the GNU General Public License as published by
|
@@ -29,6 +29,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
|
|
29
29
|
@media screen {
|
30
30
|
position: relative;
|
31
31
|
width: calc(100% + #{$pad});
|
32
|
+
border-top-right-radius: 0!important;
|
33
|
+
border-bottom-right-radius: 0!important;
|
32
34
|
}
|
33
35
|
|
34
36
|
@media screen and (min-width: $content-width) {
|
@@ -52,7 +54,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
|
|
52
54
|
}
|
53
55
|
|
54
56
|
@media screen and (min-width: $break-point-dynamic) {
|
55
|
-
|
57
|
+
$x: ($content-width-5 / 2) - ($content-padding * 2) + 21rem;
|
58
|
+
width: calc(100% + 50vw - #{$x} + 2px);
|
56
59
|
}
|
57
60
|
}
|
58
61
|
|
@@ -62,6 +65,10 @@ body:not(.no-break-layout) {
|
|
62
65
|
}
|
63
66
|
}
|
64
67
|
|
68
|
+
body.no-break-layout {
|
69
|
+
width: calc(100% + #{$content-margin-5 + 2rem});
|
70
|
+
}
|
71
|
+
|
65
72
|
body.no-toc:not(.no-break-layout) {
|
66
73
|
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
67
74
|
@media screen and (min-width: $break-point-dynamic) {
|
@@ -65,13 +65,23 @@ hy-drawer {
|
|
65
65
|
|
66
66
|
|
67
67
|
a {
|
68
|
-
|
69
|
-
|
70
|
-
|
68
|
+
|
69
|
+
|
70
|
+
&:hover {
|
71
|
+
border-bottom-color: #fff;
|
72
|
+
text-decoration-color: #fff;
|
73
|
+
}
|
74
|
+
|
75
|
+
}
|
76
|
+
|
77
|
+
&.invert a {
|
78
|
+
|
79
|
+
|
71
80
|
&:hover {
|
72
|
-
border-bottom-color: #
|
73
|
-
text-decoration-color: #
|
81
|
+
border-bottom-color: #222;
|
82
|
+
text-decoration-color: #222;
|
74
83
|
}
|
84
|
+
|
75
85
|
}
|
76
86
|
}
|
77
87
|
|
@@ -25,16 +25,15 @@
|
|
25
25
|
#markdown-toc {
|
26
26
|
|
27
27
|
transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease;
|
28
|
-
&:before {
|
29
|
-
left: 1rem;
|
30
|
-
}
|
28
|
+
&:before { left: 1rem; }
|
31
29
|
}
|
32
30
|
|
33
31
|
body:not(.no-toc) #markdown-toc {
|
34
32
|
@media screen and (min-width: $break-point-dynamic) {
|
35
33
|
|
36
|
-
overscroll-behavior: contain;
|
37
34
|
|
35
|
+
overscroll-behavior: contain;
|
36
|
+
|
38
37
|
&.toc-hide {
|
39
38
|
opacity: 0;
|
40
39
|
transform: translateX(-2rem);
|
@@ -53,3 +52,4 @@ body:not(.no-toc) #markdown-toc {
|
|
53
52
|
|
54
53
|
}
|
55
54
|
}
|
55
|
+
|
@@ -32,6 +32,8 @@
|
|
32
32
|
.mt3 { margin-top: 3rem }
|
33
33
|
.mt4 { margin-top: 4rem }
|
34
34
|
.pb0 { padding-bottom: 0 }
|
35
|
+
.ml1 { margin-left: 1rem }
|
36
|
+
.mr1 { margin-right: 1rem }
|
35
37
|
|
36
38
|
.sixteen-nine { @include aspect-ratio(16, 9); }
|
37
39
|
.sixteen-ten { @include aspect-ratio(16, 10); }
|
@@ -51,7 +53,30 @@
|
|
51
53
|
|
52
54
|
}
|
53
55
|
|
56
|
+
.larger { font-size: larger; }
|
57
|
+
.smaller { font-size: smaller; }
|
58
|
+
|
59
|
+
.clearfix {
|
60
|
+
content: "";
|
61
|
+
display: table;
|
62
|
+
clear: both;
|
63
|
+
}
|
64
|
+
|
65
|
+
.ellipsis {
|
66
|
+
white-space: nowrap;
|
67
|
+
overflow: hidden;
|
68
|
+
text-overflow: ellipsis;
|
69
|
+
}
|
70
|
+
|
54
71
|
.border {
|
55
72
|
// border: 1px solid var(--border-color);
|
56
73
|
transition: border-color 1s ease;
|
57
74
|
}
|
75
|
+
|
76
|
+
.border-radius {
|
77
|
+
@include border-radius();
|
78
|
+
}
|
79
|
+
|
80
|
+
.fallback-img {
|
81
|
+
@include fallback-image();
|
82
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright (c)
|
1
|
+
// Copyright (c) 2021 Florian Klampfer <https://qwtel.com/>
|
2
2
|
//
|
3
3
|
// This program is free software: you can redistribute it and/or modify
|
4
4
|
// it under the terms of the GNU General Public License as published by
|
@@ -56,6 +56,28 @@ html {
|
|
56
56
|
font-size: var(--root-font-size-large);
|
57
57
|
}
|
58
58
|
}
|
59
|
+
|
60
|
+
#breadcrumbs {
|
61
|
+
> ul {
|
62
|
+
@extend .ellipsis;
|
63
|
+
height: 1rem;
|
64
|
+
margin: -1.5rem 0 .5rem;
|
65
|
+
padding: 0;
|
66
|
+
font-size: .667rem;
|
67
|
+
color: var(--menu-text);
|
68
|
+
text-transform: uppercase;
|
69
|
+
width: 100%;
|
70
|
+
list-style: none;
|
71
|
+
> li {
|
72
|
+
display: inline;
|
73
|
+
a {
|
74
|
+
color: var(--gray);
|
75
|
+
text-decoration: none;
|
76
|
+
border-bottom: none;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
59
81
|
// >>>
|
60
82
|
// <<< LINK
|
61
83
|
@media print {
|
@@ -20,6 +20,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
|
|
20
20
|
@media screen {
|
21
21
|
position: relative;
|
22
22
|
width: calc(100% + #{$pad});
|
23
|
+
border-top-right-radius: 0!important;
|
24
|
+
border-bottom-right-radius: 0!important;
|
23
25
|
}
|
24
26
|
|
25
27
|
@media screen and (min-width: $content-width) {
|
@@ -43,7 +45,8 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
|
|
43
45
|
}
|
44
46
|
|
45
47
|
@media screen and (min-width: $break-point-dynamic) {
|
46
|
-
|
48
|
+
$x: ($content-width-5 / 2) - ($content-padding * 2) + 21rem;
|
49
|
+
width: calc(100% + 50vw - #{$x} + 2px);
|
47
50
|
}
|
48
51
|
}
|
49
52
|
|
@@ -53,6 +56,10 @@ body:not(.no-break-layout) {
|
|
53
56
|
}
|
54
57
|
}
|
55
58
|
|
59
|
+
body.no-break-layout {
|
60
|
+
width: calc(100% + #{$content-margin-5 + 2rem});
|
61
|
+
}
|
62
|
+
|
56
63
|
body.no-toc:not(.no-break-layout) {
|
57
64
|
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
58
65
|
@media screen and (min-width: $break-point-dynamic) {
|
@@ -21,10 +21,13 @@
|
|
21
21
|
|
22
22
|
@media screen {
|
23
23
|
padding-left: $content-padding + .5rem;
|
24
|
-
max-width: $content-width;
|
25
24
|
min-height: 100vh;
|
26
25
|
}
|
27
26
|
|
27
|
+
@media screen and (min-width: $break-point-1) {
|
28
|
+
max-width: $content-width;
|
29
|
+
}
|
30
|
+
|
28
31
|
@media screen and (min-width: $break-point-2) {
|
29
32
|
max-width: $content-width-2;
|
30
33
|
}
|
@@ -36,6 +39,7 @@
|
|
36
39
|
}
|
37
40
|
|
38
41
|
@media screen and (min-width: $break-point-5) {
|
42
|
+
padding-top: 9rem;
|
39
43
|
margin-left: $sidebar-width + $content-margin-5;
|
40
44
|
margin-right: $content-margin-5;
|
41
45
|
max-width: $content-width-5;
|
@@ -74,16 +74,35 @@ hy-drawer {
|
|
74
74
|
color: rgba(255, 255, 255, .75);
|
75
75
|
text-align: center;
|
76
76
|
min-height: 100vh;
|
77
|
+
&.invert { color: rgba(32, 32, 32, .75) }
|
77
78
|
// >>>
|
78
79
|
|
79
80
|
a {
|
80
|
-
|
81
|
-
|
82
|
-
|
81
|
+
// <<< inline
|
82
|
+
color: #fff;
|
83
|
+
border-bottom-color: rgba(255, 255, 255, 0.2);
|
84
|
+
text-decoration-color: rgba(255, 255, 255, 0.2);
|
85
|
+
// >>>
|
86
|
+
// <<< link
|
87
|
+
&:hover {
|
88
|
+
border-bottom-color: #fff;
|
89
|
+
text-decoration-color: #fff;
|
90
|
+
}
|
91
|
+
// >>>
|
92
|
+
}
|
93
|
+
|
94
|
+
&.invert a {
|
95
|
+
// <<< inline
|
96
|
+
color: #222;
|
97
|
+
border-bottom-color: rgba(32, 32, 32, 0.2);
|
98
|
+
text-decoration-color: rgba(32, 32, 32, 0.2);
|
99
|
+
// >>>
|
100
|
+
// <<< link
|
83
101
|
&:hover {
|
84
|
-
border-bottom-color: #
|
85
|
-
text-decoration-color: #
|
102
|
+
border-bottom-color: #222;
|
103
|
+
text-decoration-color: #222;
|
86
104
|
}
|
105
|
+
// >>>
|
87
106
|
}
|
88
107
|
}
|
89
108
|
|
@@ -158,6 +177,11 @@ hy-drawer.loaded .sidebar {
|
|
158
177
|
}
|
159
178
|
}
|
160
179
|
|
180
|
+
.sidebar.invert .sidebar-about > a.sidebar-title{
|
181
|
+
&::after { border-color: rgba(32, 32, 32, 0.2) }
|
182
|
+
&:hover::after { border-color: #222 }
|
183
|
+
}
|
184
|
+
|
161
185
|
.sidebar-nav > ul {
|
162
186
|
list-style: none;
|
163
187
|
padding-left: 0;
|
@@ -21,9 +21,7 @@
|
|
21
21
|
padding-bottom: .5rem;
|
22
22
|
// >>>
|
23
23
|
transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease; // link
|
24
|
-
&:before {
|
25
|
-
left: 1rem;
|
26
|
-
}
|
24
|
+
&:before { left: 1rem; }
|
27
25
|
}
|
28
26
|
|
29
27
|
body:not(.no-toc) #markdown-toc {
|
@@ -31,14 +29,14 @@ body:not(.no-toc) #markdown-toc {
|
|
31
29
|
// <<< inline
|
32
30
|
position: absolute;
|
33
31
|
z-index: 4;
|
34
|
-
width:
|
32
|
+
width: 20.5rem;
|
35
33
|
right: 0;
|
36
34
|
margin: auto;
|
37
35
|
overflow: auto;
|
38
36
|
// >>>
|
39
|
-
overscroll-behavior: contain; // link
|
40
|
-
|
41
37
|
// <<< link
|
38
|
+
overscroll-behavior: contain;
|
39
|
+
|
42
40
|
&.toc-hide {
|
43
41
|
opacity: 0;
|
44
42
|
transform: translateX(-2rem);
|
@@ -57,3 +55,11 @@ body:not(.no-toc) #markdown-toc {
|
|
57
55
|
// >>>
|
58
56
|
}
|
59
57
|
}
|
58
|
+
|
59
|
+
// <<< inline
|
60
|
+
body.no-break-layout:not(.no-toc) #markdown-toc {
|
61
|
+
@media screen and (min-width: $break-point-dynamic) {
|
62
|
+
width: calc(50% - #{$half-content});
|
63
|
+
}
|
64
|
+
}
|
65
|
+
// >>>
|
@@ -23,6 +23,8 @@
|
|
23
23
|
.mt3 { margin-top: 3rem }
|
24
24
|
.mt4 { margin-top: 4rem }
|
25
25
|
.pb0 { padding-bottom: 0 }
|
26
|
+
.ml1 { margin-left: 1rem }
|
27
|
+
.mr1 { margin-right: 1rem }
|
26
28
|
|
27
29
|
.sixteen-nine { @include aspect-ratio(16, 9); }
|
28
30
|
.sixteen-ten { @include aspect-ratio(16, 10); }
|
@@ -43,7 +45,30 @@
|
|
43
45
|
// >>>
|
44
46
|
}
|
45
47
|
|
48
|
+
.larger { font-size: larger; }
|
49
|
+
.smaller { font-size: smaller; }
|
50
|
+
|
51
|
+
.clearfix {
|
52
|
+
content: "";
|
53
|
+
display: table;
|
54
|
+
clear: both;
|
55
|
+
}
|
56
|
+
|
57
|
+
.ellipsis {
|
58
|
+
white-space: nowrap;
|
59
|
+
overflow: hidden;
|
60
|
+
text-overflow: ellipsis;
|
61
|
+
}
|
62
|
+
|
46
63
|
.border {
|
47
64
|
border: 1px solid var(--border-color); // inline
|
48
65
|
transition: border-color 1s ease; // link
|
49
66
|
}
|
67
|
+
|
68
|
+
.border-radius {
|
69
|
+
@include border-radius();
|
70
|
+
}
|
71
|
+
|
72
|
+
.fallback-img {
|
73
|
+
@include fallback-image();
|
74
|
+
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
// During development you can run `npm run watch:css`
|
8
8
|
// to continuosly rebuild this file.
|
9
9
|
|
10
|
-
// Copyright (c)
|
10
|
+
// Copyright (c) 2020 Florian Klampfer <https://qwtel.com/>
|
11
11
|
//
|
12
12
|
// This program is free software: you can redistribute it and/or modify
|
13
13
|
// it under the terms of the GNU General Public License as published by
|
@@ -34,6 +34,10 @@
|
|
34
34
|
position: relative;
|
35
35
|
margin-bottom: 1.5rem;
|
36
36
|
}
|
37
|
+
|
38
|
+
.aspect-ratio.sixteen-nine.lead {
|
39
|
+
@extend .border-radius;
|
40
|
+
}
|
37
41
|
}
|
38
42
|
|
39
43
|
body:not(.no-third-column) {
|
@@ -57,10 +61,22 @@ body:not(.no-third-column) {
|
|
57
61
|
// Meta data line below post title
|
58
62
|
.post-date {
|
59
63
|
@extend .h4;
|
60
|
-
display:
|
61
|
-
|
62
|
-
margin-
|
64
|
+
display: flex;
|
65
|
+
justify-content: space-between;
|
66
|
+
margin-top: -.6rem;
|
67
|
+
height: 2rem;
|
68
|
+
margin-bottom: .85rem;
|
63
69
|
color: var(--gray);
|
70
|
+
|
71
|
+
> .ellipsis {
|
72
|
+
cursor: pointer;
|
73
|
+
}
|
74
|
+
|
75
|
+
[class^="icon-"] {
|
76
|
+
display: inline-block;
|
77
|
+
font-size: smaller;
|
78
|
+
margin-right: .25rem;
|
79
|
+
}
|
64
80
|
}
|
65
81
|
|
66
82
|
|