futuro 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/artwork/animal/flob.html +2 -0
- data/_includes/artwork/animal/flob.scss +5 -0
- data/_includes/artwork/animal/waldo.html +2 -0
- data/_includes/artwork/animal/waldo.scss +45 -0
- data/_includes/artwork/orwell/animal/flob.html +2 -0
- data/_includes/artwork/orwell/animal/flob.scss +5 -0
- data/_includes/artwork/orwell/animal/waldo.html +2 -0
- data/_includes/artwork/orwell/animal/waldo.scss +45 -0
- data/_includes/html/filter/loop.liquid +31 -0
- data/_includes/html/filter/type.liquid +31 -0
- data/_includes/html/head.liquid +3 -3
- data/_includes/html/loop/artwork/book.liquid +28 -0
- data/_includes/html/loop/artwork/docs.liquid +38 -0
- data/_includes/html/loop/search.liquid +16 -0
- data/_includes/html/overlay/about.liquid +5 -0
- data/_includes/html/overlay/browse.liquid +138 -0
- data/_includes/html/overlay/search.liquid +4 -4
- data/_includes/html/page/artwork.liquid +25 -0
- data/_includes/html/page/header.liquid +16 -0
- data/_includes/html/page/info.liquid +29 -0
- data/_includes/html/page/layout/chapter.liquid +32 -0
- data/_includes/html/page/layout/custom.liquid +19 -0
- data/_includes/html/page/layout/home.liquid +27 -0
- data/_includes/html/page/layout/page.liquid +45 -0
- data/_includes/html/page/layout/panel.liquid +14 -0
- data/_includes/html/page/layout/tree.liquid +14 -0
- data/_includes/html/page/subtitle.liquid +6 -0
- data/_includes/html/page/title.liquid +41 -0
- data/_includes/html/page/topbar.liquid +38 -0
- data/_includes/html/page/util.liquid +20 -0
- data/_includes/html/page/utils/author.liquid +5 -0
- data/_includes/html/page/utils/share.liquid +18 -0
- data/_includes/html/page/utils/update.liquid +5 -0
- data/_includes/html/scripts.liquid +2 -0
- data/_includes/svg/orwell/animal/icon.svg +8 -0
- data/_includes/svg/site/book/orwell.svg +1 -0
- data/_includes/svg/site/book/woolf.svg +1 -0
- data/_includes/svg/site/btn/about.svg +1 -0
- data/_includes/svg/site/btn/add.svg +11 -0
- data/_includes/svg/site/btn/author.svg +9 -0
- data/_includes/svg/site/btn/browse.svg +1 -0
- data/_includes/svg/site/btn/cart.svg +1 -0
- data/_includes/svg/site/btn/expand.svg +1 -0
- data/_includes/svg/site/btn/search.svg +1 -0
- data/_includes/svg/site/btn/share/chapter.svg +1 -0
- data/_includes/svg/site/btn/share/page.svg +1 -0
- data/_includes/svg/site/btn/update.svg +15 -0
- data/_layouts/feed.html +63 -0
- data/_layouts/mini.html +10 -0
- data/_layouts/single.html +55 -0
- data/_sass/_area.scss +35 -13
- data/_sass/_artwork.scss +59 -0
- data/_sass/_base.scss +38 -11
- data/_sass/_block.scss +162 -0
- data/_sass/_col.scss +31 -0
- data/_sass/_copy.scss +10 -0
- data/_sass/_exit.scss +1 -2
- data/_sass/_helpers.scss +15 -9
- data/_sass/_lnk.scss +39 -0
- data/_sass/_nav.scss +36 -0
- data/_sass/_normalize.scss +349 -0
- data/_sass/_overlay.scss +1 -2
- data/_sass/_slick.scss +125 -0
- data/_sass/_split.scss +15 -0
- data/_sass/_title.scss +27 -16
- data/_sass/_wrap.scss +17 -22
- data/_sass/futuro.scss +55 -0
- data/assets/img/fallback.jpg +0 -0
- data/assets/img/search.svg +1 -0
- data/assets/js/custom/_CheckWidth.js +21 -0
- data/assets/js/custom/_OpenOverlay.js +87 -0
- data/assets/js/custom/_ScrollFunc.js +42 -0
- data/assets/js/custom/_SetupHome.js +23 -0
- data/assets/js/custom/_SiteFunc.js +13 -0
- data/assets/js/custom/_SmoothScroll.js +42 -0
- data/assets/js/custom/_SplitCode.js +33 -0
- data/assets/js/custom/_StartBrowse.js +82 -0
- data/assets/js/custom/_UtilShare.js +33 -0
- data/assets/js/custom/_let.js +20 -0
- data/assets/js/footer.min.js +1 -1
- data/assets/js/vendor/footer/gsap-draw.js +13 -0
- data/assets/js/vendor/footer/gsap-morph.js +13 -0
- data/assets/js/vendor/footer/gsap-text.js +12 -0
- data/assets/js/vendor/footer/jquery.min.js +5 -0
- data/assets/js/vendor/footer/scrollmagic-gsap.js +310 -0
- data/assets/js/vendor/footer/scrollmagic.js +3 -0
- data/assets/js/vendor/footer/slick.js +18 -0
- data/assets/js/vendor/footer/tweenmax.min.js +17 -0
- data/assets/js/vendor/header/enquire.custom.js +15 -0
- data/assets/js/vendor/header/enquire.min.js +7 -0
- data/assets/js/vendor/header/modernizr.min.js +3 -0
- data/assets/js/vendor/header/simple-jekyll-search.js +6 -0
- metadata +83 -3
- data/_layouts/demo.html +0 -38
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
{% include html/page/header.liquid %}
|
|
3
|
+
|
|
4
|
+
<div class="split-default --panel">
|
|
5
|
+
<div class="title _default-subtitle">
|
|
6
|
+
{{ page.subtitle }}
|
|
7
|
+
</div>
|
|
8
|
+
{{ page.content | markdownify }}
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
{% include html/page/artwork.liquid %}
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
{% include html/page/header.liquid %}
|
|
3
|
+
|
|
4
|
+
<div class="split-default --tree">
|
|
5
|
+
<div class="title _default-subtitle --tree">
|
|
6
|
+
{{ page.subtitle }}
|
|
7
|
+
</div>
|
|
8
|
+
{{ page.content | markdownify }}
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
{% include html/page/artwork.liquid %}
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
{% assign type = page.type | prepend: '_' | append: '-title' %}
|
|
3
|
+
{% assign setup = site.setup | prepend: '--' %}
|
|
4
|
+
{% assign chapter = page.chapter | prepend: '<div>' | append: '</div>' %}
|
|
5
|
+
{% assign cDivs = chapter | split: ' ' | join: '</div><div>' %}
|
|
6
|
+
|
|
7
|
+
{% unless page.topic %}
|
|
8
|
+
|
|
9
|
+
{%- if site.setup == 'docs' -%}
|
|
10
|
+
|
|
11
|
+
{% if page.type == 'chapter' %}
|
|
12
|
+
|
|
13
|
+
<h5 class="title {{ type }} {{ setup }}">
|
|
14
|
+
{{ cDivs }}
|
|
15
|
+
</h5>
|
|
16
|
+
|
|
17
|
+
{% else %}
|
|
18
|
+
|
|
19
|
+
<h5 class="title {{ type }} {{ setup }}">
|
|
20
|
+
{{ page.title }}
|
|
21
|
+
</h5>
|
|
22
|
+
|
|
23
|
+
<div class="block _expand-block">
|
|
24
|
+
Show
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
{% endif %}
|
|
28
|
+
|
|
29
|
+
{%- else -%}
|
|
30
|
+
|
|
31
|
+
<h3 class="title {{ type }}">
|
|
32
|
+
{% if page.type == 'chapter' %}
|
|
33
|
+
{{ cDivs }}
|
|
34
|
+
{% else %}
|
|
35
|
+
{{ page.title }}
|
|
36
|
+
{% endif %}
|
|
37
|
+
</h3>
|
|
38
|
+
|
|
39
|
+
{%- endif -%}
|
|
40
|
+
|
|
41
|
+
{% endunless %}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
<div class="area _topbar">
|
|
3
|
+
|
|
4
|
+
<div class="nav _left">
|
|
5
|
+
<div class="btn _nav --about">
|
|
6
|
+
{% include svg/site/btn/about.svg %}
|
|
7
|
+
</div>
|
|
8
|
+
<div class="btn _nav --browse">
|
|
9
|
+
{% include svg/site/btn/browse.svg %}
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<div class="nav _main">
|
|
14
|
+
{% assign loop = site.collections | sort: 'weight' %}
|
|
15
|
+
{% for page in loop %}
|
|
16
|
+
{% if page.live %}
|
|
17
|
+
<div>
|
|
18
|
+
<a class="lnk _nav --{{ page.label }}" href="/">
|
|
19
|
+
<strong>{{ page.label }}</strong>
|
|
20
|
+
</a>
|
|
21
|
+
</div>
|
|
22
|
+
{% endif %}
|
|
23
|
+
{% endfor %}
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div class="nav _right">
|
|
27
|
+
<div class="btn _nav --cart" style="display:none;">
|
|
28
|
+
{% include svg/site/btn/cart.svg %}
|
|
29
|
+
</div>
|
|
30
|
+
<div class="btn _nav --count" style="display:none;">
|
|
31
|
+
<strong>0</strong>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="btn _nav --search">
|
|
34
|
+
{% include svg/site/btn/search.svg %}
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
</div>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
{% assign type = page.type | prepend: '--' %}
|
|
3
|
+
|
|
4
|
+
<div class="block _util {{ type }}">
|
|
5
|
+
|
|
6
|
+
{% include html/page/utils/share.liquid %}
|
|
7
|
+
|
|
8
|
+
{%- unless page.type == 'chapter' -%}
|
|
9
|
+
|
|
10
|
+
{% if page.update %}
|
|
11
|
+
{% include html/page/utils/update.liquid %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
|
|
14
|
+
{% if page.author %}
|
|
15
|
+
{% include html/page/utils/author.liquid %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
|
|
18
|
+
{%- endunless -%}
|
|
19
|
+
|
|
20
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
{%- unless site.share == false -%}
|
|
3
|
+
|
|
4
|
+
<div class="block _util-share {{ type }}">
|
|
5
|
+
|
|
6
|
+
{% include svg/site/btn/share/{{ page.type }}.svg %}
|
|
7
|
+
|
|
8
|
+
{%- if page.type == 'chapter' -%}
|
|
9
|
+
<h5></h5>
|
|
10
|
+
{%- else -%}
|
|
11
|
+
<p>Copy page</p>
|
|
12
|
+
{%- endif -%}
|
|
13
|
+
|
|
14
|
+
<div class="block _util-url" onclick="copy(this)">{{ site.url }}{{ page.url | replace: '.html','' }}</div>
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
{%- endunless -%}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
width="70px" height="70px" viewBox="0 0 70 70" style="enable-background:new 0 0 70 70;" xml:space="preserve">
|
|
5
|
+
<g>
|
|
6
|
+
<circle cx="35" cy="35" r="30"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="110" height="440" viewBox="0 0 110 440" xml:space="preserve" enable-background="new 0 0 110 440"><rect width="110" height="440"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="110" height="440" viewBox="0 0 110 440" xml:space="preserve" enable-background="new 0 0 110 440"><style type="text/css">.st0{fill:#dbdbdb}</style><rect class="st0" width="110" height="440"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="32" height="32" viewBox="0 0 32 32" xml:space="preserve" enable-background="new 0 0 32 32"><path d="M17.5,10.5c-0.5,0.5-1.1,0.7-1.8,0.7c-0.7,0-1.3-0.2-1.7-0.7 c-0.5-0.5-0.7-1.1-0.7-1.8C13.3,8,13.5,7.5,14,7c0.5-0.5,1.1-0.7,1.7-0.7c0.7,0,1.3,0.2,1.8,0.7C18,7.5,18.2,8,18.2,8.7 C18.2,9.4,18,10,17.5,10.5z M13.5,25.3H18v-11h-4.5V25.3z M16,0C7.2,0,0,7.2,0,16c0,8.8,7.2,16,16,16c8.8,0,16-7.2,16-16 C32,7.2,24.8,0,16,0z" fill-rule="evenodd" clip-rule="evenodd"/></svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
width="26px" height="26px" viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve">
|
|
5
|
+
<circle style="fill:#EDEDED;" cx="13" cy="13" r="12"/>
|
|
6
|
+
<g>
|
|
7
|
+
<rect x="7" y="11" style="fill-rule:evenodd;clip-rule:evenodd;" width="12" height="4"/>
|
|
8
|
+
|
|
9
|
+
<rect x="7" y="11" transform="matrix(6.123234e-17 -1 1 6.123234e-17 0 26)" style="fill-rule:evenodd;clip-rule:evenodd;" width="12" height="4"/>
|
|
10
|
+
</g>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
width="26px" height="26px" viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve">
|
|
5
|
+
<circle style="fill:#EDEDED;" cx="13" cy="13" r="12"/>
|
|
6
|
+
<path d="M16.6,9.8c0,2.1-1.4,3.8-3.2,3.8c-1.8,0-3.2-1.7-3.2-3.8c0-2.1,1.4-3.8,3.2-3.8C15.1,6,16.6,7.7,16.6,9.8z M16.8,14
|
|
7
|
+
c-0.9,0.9-2.1,1.4-3.4,1.4c-1.5,0-2.8-0.7-3.7-1.7C8,14.2,8,14.3,8,17.2c0,0.2,0,0.4,0,0.5v0c0,0.3,0,0.8,0,0.8
|
|
8
|
+
c0.1,1.7,0.9,1.4,4.5,1.4h0.9c3.6,0,4.4,0.3,4.5-1.4c0,0,0-0.8,0-1.3C18,14.6,18,14.5,16.8,14z"/>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="32" height="32" viewBox="0 0 32 32" xml:space="preserve" enable-background="new 0 0 32 32"><path id="Path" d="M27.2,4.6C21-1.6,10.8-1.5,4.6,4.8C-1.6,11-1.5,21.2,4.8,27.4 s16.4,6.2,22.6-0.1S33.5,10.8,27.2,4.6z" fill-rule="evenodd" clip-rule="evenodd"/><path d="M25.3,22.3L17,24.4L17.1,11l8.2-2V22.3z M7,8.8l8,2l-0.1,13.3 L7,22.2V8.8z" fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" id="cart-btn" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="32" height="32" viewBox="0 0 32 32" xml:space="preserve" enable-background="new 0 0 32 32"><path d="M16,0c8.8,0,16,7.2,16,16s-7.2,16-16,16S0,24.8,0,16S7.2,0,16,0" fill-rule="evenodd" clip-rule="evenodd"/><path d="M19,10.1c0,0,0-2.2-3-2.2s-2.8,2.2-2.8,2.2v4.2H19V10.1z M15.9,25.2C5.8,25.2,5.4,14.3,5.4,14.3h5.2v-4.2c0,0,0.1-4.3,5.4-4.3c5.3,0,5.3,4.4,5.3,4.4v4h5.4C26.8,14.3,26,25.2,15.9,25.2z" fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="20" height="12" viewBox="0 0 20 12" xml:space="preserve" enable-background="new 0 0 20 12"><path d="M7.4,10.6L2.8,6l4.6-4.6L6,0L0,6l6,6L7.4,10.6z"/><path d="M12.6,10.6L17.2,6l-4.6-4.6L14,0l6,6l-6,6L12.6,10.6z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="26" height="26" viewBox="0 0 26 26" xml:space="preserve" enable-background="new 0 0 26 26"><path d="M6,6.1c-1.3,1.3-2.1,3.2-2.1,5.1s0.8,3.7,2.1,5.1c1.3,1.3,3.2,2.1,5.1,2.1 s3.7-0.8,5.1-2.1c1.3-1.3,2.1-3.2,2.1-5.1s-0.8-3.8-2.1-5.1C14.8,4.6,13,4,11.1,4S7.3,4.7,6,6.1z M22.6,25.5L17,19.9 c-1.7,1.2-3.7,1.8-5.9,1.8c-2.9,0-5.5-1.1-7.5-3.1S0.5,14,0.5,11.2s1.1-5.5,3.1-7.5s4.7-3.2,7.5-3.2s5.5,1.1,7.5,3.1 s3.2,4.6,3.2,7.5c0,2.1-0.6,4.2-1.8,6l5.6,5.6L22.6,25.5z" fill-rule="evenodd" clip-rule="evenodd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="34" height="34" viewBox="0 0 34 34" xml:space="preserve" enable-background="new 0 0 34 34"><g><path fill="#fff" d="M19,19h-8v-8h8V19z M33,17c0,8.8-7.2,16-16,16S1,25.8,1,17S8.2,1,17,1S33,8.2,33,17z M25,13h-4V9H9v12h4v4h12V13z M21,21 h-6v2h8v-8h-2V21z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="26" height="26" viewBox="0 0 26 26" xml:space="preserve" enable-background="new 0 0 26 26"><circle cx="13" cy="13" r="12" fill="#EDEDED"/><g><polygon points="19,11 11,11 11,19 19,19" fill="#EDEDED" stroke="#000000" stroke-width="2" stroke-miterlimit="10"/><polygon points="15,7 7,7 7,15 15,15" fill="#EDEDED" stroke="#000000" stroke-width="2" stroke-miterlimit="10"/></g></svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
width="26px" height="26px" viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve">
|
|
5
|
+
<circle style="fill:#EDEDED;" cx="13" cy="13" r="12"/>
|
|
6
|
+
<g>
|
|
7
|
+
<g>
|
|
8
|
+
|
|
9
|
+
<rect x="10.1" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.3241 13.4393)" style="fill-rule:evenodd;clip-rule:evenodd;" width="8" height="6"/>
|
|
10
|
+
</g>
|
|
11
|
+
<g>
|
|
12
|
+
<polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="7,19 11.9,18.3 7.7,14.1 "/>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
data/_layouts/feed.html
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: mini
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
{% assign setup = site.setup | prepend: 'setup-' %}
|
|
6
|
+
{% assign layout = page.layout | prepend: ' layout-' %}
|
|
7
|
+
{% assign type = page.type | prepend: ' type-' %}
|
|
8
|
+
{% assign book = page.collection | prepend: ' book-' %}
|
|
9
|
+
{% assign chapter = page.chapter | replace: ' ','-' | prepend: ' chapter-' | downcase %}
|
|
10
|
+
{% assign topic = page.title | prepend: ' topic-' | downcase %}
|
|
11
|
+
|
|
12
|
+
<!DOCTYPE html>
|
|
13
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}" class="no-js">
|
|
14
|
+
|
|
15
|
+
{% include html/head.liquid %}
|
|
16
|
+
|
|
17
|
+
<body class="{{ setup }}{{ layout }}{{ type }}{% if page.collection %}{{ book }}{% endif %}{% if page.chapter %}{{ chapter }}{% endif %}{% if page.topic %}{{ topic }}{% endif %}">
|
|
18
|
+
|
|
19
|
+
{% include html/overlay.liquid title='load' state='open' %}
|
|
20
|
+
{% include html/overlay.liquid title='mobile' %}
|
|
21
|
+
{% include html/overlay.liquid title='about' %}
|
|
22
|
+
{% include html/overlay.liquid title='browse' %}
|
|
23
|
+
{% include html/overlay.liquid title='search' %}
|
|
24
|
+
|
|
25
|
+
<div class="site _feed">
|
|
26
|
+
|
|
27
|
+
{% if site.header %}
|
|
28
|
+
<header>
|
|
29
|
+
{{ site.header }}
|
|
30
|
+
</header>
|
|
31
|
+
{% endif %}
|
|
32
|
+
|
|
33
|
+
{% include html/page/topbar.liquid %}
|
|
34
|
+
|
|
35
|
+
{% if page.type == 'book' %}
|
|
36
|
+
|
|
37
|
+
{% assign loop = site[page.collection] | sort: 'weight' %}
|
|
38
|
+
{% include html/filter/loop.liquid type='book' %}
|
|
39
|
+
|
|
40
|
+
{% elsif page.type == 'chapter' %}
|
|
41
|
+
|
|
42
|
+
{% assign loop = site[page.collection] | where: 'chapter', page.chapter | sort: 'weight' %}
|
|
43
|
+
{% include html/filter/loop.liquid type='chapter' %}
|
|
44
|
+
|
|
45
|
+
{% elsif page.type == 'topic' %}
|
|
46
|
+
|
|
47
|
+
{% assign loop = site[page.collection] | where: 'topic', page.topic | sort: 'weight' %}
|
|
48
|
+
{% include html/filter/loop.liquid type='topic' %}
|
|
49
|
+
{% endif %}
|
|
50
|
+
|
|
51
|
+
{% if site.footer %}
|
|
52
|
+
<footer>
|
|
53
|
+
{{ site.footer }}
|
|
54
|
+
</footer>
|
|
55
|
+
{% endif %}
|
|
56
|
+
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
</body>
|
|
60
|
+
|
|
61
|
+
{% include html/scripts.liquid %}
|
|
62
|
+
|
|
63
|
+
</html>
|
data/_layouts/mini.html
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
# Jekyll layout that compresses HTML
|
|
3
|
+
# v3.1.0
|
|
4
|
+
# http://jch.penibelst.de/
|
|
5
|
+
# © 2014–2015 Anatol Broder
|
|
6
|
+
# MIT License
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
{% capture _LINE_FEED %}
|
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ 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 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 %}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: mini
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<!DOCTYPE html>
|
|
6
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}" class="no-js">
|
|
7
|
+
|
|
8
|
+
{% include html/head.liquid %}
|
|
9
|
+
|
|
10
|
+
<body class="{{ page.layout | prepend: 'layout-' }}{{ page.type | prepend: ' type-' }}{% if page.collection %}{{ page.collection | prepend: ' book-' }}{% endif %}{% if page.chapter %}{{ page.chapter | replace: ' ','-' | prepend: ' chapter-' | downcase }}{% endif %}{{ page.title | prepend: ' title-' | downcase }}">
|
|
11
|
+
|
|
12
|
+
{% include html/overlay.liquid title='load' state='open' %}
|
|
13
|
+
{% include html/overlay.liquid title='mobile' %}
|
|
14
|
+
|
|
15
|
+
{% if page.type == 'overlay' %}
|
|
16
|
+
{% assign dynamic = page.title | downcase %}
|
|
17
|
+
{% include html/overlay.liquid title=dynamic %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
|
|
20
|
+
{% unless page.type == 'overlay' %}
|
|
21
|
+
{% unless page.type == 'home' %}
|
|
22
|
+
{% include html/overlay.liquid title='about' %}
|
|
23
|
+
{% include html/overlay.liquid title='browse' %}
|
|
24
|
+
{% include html/overlay.liquid title='search' %}
|
|
25
|
+
{% endunless %}
|
|
26
|
+
|
|
27
|
+
<div class="site{% if page.type == 'home' %} _full {% else %} _single{% endif %}">
|
|
28
|
+
|
|
29
|
+
{% if site.header %}
|
|
30
|
+
<header>
|
|
31
|
+
{{ site.header }}
|
|
32
|
+
</header>
|
|
33
|
+
{% endif %}
|
|
34
|
+
|
|
35
|
+
{% unless page.type == 'home' %}
|
|
36
|
+
{% include html/page/topbar.liquid %}
|
|
37
|
+
{% endunless %}
|
|
38
|
+
|
|
39
|
+
{% include html/filter/type.liquid %}
|
|
40
|
+
|
|
41
|
+
{% if site.footer %}
|
|
42
|
+
<footer>
|
|
43
|
+
{{ site.footer }}
|
|
44
|
+
</footer>
|
|
45
|
+
{% endif %}
|
|
46
|
+
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
{% endunless %}
|
|
50
|
+
|
|
51
|
+
</body>
|
|
52
|
+
|
|
53
|
+
{% include html/scripts.liquid %}
|
|
54
|
+
|
|
55
|
+
</html>
|
data/_sass/_area.scss
CHANGED
|
@@ -2,12 +2,19 @@
|
|
|
2
2
|
%area {
|
|
3
3
|
|
|
4
4
|
&-page {
|
|
5
|
-
grid-template-columns: repeat(2,1fr);
|
|
6
5
|
background-color: white;
|
|
7
6
|
position: relative;
|
|
8
7
|
overflow: hidden;
|
|
9
8
|
display: grid;
|
|
10
|
-
|
|
9
|
+
|
|
10
|
+
&:not(.setup-docs) {
|
|
11
|
+
grid-template-columns: repeat(2,1fr);
|
|
12
|
+
height: 560px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.setup-docs {
|
|
16
|
+
padding: 20px;
|
|
17
|
+
}
|
|
11
18
|
|
|
12
19
|
&.tag {
|
|
13
20
|
|
|
@@ -29,6 +36,18 @@
|
|
|
29
36
|
|
|
30
37
|
.area {
|
|
31
38
|
|
|
39
|
+
&._page {
|
|
40
|
+
|
|
41
|
+
&-artwork {
|
|
42
|
+
position: relative;
|
|
43
|
+
|
|
44
|
+
&.setup-docs {
|
|
45
|
+
grid-gap: 10px;
|
|
46
|
+
display: grid;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
32
51
|
&._hero.--demo {
|
|
33
52
|
@extend %grid_default;
|
|
34
53
|
justify-content: center;
|
|
@@ -42,19 +61,27 @@
|
|
|
42
61
|
}
|
|
43
62
|
|
|
44
63
|
&._topbar {
|
|
64
|
+
@include zeros($b : auto);
|
|
45
65
|
border-bottom: 1px solid darken($smoke,10%);
|
|
46
66
|
grid-template-columns: 1fr auto 1fr;
|
|
47
67
|
background-color: white;
|
|
48
68
|
grid-auto-flow: column;
|
|
49
69
|
padding-right: 14px;
|
|
50
70
|
padding-left: 14px;
|
|
51
|
-
position: fixed;
|
|
52
71
|
display: grid;
|
|
53
72
|
height: 60px;
|
|
54
73
|
z-index: 4;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&._scroller {
|
|
77
|
+
@include zeros($l : auto);
|
|
78
|
+
grid-template-columns: 1fr 26px 1fr;
|
|
79
|
+
place-items: center;
|
|
80
|
+
min-height: 600px;
|
|
81
|
+
display: grid;
|
|
82
|
+
height: 100%;
|
|
83
|
+
width: 100px;
|
|
84
|
+
z-index: 2;
|
|
58
85
|
}
|
|
59
86
|
|
|
60
87
|
&.type {
|
|
@@ -65,23 +92,18 @@
|
|
|
65
92
|
|
|
66
93
|
&-chapter {
|
|
67
94
|
@extend %area-page;
|
|
95
|
+
background-color: black;
|
|
68
96
|
color: white;
|
|
69
97
|
|
|
70
98
|
ul {
|
|
71
99
|
list-style: none;
|
|
100
|
+
grid-gap: 10px;
|
|
72
101
|
display: grid;
|
|
73
|
-
grid-gap: 5px;
|
|
74
102
|
|
|
75
103
|
li {
|
|
76
104
|
@extend h5;
|
|
77
105
|
}
|
|
78
106
|
}
|
|
79
|
-
|
|
80
|
-
&.book {
|
|
81
|
-
&-foo {
|
|
82
|
-
background-color: $foo;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
107
|
}
|
|
86
108
|
}
|
|
87
109
|
}
|
data/_sass/_artwork.scss
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
.colour-wrap {
|
|
3
|
+
grid-auto-flow: column;
|
|
4
|
+
display: grid;
|
|
5
|
+
|
|
6
|
+
> div {
|
|
7
|
+
height: 100px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.orange {
|
|
11
|
+
background-color: pink;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.tag {
|
|
16
|
+
&-buttons {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-wrap: wrap;
|
|
19
|
+
align-items: center;
|
|
20
|
+
font-size: 11px;
|
|
21
|
+
|
|
22
|
+
span:not(.hidden) {
|
|
23
|
+
display: inline-block;
|
|
24
|
+
color: #767676;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tag-buttons__title {
|
|
28
|
+
padding-right: 0.5em;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-button {
|
|
33
|
+
@extend %bold;
|
|
34
|
+
letter-spacing: normal;
|
|
35
|
+
display: inline-block;
|
|
36
|
+
max-width: 30ch;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
text-overflow: ellipsis;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
transition: all 0.1s;
|
|
41
|
+
border: 1px solid #767676;
|
|
42
|
+
border-radius: 11.5px;
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
text-transform: uppercase;
|
|
45
|
+
padding: 5px 10px;
|
|
46
|
+
margin: 0.25em 0.5em 0.25em 0;
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
border-color: black;
|
|
50
|
+
color: black;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (min-width: 768px) {
|
|
54
|
+
font-size: 11px;
|
|
55
|
+
line-height: 13px;
|
|
56
|
+
border-radius: 12.5px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
data/_sass/_base.scss
CHANGED
|
@@ -7,13 +7,30 @@ html {
|
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
font-size: 62.5%;
|
|
9
9
|
height: 100%;
|
|
10
|
+
|
|
11
|
+
&.no- {
|
|
12
|
+
|
|
13
|
+
&js, &svg, &inlinesvg, &svgasimg, &fontface, &bgsizecover, &cssgrid, &boxsizing {
|
|
14
|
+
|
|
15
|
+
.site, .overlay {
|
|
16
|
+
&.--open {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
body {
|
|
22
|
+
background: url('/assets/img/fallback.jpg');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
}
|
|
10
27
|
}
|
|
11
28
|
|
|
12
29
|
body {
|
|
13
30
|
@extend %book;
|
|
14
31
|
letter-spacing: -0.05rem;
|
|
32
|
+
font-size: 1.8rem;
|
|
15
33
|
line-height: 1.3;
|
|
16
|
-
font-size: 18px;
|
|
17
34
|
height: 100%;
|
|
18
35
|
}
|
|
19
36
|
|
|
@@ -21,7 +38,7 @@ header {
|
|
|
21
38
|
background-color: black;
|
|
22
39
|
text-align: center;
|
|
23
40
|
position: relative;
|
|
24
|
-
padding:
|
|
41
|
+
padding: 2rem;
|
|
25
42
|
color: white;
|
|
26
43
|
z-index: 3;
|
|
27
44
|
}
|
|
@@ -30,15 +47,24 @@ footer {
|
|
|
30
47
|
background-color: black;
|
|
31
48
|
text-align: center;
|
|
32
49
|
position: relative;
|
|
33
|
-
padding:
|
|
50
|
+
padding: 2rem;
|
|
34
51
|
color: white;
|
|
35
52
|
z-index: 3;
|
|
36
53
|
}
|
|
37
54
|
|
|
38
55
|
ul, ol {
|
|
39
|
-
list-style:
|
|
40
|
-
padding:
|
|
56
|
+
list-style: outside;
|
|
57
|
+
padding-left: 2rem;
|
|
41
58
|
margin: 0;
|
|
59
|
+
|
|
60
|
+
+ p {
|
|
61
|
+
margin-top: 2rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.--numbers {
|
|
65
|
+
list-style: decimal;
|
|
66
|
+
padding-left: 3rem;
|
|
67
|
+
}
|
|
42
68
|
}
|
|
43
69
|
|
|
44
70
|
a {
|
|
@@ -54,8 +80,8 @@ h1 {
|
|
|
54
80
|
@extend %bold;
|
|
55
81
|
font-size: 2.8rem;
|
|
56
82
|
|
|
57
|
-
+ p {
|
|
58
|
-
margin-top:
|
|
83
|
+
+ p, + ul, + ._page-artwork, + ._copy-split {
|
|
84
|
+
margin-top: 2rem;
|
|
59
85
|
}
|
|
60
86
|
}
|
|
61
87
|
|
|
@@ -78,23 +104,24 @@ h4 {
|
|
|
78
104
|
font-size: 4.8rem;
|
|
79
105
|
|
|
80
106
|
+ p {
|
|
81
|
-
margin-top:
|
|
107
|
+
margin-top: 2rem;
|
|
82
108
|
}
|
|
83
109
|
}
|
|
84
110
|
|
|
85
111
|
h5 {
|
|
86
112
|
@extend %bold;
|
|
87
113
|
font-size: 2.1rem;
|
|
114
|
+
line-height: 1;
|
|
88
115
|
}
|
|
89
116
|
|
|
90
117
|
h6 {
|
|
91
118
|
@extend %bold;
|
|
92
|
-
font-size: 1.
|
|
119
|
+
font-size: 1.6rem;
|
|
93
120
|
}
|
|
94
121
|
|
|
95
122
|
p {
|
|
96
|
-
+ p {
|
|
97
|
-
margin-top:
|
|
123
|
+
+ p, + ul, + .block._util {
|
|
124
|
+
margin-top: 2rem;
|
|
98
125
|
}
|
|
99
126
|
}
|
|
100
127
|
|