futuro 0.6.3 → 0.6.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e7c610b978a48d5649e8e9f01aa9877860cb22f1be7439fe9f62225d3b50405
4
- data.tar.gz: f21811afed9d761e33a2b478ea422b53d7be797aaeecc7d705e4563d3c187231
3
+ metadata.gz: 428d0f5009963f5faaa05c23a9008a9abec6eb88f72578a34fd8547553f58ede
4
+ data.tar.gz: c181abd54efa5fb1645fa9a5dd41d3de4f3f861fe1d8485c882136b426b81069
5
5
  SHA512:
6
- metadata.gz: 6eb2e1329b6a232a71c3ad730bbf80d4d4f58b27abcdbc999c8e9f51176f643bd52335b2ba5f003a253b0029eafc0a4f06d526d58752db5e0bb04caa6f67952a
7
- data.tar.gz: b3447cb3c658ff4563735813617b849e4f6e4ccd88cfeebf431032775a775a80a2efa6ef7a83585b384e4c6ad007bfb7833a36df927457c25ea3d076ab73b480
6
+ metadata.gz: db8307c0b9f900a080940f4d5062921fc3f586f396be4e32866071ce1d1b34258781574b7bccff94b837365d58bbc6cf9ef14aedbc1f12fbb43c3c92fec21130
7
+ data.tar.gz: 9f3451076cc90d6bbe6623cb71a5a60c380bf497907f063f3ef0ad6398b4cbcd6f9374b8c4978b0793b9cb59adac2c5110dc1992d66c633fcfaee1c93484fb9c
@@ -1,21 +1,21 @@
1
1
 
2
- {% unless page.type == 'book' or
3
- page.type == 'topic' %}
2
+ {% unless page.type == "book" or
3
+ page.type == "topic" %}
4
4
 
5
5
  {% assign split = page.type | prepend: 'split-' %}
6
6
 
7
- {% if page.type == 'home' %}
7
+ {% if page.type == "home" %}
8
8
  {% include html/page/layout/home.liquid %}
9
9
 
10
- {% elsif page.type == 'page' %}
10
+ {% elsif page.type == "page" %}
11
11
 
12
- {%- if page.tag contains 'tree' -%}
12
+ {%- if page.tag contains "tree" -%}
13
13
  {% include html/page/layout/tree.liquid %}
14
14
 
15
- {%- elsif page.tag contains 'panel' -%}
15
+ {%- elsif page.tag contains "panel" -%}
16
16
  {% include html/page/layout/panel.liquid %}
17
17
 
18
- {%- elsif page.tag contains 'custom' -%}
18
+ {%- elsif page.tag contains "custom" -%}
19
19
  {% include html/page/layout/custom.liquid %}
20
20
 
21
21
  {%- else -%}
@@ -23,7 +23,7 @@
23
23
 
24
24
  {%- endif -%}
25
25
 
26
- {%- elsif page.type == 'chapter' -%}
26
+ {%- elsif page.type == "chapter" -%}
27
27
  {% include html/page/layout/chapter.liquid %}
28
28
 
29
29
  {% endif %}
@@ -1,11 +1,12 @@
1
1
 
2
2
  {% include html/page/header.liquid %}
3
3
 
4
- <div class="split-default panel">
5
- <div class="title default-subtitle">
6
- {{ page.subtitle }}
7
- </div>
4
+ <div class="{{ split }} panel">
5
+
6
+ {% include html/page/subtitle.liquid %}
7
+
8
8
  {{ page.content | markdownify }}
9
+
9
10
  </div>
10
11
 
11
12
  {% include html/page/artwork.liquid %}
@@ -1,11 +1,12 @@
1
1
 
2
2
  {% include html/page/header.liquid %}
3
3
 
4
- <div class="split-default tree">
5
- <div class="title default-subtitle tree">
6
- {{ page.subtitle }}
7
- </div>
4
+ <div class="{{ split }} tree">
5
+
6
+ {% include html/page/subtitle.liquid %}
7
+
8
8
  {{ page.content | markdownify }}
9
+
9
10
  </div>
10
11
 
11
12
  {% include html/page/artwork.liquid %}
data/_sass/_area.scss CHANGED
@@ -36,15 +36,6 @@
36
36
  }
37
37
  }
38
38
 
39
- &.type-page {
40
- @extend %area-page;
41
- background-color: white;
42
-
43
- &.style-docs {
44
- grid-row-gap: 20px;
45
- }
46
- }
47
-
48
39
  &.type-chapter {
49
40
  @extend %area-page;
50
41
 
data/_sass/_split.scss CHANGED
@@ -1,12 +1,25 @@
1
1
 
2
- .split-chapter {
3
- &.right {
4
- padding: 112px 0 0 56px;
5
- }
2
+ .split-chapter.right {
3
+ padding: 112px 0 0 56px;
4
+ }
5
+
6
+ .split-page.left {
7
+ padding: 56px 0 0 180px;
6
8
  }
7
9
 
8
- .split-page {
9
- &.left {
10
- padding: 56px 0 0 180px;
10
+ .split-page.tree {
11
+ justify-content: flex-start;
12
+ grid-auto-flow: column;
13
+ grid-column-gap: 20px;
14
+ align-items: baseline;
15
+ padding: 20px 20px 0;
16
+ display: grid;
17
+
18
+ .page-subtitle {
19
+ margin: 0;
11
20
  }
12
21
  }
22
+
23
+ .split-page.panel {
24
+ padding: 20px 0 0 20px;
25
+ }
@@ -0,0 +1,25 @@
1
+
2
+ .area.type-page {
3
+ @extend %area-page;
4
+ background-color: white;
5
+ }
6
+
7
+ .area.type-page.style-docs {
8
+ grid-row-gap: 20px;
9
+ }
10
+
11
+ .area.type-page.tag-panel {
12
+ grid-template-columns: 224px auto;
13
+ grid-column-gap: 20px;
14
+
15
+ .page-artwork {
16
+ padding: 20px 0 0;
17
+ }
18
+ }
19
+
20
+ .area.type-page.tag-tree {
21
+
22
+ .page-artwork {
23
+ padding: 0 20px;
24
+ }
25
+ }
@@ -13,6 +13,7 @@
13
13
  "area/overlay/mobile",
14
14
  "area/overlay/search",
15
15
  "area/overlay",
16
+ "area/page",
16
17
  "area/topbar",
17
18
  "artwork",
18
19
  "bar",
@@ -50,6 +50,10 @@
50
50
 
51
51
  .wrap.book.#{$name} {
52
52
  background-color: $col;
53
+
54
+ svg {
55
+ fill: white;
56
+ }
53
57
  }
54
58
 
55
59
  // Topbar Links
@@ -1,6 +1,6 @@
1
1
 
2
2
  .wrap.overlay.mobile {
3
- font-size: 2.1rem;
3
+ font-size: 2.0rem;
4
4
 
5
5
  p + .box.mobile {
6
6
  margin-top: 20px;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: futuro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Heading
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -167,6 +167,7 @@ files:
167
167
  - _sass/area/overlay/load.scss
168
168
  - _sass/area/overlay/mobile.scss
169
169
  - _sass/area/overlay/search.scss
170
+ - _sass/area/page.scss
170
171
  - _sass/area/topbar.scss
171
172
  - _sass/block/browse.scss
172
173
  - _sass/block/results.scss