jekyll-theme-hydejack 6.0.0.pre.beta3 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/_includes/body.html +10 -8
- data/_includes/copyright-header +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/head.html +1 -1
- data/_includes/message.html +0 -2
- data/_includes/post.html +5 -3
- data/_includes/scripts.html +1 -1
- data/_includes/sidebar.html +1 -1
- data/_includes/styles/inline.scss +1 -1
- data/_includes/styles/style.scss +3 -2
- data/_layouts/base.html +2 -2
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +4 -3
- data/_layouts/list.html +2 -0
- data/_layouts/page.html +1 -0
- data/_sass/_variables.scss +3 -3
- data/_sass/hydejack/_base-inline.scss +13 -35
- data/_sass/hydejack/_base.scss +13 -35
- data/_sass/hydejack/_content-inline.scss +13 -5
- data/_sass/hydejack/_menu-inline.scss +35 -18
- data/_sass/hydejack/_menu.scss +36 -20
- data/_sass/hydejack/_sidebar-inline.scss +2 -0
- data/_sass/pooleparty/_posts-inline.scss +10 -1
- data/_sass/pooleparty/_posts.scss +35 -0
- data/_sass/pooleparty/_related-inline.scss +0 -5
- data/assets/img/doc.jpg +0 -0
- data/assets/js/hydejack.js +12 -13
- data/assets/version.json +1 -1
- metadata +5 -6
- data/_sass/pooleparty/_layout-inline.scss +0 -11
- data/assets/img/gst.jpg +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c7a25e8217a015f6299bb5c7196da31c648e74
|
4
|
+
data.tar.gz: e3cc387cce366b1af6be96dcb8d1328c34072689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 892b3f39a4157f4c4c3d3103914fff1cc7fef3f6766be7152bb942430742c5e07571f40e1cc998d41a4cea0d8a1cec366a3627b4b438b4a23c515556e286cd20
|
7
|
+
data.tar.gz: 34a49444a5411cfdf8b9e3266bcd66864ef945fcf010d4955fc8a1005b10ac1e09af27cc9abeabb8f1f3c6f3a7bc6ee6a609f4b0ba5f8f5a6f75e3829b929fb6
|
data/README.md
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
# Hydejack
|
2
2
|
|
3
|
-
|
4
|
-
![Screenshot](https://qwtel.com/assets/img/projects/hydejack-v6@0,5x.jpg)
|
5
|
-
|
6
3
|
Hydejack is a complete, interactive, configureable, responsive, reactive, mobile-first, touch-enabled, animated, printable, tab-able, fast[^1], search engine-friendly and robust Jekyll theme that feels like a modern web app, while preserving what is great about *web pages*: Working URLs, hyperlinks, a working back button, a working refresh button and less than 50MB of JavaScript (tongue-in-cheek).
|
7
4
|
|
8
5
|
It can be hosted on GitHub Pages, where it has support for categories and tags, math blocks via KaTeX,
|
@@ -14,8 +11,8 @@ The site works all the way down to IE10. It works in IE9 if you don't need fancy
|
|
14
11
|
All that being said, I think it's best to [see it in action](https://qwtel.com/hydejack/).
|
15
12
|
|
16
13
|
## Download
|
17
|
-
You can download the latest version of Hydejack on [GitHub](https://github.com/qwtel/hydejack/releases/tag/v6.0.0
|
18
|
-
For further instructions, check out the [Documentation](https://qwtel.com/hydejack/docs/6.0.0
|
14
|
+
You can download the latest version of Hydejack on [GitHub](https://github.com/qwtel/hydejack/releases/tag/v6.0.0), or use the [gem-based theme](https://rubygems.org/gems/jekyll-theme-hydejack/versions/6.0.0).
|
15
|
+
For further instructions, check out the [Documentation](https://qwtel.com/hydejack/docs/6.0.0/).
|
19
16
|
|
20
17
|
## Footnotes
|
21
18
|
[^1]: Hydejack is fast in two different ways. Its *perceived speed* hides latency through a combination of animations and a complex pre-fetching logic. *Load speed* is achieved through inlining critical CSS and removing non-essential requests from the critical rendering path.
|
data/_includes/body.html
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
<!-- =============== -->
|
2
2
|
<!-- MENU -->
|
3
3
|
<!-- =============== -->
|
4
|
-
<
|
5
|
-
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
<div class="navbar fixed-top">
|
5
|
+
<div class="content">
|
6
|
+
<span class="sr-only">Jump to:</span>
|
7
|
+
<a id="_menu" class="menu no-hover" href="#_title">
|
8
|
+
<span class="sr-only">Menu</span>
|
9
|
+
<span>☰</span>
|
10
|
+
</a>
|
11
|
+
</div>
|
12
|
+
</div>
|
10
13
|
|
11
14
|
<!-- =============== -->
|
12
15
|
<!-- CONTENT -->
|
13
16
|
<!-- =============== -->
|
14
17
|
<div id="_yPushState">
|
15
|
-
<main id="_main" class="content
|
16
|
-
|
18
|
+
<main id="_main" class="content" role="main" data-color="{{ color | escape }}" data-image="{{ image | escape }}">
|
17
19
|
{{ content }}
|
18
20
|
|
19
21
|
{% if site.disqus_shortname and page.comments %}
|
data/_includes/copyright-header
CHANGED
data/_includes/footer.html
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
{{ site.copyright | markdownify }}
|
5
5
|
{% endif %}
|
6
6
|
<p>
|
7
|
-
<code>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">6.0.0
|
7
|
+
<code>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">6.0.0</span></code>
|
8
8
|
</p>
|
9
9
|
</footer>
|
data/_includes/head.html
CHANGED
@@ -71,7 +71,7 @@
|
|
71
71
|
{{ include_to_scssify | scssify }}
|
72
72
|
</style>
|
73
73
|
|
74
|
-
{% capture style_url %}{% link assets/css/hydejack.css %}?v=6.0.0
|
74
|
+
{% capture style_url %}{% link assets/css/hydejack.css %}?v=6.0.0{% endcapture %}
|
75
75
|
<link rel="preload" href="{{ style_url | relative_url }}" as="style" onload="this.rel='stylesheet'">
|
76
76
|
|
77
77
|
{% include page-style.html %}
|
data/_includes/message.html
CHANGED
data/_includes/post.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{% assign post = include.post %}
|
2
2
|
|
3
|
-
<article id="post-{{ post.id | slice: 1,9999 }}" class="post" role="article">
|
3
|
+
<article id="post-{{ post.id | slice: 1,9999 }}" class="post{% unless include.link_title %} dingbat{% endunless %}" role="article">
|
4
4
|
<header>
|
5
5
|
<h1 class="post-title">
|
6
6
|
{% if include.link_title %}<a href="{{ post.url | relative_url }}" data-flip="title">{% endif %}
|
@@ -17,12 +17,14 @@
|
|
17
17
|
{% endcapture %}
|
18
18
|
|
19
19
|
<p class="post-date heading">
|
20
|
-
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d %b %Y" }}</time>
|
21
|
-
|
20
|
+
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d %b %Y" }}</time>{% if post.categories.size > 0 or post.tags.size > 0 %}, {% endif %}
|
21
|
+
{{ categories_content }}
|
22
|
+
{{ tags_content }}
|
22
23
|
</p>
|
23
24
|
</header>
|
24
25
|
|
25
26
|
{% include message.html text=post.description %}
|
27
|
+
<hr/>
|
26
28
|
|
27
29
|
{% unless include.excerpt %}
|
28
30
|
{{ post.content }}
|
data/_includes/scripts.html
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
{% unless page.redirect %}
|
25
25
|
|
26
26
|
<!--[if gt IE 9]><!---->
|
27
|
-
{% capture js_url %}{% link assets/js/hydejack.js %}?v=6.0.0
|
27
|
+
{% capture js_url %}{% link assets/js/hydejack.js %}?v=6.0.0{% endcapture %}
|
28
28
|
<script>loadJSDeferred('{{ js_url | relative_url }}');</script>
|
29
29
|
<!--<![endif]-->
|
30
30
|
|
data/_includes/sidebar.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<div id="_yDrawer">
|
2
2
|
<div id="_sidebar" class="sidebar">
|
3
3
|
<div class="sidebar-bg" style="background-color:{{ color }};background-image:url({{ image }})"></div>
|
4
|
-
<header class="
|
4
|
+
<header class="sidebar-sticky" role="banner">
|
5
5
|
<div class="sidebar-about">
|
6
6
|
<h1><a id="_title" href="{{ '/' | relative_url }}">{{ site.title }}</a></h1>
|
7
7
|
{{ site.description | truncatewords:50 | markdownify }}
|
@@ -8,9 +8,9 @@
|
|
8
8
|
// @import "pooleparty/table";
|
9
9
|
// @import "pooleparty/footnotes";
|
10
10
|
// @import "pooleparty/code";
|
11
|
-
@import "pooleparty/layout-inline";
|
12
11
|
@import "pooleparty/footer-inline";
|
13
12
|
@import "pooleparty/posts-inline";
|
13
|
+
// @import "pooleparty/posts";
|
14
14
|
// @import "pooleparty/pagination";
|
15
15
|
@import "pooleparty/related-inline";
|
16
16
|
@import "pooleparty/message-inline";
|
data/_includes/styles/style.scss
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
@import "pooleparty/table";
|
9
9
|
@import "pooleparty/footnotes";
|
10
10
|
@import "pooleparty/code";
|
11
|
-
// @import "pooleparty/
|
12
|
-
// @import "pooleparty/footer";
|
11
|
+
// @import "pooleparty/footer-inline";
|
13
12
|
// @import "pooleparty/posts-inline";
|
13
|
+
@import "pooleparty/posts";
|
14
14
|
@import "pooleparty/pagination";
|
15
15
|
// @import "pooleparty/related-inline";
|
16
16
|
// @import "pooleparty/message-inline";
|
@@ -67,6 +67,7 @@
|
|
67
67
|
font-size: smaller;
|
68
68
|
-webkit-font-smoothing: antialiased;
|
69
69
|
-moz-osx-font-smoothing: grayscale;
|
70
|
+
opacity: 0.5;
|
70
71
|
}
|
71
72
|
}
|
72
73
|
{% endunless %}
|
data/_layouts/base.html
CHANGED
@@ -4,8 +4,8 @@ layout: compress
|
|
4
4
|
|
5
5
|
{% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] %}
|
6
6
|
|
7
|
-
{% assign color = site.color | default:'#
|
8
|
-
{% assign image = site.image | default:'/assets/img/
|
7
|
+
{% assign color = site.color | default:'#A85641' %}
|
8
|
+
{% assign image = site.image | default:'/assets/img/nap.jpg' %}
|
9
9
|
|
10
10
|
{% if page.categories.size > 0 %}
|
11
11
|
{% assign category_name = page.categories.first %}
|
data/_layouts/compress.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
Copyright (c) 2017 Florian Klampfer
|
21
21
|
Licensed under MIT
|
22
22
|
Powered by Hydejack (https://qwtel.com/hydejack/)
|
23
|
-
Version: 6.0.0
|
23
|
+
Version: 6.0.0
|
24
24
|
-->{% capture _LINE_FEED %}
|
25
25
|
{% 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 %}
|
26
26
|
</html>
|
data/_layouts/default.html
CHANGED
@@ -4,10 +4,11 @@ layout: base
|
|
4
4
|
|
5
5
|
<div class="page">
|
6
6
|
<h1 class="page-title">{{ page.title | default:"Home"}}</h1>
|
7
|
-
{% capture
|
8
|
-
Looks like you are using the `{{ page.layout }}` layout. This layout is not supported by Hydejack. Instead use `blog` or `list`. For more information see the [Hydejack Documentation](https://qwtel.com/hydejack/docs/
|
7
|
+
{% capture text %}
|
8
|
+
Looks like you are using the `{{ page.layout }}` layout. This layout is not supported by Hydejack. Instead use `blog` or `list`. For more information see the [Hydejack Documentation](https://qwtel.com/hydejack/docs/latest/).
|
9
9
|
{% endcapture %}
|
10
|
-
{% include message.html text=
|
10
|
+
{% include message.html text=text %}
|
11
|
+
<hr/>
|
11
12
|
|
12
13
|
{{ content }}
|
13
14
|
|
data/_layouts/list.html
CHANGED
@@ -17,6 +17,7 @@ layout: base
|
|
17
17
|
{% if page.title.size > 0 %}
|
18
18
|
<h1 class="page-title">{{ page.title }}</h1>
|
19
19
|
{% include message.html text=page.description %}
|
20
|
+
<hr/>
|
20
21
|
{% endif %}
|
21
22
|
|
22
23
|
{% for post in posts %}
|
@@ -24,6 +25,7 @@ layout: base
|
|
24
25
|
{% if currentdate != date %}
|
25
26
|
{% unless forloop.first %}</ul>{% endunless %}
|
26
27
|
<h2 id="y{{post.date | date: "%Y"}}">{{ currentdate }}</h2>
|
28
|
+
<hr/>
|
27
29
|
<ul class="related-posts">
|
28
30
|
{% assign date = currentdate %}
|
29
31
|
{% endif %}
|
data/_layouts/page.html
CHANGED
data/_sass/_variables.scss
CHANGED
@@ -16,12 +16,12 @@ $border-color-light: #eee;
|
|
16
16
|
$code-font-family: Menlo, Monaco, Consolas, monospace;
|
17
17
|
$code-color: inherit;
|
18
18
|
|
19
|
-
$break-point-1:
|
20
|
-
$break-point-2:
|
19
|
+
$break-point-1: 40em;
|
20
|
+
$break-point-2: 54em;
|
21
21
|
$break-point-3: 60em;
|
22
22
|
$break-point-4: 72em;
|
23
23
|
$break-point-5: 92em;
|
24
|
-
$break-point-dynamic:
|
24
|
+
$break-point-dynamic: 97.5em;
|
25
25
|
$break-point-font-large: 125em;
|
26
26
|
|
27
27
|
$dynamic-width: calc(50% - 28rem);
|
@@ -13,31 +13,14 @@ body, main {
|
|
13
13
|
// -ms-text-size-adjust: 100%;
|
14
14
|
}
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
position: fixed;
|
25
|
-
// top: 0;
|
26
|
-
// left: 0.5rem;
|
27
|
-
// opacity: 0;
|
28
|
-
// will-change: opacity;
|
29
|
-
// width: calc(100% - 0.5rem);
|
30
|
-
// z-index: 2;
|
31
|
-
pointer-events: none;
|
32
|
-
}
|
33
|
-
|
34
|
-
.loading {
|
35
|
-
display: none;
|
36
|
-
// position: fixed;
|
37
|
-
// top: 1rem;
|
38
|
-
// right: 0;
|
39
|
-
// transform-origin: top left;
|
40
|
-
// transform: scale(0.33);
|
16
|
+
body::before {
|
17
|
+
content: '';
|
18
|
+
width: .5rem;
|
19
|
+
background: $border-color;
|
20
|
+
position: absolute;
|
21
|
+
left: 0;
|
22
|
+
top: 0;
|
23
|
+
bottom: 0;
|
41
24
|
}
|
42
25
|
|
43
26
|
@media screen and (min-width: $break-point-1) {
|
@@ -50,15 +33,6 @@ body, main {
|
|
50
33
|
html {
|
51
34
|
font-size: $root-font-size;
|
52
35
|
}
|
53
|
-
|
54
|
-
main {
|
55
|
-
border-left: none;
|
56
|
-
}
|
57
|
-
|
58
|
-
// .shadow-main {
|
59
|
-
// left: 0;
|
60
|
-
// width: 100%;
|
61
|
-
// }
|
62
36
|
}
|
63
37
|
|
64
38
|
@media screen and (min-width: $break-point-4) {
|
@@ -103,7 +77,7 @@ body, main {
|
|
103
77
|
|
104
78
|
a, .a {
|
105
79
|
position: relative;
|
106
|
-
padding-bottom:
|
80
|
+
padding-bottom: .15rem;
|
107
81
|
border-bottom: 1px solid;
|
108
82
|
// transition: color 500ms, border-color 250ms ease;
|
109
83
|
//
|
@@ -139,3 +113,7 @@ a, .a {
|
|
139
113
|
// object-position: center;
|
140
114
|
}
|
141
115
|
}
|
116
|
+
|
117
|
+
h2 + hr {
|
118
|
+
margin-top: 0;
|
119
|
+
}
|
data/_sass/hydejack/_base.scss
CHANGED
@@ -13,31 +13,14 @@ body, main {
|
|
13
13
|
-ms-text-size-adjust: 100%;
|
14
14
|
}
|
15
15
|
|
16
|
-
|
17
|
-
//
|
18
|
-
//
|
19
|
-
//
|
20
|
-
//
|
21
|
-
//
|
22
|
-
|
23
|
-
|
24
|
-
// position: fixed;
|
25
|
-
top: 0;
|
26
|
-
left: 0.5rem;
|
27
|
-
opacity: 0;
|
28
|
-
will-change: opacity;
|
29
|
-
width: calc(100% - 0.5rem);
|
30
|
-
z-index: 2;
|
31
|
-
// pointer-events: none;
|
32
|
-
}
|
33
|
-
|
34
|
-
.loading {
|
35
|
-
// display:none;
|
36
|
-
position: fixed;
|
37
|
-
top: 1rem;
|
38
|
-
right: 0;
|
39
|
-
transform-origin: top left;
|
40
|
-
transform: scale(0.33);
|
16
|
+
body::before {
|
17
|
+
// content: '';
|
18
|
+
// width: .5rem;
|
19
|
+
// background: $border-color;
|
20
|
+
// position: absolute;
|
21
|
+
// left: 0;
|
22
|
+
// top: 0;
|
23
|
+
// bottom: 0;
|
41
24
|
}
|
42
25
|
|
43
26
|
@media screen and (min-width: $break-point-1) {
|
@@ -50,15 +33,6 @@ body, main {
|
|
50
33
|
// html {
|
51
34
|
// font-size: $root-font-size;
|
52
35
|
// }
|
53
|
-
//
|
54
|
-
// main {
|
55
|
-
// border-left: none;
|
56
|
-
// }
|
57
|
-
|
58
|
-
.shadow-main {
|
59
|
-
left: 0;
|
60
|
-
width: 100%;
|
61
|
-
}
|
62
36
|
}
|
63
37
|
|
64
38
|
@media screen and (min-width: $break-point-4) {
|
@@ -103,7 +77,7 @@ body, main {
|
|
103
77
|
|
104
78
|
a, .a {
|
105
79
|
// position: relative;
|
106
|
-
// padding-bottom:
|
80
|
+
// padding-bottom: .15rem;
|
107
81
|
// border-bottom: 1px dotted transparent;
|
108
82
|
transition: color 500ms, border-color 250ms;
|
109
83
|
|
@@ -139,3 +113,7 @@ a, .a {
|
|
139
113
|
object-position: center;
|
140
114
|
}
|
141
115
|
}
|
116
|
+
|
117
|
+
// h2 + hr {
|
118
|
+
// margin-top: .5rem;
|
119
|
+
// }
|
@@ -5,14 +5,22 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
.content {
|
8
|
-
|
9
|
-
|
8
|
+
position: relative;
|
9
|
+
margin-left: auto;
|
10
|
+
margin-right: auto;
|
11
|
+
padding: 5rem 1rem 12rem;
|
12
|
+
|
13
|
+
@media screen {
|
14
|
+
max-width: 38rem;
|
15
|
+
padding-left: 1.5rem;
|
16
|
+
min-height: 100vh;
|
17
|
+
}
|
10
18
|
|
11
19
|
@media screen and (min-width: $break-point-2) {
|
12
20
|
max-width: 42rem;
|
13
|
-
padding
|
14
|
-
margin-left:
|
15
|
-
margin-right:
|
21
|
+
padding: 4rem 1rem 12rem;
|
22
|
+
margin-left: 22rem;
|
23
|
+
margin-right: 4rem;
|
16
24
|
}
|
17
25
|
|
18
26
|
@media screen and (min-width: $break-point-4) {
|
@@ -1,31 +1,32 @@
|
|
1
|
-
.
|
2
|
-
display: block;
|
3
|
-
padding: 1.25rem 1.5rem;
|
4
|
-
color: $gray;
|
5
|
-
border-bottom: none;
|
1
|
+
.fixed-top {
|
6
2
|
position: fixed;
|
7
3
|
top: 0;
|
8
4
|
left: 0;
|
5
|
+
width: 100%;
|
9
6
|
z-index: 1;
|
7
|
+
}
|
8
|
+
|
9
|
+
.navbar > .content {
|
10
|
+
padding-top: 0;
|
11
|
+
padding-bottom: 0;
|
12
|
+
min-height: 0;
|
13
|
+
height: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
.menu {
|
17
|
+
display: inline-block;
|
18
|
+
padding: 1.75rem 1.5rem;
|
19
|
+
border-bottom: none;
|
20
|
+
margin-left: -1.5rem;
|
21
|
+
color: $gray!important;
|
10
22
|
|
11
23
|
@media screen and (min-width: $break-point-2) {
|
24
|
+
padding: 1.25rem 1.5rem;
|
12
25
|
position: absolute;
|
13
26
|
left: -9999px;
|
14
27
|
|
15
28
|
&:focus {
|
16
|
-
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
@media screen and (min-width: $break-point-3) {
|
21
|
-
&:focus {
|
22
|
-
left: 21.5rem;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
@media screen and (min-width: $break-point-dynamic) {
|
27
|
-
&:focus {
|
28
|
-
left: calc(50% - 24.5rem);
|
29
|
+
position: static;
|
29
30
|
}
|
30
31
|
}
|
31
32
|
|
@@ -33,3 +34,19 @@
|
|
33
34
|
// display: none;
|
34
35
|
// }
|
35
36
|
}
|
37
|
+
|
38
|
+
.shadow-main {
|
39
|
+
// opacity: 0;
|
40
|
+
// will-change: opacity;
|
41
|
+
pointer-events: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
.loading {
|
45
|
+
display: none;
|
46
|
+
// position: absolute;
|
47
|
+
// top: 0;
|
48
|
+
// right: 0;
|
49
|
+
// padding: 3 * 1.75rem 3 * 1.5rem;
|
50
|
+
// transform-origin: top right;
|
51
|
+
// transform: scale(0.33);
|
52
|
+
}
|