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
data/_layouts/post.html
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
layout: base
|
18
18
|
---
|
19
19
|
|
20
|
-
{%
|
20
|
+
{% include_cached components/post.html post=page no_link_title=true no_excerpt=true hide_image=page.hide_image hide_description=page.hide_description %}
|
21
21
|
|
22
22
|
<hr class="dingbat related" />
|
23
23
|
|
@@ -26,9 +26,11 @@ layout: base
|
|
26
26
|
{% for addon in addons %}
|
27
27
|
{% case addon %}
|
28
28
|
{% when 'about' %}
|
29
|
-
{%
|
29
|
+
{% include_cached components/about.html author=page.author %}
|
30
30
|
{% when 'related' %}
|
31
|
-
{% include components/related-posts.html
|
31
|
+
{% include if-non-null try="components/related-posts.html" %}
|
32
|
+
{% when 'comments' %}
|
33
|
+
{% include body/comments.html %}
|
32
34
|
{% else %}
|
33
35
|
{% endcase %}
|
34
36
|
{% endfor %}
|
data/_sass/_mixins.scss
CHANGED
@@ -13,22 +13,6 @@
|
|
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
|
-
body {
|
17
|
-
--code-font-family: #{$code-font-family};
|
18
|
-
|
19
|
-
--font-weight: #{$font-weight};
|
20
|
-
--font-weight-bold: #{$font-weight-bold};
|
21
|
-
--font-weight-heading: #{$font-weight-heading};
|
22
|
-
|
23
|
-
--text-muted: #{$gray};
|
24
|
-
--gray-bg: #{$gray-bg};
|
25
|
-
--gray-text: #{$gray-text};
|
26
|
-
--menu-text: #{$menu-text};
|
27
|
-
--body-color: #{$body-color};
|
28
|
-
--body-bg: #{$body-bg};
|
29
|
-
--border-color: #{$border-color};
|
30
|
-
}
|
31
|
-
|
32
16
|
@mixin aspect-ratio($width, $height) {
|
33
17
|
position: relative;
|
34
18
|
|
@@ -55,9 +39,11 @@ body {
|
|
55
39
|
}
|
56
40
|
|
57
41
|
.color-transition {
|
58
|
-
transition:
|
42
|
+
transition: none;
|
59
43
|
}
|
60
44
|
|
61
|
-
|
62
|
-
|
63
|
-
|
45
|
+
@mixin fallback-image() {
|
46
|
+
background-position: center;
|
47
|
+
background-repeat: no-repeat;
|
48
|
+
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ibWF0cml4KDAuMDQ4ODI4LCAwLCAwLCAwLjA0Nzk5MSwgNTQuOTk5OTczLCAyMC40MjgxNDgpIj4KICAgIDxwYXRoIGQ9Ik05NTkuODg0IDEyOGMwLjA0MCAwLjAzNCAwLjA4MiAwLjA3NiAwLjExNiAwLjExNnY3NjcuNzdjLTAuMDM0IDAuMDQwLTAuMDc2IDAuMDgyLTAuMTE2IDAuMTE2aC04OTUuNzdjLTAuMDQwLTAuMDM0LTAuMDgyLTAuMDc2LTAuMTE0LTAuMTE2di03NjcuNzcyYzAuMDM0LTAuMDQwIDAuMDc2LTAuMDgyIDAuMTE0LTAuMTE0aDg5NS43N3pNOTYwIDY0aC04OTZjLTM1LjIgMC02NCAyOC44LTY0IDY0djc2OGMwIDM1LjIgMjguOCA2NCA2NCA2NGg4OTZjMzUuMiAwIDY0LTI4LjggNjQtNjR2LTc2OGMwLTM1LjItMjguOC02NC02NC02NHYweiIgc3R5bGU9ImZpbGw6IHJnYigyMjEsIDIyMSwgMjIxKTsiLz4KICAgIDxwYXRoIGQ9Ik04MzIgMjg4YzAgNTMuMDIwLTQyLjk4IDk2LTk2IDk2cy05Ni00Mi45OC05Ni05NiA0Mi45OC05NiA5Ni05NiA5NiA0Mi45OCA5NiA5NnoiIHN0eWxlPSJmaWxsOiByZ2IoMjIxLCAyMjEsIDIyMSk7Ii8+CiAgICA8cGF0aCBkPSJNODk2IDgzMmgtNzY4di0xMjhsMjI0LTM4NCAyNTYgMzIwaDY0bDIyNC0xOTJ6IiBzdHlsZT0iZmlsbDogcmdiKDIyMSwgMjIxLCAyMjEpOyIvPgogIDwvZz4KPC9zdmc+');
|
49
|
+
}
|
data/_sass/_syntax.scss
CHANGED
@@ -1,131 +1,143 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
//
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
.highlight .
|
20
|
-
.highlight .
|
21
|
-
.highlight .
|
22
|
-
.highlight .
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
.highlight .
|
27
|
-
.highlight .
|
28
|
-
.highlight .
|
29
|
-
.highlight .
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
.highlight .
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
.highlight .
|
39
|
-
.highlight .
|
40
|
-
.highlight .
|
41
|
-
.highlight .
|
42
|
-
.highlight .
|
43
|
-
.highlight .
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
.highlight .
|
48
|
-
.highlight .
|
49
|
-
.highlight .
|
50
|
-
.highlight .
|
51
|
-
.highlight .
|
52
|
-
.highlight .
|
53
|
-
.highlight .
|
54
|
-
.highlight .
|
55
|
-
.highlight .
|
56
|
-
.highlight .
|
57
|
-
.highlight .
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
.highlight .
|
62
|
-
.highlight .
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
.highlight .
|
67
|
-
.highlight .
|
68
|
-
.highlight .
|
69
|
-
.highlight .
|
70
|
-
.highlight .
|
71
|
-
.highlight .
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
.highlight .
|
76
|
-
.highlight .
|
77
|
-
.highlight .
|
78
|
-
.highlight .
|
79
|
-
.highlight .
|
80
|
-
.highlight .
|
81
|
-
.highlight .
|
82
|
-
.highlight .
|
83
|
-
.highlight .
|
84
|
-
.highlight .
|
85
|
-
.highlight .
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
//
|
90
|
-
//
|
91
|
-
//
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
1
|
+
@mixin lightmode-syntax() {
|
2
|
+
.highlight,
|
3
|
+
pre.highlight {
|
4
|
+
// background: #fafafa;
|
5
|
+
color: #383a42;
|
6
|
+
}
|
7
|
+
// .highlight pre {
|
8
|
+
// background: #fafafa;
|
9
|
+
// }
|
10
|
+
.highlight .ge {
|
11
|
+
font-style: italic;
|
12
|
+
}
|
13
|
+
.highlight .gs {
|
14
|
+
font-weight: 700;
|
15
|
+
}
|
16
|
+
.highlight .ow {
|
17
|
+
font-weight: 700;
|
18
|
+
}
|
19
|
+
.highlight .n,
|
20
|
+
.highlight .nf,
|
21
|
+
.highlight .nn,
|
22
|
+
.highlight .o,
|
23
|
+
.highlight .p {
|
24
|
+
color: #383a42;
|
25
|
+
}
|
26
|
+
.highlight .c,
|
27
|
+
.highlight .c1,
|
28
|
+
.highlight .cm,
|
29
|
+
.highlight .cp,
|
30
|
+
.highlight .cs {
|
31
|
+
color: #a0a1a7;
|
32
|
+
font-style: italic;
|
33
|
+
}
|
34
|
+
.highlight .sr,
|
35
|
+
.highlight .ss {
|
36
|
+
color: #0184bc;
|
37
|
+
}
|
38
|
+
.highlight .k,
|
39
|
+
.highlight .kc,
|
40
|
+
.highlight .kd,
|
41
|
+
.highlight .kn,
|
42
|
+
.highlight .kp,
|
43
|
+
.highlight .kr,
|
44
|
+
.highlight .kt {
|
45
|
+
color: #a626a4;
|
46
|
+
}
|
47
|
+
.highlight .l,
|
48
|
+
.highlight .ld,
|
49
|
+
.highlight .s,
|
50
|
+
.highlight .s1,
|
51
|
+
.highlight .s2,
|
52
|
+
.highlight .sb,
|
53
|
+
.highlight .sc,
|
54
|
+
.highlight .sd,
|
55
|
+
.highlight .se,
|
56
|
+
.highlight .sh,
|
57
|
+
.highlight .si,
|
58
|
+
.highlight .sx {
|
59
|
+
color: #50a14f;
|
60
|
+
}
|
61
|
+
.highlight .nt,
|
62
|
+
.highlight .nx,
|
63
|
+
.highlight .vi {
|
64
|
+
color: #e45649;
|
65
|
+
}
|
66
|
+
.highlight .il,
|
67
|
+
.highlight .m,
|
68
|
+
.highlight .mf,
|
69
|
+
.highlight .mh,
|
70
|
+
.highlight .mi,
|
71
|
+
.highlight .mo,
|
72
|
+
.highlight .na {
|
73
|
+
color: #986801;
|
74
|
+
}
|
75
|
+
.highlight .bp,
|
76
|
+
.highlight .nb,
|
77
|
+
.highlight .nc,
|
78
|
+
.highlight .nd,
|
79
|
+
.highlight .ne,
|
80
|
+
.highlight .ni,
|
81
|
+
.highlight .nl,
|
82
|
+
.highlight .no,
|
83
|
+
.highlight .nv,
|
84
|
+
.highlight .py,
|
85
|
+
.highlight .vc,
|
86
|
+
.highlight .vg {
|
87
|
+
color: #c18401;
|
88
|
+
}
|
89
|
+
// .highlight .err {
|
90
|
+
// color: #fff;
|
91
|
+
// background-color: #ff1414;
|
92
|
+
// }
|
93
|
+
.highlight .gd {
|
94
|
+
color: #ff1414;
|
95
|
+
}
|
96
|
+
.highlight .gi {
|
97
|
+
color: #2db448;
|
98
|
+
}
|
99
|
+
.highlight .w {
|
100
|
+
color: #f8f8f2;
|
101
|
+
}
|
102
|
+
.highlight .cpf {
|
103
|
+
color: navy;
|
104
|
+
}
|
105
|
+
.highlight .gu {
|
106
|
+
color: #75715e;
|
107
|
+
}
|
108
|
+
.highlight .lineno {
|
109
|
+
color: #9d9d9f;
|
110
|
+
user-select: none;
|
111
|
+
}
|
112
|
+
.highlight .ln {
|
113
|
+
color: #9d9d9f;
|
114
|
+
user-select: none;
|
115
|
+
}
|
116
|
+
.highlight .ln:after {
|
117
|
+
content: " ";
|
118
|
+
}
|
119
|
+
.highlight .hll {
|
120
|
+
color: #383a42;
|
121
|
+
background-color: #e5e5e6;
|
122
|
+
}
|
123
|
+
.highlight .hl {
|
124
|
+
color: #383a42;
|
125
|
+
background-color: #e5e5e6;
|
126
|
+
}
|
127
|
+
.highlight .language-json .w + .s2 {
|
128
|
+
color: #e45649;
|
129
|
+
}
|
130
|
+
.highlight .language-json .kc {
|
131
|
+
color: #0184bc;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
body {
|
136
|
+
@include lightmode-syntax();
|
137
|
+
}
|
138
|
+
|
139
|
+
@media screen {
|
140
|
+
body.light-mode {
|
141
|
+
@include lightmode-syntax();
|
142
|
+
}
|
131
143
|
}
|
data/_sass/_variables.scss
CHANGED
@@ -13,51 +13,10 @@
|
|
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
|
-
$gray: #
|
16
|
+
$gray: #777;
|
17
17
|
$gray-bg: rgba(0,0,0,.025);
|
18
18
|
$gray-text: #666;
|
19
19
|
$menu-text: #bbb;
|
20
20
|
$body-color: #333;
|
21
21
|
$body-bg: #fff;
|
22
22
|
$border-color: #ebebeb;
|
23
|
-
|
24
|
-
$root-font-size: 16px;
|
25
|
-
$root-font-size-medium: 17px;
|
26
|
-
$root-font-size-large: 18px;
|
27
|
-
$root-font-size-print: 11pt;
|
28
|
-
$root-line-height: 1.75;
|
29
|
-
|
30
|
-
$font-weight: 400;
|
31
|
-
$font-weight-bold: 700;
|
32
|
-
$font-weight-heading: 400;
|
33
|
-
|
34
|
-
$code-font-family: Menlo, Monaco, Consolas, monospace;
|
35
|
-
|
36
|
-
// Breakpoints and content width. All units must be in rem!
|
37
|
-
// NOTE: Duplicated values from `_js/src/drawer.js`.
|
38
|
-
$content-width: 38rem;
|
39
|
-
$content-width-2: 42rem;
|
40
|
-
$content-width-5: 48rem;
|
41
|
-
|
42
|
-
$content-margin-3: 3rem;
|
43
|
-
$content-margin-5: 4rem;
|
44
|
-
|
45
|
-
$content-padding: 1rem;
|
46
|
-
|
47
|
-
$sidebar-width: 21rem;
|
48
|
-
|
49
|
-
$break-point-1: 42em;
|
50
|
-
$break-point-2: 54em;
|
51
|
-
$break-point-3: 64em;
|
52
|
-
$break-point-4: 72em;
|
53
|
-
$break-point-5: 88em;
|
54
|
-
$break-point-font-large: 124em;
|
55
|
-
|
56
|
-
// The sidebar width starts adjusting dynamically when the content is at the center of the window.
|
57
|
-
// This is the case when the window size has a `min-width` of content area + twice the sidebar (left, right):
|
58
|
-
//
|
59
|
-
// $break-point-dynamic: $content-width-5 + (2 * $content-margin-5) + (2 * $sidebar-width); // = 98rem
|
60
|
-
//
|
61
|
-
// HACK: Since Chrome doesn't treat rem values in media queries correctly,
|
62
|
-
// we hard-code the pixel value for the values above.
|
63
|
-
$break-point-dynamic: 1666px; // = 98 * 17px
|
data/_sass/html.scss
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
html {
|
2
|
+
--font-family: #{$font-family};
|
3
|
+
--font-family-heading: #{$font-family-heading};
|
4
|
+
--code-font-family: #{$code-font-family};
|
5
|
+
|
6
|
+
--gray: #{$gray};
|
7
|
+
--gray-bg: #{$gray-bg};
|
8
|
+
--gray-text: #{$gray-text};
|
9
|
+
--menu-text: #{$menu-text};
|
10
|
+
--body-color: #{$body-color};
|
11
|
+
--body-bg: #{$body-bg};
|
12
|
+
--border-color: #{$border-color};
|
13
|
+
|
14
|
+
--root-font-size: #{$root-font-size};
|
15
|
+
--root-font-size-medium: #{$root-font-size-medium};
|
16
|
+
--root-font-size-large: #{$root-font-size-large};
|
17
|
+
--root-font-size-print: #{$root-font-size-print};
|
18
|
+
--root-line-height: #{$root-line-height};
|
19
|
+
|
20
|
+
--font-weight: #{$font-weight};
|
21
|
+
--font-weight-bold: #{$font-weight-bold};
|
22
|
+
--font-weight-heading: #{$font-weight-heading};
|
23
|
+
|
24
|
+
// --content-width: #{$content-width};
|
25
|
+
// --content-width-2: #{$content-width-2};
|
26
|
+
--content-width-5: #{$content-width-5};
|
27
|
+
|
28
|
+
// --content-margin-3: #{$content-margin-3};
|
29
|
+
--content-margin-5: #{$content-margin-5};
|
30
|
+
|
31
|
+
--sidebar-width: #{$sidebar-width};
|
32
|
+
--half-content: #{$half-content};
|
33
|
+
|
34
|
+
// --break-point-1: #{$break-point-1};
|
35
|
+
// --break-point-2: #{$break-point-2};
|
36
|
+
--break-point-3: #{$break-point-3};
|
37
|
+
// --break-point-4: #{$break-point-4};
|
38
|
+
--break-point-5: #{$break-point-5};
|
39
|
+
// --break-point-font-large: #{$break-point-font-large};
|
40
|
+
|
41
|
+
--break-point-dynamic: #{$break-point-dynamic};
|
42
|
+
}
|
@@ -24,25 +24,25 @@
|
|
24
24
|
|
25
25
|
.avatar {
|
26
26
|
|
27
|
-
width:
|
28
|
-
height:
|
27
|
+
width: 7rem;
|
28
|
+
height: 7rem;
|
29
29
|
border-radius: 100%;
|
30
30
|
overflow: hidden;
|
31
|
+
display: inline-block;
|
32
|
+
img { width: 100%; }
|
31
33
|
|
32
34
|
|
33
35
|
|
34
|
-
|
35
|
-
|
36
|
-
@media screen and (min-width: $break-point-5) {
|
37
|
-
width: 7rem;
|
38
|
-
height: 7rem;
|
39
|
-
}
|
40
|
-
|
41
36
|
}
|
42
37
|
|
43
38
|
|
44
39
|
.content .avatar {
|
40
|
+
@extend .color-transition;
|
45
41
|
float: right;
|
46
|
-
|
42
|
+
box-sizing: content-box;
|
43
|
+
border: 1rem solid var(--body-bg);
|
44
|
+
transition: border-color 1s ease;
|
45
|
+
margin-top: -1.5rem;
|
46
|
+
margin-right: -1rem;
|
47
47
|
}
|
48
48
|
|