jekyll-theme-hydejack 7.0.0.pre.beta.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '082dcf2d97742fad699a347c48970434120ce337'
4
- data.tar.gz: af16bda8fc3f48a0f4ba4b8205ada0db88c9ad58
3
+ metadata.gz: 83f057ba785377bf9e09c4a8391dd83fa3bb415e
4
+ data.tar.gz: ac3c0998fdd3648d128110cb9468c1beb0d8fb5e
5
5
  SHA512:
6
- metadata.gz: 6decb3c0ce72ecc9342b19883b0450f648716c4dea1b312b91494c68024072b33aab0c598c408a0f9d39415e20acc7ba8bee830d0e3aaf30c63940d41d121441
7
- data.tar.gz: f9d6db0f81e49488ea37f25ffa5f6b169a095d5df4089e4559b97b2f546e6cf93b5e0c4b82ba7981b0e891337387566db0c027f36cf880f04932f9c9bfb435df
6
+ metadata.gz: c357747194929663c8fde3745a4069f8a8a98a6f46fa917ef23bbdc65b6f6323c6a01f67e965672e32f1d33e520e7d59e6f5120d4aca3938adf1ce9401d0b94b
7
+ data.tar.gz: cdf7a5a8ee749c71922386946fbd1bf285f1cba4b8ab5d198db141b44a866f73d773f7cce48c29650944d5e30a411857fc51b6ee71d4a3598560236c78ec6c71
data/README.md CHANGED
@@ -66,14 +66,9 @@ This table details what is and isn't included in each respective version.
66
66
  | [Welcome] Layout | | ✔ |
67
67
  | Newsletter Subscription Box | | ✔ |
68
68
  | Form Element Styles | | ✔ |
69
- | Search Functionality | | ✔ |
70
- | Offline Support[^4] | | ✔ |
71
- | Latest issue of "Fishing Quarterly" | | |
72
- | Three months supply of cat food | | |
73
- | 10 free scuba diving coupons | | |
74
69
  | License | [GPL-3.0][license] | [PRO] |
75
- | Price | Free | $59 |
76
- || [**Download on GitHub**][github]<br/> -- or -- <br/>[**Use the RubyGem**][gem] | [Buy Now – $59][buy] [^3] |
70
+ | Price | Free | $39 |
71
+ || [Download on GitHub][github]<br/> or <br/>[Use the RubyGem][gem] | [Buy Now – $39][buy] [^3] |
77
72
 
78
73
 
79
74
  [^1]: Applies after the initial page load.
@@ -84,14 +79,15 @@ usage of 3rd party plugins.
84
79
  [blog]: https://qwtel.com/hydejack/blog/
85
80
  [portfolio]: https://qwtel.com/hydejack/projects/
86
81
  [resume]: https://qwtel.com/hydejack/resume/
82
+ [download]: https://qwtel.com/download/
87
83
  [welcome]: https://qwtel.com/hydejack/
88
-
89
84
  [license]: LICENSE.md
90
- [pro]: licenses/PRO-license.md
91
- [docs]: docs/7.0.0-beta.1/index.md
85
+ [pro]: licenses/PRO.md
86
+ [docs]: docs/7.0.0/index.md
92
87
 
93
88
  [github]: https://github.com/qwtel/hydejack/releases
94
89
  [gem]: https://rubygems.org/gems/jekyll-theme-hydejack
95
90
  [buy]: https://app.simplegoods.co/i/AQTTVBOE
96
- [wiki]: https://github.com/qwtel/hydejack/wiki
91
+
97
92
  [gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F
93
+ [wiki]: https://github.com/qwtel/hydejack/wiki
@@ -0,0 +1,5 @@
1
+ {% for post in paginator.posts %}
2
+ {% include post.html post=post link_title=true excerpt=true %}
3
+ {% endfor %}
4
+
5
+ {% include pagination.html %}
@@ -1,8 +1,8 @@
1
1
  <div class="navbar fixed-top">
2
2
  <div class="content">
3
3
  <div class="nav-btn-bar">
4
- <span class="sr-only">{{ site.data.strings.jump_to | default:"Jump to" }}{{ site.data.strings.colon }}</span>
5
- <a id="_menu" class="nav-btn no-hover" href="#_title">
4
+ <span class="sr-only">{{ site.data.strings.jump_to | default:"Jump to" }}{{ site.data.strings.colon | default:":" }}</span>
5
+ <a id="_menu" class="nav-btn no-hover" href="#_navigation">
6
6
  <span class="sr-only">{{ site.data.strings.navigation | default:"Navigation" }}</span>
7
7
  <span class="icon-menu"></span>
8
8
  </a>
@@ -9,7 +9,7 @@
9
9
  {% endif %}
10
10
 
11
11
  <!--[if gt IE 9]><!---->
12
- {% capture js_url %}{% link assets/js/hydejack.js %}?v=7.0.0-beta.1{% endcapture %}
12
+ {% capture js_url %}{% link assets/js/hydejack.js %}?v=7.0.0{% endcapture %}
13
13
  <script>loadJSDeferred('{{ js_url | relative_url }}');</script>
14
14
 
15
15
  {% include my-scripts.html %}
@@ -3,5 +3,6 @@
3
3
  {% if site.copyright.size > 0 %}
4
4
  <p><small class="copyright">{{ site.copyright }}</small></p>
5
5
  {% endif %}
6
- <p><small>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.0.0-beta.1</span></small></p>
6
+ <p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.0.0</span></small></p>
7
+ <hr class="sr-only"/>
7
8
  </footer>
@@ -5,7 +5,7 @@
5
5
  <link rel="alternate" href="{{ page.url | absolute_url }}" hreflang="{{ lang | downcase | replace:'_','-' }}">
6
6
 
7
7
  <link rel="shortcut icon" href="{{ '/assets/icons/favicon.ico' | relative_url }}">
8
- <link rel="apple-touch-icon" href="{{ '/assets/icons/apple-touch-icon.png' | relative_url }}">
8
+ <link rel="apple-touch-icon" href="{{ '/assets/icons/icon.png' | relative_url }}">
9
9
 
10
10
  <link rel="manifest" href="{{ '/assets/manifest.json' | relative_url }}">
11
11
 
@@ -27,4 +27,4 @@
27
27
  <meta name="theme-color" content="{{ color | default:'#4fb1ba' }}">
28
28
  {% endunless %}
29
29
 
30
- <meta name="generator" content="Hydejack v7.0.0-beta.1" />
30
+ <meta name="generator" content="Hydejack v7.0.0" />
@@ -1,9 +1,9 @@
1
1
  {% assign strings = site.data.strings %}
2
2
  {% capture title %}
3
3
  {% if page.url == "/" %}
4
- {{ site.title }}{% if site.tagline %} {{ strings.separator }} {{ site.tagline }}{% endif %}
4
+ {{ site.title }}{% if site.tagline %} {{ strings.separator | default:"|" }} {{ site.tagline }}{% endif %}
5
5
  {% elsif page.title.size > 0 %}
6
- {{ page.title }} {{ strings.separator }} {{ site.title }}
6
+ {{ page.title }} {{ strings.separator | default:"|" }} {{ site.title }}
7
7
  {% else %}
8
8
  {{ site.title }}
9
9
  {% endif %}
@@ -1,5 +1,5 @@
1
1
  <!--[if gt IE 8]><!---->
2
- {% capture style_url %}{% link assets/css/hydejack.css %}?v=7.0.0-beta.1{% endcapture %}
2
+ {% capture style_url %}{% link assets/css/hydejack.css %}?v=7.0.0{% endcapture %}
3
3
 
4
4
  {% if site.hydejack.no_inline_css or jekyll.environment == 'development' %}
5
5
  <link rel="stylesheet" href="{{ style_url | relative_url }}">
data/_includes/header.txt CHANGED
@@ -9,5 +9,5 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v7.0.0-beta.1 <https://qwtel.com/hydejack/>
12
+ * Powered by Hydejack v7.0.0 <https://qwtel.com/hydejack/>
13
13
  */
@@ -1,4 +1,4 @@
1
- <script>
1
+ <!-- <script>
2
2
  function detectCFScript() {
3
3
  var cfScript = Array.prototype.find.call(document.scripts, function(s) {
4
4
  return s !== document.currentScript && s.textContent.indexOf('__cf_email__') > -1;
@@ -13,4 +13,4 @@
13
13
  document
14
14
  .getElementsByTagName('hy-push-state')[0]
15
15
  .addEventListener('hy-push-state-init', detectCFScript);
16
- </script>
16
+ </script> -->
data/_includes/nav.html CHANGED
@@ -1,4 +1,4 @@
1
- <span class="sr-only">{{ site.data.strings.navigation | default:"Navigation" }}{{ site.data.strings.colon }}</span>
1
+ <span class="sr-only">{{ site.data.strings.navigation | default:"Navigation" }}{{ site.data.strings.colon | default:":" }}</span>
2
2
  <ul>
3
3
  {% assign pages = site.pages | where: "menu", true %}
4
4
  {% assign documents = site.documents | where: "menu", true %}
@@ -7,6 +7,7 @@
7
7
  {% unless node.redirect_to %}
8
8
  <li>
9
9
  <a
10
+ {% if forloop.first %}id="_navigation"{% endif %}
10
11
  href="{{ node.url | relative_url }}"
11
12
  class="sidebar-nav-item{% if page.url contains node.url %} active{% endif %}"
12
13
  {% if path.rel %}rel="{{ node.rel }}"{% endif %}
@@ -11,7 +11,7 @@
11
11
 
12
12
  <div class="sidebar-sticky">
13
13
  <div class="sidebar-about">
14
- <h2 class="h1"><a id="_title" href="{{ '/' | relative_url }}">{{ site.title }}</a></h2>
14
+ <h2 class="h1"><a href="{{ '/' | relative_url }}">{{ site.title }}</a></h2>
15
15
  {% assign text = site.tagline | default:site.description %}
16
16
  {% if text %}
17
17
  <p class="{% if text.size > 100 %}fine{% endif %}">
@@ -1,3 +1,7 @@
1
+ {% assign strings = site.data.strings %}
2
+ <hr class="sr-only"/>
3
+ <h2 class="sr-only">{{ strings.templates | default: "Templates"}}{{ strings.colon | default:":" }}</h2>
4
+
1
5
  <template id="_animation-template">
2
6
  <div class="animation-main fixed-top">
3
7
  <div class="content">
@@ -8,16 +12,16 @@
8
12
 
9
13
  <template id="_loading-template">
10
14
  <div class="loading">
11
- <span class="sr-only">{{ site.data.strings.loading | default:"Loading…" }}</span>
15
+ <span class="sr-only">{{ strings.loading | default:"Loading…" }}</span>
12
16
  <span class="icon-cog"></span>
13
17
  </div>
14
18
  </template>
15
19
 
16
20
  <template id="_error-template">
17
21
  <div class="page">
18
- <h1 class="page-title">{{ site.data.strings.error.title | default:"Error" }}</h1>
22
+ <h1 class="page-title">{{ strings.error.title | default:"Error" }}</h1>
19
23
  {% capture link %}<a class="this-link" href=""></a>{% endcapture %}
20
- {% assign text = site.data.strings.error.message | default:"Sorry, an error occurred while loading: <!--link-->." %}
24
+ {% assign text = strings.error.message | default:"Sorry, an error occurred while loading: <!--link-->." %}
21
25
  <p class="lead">
22
26
  {{ text | replace:"<!--link-->",link }}
23
27
  </p>
@@ -26,7 +30,7 @@
26
30
 
27
31
  <template id="_back-template">
28
32
  <a id="_back" class="back nav-btn no-hover">
29
- <span class="sr-only">{{ site.data.strings.back | default:"Back" }}</span>
33
+ <span class="sr-only">{{ strings.back | default:"Back" }}</span>
30
34
  <span class="icon-arrow-left2"></span>
31
35
  </a>
32
36
  </template>
data/_layouts/base.html CHANGED
@@ -7,6 +7,7 @@ layout: compress
7
7
  {% assign plugins = site.plugins | default:site.gems %}
8
8
 
9
9
  {% assign image = site.accent_image | default:site.image %}
10
+ {% unless image %}{% assign image = '/assets/img/sidebar-bg.jpg' | relative_url %}{% endunless %}
10
11
  {% assign color = site.accent_color | default:site.color | default:'#4fb1ba' %}
11
12
 
12
13
  {% if page.categories.size > 0 %}
data/_layouts/blog.html CHANGED
@@ -2,8 +2,13 @@
2
2
  layout: base
3
3
  ---
4
4
 
5
- {% for post in paginator.posts %}
6
- {% include post.html post=post link_title=true excerpt=true %}
7
- {% endfor %}
8
-
9
- {% include pagination.html %}
5
+ {% assign plugins = site.plugins | default:site.gems %}
6
+ {% if plugins contains 'jekyll-paginate' %}
7
+ {% include blog.html %}
8
+ {% else %}
9
+ {% capture text %}To use this layout,
10
+ include the `jekyll-paginate` plugin in your `Gemfile` and in your `_config.yml` under `plugins`.
11
+ For more, see [Jekyll Pagination](https://jekyllrb.com/docs/pagination/).
12
+ {% endcapture %}
13
+ {% include message.html text=text %}
14
+ {% endif %}
@@ -10,6 +10,6 @@
10
10
  /\___/ \ \____/
11
11
  \/__/ \/___/
12
12
 
13
- Powered by Hydejack v7.0.0-beta.1 <https://qwtel.com/hydejack/>
13
+ Powered by Hydejack v7.0.0 <https://qwtel.com/hydejack/>
14
14
  -->{% capture _LINE_FEED %}
15
15
  {% 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 %}</{{ _element }}>{% 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: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% 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 "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" 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 = " <e;<e; </e>;</e>;</e> ;</e>" | 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 %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}</html>
@@ -6,7 +6,7 @@ layout: base
6
6
 
7
7
  <article class="page" role="article">
8
8
  <header>
9
- <h1 class="page-title">{{ page.title | default:strings.home | default:"Home"}}</h1>
9
+ <h1 class="page-title">{{ page.title | default:strings.home | default:"Home" }}</h1>
10
10
  {% include message.html text=page.description hide=page.no_description %}
11
11
  </header>
12
12
 
@@ -23,7 +23,7 @@ layout: base
23
23
  </ul>
24
24
  {% endif %}
25
25
 
26
- {% assign pages = site.html_pages | where:"layout","page" %}
26
+ {% assign pages = site.html_pages | where:"layout","page" | where_exp:"page","page.sitemap != false" %}
27
27
  {% if pages.size > 0 %}
28
28
  <h2 class="hr">{{ strings.pages | default:"Pages" }}</h2>
29
29
  <ul class="related-posts">
data/_layouts/home.html CHANGED
@@ -1,41 +1,5 @@
1
1
  ---
2
- layout: base
2
+ layout: default
3
3
  ---
4
4
 
5
- {% assign strings = site.data.strings %}
6
-
7
- <article class="page" role="article">
8
- <header>
9
- <h1 class="page-title">{{ page.title | default:strings.home | default:"Home"}}</h1>
10
- {% include message.html text=page.description hide=page.no_description %}
11
- </header>
12
-
13
- {{ content }}
14
-
15
- <hr class="dingbat"/>
16
-
17
- {% if site.posts.size > 0 %}
18
- <h2 class="hr">{{ strings.posts | default:"Posts" }}</h2>
19
- <ul class="related-posts">
20
- {% for post in site.posts limit:5 %}
21
- {% include post-list-item.html post=post %}
22
- {% endfor %}
23
- </ul>
24
- {% endif %}
25
-
26
- {% assign pages = site.html_pages | where:"layout","page" %}
27
- {% if pages.size > 0 %}
28
- <h2 class="hr">{{ strings.pages | default:"Pages" }}</h2>
29
- <ul class="related-posts">
30
- {% for page in pages limit:5 %}
31
- {% if page.layout == 'page' %}
32
- <li class="h4">
33
- <a href="{{ page.url | relative_url }}" class="flip-title">
34
- <span>{{ page.title }}</span>
35
- </a>
36
- </li>
37
- {% endif %}
38
- {% endfor %}
39
- </ul>
40
- {% endif %}
41
- </article>
5
+ {{ content }}
@@ -11,7 +11,7 @@
11
11
 
12
12
  // <<< link
13
13
  @media screen {
14
- a[href*="//"]:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
14
+ a[href*="//"]:not(.no-mark-external), , a.external:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
15
15
  &::after {
16
16
  content: "\00A0\ea7e";
17
17
  font-family: 'icomoon'!important;
@@ -18,8 +18,6 @@
18
18
  border-bottom-color: rgba(255, 255, 255, 0.2);
19
19
  // &:hover { border-bottom-color: #fff; }
20
20
  }
21
-
22
-
23
21
  }
24
22
 
25
23
  hy-drawer {
@@ -50,7 +48,7 @@ hy-drawer {
50
48
  width: calc(50% - 28rem);
51
49
  // > .hy-drawer-content.hy-drawer-left { width: calc(50% - 28rem); left: calc(-50% + 28.5rem); }
52
50
  // --hy-drawer-width: calc(50% - 28rem);
53
- // --hy-drawer-slide-width: calc(-50% + 28.5rem);
51
+ // --hy-drawer-slide-width: calc(50% - 28.5rem);
54
52
  }
55
53
  }
56
54
 
@@ -13,14 +13,12 @@
13
13
  main > footer {
14
14
  position: absolute;
15
15
  bottom: 0;
16
- left: 0;
16
+ left: .5rem;
17
17
  right: 0;
18
18
  padding: 0 1rem;
19
19
  color: $gray;
20
20
  text-align: center;
21
-
22
- > p {
23
- margin-bottom: 0;
24
- }
21
+ > p { margin-bottom: 0; }
22
+ @media screen and (min-width: $break-point-3) { left: 0; }
25
23
  }
26
24
 
@@ -11,7 +11,7 @@
11
11
 
12
12
  // <<< link
13
13
  @media screen {
14
- a[href*="//"]:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
14
+ a[href*="//"]:not(.no-mark-external), , a.external:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
15
15
  &::after {
16
16
  content: "\00A0\ea7e";
17
17
  font-family: 'icomoon'!important;
@@ -18,13 +18,6 @@
18
18
  // border-bottom-color: rgba(255, 255, 255, 0.2);
19
19
  &:hover { border-bottom-color: #fff; }
20
20
  }
21
-
22
-
23
- @media print {
24
- page-break-inside: avoid;
25
- break-inside: avoid-page;
26
- }
27
-
28
21
  }
29
22
 
30
23
  hy-drawer {
@@ -63,7 +56,7 @@ hy-drawer {
63
56
  // width: calc(50% - 28rem);
64
57
  > .hy-drawer-content.hy-drawer-left { width: calc(50% - 28rem); left: calc(-50% + 28.5rem); }
65
58
  --hy-drawer-width: calc(50% - 28rem);
66
- --hy-drawer-slide-width: calc(-50% + 28.5rem);
59
+ --hy-drawer-slide-width: calc(50% - 28.5rem);
67
60
  }
68
61
  }
69
62
 
@@ -142,7 +135,8 @@ a.sidebar-nav-item {
142
135
 
143
136
  @media print {
144
137
  .sidebar {
145
- page-break-inside: avoid;
138
+ page-break-before: always;
139
+ break-before: always;
146
140
  }
147
141
 
148
142
  .sidebar-nav, .sidebar-social {
@@ -2,14 +2,12 @@
2
2
  main > footer {
3
3
  position: absolute;
4
4
  bottom: 0;
5
- left: 0;
5
+ left: .5rem;
6
6
  right: 0;
7
7
  padding: 0 1rem;
8
8
  color: $gray;
9
9
  text-align: center;
10
-
11
- > p {
12
- margin-bottom: 0;
13
- }
10
+ > p { margin-bottom: 0; }
11
+ @media screen and (min-width: $break-point-3) { left: 0; }
14
12
  }
15
13
  // >>>>>
@@ -1,6 +1,6 @@
1
1
  // <<< link
2
2
  @media screen {
3
- a[href*="//"]:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
3
+ a[href*="//"]:not(.no-mark-external), , a.external:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
4
4
  &::after {
5
5
  content: "\00A0\ea7e";
6
6
  font-family: 'icomoon'!important;
@@ -8,13 +8,6 @@
8
8
  border-bottom-color: rgba(255, 255, 255, 0.2); // inline
9
9
  &:hover { border-bottom-color: #fff; } // link
10
10
  }
11
-
12
- // <<< link
13
- @media print {
14
- page-break-inside: avoid;
15
- break-inside: avoid-page;
16
- }
17
- // >>>
18
11
  }
19
12
 
20
13
  hy-drawer {
@@ -62,7 +55,7 @@ hy-drawer {
62
55
  width: calc(50% - 28rem); // inline
63
56
  > .hy-drawer-content.hy-drawer-left { width: calc(50% - 28rem); left: calc(-50% + 28.5rem); } // link
64
57
  --hy-drawer-width: calc(50% - 28rem); // link
65
- --hy-drawer-slide-width: calc(-50% + 28.5rem); // link
58
+ --hy-drawer-slide-width: calc(50% - 28.5rem); // link
66
59
  }
67
60
  }
68
61
 
@@ -174,7 +167,8 @@ a.sidebar-nav-item {
174
167
 
175
168
  @media print {
176
169
  .sidebar {
177
- page-break-inside: avoid;
170
+ page-break-before: always;
171
+ break-before: always;
178
172
  }
179
173
 
180
174
  .sidebar-nav, .sidebar-social {