From ac9cb0186ec0945323ce640385be2a0610d32e7b Mon Sep 17 00:00:00 2001 From: Florian Klampfer Date: Tue, 7 Jul 2020 12:02:24 +0700 Subject: [PATCH] 9.0.2 --- .gitignore | 4 +- _includes/body/footer.html | 2 +- _includes/body/scripts.html | 4 +- _includes/head/meta-static.html | 2 +- _includes/head/styles-inline.html | 2 +- _includes/head/styles-no-inline.html | 2 +- _includes/header.txt | 2 +- _js/lib/version.js | 2 +- _layouts/compress.html | 2 +- _sass/hydejack/__inline__/_avatar.scss | 48 ++++ _sass/hydejack/__inline__/_base.scss | 59 +++++ _sass/hydejack/__inline__/_break-layout.scss | 25 ++ _sass/hydejack/__inline__/_content.scss | 66 ++++++ _sass/hydejack/__inline__/_footer.scss | 25 ++ _sass/hydejack/__inline__/_images.scss | 36 +++ _sass/hydejack/__inline__/_katex.scss | 25 ++ _sass/hydejack/__inline__/_links.scss | 60 +++++ _sass/hydejack/__inline__/_mark-external.scss | 25 ++ _sass/hydejack/__inline__/_menu.scss | 96 ++++++++ _sass/hydejack/__inline__/_sidebar.scss | 170 ++++++++++++++ _sass/hydejack/__inline__/_social.scss | 61 +++++ _sass/hydejack/__inline__/_toc.scss | 55 +++++ _sass/hydejack/__inline__/_utilities.scss | 48 ++++ _sass/hydejack/__link__/_avatar.scss | 34 +++ _sass/hydejack/__link__/_base.scss | 41 ++++ _sass/hydejack/__link__/_break-layout.scss | 73 ++++++ _sass/hydejack/__link__/_content.scss | 33 +++ _sass/hydejack/__link__/_footer.scss | 45 ++++ _sass/hydejack/__link__/_images.scss | 55 +++++ _sass/hydejack/__link__/_katex.scss | 32 +++ _sass/hydejack/__link__/_links.scss | 62 +++++ _sass/hydejack/__link__/_mark-external.scss | 46 ++++ _sass/hydejack/__link__/_menu.scss | 97 ++++++++ _sass/hydejack/__link__/_sidebar.scss | 117 ++++++++++ _sass/hydejack/__link__/_social.scss | 33 +++ _sass/hydejack/__link__/_toc.scss | 53 +++++ _sass/hydejack/__link__/_utilities.scss | 57 +++++ _sass/pooleparty/__inline__/_base.scss | 76 +++++++ _sass/pooleparty/__inline__/_code.scss | 25 ++ _sass/pooleparty/__inline__/_footer.scss | 25 ++ _sass/pooleparty/__inline__/_footnotes.scss | 25 ++ _sass/pooleparty/__inline__/_message.scss | 66 ++++++ _sass/pooleparty/__inline__/_pagination.scss | 25 ++ _sass/pooleparty/__inline__/_posts.scss | 66 ++++++ _sass/pooleparty/__inline__/_read-more.scss | 25 ++ _sass/pooleparty/__inline__/_related.scss | 38 ++++ _sass/pooleparty/__inline__/_table.scss | 25 ++ _sass/pooleparty/__inline__/_type.scss | 154 +++++++++++++ _sass/pooleparty/__link__/_base.scss | 46 ++++ _sass/pooleparty/__link__/_code.scss | 108 +++++++++ _sass/pooleparty/__link__/_footer.scss | 25 ++ _sass/pooleparty/__link__/_footnotes.scss | 79 +++++++ _sass/pooleparty/__link__/_message.scss | 25 ++ _sass/pooleparty/__link__/_pagination.scss | 91 ++++++++ _sass/pooleparty/__link__/_posts.scss | 43 ++++ _sass/pooleparty/__link__/_read-more.scss | 45 ++++ _sass/pooleparty/__link__/_related.scss | 33 +++ _sass/pooleparty/__link__/_table.scss | 182 +++++++++++++++ _sass/pooleparty/__link__/_type.scss | 178 +++++++++++++++ ...{hydejack-9.0.1.css => hydejack-9.0.2.css} | 0 assets/js/LEGACY-drawer-hydejack-9.0.2.js | 14 ++ assets/js/LEGACY-fetch-hydejack-9.0.2.js | 14 ++ assets/js/LEGACY-hydejack-9.0.2.js | 28 +++ assets/js/LEGACY-navbar-hydejack-9.0.2.js | 14 ++ assets/js/LEGACY-push-state-hydejack-9.0.2.js | 14 ++ .../LEGACY-resize-observer-hydejack-9.0.2.js | 14 ++ assets/js/LEGACY-shadydom-hydejack-9.0.2.js | 14 ++ .../LEGACY-vendors~drawer-hydejack-9.0.2.js | 47 ++++ ...endors~drawer~push-state-hydejack-9.0.2.js | 215 ++++++++++++++++++ .../js/LEGACY-vendors~fetch-hydejack-9.0.2.js | 14 ++ ...rs~intersection-observer-hydejack-9.0.2.js | 14 ++ ...EGACY-vendors~push-state-hydejack-9.0.2.js | 33 +++ .../LEGACY-vendors~shadydom-hydejack-9.0.2.js | 155 +++++++++++++ ...CY-vendors~webanimations-hydejack-9.0.2.js | 14 ++ ...CY-vendors~webcomponents-hydejack-9.0.2.js | 34 +++ .../js/LEGACY-webcomponents-hydejack-9.0.2.js | 14 ++ assets/js/drawer-hydejack-9.0.2.js | 14 ++ assets/js/fetch-hydejack-9.0.2.js | 14 ++ assets/js/hydejack-9.0.2.js | 28 +++ assets/js/navbar-hydejack-9.0.2.js | 14 ++ assets/js/push-state-hydejack-9.0.2.js | 14 ++ assets/js/resize-observer-hydejack-9.0.2.js | 14 ++ assets/js/shadydom-hydejack-9.0.2.js | 14 ++ assets/js/vendors~drawer-hydejack-9.0.2.js | 47 ++++ ...endors~drawer~push-state-hydejack-9.0.2.js | 163 +++++++++++++ ...rs~intersection-observer-hydejack-9.0.2.js | 14 ++ .../js/vendors~push-state-hydejack-9.0.2.js | 33 +++ assets/js/vendors~shadydom-hydejack-9.0.2.js | 146 ++++++++++++ .../vendors~webanimations-hydejack-9.0.2.js | 14 ++ assets/js/webcomponents-hydejack-9.0.2.js | 14 ++ assets/version.json | 4 +- jekyll-theme-hydejack.gemspec | 2 +- package-lock.json | 2 +- package.json | 2 +- 94 files changed, 4193 insertions(+), 16 deletions(-) create mode 100644 _sass/hydejack/__inline__/_avatar.scss create mode 100644 _sass/hydejack/__inline__/_base.scss create mode 100644 _sass/hydejack/__inline__/_break-layout.scss create mode 100644 _sass/hydejack/__inline__/_content.scss create mode 100644 _sass/hydejack/__inline__/_footer.scss create mode 100644 _sass/hydejack/__inline__/_images.scss create mode 100644 _sass/hydejack/__inline__/_katex.scss create mode 100644 _sass/hydejack/__inline__/_links.scss create mode 100644 _sass/hydejack/__inline__/_mark-external.scss create mode 100644 _sass/hydejack/__inline__/_menu.scss create mode 100644 _sass/hydejack/__inline__/_sidebar.scss create mode 100644 _sass/hydejack/__inline__/_social.scss create mode 100644 _sass/hydejack/__inline__/_toc.scss create mode 100644 _sass/hydejack/__inline__/_utilities.scss create mode 100644 _sass/hydejack/__link__/_avatar.scss create mode 100644 _sass/hydejack/__link__/_base.scss create mode 100644 _sass/hydejack/__link__/_break-layout.scss create mode 100644 _sass/hydejack/__link__/_content.scss create mode 100644 _sass/hydejack/__link__/_footer.scss create mode 100644 _sass/hydejack/__link__/_images.scss create mode 100644 _sass/hydejack/__link__/_katex.scss create mode 100644 _sass/hydejack/__link__/_links.scss create mode 100644 _sass/hydejack/__link__/_mark-external.scss create mode 100644 _sass/hydejack/__link__/_menu.scss create mode 100644 _sass/hydejack/__link__/_sidebar.scss create mode 100644 _sass/hydejack/__link__/_social.scss create mode 100644 _sass/hydejack/__link__/_toc.scss create mode 100644 _sass/hydejack/__link__/_utilities.scss create mode 100644 _sass/pooleparty/__inline__/_base.scss create mode 100644 _sass/pooleparty/__inline__/_code.scss create mode 100644 _sass/pooleparty/__inline__/_footer.scss create mode 100644 _sass/pooleparty/__inline__/_footnotes.scss create mode 100644 _sass/pooleparty/__inline__/_message.scss create mode 100644 _sass/pooleparty/__inline__/_pagination.scss create mode 100644 _sass/pooleparty/__inline__/_posts.scss create mode 100644 _sass/pooleparty/__inline__/_read-more.scss create mode 100644 _sass/pooleparty/__inline__/_related.scss create mode 100644 _sass/pooleparty/__inline__/_table.scss create mode 100644 _sass/pooleparty/__inline__/_type.scss create mode 100644 _sass/pooleparty/__link__/_base.scss create mode 100644 _sass/pooleparty/__link__/_code.scss create mode 100644 _sass/pooleparty/__link__/_footer.scss create mode 100644 _sass/pooleparty/__link__/_footnotes.scss create mode 100644 _sass/pooleparty/__link__/_message.scss create mode 100644 _sass/pooleparty/__link__/_pagination.scss create mode 100644 _sass/pooleparty/__link__/_posts.scss create mode 100644 _sass/pooleparty/__link__/_read-more.scss create mode 100644 _sass/pooleparty/__link__/_related.scss create mode 100644 _sass/pooleparty/__link__/_table.scss create mode 100644 _sass/pooleparty/__link__/_type.scss rename assets/css/{hydejack-9.0.1.css => hydejack-9.0.2.css} (100%) create mode 100644 assets/js/LEGACY-drawer-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-fetch-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-navbar-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-push-state-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-resize-observer-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-shadydom-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~drawer-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~fetch-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~intersection-observer-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~push-state-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~shadydom-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~webanimations-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-vendors~webcomponents-hydejack-9.0.2.js create mode 100644 assets/js/LEGACY-webcomponents-hydejack-9.0.2.js create mode 100644 assets/js/drawer-hydejack-9.0.2.js create mode 100644 assets/js/fetch-hydejack-9.0.2.js create mode 100644 assets/js/hydejack-9.0.2.js create mode 100644 assets/js/navbar-hydejack-9.0.2.js create mode 100644 assets/js/push-state-hydejack-9.0.2.js create mode 100644 assets/js/resize-observer-hydejack-9.0.2.js create mode 100644 assets/js/shadydom-hydejack-9.0.2.js create mode 100644 assets/js/vendors~drawer-hydejack-9.0.2.js create mode 100644 assets/js/vendors~drawer~push-state-hydejack-9.0.2.js create mode 100644 assets/js/vendors~intersection-observer-hydejack-9.0.2.js create mode 100644 assets/js/vendors~push-state-hydejack-9.0.2.js create mode 100644 assets/js/vendors~shadydom-hydejack-9.0.2.js create mode 100644 assets/js/vendors~webanimations-hydejack-9.0.2.js create mode 100644 assets/js/webcomponents-hydejack-9.0.2.js diff --git a/.gitignore b/.gitignore index d30619cfd58..186decfac92 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,5 @@ vendor .jekyll-cache *.gem -/assets/js/*hydejack-* -/_sass/*/__*__/* +# +# diff --git a/_includes/body/footer.html b/_includes/body/footer.html index b368f644283..b76b6b7e679 100644 --- a/_includes/body/footer.html +++ b/_includes/body/footer.html @@ -13,7 +13,7 @@ {% endfor %} {% endif %} -

Powered by Hydejack v9.0.1

+

Powered by Hydejack v9.0.2


{% endif %} diff --git a/_includes/body/scripts.html b/_includes/body/scripts.html index f5e9279fe33..86e271f6783 100644 --- a/_includes/body/scripts.html +++ b/_includes/body/scripts.html @@ -1,7 +1,7 @@ - - + + {% include my-scripts.html %} {% include body/analytics.html %} \ No newline at end of file diff --git a/_includes/head/meta-static.html b/_includes/head/meta-static.html index 9188e755722..d17b063adbe 100644 --- a/_includes/head/meta-static.html +++ b/_includes/head/meta-static.html @@ -14,4 +14,4 @@ {% endunless %} - \ No newline at end of file + \ No newline at end of file diff --git a/_includes/head/styles-inline.html b/_includes/head/styles-inline.html index d8dcd53479b..6beb37fffb3 100644 --- a/_includes/head/styles-inline.html +++ b/_includes/head/styles-inline.html @@ -1,5 +1,5 @@ {% assign google_fonts = site.google_fonts %} -{% capture style_url %}{{ 'assets/css/hydejack-9.0.1.css' | relative_url }}{% endcapture %} +{% capture style_url %}{{ 'assets/css/hydejack-9.0.2.css' | relative_url }}{% endcapture %} {% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %} {% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %} diff --git a/_includes/head/styles-no-inline.html b/_includes/head/styles-no-inline.html index d3a2d4e7d26..1f4f63a0789 100644 --- a/_includes/head/styles-no-inline.html +++ b/_includes/head/styles-no-inline.html @@ -1,5 +1,5 @@ {% assign google_fonts = site.google_fonts %} -{% capture style_url %}{{ 'assets/css/hydejack-9.0.1.css' | relative_url }}{% endcapture %} +{% capture style_url %}{{ 'assets/css/hydejack-9.0.2.css' | relative_url }}{% endcapture %} {% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %} {% if google_fonts %}{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}{% endif %} diff --git a/_includes/header.txt b/_includes/header.txt index cb3dd398516..34d5d417309 100644 --- a/_includes/header.txt +++ b/_includes/header.txt @@ -9,5 +9,5 @@ * /\___/ \ \____/ * \/__/ \/___/ * - * Powered by Hydejack v9.0.1 + * Powered by Hydejack v9.0.2 */ diff --git a/_js/lib/version.js b/_js/lib/version.js index 4173a5edc68..36dd58e0091 100644 --- a/_js/lib/version.js +++ b/_js/lib/version.js @@ -1,2 +1,2 @@ console.log(' __ __ __ __ \r\n\/\\ \\\/\\ \\ \/\\ \\ __ \/\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ \/\\_\\ __ ___ \\ \\ \\\/\'\\ \r\n \\ \\ _ \\ \/\\ \\\/\\ \\ \/\'_` \\ \/\'__`\\ \\\/\\ \\ \/\'__`\\ \/\'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ \/\\ \\L\\ \\ \/\\ __\/ \\ \\ \\ \/\\ \\L\\.\\_ \/\\ \\__\/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__\/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\\/_\/\\\/_\/ `\/___\/> \\\\\/__,_ \/ \\\/____\/\/\\ \\_\\ \\\\\/__\/\\\/_\/ \\\/____\/ \\\/_\/\\\/_\/\r\n \/\\___\/ \\ \\____\/ \r\n \\\/__\/ \\\/___\/ \n\n'); -console.log('Powered by Hydejack v9.0.1 '); +console.log('Powered by Hydejack v9.0.2 '); diff --git a/_layouts/compress.html b/_layouts/compress.html index 34f5851d124..bdfca7f0ec8 100644 --- a/_layouts/compress.html +++ b/_layouts/compress.html @@ -10,6 +10,6 @@ /\___/ \ \____/ \/__/ \/___/ -Powered by Hydejack v9.0.1 +Powered by Hydejack v9.0.2 -->{% capture _LINE_FEED %} {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "" %}{% endif %}{% unless _pre_before contains "" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " ;; ;" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %}
Step Bytes
raw {{ content | size }}{% if _profile_endings %}
endings {{ _profile_endings }}{% endif %}{% if _profile_startings %}
startings {{ _profile_startings }}{% endif %}{% if _profile_comments %}
comments {{ _profile_comments }}{% endif %}{% if _profile_collapse %}
collapse {{ _profile_collapse }}{% endif %}{% if _profile_clippings %}
clippings {{ _profile_clippings }}{% endif %}
{% endif %}{% endif %} diff --git a/_sass/hydejack/__inline__/_avatar.scss b/_sass/hydejack/__inline__/_avatar.scss new file mode 100644 index 00000000000..13d24b1a42c --- /dev/null +++ b/_sass/hydejack/__inline__/_avatar.scss @@ -0,0 +1,48 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_avatar.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.avatar { + + width: 7rem; + height: 7rem; + border-radius: 100%; + overflow: hidden; + display: inline-block; + img { width: 100%; } + + + +} + + +.content .avatar { + @extend .color-transition; + float: right; + box-sizing: content-box; + border: 1rem solid var(--body-bg); + transition: border-color 1s ease; + margin-top: -1.5rem; + margin-right: -1rem; +} + diff --git a/_sass/hydejack/__inline__/_base.scss b/_sass/hydejack/__inline__/_base.scss new file mode 100644 index 00000000000..fcf94060c86 --- /dev/null +++ b/_sass/hydejack/__inline__/_base.scss @@ -0,0 +1,59 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_base.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + + + +body::before { + @media screen { + content: ''; + width: .5rem; + background: var(--border-color); + position: fixed; + left: 0; + top: 0; + bottom: 0; + } + + @media (min-width: $break-point-3) { + width: $sidebar-width; + } + + @media (min-width: $break-point-dynamic) { + width: calc(50% - #{$half-content}); + } +} + +html { + @media screen and (min-width: $break-point-1) { + font-size: var(--root-font-size-medium); + } + + @media screen and (min-width: $break-point-font-large) { + font-size: var(--root-font-size-large); + } +} + + +// @media print { html { font-size: var(--root-font-size-print); } } \ No newline at end of file diff --git a/_sass/hydejack/__inline__/_break-layout.scss b/_sass/hydejack/__inline__/_break-layout.scss new file mode 100644 index 00000000000..d8c6d0b37fb --- /dev/null +++ b/_sass/hydejack/__inline__/_break-layout.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_break-layout.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/hydejack/__inline__/_content.scss b/_sass/hydejack/__inline__/_content.scss new file mode 100644 index 00000000000..248278be68a --- /dev/null +++ b/_sass/hydejack/__inline__/_content.scss @@ -0,0 +1,66 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_content.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +.content { + margin-left: auto; + margin-right: auto; + padding: 8rem $content-padding 12rem; + + @media screen { + padding-left: $content-padding + .5rem; + max-width: $content-width; + min-height: 100vh; + } + + @media screen and (min-width: $break-point-2) { + max-width: $content-width-2; + } + + @media screen and (min-width: $break-point-3) { + padding-left: $content-padding; + margin-left: $sidebar-width + $content-margin-3; + margin-right: $content-margin-3; + } + + @media screen and (min-width: $break-point-5) { + margin-left: $sidebar-width + $content-margin-5; + margin-right: $content-margin-5; + max-width: $content-width-5; + } + + @media screen and (min-width: $break-point-dynamic) { + margin: auto; + } +} + +.large-only { + display: none; + @media screen and (min-width: $break-point-dynamic) { + display: block; + } +} + + + diff --git a/_sass/hydejack/__inline__/_footer.scss b/_sass/hydejack/__inline__/_footer.scss new file mode 100644 index 00000000000..d90de966833 --- /dev/null +++ b/_sass/hydejack/__inline__/_footer.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_footer.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/hydejack/__inline__/_images.scss b/_sass/hydejack/__inline__/_images.scss new file mode 100644 index 00000000000..b9f3b61f1fd --- /dev/null +++ b/_sass/hydejack/__inline__/_images.scss @@ -0,0 +1,36 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_images.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.content .aspect-ratio { + overflow: hidden; + img { + margin: 0; + width: 100%; + height: 100%; +// object-fit: cover; +// object-position: center; + background-color: var(--gray-bg); + } +} + diff --git a/_sass/hydejack/__inline__/_katex.scss b/_sass/hydejack/__inline__/_katex.scss new file mode 100644 index 00000000000..f9da7543a6b --- /dev/null +++ b/_sass/hydejack/__inline__/_katex.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_katex.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/hydejack/__inline__/_links.scss b/_sass/hydejack/__inline__/_links.scss new file mode 100644 index 00000000000..8d7c7a12d5f --- /dev/null +++ b/_sass/hydejack/__inline__/_links.scss @@ -0,0 +1,60 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_links.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +hy-push-state a { + color: var(--body-color); + + @supports not ((text-decoration-thickness: initial) and (text-underline-offset: initial)) { + text-decoration: none; + border-bottom: 2px solid; + } + + @supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) { + text-decoration-style: solid; + text-underline-offset: .35rem; + text-decoration-thickness: 2px; + } + + + + + + &.no-hover { + border-bottom: none; + text-decoration-thickness: unset; + text-underline-offset: unset; + } + +} + +.content a:not(.btn):not(.no-hover) { + + @supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) { + text-decoration-color: var(--accent-color-faded); + } + border-color: var(--accent-color-faded); + + +} + diff --git a/_sass/hydejack/__inline__/_mark-external.scss b/_sass/hydejack/__inline__/_mark-external.scss new file mode 100644 index 00000000000..c7f51636d14 --- /dev/null +++ b/_sass/hydejack/__inline__/_mark-external.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_mark-external.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/hydejack/__inline__/_menu.scss b/_sass/hydejack/__inline__/_menu.scss new file mode 100644 index 00000000000..4221f4be70f --- /dev/null +++ b/_sass/hydejack/__inline__/_menu.scss @@ -0,0 +1,96 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_menu.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +$navbar-height: 5rem; + + +.fixed-common { + position: fixed; + left: 0; + width: 100%; + z-index: 2; +} + +.fixed-top { + @extend .fixed-common; + top: 0; +} + +.fixed-bottom { + @extend .fixed-common; + bottom: 0; +} + + +.navbar { + @extend .color-transition; + > .content { + + position: relative; + padding-top: 0; + padding-bottom: 0; + min-height: 0; + max-height: $navbar-height; + + + + } + + +} + + +.nav-btn-bar { + @extend .color-transition; + margin: 0 -1rem; + background-color: white; // IE11 + background-color: var(--body-bg); + height: $navbar-height; + display: flex; + align-items: center; + position: relative; + + > :first-child, > :last-child { + border: none; + } +} + +.nav-btn { + @extend .color-transition; + background: none; + border: none; + text-decoration: none; + display: flex; + align-items: center; + justify-content: center; + width: 3.25rem; + height: $navbar-height; + color: var(--menu-text); + border-right: 1px solid var(--border-color); + border-left: 1px solid var(--border-color); + margin-left: -1px; +} + + + diff --git a/_sass/hydejack/__inline__/_sidebar.scss b/_sass/hydejack/__inline__/_sidebar.scss new file mode 100644 index 00000000000..eae4e5c53f1 --- /dev/null +++ b/_sass/hydejack/__inline__/_sidebar.scss @@ -0,0 +1,170 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_sidebar.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +hy-drawer { + width: 100%; + position: relative; + overflow: hidden; + display: block; + z-index: 4; + @media screen { + + } + + @media screen and (min-width: $break-point-3) { + + position: fixed; + width: $sidebar-width; + top: 0; + left: 0; + bottom: 0; + margin-left: 0; + + &.cover { + position: relative; + width: 100%; + } + + + + } + + @media screen and (min-width: $break-point-dynamic) { + width: calc(50% - #{$half-content}); + + + } + + +} + +.sidebar { + + position: relative; + display: flex; + justify-content: center; + align-items: center; + color: rgba(255, 255, 255, .75); + text-align: center; + min-height: 100vh; + + + a { + color: #fff; + border-bottom-color: rgba(255, 255, 255, 0.2); + text-decoration-color: rgba(255, 255, 255, 0.2); + &:hover { +// border-bottom-color: #fff; +// text-decoration-color: #fff; + } + } +} + + + +.sidebar-bg { + + position: absolute; + top: 0; + left: calc(50% - 50vw); + width: 100vw; + height: 100%; + background: #202020 center / cover; + + &::after { + content: ""; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: rgba(0, 0, 0, 0.05); + } + + + &.sidebar-overlay::after { +// background: -moz-linear-gradient(top, rgba(32,32,32,0) 0%, rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); +// background: -webkit-linear-gradient(top, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); + background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); + } +} + + +.sidebar-sticky { + position: relative; + z-index: 3; + max-width: $sidebar-width; + padding: 1.5rem; + contain: content; +} + +.sidebar-about { + .avatar { + margin-bottom: 1.5rem + } + + > a.sidebar-title { + text-decoration: none; + > h2 { + margin: 0; + padding-bottom: .5rem; + } + + &::after { + content: ''; + display: block; + border-bottom: 2px solid; + margin: 0 auto .5rem; + width: 4rem; + border-color: rgba(255, 255, 255, 0.2); + transition: border-color 250ms; + } + + &:hover::after { + border-color: rgba(255, 255, 255, 1); + transition: border-color 50ms; + } + } +} + +.sidebar-nav > ul { + list-style: none; + padding-left: 0; +} + +.sidebar-nav-item { + @extend .f4; + display: inline-block; + margin-bottom: .5rem; +} + +#_main.no-drawer { + @media (min-width: $break-point-3) { + #_menu { display: none } + .nav-btn-bar > :nth-child(2) { border: none } + } +} + + + diff --git a/_sass/hydejack/__inline__/_social.scss b/_sass/hydejack/__inline__/_social.scss new file mode 100644 index 00000000000..40c34d6350e --- /dev/null +++ b/_sass/hydejack/__inline__/_social.scss @@ -0,0 +1,61 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_social.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +.sidebar-social { + &::after { + @extend .clearfix + } + + > ul { + display: inline-block; + list-style: none; + padding-left: 0; + margin-bottom: 0; + + > li { + float: left; + + > a { + display: inline-block; + text-align: center; + font-size: 1.4rem; + width: 3rem; + height: 4rem; + padding: .5rem 0; + line-height: 4rem - 2 * .5rem; + text-decoration: none; + border-bottom-width: 2px; + border-bottom-style: solid; + } + } + + li + li { + margin-top: 0; + } + } +} + + + diff --git a/_sass/hydejack/__inline__/_toc.scss b/_sass/hydejack/__inline__/_toc.scss new file mode 100644 index 00000000000..0426eeccd8b --- /dev/null +++ b/_sass/hydejack/__inline__/_toc.scss @@ -0,0 +1,55 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_toc.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2020 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +#markdown-toc { + + @extend .note-sm; + padding: 0 1.5rem .5rem 2.5rem; + margin: 2rem -1rem 2rem calc(-1rem + 1px); + +// transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease; + &:before { + position: relative; + left: -1.5rem; + top: -.25rem; + display: inline-block; + margin-bottom: .25rem; + } + +} + +body:not(.no-toc) #markdown-toc { + @media screen and (min-width: $break-point-dynamic) { + + position: absolute; + z-index: 4; + width: calc(50% - #{$half-content}); + right: 0; + margin: auto; + overflow: auto; + +// overscroll-behavior: contain; + + } +} diff --git a/_sass/hydejack/__inline__/_utilities.scss b/_sass/hydejack/__inline__/_utilities.scss new file mode 100644 index 00000000000..1ba3f92ba93 --- /dev/null +++ b/_sass/hydejack/__inline__/_utilities.scss @@ -0,0 +1,48 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_utilities.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.fl { float: left; } +.fr { float: right; } +.mb4 { margin-bottom: 4rem } +.mb6 { margin-bottom: 6rem } +.mt0 { margin-top: 0 } +.mt1 { margin-top: 1rem } +.mt2 { margin-top: 2rem } +.mt3 { margin-top: 3rem } +.mt4 { margin-top: 4rem } +.pb0 { padding-bottom: 0 } + +.sixteen-nine { @include aspect-ratio(16, 9); } +.sixteen-ten { @include aspect-ratio(16, 10); } +.four-three { @include aspect-ratio(4, 3); } + +.sr-only { + display: none; + +} + +.border { + border: 1px solid var(--border-color); +// transition: border-color 1s ease; +} diff --git a/_sass/hydejack/__link__/_avatar.scss b/_sass/hydejack/__link__/_avatar.scss new file mode 100644 index 00000000000..201518e6c83 --- /dev/null +++ b/_sass/hydejack/__link__/_avatar.scss @@ -0,0 +1,34 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_avatar.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.avatar { + + + + position: relative; + z-index: 1; + +} + + diff --git a/_sass/hydejack/__link__/_base.scss b/_sass/hydejack/__link__/_base.scss new file mode 100644 index 00000000000..fe6b4fd2f88 --- /dev/null +++ b/_sass/hydejack/__link__/_base.scss @@ -0,0 +1,41 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_base.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +body { + /* Prevent side-scrolling on mobile */ + display: block; + position: relative; + overflow-x: hidden; +} + +hy-push-state, hy-drawer { + display: block; + overflow: hidden; +} + + + + +@media print { html { font-size: var(--root-font-size-print); } } \ No newline at end of file diff --git a/_sass/hydejack/__link__/_break-layout.scss b/_sass/hydejack/__link__/_break-layout.scss new file mode 100644 index 00000000000..28788deddd8 --- /dev/null +++ b/_sass/hydejack/__link__/_break-layout.scss @@ -0,0 +1,73 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_break-layout.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] { + $pad: $content-padding * 2; + + @media screen { + position: relative; + width: calc(100% + #{$pad}); + } + + @media screen and (min-width: $content-width) { + $x: ($content-width / 2) - $pad; + width: calc(100% + 50vw - #{$x}); + } + + @media screen and (min-width: $break-point-2) { + $x: ($content-width-2 / 2) - $pad; + width: calc(100% + 50vw - #{$x}); + } + + @media screen and (min-width: $break-point-3) { + $x: $sidebar-width + $content-margin-3; + width: calc(100vw - #{$x}); + } + + @media screen and (min-width: $break-point-5) { + $x: $content-width-5 + $sidebar-width + $content-margin-5 - $pad; + width: calc(100% + 100vw - #{$x}); + } + + @media screen and (min-width: $break-point-dynamic) { + width: calc(100% + #{$content-margin-5 + 2rem}); + } +} + +body:not(.no-break-layout) { + .katex-display > .katex, mjx-container[jax][display="true"] { + text-align: left!important; + } +} + +body.no-toc:not(.no-break-layout) { + pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] { + @media screen and (min-width: $break-point-dynamic) { + $x: ($content-width-5 / 2) - ($content-padding * 2); + width: calc(100% + 50vw - #{$x}); + } + } +} + diff --git a/_sass/hydejack/__link__/_content.scss b/_sass/hydejack/__link__/_content.scss new file mode 100644 index 00000000000..a4ac48eb196 --- /dev/null +++ b/_sass/hydejack/__link__/_content.scss @@ -0,0 +1,33 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_content.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + + +.content { + @media print { + padding-top: 3rem; + padding-bottom: 1rem; + } +} + diff --git a/_sass/hydejack/__link__/_footer.scss b/_sass/hydejack/__link__/_footer.scss new file mode 100644 index 00000000000..eb0b83e28db --- /dev/null +++ b/_sass/hydejack/__link__/_footer.scss @@ -0,0 +1,45 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_footer.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +main > footer.content { + position: absolute; + bottom: 0; + left: 0; + right: 0; + color: var(--gray); + text-align: center; + min-height: 0; + padding-top: 0; + padding-bottom: 2rem; + + > p { + margin-bottom: 0; + } + + @media print { + display: none; + } +} + diff --git a/_sass/hydejack/__link__/_images.scss b/_sass/hydejack/__link__/_images.scss new file mode 100644 index 00000000000..7ec1d8754e8 --- /dev/null +++ b/_sass/hydejack/__link__/_images.scss @@ -0,0 +1,55 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_images.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.content .aspect-ratio { +// overflow: hidden; + img { +// margin: 0; +// width: 100%; +// height: 100%; + object-fit: cover; + object-position: center; +// background-color: var(--gray-bg); + } +} + + +figure, .figure { + @extend .faded, .fine, .centered; + margin-bottom: 2rem; + + > *:first-child { + margin-bottom: .5rem; + } +} + +.highlighter-rouge + .figure { + margin-top: -1.5rem; +} + +.figcaption { + @extend .faded, .fine, .centered; + margin-top: -0.5rem; + margin-bottom: 2rem; +} diff --git a/_sass/hydejack/__link__/_katex.scss b/_sass/hydejack/__link__/_katex.scss new file mode 100644 index 00000000000..2356ae024f5 --- /dev/null +++ b/_sass/hydejack/__link__/_katex.scss @@ -0,0 +1,32 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_katex.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +article { + .katex-display, mjx-container[jax][display="true"] { + @extend .pre-base; + padding: 2rem; + } +} + diff --git a/_sass/hydejack/__link__/_links.scss b/_sass/hydejack/__link__/_links.scss new file mode 100644 index 00000000000..b01fca0a684 --- /dev/null +++ b/_sass/hydejack/__link__/_links.scss @@ -0,0 +1,62 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_links.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +hy-push-state a { +// color: var(--body-color); + + + + transition: color 250ms, text-decoration-color 250ms, border-color 250ms; + &:hover { + transition: color 50ms, text-decoration-color 50ms, border-color 50ms; + } + + + +} + +.content a:not(.btn):not(.no-hover) { + + + &:hover { + @supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) { + text-decoration-color: var(--accent-color); + } + border-color: var(--accent-color); + } + +} + + +a.btn { + text-decoration: none; +} + +@media print { + a:not(.no-print-link)::after { + content: " (" attr(href) ") "; + color: var(--gray); + font-size: 62%; + } +} diff --git a/_sass/hydejack/__link__/_mark-external.scss b/_sass/hydejack/__link__/_mark-external.scss new file mode 100644 index 00000000000..a5c69a4818e --- /dev/null +++ b/_sass/hydejack/__link__/_mark-external.scss @@ -0,0 +1,46 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_mark-external.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +@media screen { + a.external, + a[href*="://"]:not(.no-mark-external):not(.no-mark), + a.no-push-state:not(.no-mark-external):not(.no-mark) { + &::after { + content: "\00A0\ea7e"; + font-family: 'icomoon'!important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + font-size: smaller; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + color: var(--menu-text); + } + } +} + diff --git a/_sass/hydejack/__link__/_menu.scss b/_sass/hydejack/__link__/_menu.scss new file mode 100644 index 00000000000..9c8d99f4562 --- /dev/null +++ b/_sass/hydejack/__link__/_menu.scss @@ -0,0 +1,97 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_menu.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +$navbar-height: 5rem; + + + +.navbar { +// @extend .color-transition; + > .content { + + + + $shadow-padding: 3rem; + &::before { + content: ""; + position: absolute; + display: block; + width: calc(100% - #{$shadow-padding * 2}); + height: $navbar-height; + left: $shadow-padding; + margin: auto; + box-shadow: 0 0 2rem rgba(0,0,0,0.25); + z-index: -1; + } + + } + + + &.fixed-top { + > .content { + &::before { + bottom: 1px; + } + } + } + + &.fixed-bottom { + > .content { + &::before { + top: 1px; + } + } + } + +} + + + + +a.nav-btn, button.nav-btn { + cursor: pointer; + &:hover, &:focus { + background-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05)); + } +} + +.nav-span { + flex: 1; +} + +.animation-main { + opacity: 0; + pointer-events: none; +} + +#_navbar { + z-index: 3; + background-color: var(--body-bg); +} + +.navbar { + .loading { display: none; } + @media print { display: none; } +} + diff --git a/_sass/hydejack/__link__/_sidebar.scss b/_sass/hydejack/__link__/_sidebar.scss new file mode 100644 index 00000000000..7b3b944793f --- /dev/null +++ b/_sass/hydejack/__link__/_sidebar.scss @@ -0,0 +1,117 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_sidebar.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +hy-drawer { +// width: 100%; +// position: relative; +// overflow: hidden; +// display: block; +// z-index: 4; + @media screen { + + --hy-drawer-width: 100%; + --hy-drawer-peek-width: .5rem; + --hy-drawer-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25); + + } + + @media screen and (min-width: $break-point-3) { + + + + --hy-drawer-peek-width: #{$sidebar-width}; + + } + + @media screen and (min-width: $break-point-dynamic) { + width: calc(50% - #{$half-content}); + + + --hy-drawer-peek-width: calc(50% - #{$half-content}); + + } + + + @media screen { + &.loaded { + position: static; + } + } + +} + +.sidebar { + + + a { +// color: #fff; +// border-bottom-color: rgba(255, 255, 255, 0.2); +// text-decoration-color: rgba(255, 255, 255, 0.2); + &:hover { + border-bottom-color: #fff; + text-decoration-color: #fff; + } + } +} + + +hy-drawer.loaded .sidebar { + min-height: 100%; +} + + +.sidebar-bg { + + + &.sidebar-overlay::after { + background: -moz-linear-gradient(top, rgba(32,32,32,0) 0%, rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); + background: -webkit-linear-gradient(top, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); +// background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 50%, rgba(32,32,32,0) 100%); + } +} + + + + +@media print { + .sidebar { + display: none; + } +} + +#_swipe { + position: absolute; + z-index: 4; + opacity: 0.33; + top: 5vw; + right: 5vw; + transform: scale(0.67); + + @media screen and (min-width: $break-point-1) { + top: calc(50% - 48px); + right: 10vw; + transform: scale(1); + } +} + diff --git a/_sass/hydejack/__link__/_social.scss b/_sass/hydejack/__link__/_social.scss new file mode 100644 index 00000000000..b9422a2251e --- /dev/null +++ b/_sass/hydejack/__link__/_social.scss @@ -0,0 +1,33 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_social.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + + + +.sidebar-social { + @media print { + display: none; + } +} + diff --git a/_sass/hydejack/__link__/_toc.scss b/_sass/hydejack/__link__/_toc.scss new file mode 100644 index 00000000000..d96cc6a0bb6 --- /dev/null +++ b/_sass/hydejack/__link__/_toc.scss @@ -0,0 +1,53 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_toc.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2020 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +#markdown-toc { + + transition: opacity 300ms ease, transform 300ms ease, border-color 1s ease; + +} + +body:not(.no-toc) #markdown-toc { + @media screen and (min-width: $break-point-dynamic) { + + overscroll-behavior: contain; + + &.toc-hide { + opacity: 0; + transform: translateX(-2rem); + } + + &.toc-show { + opacity: 1; + transform: translateX(0); + } + + &.affix { + position: fixed; + top: 1rem; + max-height: calc(100vh - 1rem); + } + + } +} diff --git a/_sass/hydejack/__link__/_utilities.scss b/_sass/hydejack/__link__/_utilities.scss new file mode 100644 index 00000000000..28a7bed76bf --- /dev/null +++ b/_sass/hydejack/__link__/_utilities.scss @@ -0,0 +1,57 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/hydejack/_utilities.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.fl { float: left; } +.fr { float: right; } +.mb4 { margin-bottom: 4rem } +.mb6 { margin-bottom: 6rem } +.mt0 { margin-top: 0 } +.mt1 { margin-top: 1rem } +.mt2 { margin-top: 2rem } +.mt3 { margin-top: 3rem } +.mt4 { margin-top: 4rem } +.pb0 { padding-bottom: 0 } + +.sixteen-nine { @include aspect-ratio(16, 9); } +.sixteen-ten { @include aspect-ratio(16, 10); } +.four-three { @include aspect-ratio(4, 3); } + +.sr-only { +// display: none; + display: unset; + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0,0,0,0); + border: 0; + +} + +.border { +// border: 1px solid var(--border-color); + transition: border-color 1s ease; +} diff --git a/_sass/pooleparty/__inline__/_base.scss b/_sass/pooleparty/__inline__/_base.scss new file mode 100644 index 00000000000..1b4b28af532 --- /dev/null +++ b/_sass/pooleparty/__inline__/_base.scss @@ -0,0 +1,76 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_base.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +* { + box-sizing: border-box; +// // -webkit-tap-highlight-color: transparent; +} + + +html, +body { + margin: 0; + padding: 0; +} + +html { + font-family: var(--font-family); + font-size: var(--root-font-size); + line-height: var(--root-line-height); +} + +body { + @extend .color-transition; + color: var(--body-color); + background-color: var(--body-bg); + font-weight: var(--font-weight); + overflow-y: scroll; +} + +p { + @extend .color-transition; +} + +.content img, .img, +.content video, .video { + max-width: 100%; + height: auto; +} + +.lead { + margin-left: -1rem; + margin-right: -1rem; +} + +img, video { + &.lead { + display: block; + max-width: calc(100% + 2rem); + width: calc(100% + 2rem); + height: auto; + } +} + + + diff --git a/_sass/pooleparty/__inline__/_code.scss b/_sass/pooleparty/__inline__/_code.scss new file mode 100644 index 00000000000..2932fa7cff1 --- /dev/null +++ b/_sass/pooleparty/__inline__/_code.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_code.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/pooleparty/__inline__/_footer.scss b/_sass/pooleparty/__inline__/_footer.scss new file mode 100644 index 00000000000..11d42cb8466 --- /dev/null +++ b/_sass/pooleparty/__inline__/_footer.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_footer.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// footer { margin-bottom: 2rem; } \ No newline at end of file diff --git a/_sass/pooleparty/__inline__/_footnotes.scss b/_sass/pooleparty/__inline__/_footnotes.scss new file mode 100644 index 00000000000..af13f29e812 --- /dev/null +++ b/_sass/pooleparty/__inline__/_footnotes.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_footnotes.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/pooleparty/__inline__/_message.scss b/_sass/pooleparty/__inline__/_message.scss new file mode 100644 index 00000000000..1cfddd47340 --- /dev/null +++ b/_sass/pooleparty/__inline__/_message.scss @@ -0,0 +1,66 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_message.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +.message { + @extend .color-transition; + margin-bottom: 1rem; + padding: 1rem; + color: var(--gray-text); + background-color: var(--gray-bg); + margin-left: -1rem; + margin-right: -1rem; +} + +.note-sm { + @extend .message; + background: transparent; + color: var(--body-color); + font-size: smaller; + border-left: 1px solid var(--border-color); + padding: 1.5rem 1rem 0 1rem; + margin-top: 1rem; + position: relative; + + &:before { + font-size: 0.667rem; + font-weight: bold; + font-style: normal; + letter-spacing: .025rem; + text-transform: uppercase; + color: var(--menu-text); + position: absolute; + top: 0; + } + + &[title]:before { + content: attr(title)!important; + } +} + +.note { + @extend .note-sm; + font-size: 1rem; +} + diff --git a/_sass/pooleparty/__inline__/_pagination.scss b/_sass/pooleparty/__inline__/_pagination.scss new file mode 100644 index 00000000000..957d584a3cb --- /dev/null +++ b/_sass/pooleparty/__inline__/_pagination.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_pagination.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/pooleparty/__inline__/_posts.scss b/_sass/pooleparty/__inline__/_posts.scss new file mode 100644 index 00000000000..9501795f449 --- /dev/null +++ b/_sass/pooleparty/__inline__/_posts.scss @@ -0,0 +1,66 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_posts.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +.page { + margin-bottom: 3em; + + li + li { + margin-top: .25rem; + } + + > header { + position: relative; + margin-bottom: 1.5rem; + } +} + +body:not(.no-third-column) { + .page > header { + > .lead + .note-sm, + > a.no-hover + .note-sm { + @media screen and (min-width: $break-point-dynamic) { + position: absolute; + right: -25rem; + width: 21rem; + bottom: 0; + margin-bottom: 0; + } + } + } +} + +// Blog post or page title +.page-title, .post-title { margin-top: 0; } + +// Meta data line below post title +.post-date { + @extend .h4; + display: block; + margin-top: -0.5rem; + margin-bottom: 1rem; + color: var(--gray); +} + + diff --git a/_sass/pooleparty/__inline__/_read-more.scss b/_sass/pooleparty/__inline__/_read-more.scss new file mode 100644 index 00000000000..60e8c037918 --- /dev/null +++ b/_sass/pooleparty/__inline__/_read-more.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_read-more.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/pooleparty/__inline__/_related.scss b/_sass/pooleparty/__inline__/_related.scss new file mode 100644 index 00000000000..e55652090d8 --- /dev/null +++ b/_sass/pooleparty/__inline__/_related.scss @@ -0,0 +1,38 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_related.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +.related-posts { + padding-left: 0; + list-style: none; + margin-bottom: 2rem; + + > li, + > li + li { + margin-top: 1rem; + } +} + + + diff --git a/_sass/pooleparty/__inline__/_table.scss b/_sass/pooleparty/__inline__/_table.scss new file mode 100644 index 00000000000..0b4086805da --- /dev/null +++ b/_sass/pooleparty/__inline__/_table.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_table.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/pooleparty/__inline__/_type.scss b/_sass/pooleparty/__inline__/_type.scss new file mode 100644 index 00000000000..5cf926bbc5f --- /dev/null +++ b/_sass/pooleparty/__inline__/_type.scss @@ -0,0 +1,154 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_type.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.heading { + font-family: var(--font-family-heading); + font-weight: var(--font-weight-heading); +} + +.f1 { + @extend .heading; + font-size: 2rem; + line-height: 1.3; +} + +.f2 { + @extend .heading; + font-size: 1.5rem; + line-height: 1.4; +} + +.f3 { + @extend .heading; + font-size: 1.2em; + line-height: 1.5; +} + +.f4 { + @extend .heading; + font-size: 1.08rem; +} + +.f5 { + @extend .heading; + font-size: 1.04rem; +} + +.f6 { + @extend .heading; + font-size: 1rem; +} + + +h1, .h1 { @extend .f1; } +h2, .h2 { @extend .f2; } +h3, .h3 { @extend .f3; } +h4, .h4 { @extend .f4; } +h5, .h5 { @extend .f5; } +h6, .h6 { @extend .f6; } + +.content { + h1, .h1 { + > a { text-decoration: none; border-bottom: none; } + @media screen and (max-width: $break-point-1) { + font-size: 1.7rem; + line-height: 1.35; + } + @media screen and (min-width: $break-point-5) { + font-size: 2.4rem; + line-height: 1.25; + } + } +} + +body:not(.no-large-headings) { + .content { + h1, .h1 { + @media screen and (min-width: $break-point-dynamic) { + width: calc(100% + 50vw - 32rem); + font-size: 3rem; + line-height: 1.2; + } + @media screen and (min-width: $break-point-font-large) { + font-size: 4rem; + line-height: 1.1; + } + } + } +} + +h1, h2, h3, .h1, .h2, .h3 { + margin: 3rem 0 1rem; +} + +h4, h5, h6, .h4, .h5, .h6 { + margin: 2rem 0 .5rem; +} + +p { + margin-top: 0; + margin-bottom: 1rem; + + &.lead { + font-size: 1.2em; + margin-top: 1.5rem; + margin-bottom: 1.5rem; + padding: 0 1rem; + } +} + +ul, ol, dl { + margin-top: 0; + margin-bottom: 1rem; +} + +ul, ol { + padding-left: 1.25rem; +} + +hr, .hr { + @extend .color-transition; + border: 0; + margin: 1rem 0; + border-top: 1px solid var(--border-color); +} + +.hr-after::after { + @extend .color-transition; + content: ""; + display: block; + margin: 1rem 0; + border-top: 1px solid var(--border-color); +} + +.hr-bottom { + @extend .color-transition; + border-bottom: 1px solid var(--border-color); + padding-bottom: .75rem; + margin-bottom: 1rem; +} + + + + diff --git a/_sass/pooleparty/__link__/_base.scss b/_sass/pooleparty/__link__/_base.scss new file mode 100644 index 00000000000..5f65e58b9ba --- /dev/null +++ b/_sass/pooleparty/__link__/_base.scss @@ -0,0 +1,46 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_base.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +* { +// box-sizing: border-box; + // -webkit-tap-highlight-color: transparent; +} + + + + +@media (display-mode: standalone) { + body { + overscroll-behavior-y: contain; + } +} + +:focus { + outline-color: var(--accent-color)!important; +} + +::selection { + background: var(--accent-color-faded); +} + diff --git a/_sass/pooleparty/__link__/_code.scss b/_sass/pooleparty/__link__/_code.scss new file mode 100644 index 00000000000..93f25719877 --- /dev/null +++ b/_sass/pooleparty/__link__/_code.scss @@ -0,0 +1,108 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_code.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +code, pre { + font-family: var(--code-font-family); +} + +code { + @extend .color-transition; + padding: .25em .5em; + background-color: var(--gray-bg); + font-size: smaller; +} + +.figure-base { + @extend .color-transition; + margin-left: -1rem; + margin-right: -1rem; + + // Prevent code linebreaks and allow side-scrolling for better readability on mobile + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + +.pre-base { + @extend .figure-base; + padding: 1rem; + background-color: var(--gray-bg); + + // HACK: prevents painting for some reason + backface-visibility: hidden; + + @media print { + width: 100%!important; + page-break-inside: avoid; + break-inside: avoid-page; + } +} + +pre { + @extend .pre-base; + margin-top: 0; + display: block; + line-height: 1.5; + font-size: .85em; + position: relative; +} + +pre > code { + padding: 0; + color: inherit; + background-color: transparent; + font-size: 1em; + + .highlight-code-line { + @extend .color-transition; + &:before { content: ' ' } + position: absolute; + left: 0; + display: inline-block; + width: 100%; + background: var(--border-color); + border-left: 3px solid var(--accent-color); + opacity: 0.33; + z-index: -1; + } +} + +.pre-header { + @extend .color-transition; + display: block; + margin-left: -1rem; + margin-right: -1rem; + padding: 0.4rem 1rem 0.25rem; + border-bottom: 1px solid var(--border-color); + font-style: normal!important; + font-size: smaller; + color: var(--gray)!important; + background-color: var(--gray-bg); + .lang { color: var(--menu-text) } +} + +.pre-header + pre.highlight { + padding-top: .75rem; +} + diff --git a/_sass/pooleparty/__link__/_footer.scss b/_sass/pooleparty/__link__/_footer.scss new file mode 100644 index 00000000000..076b741e187 --- /dev/null +++ b/_sass/pooleparty/__link__/_footer.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_footer.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +footer { margin-bottom: 2rem; } \ No newline at end of file diff --git a/_sass/pooleparty/__link__/_footnotes.scss b/_sass/pooleparty/__link__/_footnotes.scss new file mode 100644 index 00000000000..efb539d5e2a --- /dev/null +++ b/_sass/pooleparty/__link__/_footnotes.scss @@ -0,0 +1,79 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_footnotes.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +// Footnote number within body text +a[href^="#fn:"], +// Back to footnote link +a[href^="#fnref:"] { + margin-left: .1rem; + font-weight: var(--font-weight-bold); + + @media screen and (max-width: $break-point-4) { + font-weight: normal; + &::before { content: "["; } + &::after { content: "]"; } + } +} + +sup { + line-height: 1; + + &[id^="fnref"] { + @media screen and (max-width: $break-point-4) { + vertical-align: baseline; + font-size: inherit; + } + } +} + +// List of footnotes +.footnotes { + margin-top: 5rem; + + > ol { + color: var(--gray); + + > li { + padding: .5rem; + margin-left: .5rem; + > p { margin: 0; } + &:focus { + outline: none; + color: var(--gray-text); + background: var(--gray-bg); + } + } + } + + &::before { + @extend .color-transition; + content: ""; + display: block; + margin: 1.5rem 0; + border: 0; + border-top: 1px solid var(--border-color); + } +} + diff --git a/_sass/pooleparty/__link__/_message.scss b/_sass/pooleparty/__link__/_message.scss new file mode 100644 index 00000000000..0ee2aa119b2 --- /dev/null +++ b/_sass/pooleparty/__link__/_message.scss @@ -0,0 +1,25 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_message.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + diff --git a/_sass/pooleparty/__link__/_pagination.scss b/_sass/pooleparty/__link__/_pagination.scss new file mode 100644 index 00000000000..5c91d1d032e --- /dev/null +++ b/_sass/pooleparty/__link__/_pagination.scss @@ -0,0 +1,91 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_pagination.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +.pagination { + @extend .color-transition; + width: calc(100% + 2rem); + margin: 0 -1rem 1rem; + color: var(--gray); + text-align: center; + + > ul { + list-style: none; + padding: 0; + } +} + +// Pagination items can be `span`s or `a`s +.pagination-item { + > * { + display: block; + padding: .25rem 1rem; + border: solid var(--border-color); + border-width: 1px 0; + transition: border-color 1s ease; + } + + > a, > a:hover, > a:focus { + border-color: var(--border-color)!important; + text-decoration: none; + } + + &:first-child > * { + margin-bottom: -1px; + } + + // Only provide a hover state for linked pagination items + > a:hover, > a:focus { + background-color: var(--gray-bg); + border-bottom: 1px solid var(--border-color); + } +} + +@media (min-width: 23.5em) { + .pagination { + width: 100%; + margin: 3rem 0; + } + + .pagination-item { + > * { + float: left; + width: 50%; + border-width: 1px; + } + + &:first-child > * { + margin-bottom: 0; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + } + + &:last-child > * { + margin-left: -1px; + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; + } + } +} + diff --git a/_sass/pooleparty/__link__/_posts.scss b/_sass/pooleparty/__link__/_posts.scss new file mode 100644 index 00000000000..6fd132bed7a --- /dev/null +++ b/_sass/pooleparty/__link__/_posts.scss @@ -0,0 +1,43 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_posts.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + + +hr.dingbat { + border: 0; + &:after{ + content: "\2756"; + display: block; + text-align: center; + font-size: 1.5rem; + color: var(--menu-text); + } +} + +@media print { + .page { + margin-bottom: 0 + } +} + diff --git a/_sass/pooleparty/__link__/_read-more.scss b/_sass/pooleparty/__link__/_read-more.scss new file mode 100644 index 00000000000..fc35017a75e --- /dev/null +++ b/_sass/pooleparty/__link__/_read-more.scss @@ -0,0 +1,45 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_read-more.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +.read-more { + @extend .faded; + margin-top: 1.5rem; + margin-bottom: 3rem; + + &::after { + content: " \2192"; + font-family: 'icomoon'!important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + font-size: smaller; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } +} + diff --git a/_sass/pooleparty/__link__/_related.scss b/_sass/pooleparty/__link__/_related.scss new file mode 100644 index 00000000000..59679ea5c1b --- /dev/null +++ b/_sass/pooleparty/__link__/_related.scss @@ -0,0 +1,33 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_related.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + + + +.comments { + @media print { + display: none; + } +} + diff --git a/_sass/pooleparty/__link__/_table.scss b/_sass/pooleparty/__link__/_table.scss new file mode 100644 index 00000000000..0ac06e51587 --- /dev/null +++ b/_sass/pooleparty/__link__/_table.scss @@ -0,0 +1,182 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_table.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + + +table:not(.highlight) { + @extend .figure-base; + border-collapse: collapse; + display: block; + margin-bottom: 1rem; + + td, th { + @extend .color-transition; + padding: .25rem .5rem; + border: 1px solid var(--border-color); + + &:first-child { + padding-left: 1rem; + } + + &:last-child { + padding-right: 1rem; + } + } + + thead { + @extend .color-transition; + background-color: var(--body-bg); + } + + thead + tbody, + tbody + tbody, + tfoot { + @extend .color-transition; + border-top: 3px double var(--border-color); + } + + tbody tr:nth-child(even) td, + tbody tr:nth-child(even) th { + @extend .color-transition; + background-color: var(--body-bg); + } + + tbody tr:nth-child(odd) td, + tbody tr:nth-child(odd) th { + @extend .color-transition; + background-color: var(--gray-bg); + } +} + +// CSS only Responsive Tables +// http://dbushell.com/2016/03/04/css-only-responsive-tables/ +// by David Bushell +@mixin scroll-table() { + white-space: nowrap; // optional - looks better for small cell values +} + +@mixin flip-table() { + display: flex; + overflow: hidden; + + thead, + thead + tbody, + tbody + tbody { + border-top: 1px solid var(--border-color); + border-bottom: 1px solid var(--border-color); + } + + thead, tbody { + display: flex; + } + + thead { + flex-shrink: 0; + min-width: min-content; + + th { + padding-left: 1rem; + } + } + + tbody { + position: relative; + overflow-x: auto; + overflow-y: hidden; + padding-left: 1px; + -webkit-overflow-scrolling: touch; + } + + tr { + display: flex; + flex-direction: column; + min-width: min-content; + flex-shrink: 0; + + td { + border-left: none; + } + + &:first-child { + td { + border-left: 1px solid var(--border-color); + } + } + + &:last-child { + td { + padding-right: 1rem; + border-right: 1px solid var(--border-color); + } + } + } + + td, th { + display: block; + border-bottom: none; + + &:first-child { + padding-left: .5rem; + border-top: none; + } + + &:last-child { + padding-right: .5rem; + } + } +} + +table.stretch-table { + display: table; + width: 100% !important; + width: calc(100% + 2rem) !important; + @media screen and (max-width: $break-point-4) { + display: block!important; + @include scroll-table(); + } +} + +table.scroll-table { + @include scroll-table(); +} + +table.flip-table { + @include flip-table(); +} + +@media screen and (max-width: $break-point-4) { + table.scroll-table-small { + @include scroll-table(); + } + + table.flip-table-small { + @include flip-table(); + } +} + +@media print { + table:not(.highlight) { + width: 100%!important; + } +} + diff --git a/_sass/pooleparty/__link__/_type.scss b/_sass/pooleparty/__link__/_type.scss new file mode 100644 index 00000000000..3042786a120 --- /dev/null +++ b/_sass/pooleparty/__link__/_type.scss @@ -0,0 +1,178 @@ +// THIS FILE IS AUTOGENERATED, DO NOT MODIFY! +// +// To change the contents of this file, +// edit `_sass/pooleparty/_type.pre.scss` +// and run `npm run build:css`. +// +// During development you can run `npm run watch:css` +// to continuosly rebuild this file. + +// Copyright (c) 2017 Florian Klampfer +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +.heading { + font-family: var(--font-family-heading); + font-weight: var(--font-weight-heading); +} + +.f1 { + @extend .heading; + font-size: 2rem; + line-height: 1.3; +} + +.f2 { + @extend .heading; + font-size: 1.5rem; + line-height: 1.4; +} + +.f3 { + @extend .heading; + font-size: 1.2em; + line-height: 1.5; +} + +.f4 { + @extend .heading; + font-size: 1.08rem; +} + +.f5 { + @extend .heading; + font-size: 1.04rem; +} + +.f6 { + @extend .heading; + font-size: 1rem; +} + + + + +h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { + text-rendering: optimizeLegibility; +} + +h1 + h2, .h1 + .h2, h1 + .h2, .h1 + h2, +h2 + h3, .h2 + .h3, h2 + .h3, .h2 + h3, +h3 + h4, .h3 + .h4, h3 + .h4, .h3 + h4, +h4 + h5, .h4 + .h5, h4 + .h5, .h4 + h5, +h5 + h6, .h5 + .h6, h5 + .h6, .h5 + h6 { + margin-top: 0; +} + +dt, strong { + font-weight: var(--font-weight-bold); +} + +dt:after{ + content: " :"; + color: var(--menu-text); +} + +dd { + margin-bottom: .5rem; +} + +abbr { + font-size: 85%; + font-weight: var(--font-weight-bold); + text-transform: uppercase; + + &[title] { + cursor: help; + border-bottom: 1px dotted var(--border-color); + } +} + +blockquote { + @extend .color-transition; + padding: .5rem 1rem; + margin: .8rem 0; + color: var(--gray); + border-left: .25rem solid var(--border-color); + + &.lead { + font-size: 1.2em; + margin-top: 1.5rem; + margin-bottom: 1.5rem; + border-left-width: 0.4rem; + } + + > p:last-child { + margin-bottom: 0; + } +} + +.heading { + font-weight: var(--font-weight-heading); +} + +.fine { + font-size: smaller; +} + +.faded { + @extend .color-transition; + color: var(--gray); +} + +.centered { + text-align: center; +} + + +h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] { + position: relative; + + > .permalink { + text-decoration: none; + opacity: 0; + transition: opacity 400ms; + + @media print { + display: none; + } + } + + &:hover > .permalink { + opacity: 0.5; + } + + & > .permalink:hover, + & > .permalink:focus { + opacity: 1; + transition: opacity 200ms; + } +} + +.content-hash::before { + content: '#' +} +.content-json::before { + content: '{}' +} + +@media print { + h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, dt { + page-break-inside: avoid; + break-inside: avoid-page; + page-break-after: avoid; + break-after: avoid-page; + } +} + diff --git a/assets/css/hydejack-9.0.1.css b/assets/css/hydejack-9.0.2.css similarity index 100% rename from assets/css/hydejack-9.0.1.css rename to assets/css/hydejack-9.0.2.css diff --git a/assets/js/LEGACY-drawer-hydejack-9.0.2.js b/assets/js/LEGACY-drawer-hydejack-9.0.2.js new file mode 100644 index 00000000000..b2ff72c41c2 --- /dev/null +++ b/assets/js/LEGACY-drawer-hydejack-9.0.2.js @@ -0,0 +1,14 @@ +/*! + * __ __ __ __ + * /\ \/\ \ /\ \ __ /\ \ + * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\ + * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , < + * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\ + * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\ + * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/ + * /\___/ \ \____/ + * \/__/ \/___/ + * + * Powered by Hydejack v9.0.2 + */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{300:function(e,t,n){"use strict";n.r(t);var r,i=n(149),a=n(321),o=n(298),c=n(339),u=n(148),l=n(323),s=n(31),d=n(340),p=n(152),b=n(150),f=n(151),y=n(350),m=n(25);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=r?[0,e]:m.o?[35,150]:[0,150]},e.next=5,Promise.all([].concat(w("customElements"in window?[]:[Promise.all([n.e(14),n.e(15)]).then(n.bind(null,325)).then((function(){return Promise.all([n.e(12),n.e(7)]).then(n.bind(null,330))}))]),w("ResizeObserver"in window?[]:[n.e(6).then(n.bind(null,334))])));case 5:return e.next=7,m.t;case 7:return e.next=9,m.s;case 9:if(r=2,v=function(e){return function(t){return e.pipe(Object(u.a)((function(e){return e?t:i.a})))}},S=function(){return window.matchMedia(m.b).matches?3:window.matchMedia(m.a).matches?r:1},E=document.getElementById("_drawer"),A=document.getElementById("_sidebar"),C=null==A?void 0:A.querySelector(".sidebar-sticky"),E&&A&&C){e.next=19;break}return e.abrupt("return");case 19:return null===(t=document.getElementById("_menu"))||void 0===t||t.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),E.toggle()})),A.querySelectorAll('a[href^="/"]').forEach((function(e){return e.addEventListener("click",(function(){return E.close()}))})),m.p&&E.setAttribute("threshold","0"),m.n||E.setAttribute("mouseevents",""),x=m.j?[new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),CSS.number(1)]:[null,null],I=h(x,2),k=I[0],L=I[1],_=function(e,t,n){var i=n*e,a=t>=r?1:1-e;m.j?(k[0].x.value=i,L.value=a,A.attributeStyleMap.set("transform",k),C.attributeStyleMap.set("opacity",L)):(A.style.transform="translateX(".concat(i,"px)"),C.style.opacity=a)},B=Object(a.a)(Object(m.g)(window.matchMedia(m.a)),Object(m.g)(window.matchMedia(m.b))).pipe(Object(l.a)({}),Object(s.a)(S)),M=Object(o.a)(E,"peek-width-change").pipe(Object(s.a)((function(e){return e.detail}))),P=Object(o.a)(window,"resize",{passive:!0}).pipe(Object(l.a)({}),Object(s.a)(m.i)),T=Object(c.a)(M,P).pipe(Object(s.a)((function(e){var t=h(e,2),n=t[0];return t[1]/2-n/2}))),R=Object(a.a)(T.pipe(Object(s.a)((function(){return void 0!==E.opacity?1-E.opacity:z?0:1}))),Object(o.a)(E,"hy-drawer-move").pipe(Object(s.a)((function(e){return 1-e.detail.opacity})))),E.addEventListener("hy-drawer-prepare",(function(){A.style.willChange="transform",C.style.willChange="opacity"})),E.addEventListener("hy-drawer-transitioned",(function(){A.style.willChange="",C.style.willChange=""})),q=Object(m.h)(),(z=E.classList.contains("cover")&&q<=0&&!(history.state&&history.state.closedOnce))||(history.state||history.replaceState({},document.title),history.state.closedOnce=!0,E.removeAttribute("opened")),D=Object(o.a)(E,"hy-drawer-transitioned").pipe(Object(s.a)((function(e){return e.detail})),Object(d.a)(),Object(p.a)((function(e){e||(g(),history.state||history.replaceState({},document.title),history.state.closedOnce=!0)})),Object(l.a)(z)),J=z?null:E.getBoundingClientRect().height,E.addEventListener("hy-drawer-init",(function(){E.classList.add("loaded"),O(E),J&&q>=J&&window.scrollTo(0,q-J)}),{once:!0}),e.next=40,Promise.resolve().then(n.bind(null,337));case 40:window._drawer=E,R.pipe(Object(b.a)(B,T),Object(p.a)((function(e){return _.apply(void 0,w(e))}))).subscribe(),M.pipe(Object(b.a)(B),Object(s.a)((function(e){return j.apply(void 0,w(e))})),Object(p.a)((function(e){E.range=e}))).subscribe(),Object(o.a)(document,"wheel",{passive:!1}).pipe(v(D),Object(f.a)((function(e){return e.deltaY>0})),Object(p.a)((function(e){E.translateX>0&&e.preventDefault()})),Object(y.a)(500),Object(p.a)((function(){return E.close()}))).subscribe();case 44:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(n,i){var a=r.apply(e,t);function o(e){O(a,n,i,o,c,"next",e)}function c(e){O(a,n,i,o,c,"throw",e)}o(void 0)}))})()}}]); \ No newline at end of file diff --git a/assets/js/LEGACY-fetch-hydejack-9.0.2.js b/assets/js/LEGACY-fetch-hydejack-9.0.2.js new file mode 100644 index 00000000000..7976865b2b1 --- /dev/null +++ b/assets/js/LEGACY-fetch-hydejack-9.0.2.js @@ -0,0 +1,14 @@ +/*! + * __ __ __ __ + * /\ \/\ \ /\ \ __ /\ \ + * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\ + * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , < + * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\ + * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\ + * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/ + * /\___/ \ \____/ + * \/__/ \/___/ + * + * Powered by Hydejack v9.0.2 + */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{348:function(n,w,o){"use strict";o.r(w);o(332),o(333)}}]); \ No newline at end of file diff --git a/assets/js/LEGACY-hydejack-9.0.2.js b/assets/js/LEGACY-hydejack-9.0.2.js new file mode 100644 index 00000000000..3d003ea5246 --- /dev/null +++ b/assets/js/LEGACY-hydejack-9.0.2.js @@ -0,0 +1,28 @@ +/*! + * __ __ __ __ + * /\ \/\ \ /\ \ __ /\ \ + * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\ + * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , < + * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\ + * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\ + * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/ + * /\___/ \ \____/ + * \/__/ \/___/ + * + * Powered by Hydejack v9.0.2 + */!function(t){function n(n){for(var r,o,i=n[0],u=n[1],c=0,s=[];c0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(){for(var t=0,n=0,r=arguments.length;n1||c(t,n)}))})}function c(t,n){try{(r=o[t](n)).value instanceof s?Promise.resolve(r.value.v).then(a,f):l(i[0][2],r)}catch(t){l(i[0][3],t)}var r}function a(t){c("next",t)}function f(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=t[Symbol.asyncIterator];return r?r.call(t):(t=c(t),n={},e("next"),e("throw"),e("return"),n[Symbol.asyncIterator]=function(){return this},n);function e(r){n[r]=t[r]&&function(n){return new Promise((function(e,o){(function(t,n,r,e){Promise.resolve(e).then((function(n){t({value:n,done:r})}),n)})(e,o,(n=t[r](n)).done,n.value)}))}}}},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===r(t)?null!==t:"function"==typeof t}},function(t,n,r){var e=r(3);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){"use strict";r.d(n,"a",(function(){return p}));var e=r(9);var o=r(63),i=r(57);var u=r(26),c=r(81);function a(t){return 0===t.length?c.a:1===t.length?t[0]:function(n){return t.reduce((function(t,n){return n(t)}),n)}}var s=r(14),f=r(1),l=function(){var t=this;this.resolve=null,this.reject=null,this.promise=new Promise((function(n,r){t.resolve=n,t.reject=r}))};function h(t){return function(t){return Object(f.a)(this,arguments,(function(){var n,r,e,o,i,u,c,a;return Object(f.f)(this,(function(s){switch(s.label){case 0:n=[],r=[],e=!1,o=null,i=!1,u=t.subscribe({next:function(t){n.length>0?n.shift().resolve({value:t,done:!1}):r.push(t)},error:function(t){for(e=!0,o=t;n.length>0;)n.shift().reject(t)},complete:function(){for(i=!0;n.length>0;)n.shift().resolve({value:void 0,done:!0})}}),s.label=1;case 1:s.trys.push([1,16,17,18]),s.label=2;case 2:return r.length>0?[4,Object(f.c)(r.shift())]:[3,5];case 3:return[4,s.sent()];case 4:return s.sent(),[3,14];case 5:return i?[4,Object(f.c)(void 0)]:[3,7];case 6:return[2,s.sent()];case 7:if(!e)return[3,8];throw o;case 8:return c=new l,n.push(c),[4,Object(f.c)(c.promise)];case 9:return(a=s.sent()).done?[4,Object(f.c)(void 0)]:[3,11];case 10:return[2,s.sent()];case 11:return[4,Object(f.c)(a.value)];case 12:return[4,s.sent()];case 13:s.sent(),s.label=14;case 14:return[3,2];case 15:return[3,18];case 16:throw s.sent();case 17:return u.unsubscribe(),[7];case 18:return[2]}}))}))}(t)}var p=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(n){var r=new t;return r.source=this,r.operator=n,r},t.prototype.subscribe=function(t,n,r){var u=this.operator,c=function(t,n,r){if(t){if(t instanceof e.a)return t;if(t[o.a])return t[o.a]()}return t||n||r?new e.a(t,n,r):new e.a(i.a)}(t,n,r);if(u?c.add(u.call(c,this.source)):c.add(this.source||s.a.useDeprecatedSynchronousErrorHandling&&!c.syncErrorThrowable?this._subscribe(c):this._trySubscribe(c)),s.a.useDeprecatedSynchronousErrorHandling&&c.syncErrorThrowable&&(c.syncErrorThrowable=!1,c.syncErrorThrown))throw c.syncErrorValue;return c},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){s.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=n),!function(t){for(;t;){var n=t,r=n.closed,o=n.destination,i=n.isStopped;if(r||i)return!1;t=o&&o instanceof e.a?o:null}return!0}(t)?console.warn(n):t.error(n)}},t.prototype.forEach=function(t,n){var r=this;return new(n=d(n))((function(n,e){var o;o=r.subscribe((function(n){try{t(n)}catch(t){e(t),o&&o.unsubscribe()}}),e,n)}))},t.prototype._subscribe=function(t){var n=this.source;return n&&n.subscribe(t)},t.prototype[u.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],n=0;n0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(28);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return a}));var e=r(68),o=r(80),i=r(32),u=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,n){return n+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var n;if(!this.closed){var r=this._parentOrParents,c=this._unsubscribe,a=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof t)r.remove(this);else if(null!==r)for(var f=0;f"+o+""};t.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*o((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3})),"String",r)}},function(t,n,r){var e=r(10),o=r(39);t.exports=r(8)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(2),o=r(16),i=r(18),u=r(40)("src"),c=r(155),a=(""+c).split("toString");r(34).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var s="function"==typeof r;s&&(i(r,"name")||o(r,"name",n)),t[n]!==r&&(s&&(i(r,u)||o(r,u,t[n]?""+t[n]:a.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:o(t,n,r):(delete t[n],o(t,n,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(60),o=r(39),i=r(23),u=r(27),c=r(18),a=r(119),s=Object.getOwnPropertyDescriptor;n.f=r(8)?s:function(t,n){if(t=i(t),n=u(n,!0),a)try{return s(t,n)}catch(t){}if(c(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){"use strict";function e(){}r.d(n,"a",(function(){return e}))},function(t,n,r){var e=r(22);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(90),o=r(28);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(34),i=r(6);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i((function(){r(1)})),"Object",u)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return l})),r.d(n,"b",(function(){return h})),r.d(n,"p",(function(){return d})),r.d(n,"n",(function(){return v})),r.d(n,"o",(function(){return y})),r.d(n,"j",(function(){return b})),r.d(n,"t",(function(){return m})),r.d(n,"s",(function(){return g})),r.d(n,"r",(function(){return w})),r.d(n,"k",(function(){return _})),r.d(n,"d",(function(){return S})),r.d(n,"c",(function(){return x})),r.d(n,"l",(function(){return O})),r.d(n,"i",(function(){return j})),r.d(n,"q",(function(){return A})),r.d(n,"m",(function(){return I}));var e=r(64),o=r(5),i=r(67);r.d(n,"h",(function(){return i.c}));var u=r(87);r.d(n,"g",(function(){return u.b})),r.d(n,"e",(function(){return u.a}));var c=r(86);r.d(n,"f",(function(){return c.b}));r(116);function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"==typeof t)return s(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,n)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r0&&p.indexOf("chrome")<0,v=p.indexOf("mobile")>0,y=d&&v,b=(p.indexOf("ucbrowser"),p.indexOf("firefox"),p.indexOf("fxios")>0&&p.indexOf("safari"),"attributeStyleMap"in Element.prototype&&"CSS"in window&&CSS.number),m=new Promise((function(t){"customElements"in window?t(!0):document.addEventListener("WebComponentsReady",t)})),g=new Promise((function t(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,o=document.querySelector("hy-drawer");o?getComputedStyle(o).getPropertyValue("--hy-drawer-width")?n(!0):e<=0?r(Error("Stylesheet not loaded within 10 seconds")):setTimeout((function(){return t(n,r,e-1)}),1e3/3):n(!0)})),w=function(t,n){return new Promise((function(r){return t.addEventListener(n,r,{once:!0})}))};function _(t){return!window.Modernizr||a(t).every((function(t){var n=window.Modernizr[t];return n}))}function S(){for(;null==this?void 0:this.firstChild;)this.removeChild(this.firstChild)}function x(t,n,r){return t?o.a.create((function(e){var o=t.animate(n,r);return o.addEventListener("finish",(function(t){e.next(t),requestAnimationFrame((function(){requestAnimationFrame((function(){return e.complete()}))}))})),function(){"finished"!==o.playState&&o.cancel()}})):Object(e.a)(new CustomEvent("finish"))}function O(t){var n=document.getElementById(t);return n&&document.importNode(n.content,!0)}var E=document.body||document.documentElement,j=function(){return window.innerWidth||E.clientWidth};var P=function(t){return function(n){return new Promise((function(r){return t(n).addEventListener("load",r)}))}},A=(P(window.loadJS),P(window.loadCSS));function I(t,n){return new Promise((function(r){var e=new IntersectionObserver((function(n){n.some((function(t){return t.isIntersecting}))&&(t.forEach((function(t){return e.unobserve(t)})),r(n.find((function(t){return t.isIntersecting}))))}),n);t.forEach((function(t){return e.observe(t)}))}))}},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(t,n,r){var e=r(3);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(18),o=r(12),i=r(98)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}if(r(8)){var o=r(35),i=r(2),u=r(6),c=r(0),a=r(111),s=r(143),f=r(21),l=r(54),h=r(39),p=r(16),d=r(53),v=r(36),y=r(11),b=r(144),m=r(48),g=r(27),w=r(18),_=r(59),S=r(3),x=r(12),O=r(92),E=r(50),j=r(29),P=r(45).f,A=r(94),I=r(40),T=r(7),M=r(58),L=r(95),k=r(62),F=r(96),N=r(49),C=r(70),R=r(52),D=r(89),V=r(120),W=r(10),B=r(19),U=W.f,q=B.f,z=i.RangeError,G=i.TypeError,H=i.Uint8Array,Y=Array.prototype,J=s.ArrayBuffer,$=s.DataView,K=M(0),X=M(2),Q=M(3),Z=M(4),tt=M(5),nt=M(6),rt=L(!0),et=L(!1),ot=F.values,it=F.keys,ut=F.entries,ct=Y.lastIndexOf,at=Y.reduce,st=Y.reduceRight,ft=Y.join,lt=Y.sort,ht=Y.slice,pt=Y.toString,dt=Y.toLocaleString,vt=T("iterator"),yt=T("toStringTag"),bt=I("typed_constructor"),mt=I("def_constructor"),gt=a.CONSTR,wt=a.TYPED,_t=a.VIEW,St=M(1,(function(t,n){return Pt(k(t,t[mt]),n)})),xt=u((function(){return 1===new H(new Uint16Array([1]).buffer)[0]})),Ot=!!H&&!!H.prototype.set&&u((function(){new H(1).set({})})),Et=function(t,n){var r=v(t);if(r<0||r%n)throw z("Wrong offset!");return r},jt=function(t){if(S(t)&&wt in t)return t;throw G(t+" is not a typed array!")},Pt=function(t,n){if(!S(t)||!(bt in t))throw G("It is not a typed array constructor!");return new t(n)},At=function(t,n){return It(k(t,t[mt]),n)},It=function(t,n){for(var r=0,e=n.length,o=Pt(t,e);e>r;)o[r]=n[r++];return o},Tt=function(t,n,r){U(t,n,{get:function(){return this._d[r]}})},Mt=function(t){var n,r,e,o,i,u,c=x(t),a=arguments.length,s=a>1?arguments[1]:void 0,l=void 0!==s,h=A(c);if(null!=h&&!O(h)){for(u=h.call(c),e=[],n=0;!(i=u.next()).done;n++)e.push(i.value);c=e}for(l&&a>2&&(s=f(s,arguments[2],2)),n=0,r=y(c.length),o=Pt(this,r);r>n;n++)o[n]=l?s(c[n],n):c[n];return o},Lt=function(){for(var t=0,n=arguments.length,r=Pt(this,n);n>t;)r[t]=arguments[t++];return r},kt=!!H&&u((function(){dt.call(new H(1))})),Ft=function(){return dt.apply(kt?ht.call(jt(this)):jt(this),arguments)},Nt={copyWithin:function(t,n){return V.call(jt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(jt(this),arguments)},filter:function(t){return At(this,X(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return tt(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return nt(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return rt(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(jt(this),arguments)},lastIndexOf:function(t){return ct.apply(jt(this),arguments)},map:function(t){return St(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(jt(this),arguments)},reduceRight:function(t){return st.apply(jt(this),arguments)},reverse:function(){for(var t,n=jt(this).length,r=Math.floor(n/2),e=0;e1?arguments[1]:void 0)},sort:function(t){return lt.call(jt(this),t)},subarray:function(t,n){var r=jt(this),e=r.length,o=m(t,e);return new(k(r,r[mt]))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,y((void 0===n?e:m(n,e))-o))}},Ct=function(t,n){return At(this,ht.call(jt(this),t,n))},Rt=function(t){jt(this);var n=Et(arguments[1],1),r=this.length,e=x(t),o=y(e.length),i=0;if(o+n>r)throw z("Wrong length!");for(;i255?255:255&o),i.v[h](r*n+i.o,o,xt)}(this,r,t)},enumerable:!0})};g?(d=r((function(t,r,e,o){l(t,d,s,"_d");var i,u,c,a,f=0,h=0;if(S(r)){if(!(r instanceof J||"ArrayBuffer"==(a=_(r))||"SharedArrayBuffer"==a))return wt in r?It(d,r):Mt.call(d,r);i=r,h=Et(e,n);var v=r.byteLength;if(void 0===o){if(v%n)throw z("Wrong length!");if((u=v-h)<0)throw z("Wrong length!")}else if((u=y(o)*n)+h>v)throw z("Wrong length!");c=u/n}else c=b(r),i=new J(u=c*n);for(p(t,"_d",{b:i,o:h,l:u,e:c,v:new $(i)});f0?e:r)(t)}},function(t,n,r){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(40)("meta"),i=r(3),u=r(18),c=r(10).f,a=0,s=Object.isExtensible||function(){return!0},f=!r(6)((function(){return s(Object.preventExtensions({}))})),l=function(t){c(t,o,{value:{i:"O"+ ++a,w:{}}})},h=t.exports={KEY:o,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==e(t)?t:("string"==typeof t?"S":"P")+t;if(!u(t,o)){if(!s(t))return"F";if(!n)return"E";l(t)}return t[o].i},getWeak:function(t,n){if(!u(t,o)){if(!s(t))return!0;if(!n)return!1;l(t)}return t[o].w},onFreeze:function(t){return f&&h.NEED&&s(t)&&!u(t,o)&&l(t),t}}},function(t,n,r){"use strict";r.d(n,"a",(function(){return e}));var e="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(7)("unscopables"),o=Array.prototype;null==o[e]&&r(16)(o,e,{}),t.exports=function(t){o[e][t]=!0}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(124),o=r(99);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(3);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,r){var e=r(124),o=r(99).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return u}));var e=r(55),o=r(85),i=r(5);function u(t,n,r,u,c){if(void 0===c&&(c=new e.a(t,r,u)),!c.closed)return n instanceof i.a?n.subscribe(c):Object(o.a)(n)(c)}},function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(1),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(e.e)(n,t),n.prototype.notifyNext=function(t,n,r,e,o){this.destination.next(n)},n.prototype.notifyError=function(t,n){this.destination.error(t)},n.prototype.notifyComplete=function(t){this.destination.complete()},n}(r(9).a)},function(t,n,r){var e=r(36),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n){t.exports={}},function(t,n,r){var e=r(4),o=r(165),i=r(99),u=r(98)("IE_PROTO"),c=function(){},a=function(){var t,n=r(88)("iframe"),e=i.length;for(n.style.display="none",r(125).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("