futuro 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/artwork/orwell/animal/flob.scss +5 -0
  3. data/_includes/artwork/orwell/animal/waldo.scss +45 -0
  4. data/_includes/html/head.liquid +7 -5
  5. data/_includes/html/overlay/about.liquid +1 -1
  6. data/_includes/html/overlay/browse.liquid +19 -19
  7. data/_includes/html/overlay/load.liquid +42 -47
  8. data/_includes/html/overlay/mobile.liquid +4 -4
  9. data/_includes/html/overlay/search.liquid +16 -12
  10. data/_includes/html/overlay.liquid +7 -4
  11. data/_includes/html/page/artwork.liquid +1 -1
  12. data/_includes/html/page/info.liquid +4 -4
  13. data/_includes/html/page/layout/chapter.liquid +2 -2
  14. data/_includes/html/page/layout/home.liquid +11 -9
  15. data/_includes/html/page/layout/page.liquid +4 -4
  16. data/_includes/html/page/title.liquid +3 -3
  17. data/_includes/html/page/topbar.liquid +10 -10
  18. data/_includes/html/page/util.liquid +2 -2
  19. data/_includes/html/page/utils/author.liquid +1 -1
  20. data/_includes/html/page/utils/share.liquid +3 -3
  21. data/_includes/html/page/utils/update.liquid +1 -1
  22. data/_includes/html/scripts.liquid +2 -2
  23. data/_layouts/feed.html +1 -1
  24. data/_layouts/single.html +1 -1
  25. data/_sass/_area.scss +23 -76
  26. data/_sass/_bar.scss +2 -2
  27. data/_sass/_base.lite.scss +4 -0
  28. data/_sass/_base.scss +16 -15
  29. data/_sass/_block.scss +21 -153
  30. data/_sass/_box.scss +2 -2
  31. data/_sass/_btn.scss +1 -1
  32. data/_sass/_col.scss +14 -17
  33. data/_sass/_form.scss +1 -1
  34. data/_sass/_input.scss +6 -7
  35. data/_sass/_lnk.scss +9 -10
  36. data/_sass/_nav.scss +3 -3
  37. data/_sass/_site.scss +3 -15
  38. data/_sass/_slick.scss +93 -97
  39. data/_sass/_split.scss +7 -10
  40. data/_sass/_task.scss +10 -13
  41. data/_sass/_title.scss +30 -58
  42. data/_sass/_wrap.scss +19 -50
  43. data/_sass/{_overlay.scss → area/_overlay.scss} +9 -17
  44. data/_sass/area/_topbar.scss +14 -0
  45. data/_sass/block/_browse.scss +35 -0
  46. data/_sass/block/_results.scss +39 -0
  47. data/_sass/block/_util.scss +37 -0
  48. data/_sass/fonts/_lite.scss +18 -0
  49. data/_sass/fonts/_max.scss +41 -0
  50. data/_sass/futuro.lite.scss +37 -0
  51. data/_sass/futuro.scss +32 -34
  52. data/_sass/helpers/_extends.scss +66 -49
  53. data/_sass/helpers/_mixins.scss +13 -5
  54. data/_sass/{_helpers.scss → helpers/_variables.scss} +0 -0
  55. data/_sass/title/_overlay.scss +22 -0
  56. data/_sass/wrap/_overlay.scss +28 -0
  57. data/assets/{img → css}/fallback.jpg +0 -0
  58. data/assets/{img → css}/favicon.png +0 -0
  59. data/assets/css/styles.lite.scss +4 -0
  60. data/assets/css/styles.scss +0 -1
  61. data/assets/js/footer/custom/CheckWidth.js +13 -11
  62. data/assets/js/footer/custom/ExpandBlock.js +9 -5
  63. data/assets/js/footer/custom/OpenOverlay.js +90 -65
  64. data/assets/js/footer/custom/ScrollFunc.js +15 -14
  65. data/assets/js/footer/custom/Settings.js +6 -7
  66. data/assets/js/footer/custom/SetupHome.js +6 -9
  67. data/assets/js/footer/custom/SiteFunc.js +15 -11
  68. data/assets/js/footer/custom/SplitCode.js +8 -10
  69. data/assets/js/footer/custom/StartBrowse.js +45 -45
  70. data/assets/js/footer/custom/UtilShare.js +13 -10
  71. data/assets/js/footer/vendor/gsap-draw.js +6 -9
  72. data/assets/js/futuro.footer.custom.js +1 -0
  73. data/assets/js/{futuro.vendor.js → futuro.footer.vendor.js} +7 -9
  74. data/assets/js/futuro.header.custom.js +1 -0
  75. data/assets/js/futuro.header.legacy.js +26 -0
  76. data/assets/js/{header.vendor.js → futuro.header.vendor.js} +1 -0
  77. data/assets/js/header/custom/Overlay.js +58 -0
  78. data/assets/js/header/custom/Site.js +72 -0
  79. data/assets/js/header/vendor/{enquire.min.js → enquire.js} +0 -0
  80. data/assets/js/header/vendor/{gsap.min.js → gsap.js} +0 -0
  81. data/assets/js/header/vendor/{modernizr.min.js → modernizr.js} +1 -1
  82. data/assets/js/header/vendor/modernizr.legacy.js +1 -0
  83. metadata +30 -19
  84. data/_sass/_copy.scss +0 -10
  85. data/_sass/_fonts.scss +0 -21
  86. data/assets/css/normalize.css +0 -423
  87. data/assets/img/search.svg +0 -1
  88. data/assets/js/futuro.custom.min.js +0 -1
  89. data/assets/js/header/custom/Settings.js +0 -21
  90. data/assets/js/header/data.js +0 -5
  91. data/assets/js/header.custom.min.js +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 299a2dbb3e4c1d032ba75795f89a8bc7beeea15a5fb68b32f725e05af7e82d6f
4
- data.tar.gz: 49d6a26460e153e32780f608a7d706c67592108ec8b7208cb752267149231c4a
3
+ metadata.gz: 3215c29030687df9ad178780991366de9c9cf45665aa5518d3bf18673c7e7c34
4
+ data.tar.gz: 6da57dc76450efb0c4e5fe2f7fd880e38148ba15a25e9fbfde34a5f7abb8217b
5
5
  SHA512:
6
- metadata.gz: 763c781cf07746e8e2ff849739ff4a465a3c30f0d4bb98b9dd39fb7a1b162259b5bba96d1d13993a05c87a4213f6ffb8fe0b63df1f60c5dab0638593c8874ae8
7
- data.tar.gz: df78ba0699041ab6b8b314982b72b3a897b313307e9046d58066cd4f1ef2853d86d2007cb90c714e5dca6b3cb7cef300b43c2b80be479049f3354d530a6d8449
6
+ metadata.gz: 7e3c13fd49e81f17594f983cb9ad557804be52a574b09ad7aae249a30c55f1da8895ef4e382b2c998c917158543df6c58703a2ce7db8d502061f008c2a3089e0
7
+ data.tar.gz: 7c1b625700abe59f3e2fefc256b7ad92fb73f21ce0b81aaf5db4046957a87de617fb7df6309c66d42840be4b165518a70117e990ab92caf5c1a6975007a8de48
@@ -0,0 +1,5 @@
1
+
2
+ .thingo {
3
+ background-color: red;
4
+ min-height: 2rem;
5
+ }
@@ -0,0 +1,45 @@
1
+ .tag {
2
+ &-buttons {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ align-items: center;
6
+ font-size: 11px;
7
+
8
+ span:not(.hidden) {
9
+ display: inline-block;
10
+ color: #767676;
11
+ }
12
+
13
+ .tag-buttons__title {
14
+ padding-right: 0.5em;
15
+ }
16
+ }
17
+
18
+ &-button {
19
+ @extend %bold;
20
+ letter-spacing: normal;
21
+ display: inline-block;
22
+ max-width: 30ch;
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ white-space: nowrap;
26
+ transition: all 0.1s;
27
+ border: 1px solid #767676;
28
+ border-radius: 11.5px;
29
+ text-decoration: none;
30
+ text-transform: uppercase;
31
+ padding: 5px 10px;
32
+ margin: 0.25em 0.5em 0.25em 0;
33
+
34
+ &:hover {
35
+ border-color: black;
36
+ color: black;
37
+ }
38
+
39
+ @media (min-width: 768px) {
40
+ font-size: 11px;
41
+ line-height: 13px;
42
+ border-radius: 12.5px;
43
+ }
44
+ }
45
+ }
@@ -3,12 +3,14 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
  <meta name="format-detection" content="telephone=no">
6
- <link rel="icon" href="{{ "/assets/img/favicon.png?v=1580493508997" | relative_url }}">
7
- <link rel="stylesheet" href="{{ "/assets/css/styles.css?v=1580493508997" | relative_url }}">
6
+ <link rel="icon" href="{{ "/assets/css/favicon.png?v=1581004857774" | relative_url }}">
7
+ <link rel="stylesheet" href="{{ "/assets/css/styles.css?v=1581004857774" | relative_url }}">
8
8
  {% seo %}
9
9
  {% feed_meta %}
10
10
  {% include html/analytics.liquid %}
11
- <script src="{{ "/assets/js/header/data.js?v=1580493508997" | relative_url }}"></script>
12
- <script src="{{ "/assets/js/header.vendor.js?v=1580493508997" | relative_url }}"></script>
13
- <script src="{{ "/assets/js/header.custom.min.js?v=1580493508997" | relative_url }}"></script>
11
+ <script type="text/javascript">
12
+ let Config = {{ site.setup | jsonify }};
13
+ </script>
14
+ <script src="{{ "/assets/js/futuro.header.legacy.js?v=1581004857774" | relative_url }}"></script>
15
+ <script src="{{ "/assets/js/futuro.header.custom.js?v=1581004857774" | relative_url }}"></script>
14
16
  </head>
@@ -1,5 +1,5 @@
1
1
 
2
- <h4 class="title _overlay-about">About</h4>
2
+ <h4 class="title overlay about">About</h4>
3
3
  <p>These guidelines have been created by the Barbican Studio, which is the in-house design team at the Barbican Centre, London. The Studio creates most of the visual material for the Centre. It is based in the Marketing Department and consists of four permanent designers.</p>
4
4
  <p>The current structure of the design team was created in 2011 and coincides with a major rebranding project undertaken by North. The philosophy of the team is based on the visual guidelines North created at the time. These set out a flexible system influenced by the Centre’s vision of ‘arts without boundaries’ and includes strong visual elements that allow freedom and diversity.</p>
5
5
  <p>For further information contact <a class="lnk" href="mailto:design@barbican.org.uk?subject=Branding enquiry">design@barbican.org.uk</a></p>
@@ -1,11 +1,11 @@
1
1
 
2
- <h4 class="title _overlay-browse">Browse</h4>
2
+ <h4 class="title overlay browse">Browse</h4>
3
3
 
4
- <div class="block _browse {{ site.setup.type | prepend: 'setup-' }}">
4
+ <div class="block browse {{ site.setup.type | prepend: 'setup-' }}">
5
5
 
6
- <div class="col _browse --book">
6
+ <div class="col browse book">
7
7
 
8
- <div class="block _browse-label --head">
8
+ <div class="block browse-label head">
9
9
  <p><strong>Book</strong></p>
10
10
  </div>
11
11
 
@@ -22,14 +22,14 @@
22
22
 
23
23
  {% if page.live %}
24
24
 
25
- <div class="block _browse-lnk">
26
- <a href="{{ url }}" class="lnk _browse-book book-{{ book }}">{{ title }}</a>
25
+ <div class="block browse-lnk">
26
+ <a href="{{ url }}" class="lnk browse-book book-{{ book }}">{{ title }}</a>
27
27
  </div>
28
28
 
29
29
  {% else %}
30
30
 
31
- <div class="block _browse-lnk">
32
- <a href="/" class="lnk _browse-book book-{{ book }} --draft">{{ title }}</a>
31
+ <div class="block browse-lnk">
32
+ <a href="/" class="lnk browse-book book-{{ book }} draft">{{ title }}</a>
33
33
  </div>
34
34
 
35
35
  {% endif %}
@@ -40,9 +40,9 @@
40
40
 
41
41
  </div>
42
42
 
43
- <div class="col _browse --chapter">
43
+ <div class="col browse chapter">
44
44
 
45
- <div class="block _browse-label --head">
45
+ <div class="block browse-label head">
46
46
  <p><strong>Chapter</strong></p>
47
47
  </div>
48
48
 
@@ -54,7 +54,7 @@
54
54
  {% assign label = page.label %}
55
55
  {% assign loop = site.[label] | sort: 'weight' %}
56
56
 
57
- <div class="block _browse-chunk --{{ label }}">
57
+ <div class="block browse-chunk {{ label }}">
58
58
 
59
59
  {% for page in loop %}
60
60
  {% if page.type == 'chapter' %}
@@ -62,8 +62,8 @@
62
62
  {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
63
63
  {% assign weight = page.weight | slice: 0,3 %}
64
64
 
65
- <div class="block _browse-lnk">
66
- <a href="{{ page.url | replace: 'index','' }}" class="lnk _browse-chapter book-{{ book }} chapter-{{ chapter }}">{{ weight }} {{ page.chapter }}</a>
65
+ <div class="block browse-lnk">
66
+ <a href="{{ page.url | replace: 'index','' }}" class="lnk browse-chapter book-{{ book }} chapter-{{ chapter }}">{{ weight }} {{ page.chapter }}</a>
67
67
  </div>
68
68
 
69
69
  {% endif %}
@@ -77,9 +77,9 @@
77
77
  </div>
78
78
 
79
79
 
80
- <div class="col _browse --page">
80
+ <div class="col browse page">
81
81
 
82
- <div class="block _browse-label --head">
82
+ <div class="block browse-label head">
83
83
  <p>Page</p>
84
84
  </div>
85
85
 
@@ -91,13 +91,13 @@
91
91
  {% assign label = page.label %}
92
92
  {% assign loop = site.[label] | sort: 'weight' %}
93
93
 
94
- <div class="block _browse-chunk --{{ label }}">
94
+ <div class="block browse-chunk {{ label }}">
95
95
 
96
96
  {% for page in loop %}
97
97
  {%- if page.type == 'chapter' -%}
98
98
  {% assign match = page.chapter | replace: ' ','-' %}
99
99
 
100
- <div class="block _browse-chunk --{{ match | downcase }}">
100
+ <div class="block browse-chunk {{ match | downcase }}">
101
101
 
102
102
  {% for page in loop %}
103
103
 
@@ -111,8 +111,8 @@
111
111
  {% assign title = page.title | downcase | replace: ' ','-' %}
112
112
  {% assign weight = page.weight | slice: 0,5 %}
113
113
 
114
- <div class="block _browse-lnk">
115
- <a href="{{ page.url | replace: '.html','' }}" class="lnk _browse-page chapter-{{ chapter }} title-{{ title }}">{{ weight }} {{ page.title }}</a>
114
+ <div class="block browse-lnk">
115
+ <a href="{{ page.url | replace: '.html','' }}" class="lnk browse-page chapter-{{ chapter }} title-{{ title }}">{{ weight }} {{ page.title }}</a>
116
116
  </div>
117
117
 
118
118
  {% endunless %}
@@ -1,56 +1,51 @@
1
1
 
2
- <p class="title _overlay-load">loading</p>
2
+ <p class="title overlay load">loading</p>
3
3
 
4
- <div class="box _load">
5
- <div class="bar _load"></div>
4
+ <div class="box load">
5
+ <div class="bar load"></div>
6
6
  </div>
7
7
 
8
8
  <script type="text/javascript">
9
9
 
10
- let SiteTl = gsap.timeline({
11
- repeat:-1,
12
- repeatDelay:0.3
13
- });
14
-
15
- function LoadAnim() {
16
- let speed = 0.3,
17
- title = '.title._overlay-load',
18
- box = '.box._load',
19
- bar = '.bar._load';
20
-
21
- SiteTl
22
- .set(title,{
23
- fontFamily: "'FuturaBT-Bold', 'Helvetica Neue', sans-serif",
24
- textTransform: "uppercase",
25
- fontSize: "4.8rem",
26
- color: "red"
27
- })
28
- .set(box,{borderColor: "red"})
29
- .set(bar,{backgroundColor: "red"})
30
- .set(title,{
31
- fontFamily: "'FuturaBT-Book', 'Helvetica Neue', sans-serif",
32
- textTransform: "none",
33
- fontSize: "4.4rem",
34
- color: "blue"
35
- },"+=" + speed)
36
- .set(box,{borderColor: "blue"})
37
- .set(bar,{
38
- backgroundColor: "blue",
39
- width: "43%"
40
- })
41
- .set(title,{
42
- fontFamily: "'FuturaBT-BookItalic', 'Helvetica Neue', sans-serif",
43
- fontSize: "5.4rem",
44
- color: "black"
45
- },"+=" + speed)
46
- .set(box,{borderColor: "black"})
47
- .set(bar,{
48
- backgroundColor: "black",
49
- width: "93%"
50
- })
51
- ;
52
- }
10
+ if (Overlay.load.active) {
11
+
12
+ var SiteTl = gsap.timeline({ repeat : -1, repeatDelay : Overlay.load.speed });
13
+
14
+ function LoadAnim() {
15
+ SiteTl
16
+ .set(Overlay.load.title,{
17
+ fontFamily: "'FuturaBT-Bold', 'Helvetica Neue', sans-serif",
18
+ textTransform: "uppercase",
19
+ fontSize: "4.8rem",
20
+ color: "red"
21
+ })
22
+ .set(Overlay.load.box,{borderColor: "red"})
23
+ .set(Overlay.load.bar,{backgroundColor: "red"})
24
+ .set(Overlay.load.title,{
25
+ fontFamily: "'FuturaBT-Book', 'Helvetica Neue', sans-serif",
26
+ textTransform: "none",
27
+ fontSize: "4.4rem",
28
+ color: "blue"
29
+ },"+=" + Overlay.load.speed)
30
+ .set(Overlay.load.box,{borderColor: "blue"})
31
+ .set(Overlay.load.bar,{
32
+ backgroundColor: "blue",
33
+ width: "43%"
34
+ })
35
+ .set(Overlay.load.title,{
36
+ fontFamily: "'FuturaBT-BookItalic', 'Helvetica Neue', sans-serif",
37
+ fontSize: "5.4rem",
38
+ color: "black"
39
+ },"+=" + Overlay.load.speed)
40
+ .set(Overlay.load.box,{borderColor: "black"})
41
+ .set(Overlay.load.bar,{
42
+ backgroundColor: "black",
43
+ width: "93%"
44
+ });
45
+ }
46
+
47
+ LoadAnim();
53
48
 
54
- LoadAnim();
49
+ }
55
50
 
56
51
  </script>
@@ -1,6 +1,6 @@
1
1
 
2
- <h4 class="title _overlay --mobile">Too small</h4>
3
- <p class="copy _overlay --mobile">Browser needs to be <strong class="width"></strong> wider!</p>
4
- <div class="box _mobile">
5
- <div class="bar _mobile"></div>
2
+ <h4>Too small</h4>
3
+ <p>Browser needs to be <strong class="width"></strong> wider!</p>
4
+ <div class="box mobile">
5
+ <div class="bar mobile"></div>
6
6
  </div>
@@ -1,28 +1,32 @@
1
1
 
2
- <div class="title _overlay-search">
3
- <input class="input _text --search" type="text" placeholder="Search">
2
+ <div class="title overlay search">
3
+ <input class="input text search" type="text" placeholder="Search">
4
4
  </div>
5
5
 
6
- <div class="block _results"></div>
6
+ <div class="block results"></div>
7
7
 
8
8
  <script>
9
+
10
+ if (typeof Search != "undefined") {
9
11
  window.simpleJekyllSearch = new SimpleJekyllSearch({
10
- searchInput: document.querySelector('.input.--search'),
11
- resultsContainer: document.querySelector('.block._results'),
12
- json: '/search.json',
12
+ searchInput: document.querySelector(Overlay.search.input),
13
+ resultsContainer: document.querySelector(Overlay.search.results),
14
+ json: Overlay.search.json,
13
15
  searchResultTemplate:
14
- '<a href="/{url}" class="block _results-entry book-{book} chapter-{chapter}">
16
+ "<a href='/{url}' class='block results-entry book-{book} chapter-{chapter}'>
15
17
  <h1>{title}</h1>
16
- <div class="block _results-info">
17
- <div class="block _results-dot"></div>
18
+ <div class='block results-info'>
19
+ <div class='block results-dot'></div>
18
20
  <h5>{url}</h5>
19
21
  </div>
20
- </a>',
22
+ </a>",
21
23
  noResultsText:
22
- '<div class="block _results-entry --none">
24
+ "<div class='block results-entry none'>
23
25
  <h1>No results found</h1>
24
- </div>',
26
+ </div>",
25
27
  fuzzy: true,
26
28
  limit: 5
27
29
  });
30
+ }
31
+
28
32
  </script>
@@ -1,13 +1,16 @@
1
1
 
2
+ {% assign title = include.title | downcase %}
3
+ {% assign legacy = site.setup.legacy %}
4
+
2
5
  {% if include.state %}
3
- <div class="overlay{{ include.title | downcase | prepend: ' _' }}{% if include.demo %} --demo{% endif %}" style="{% if site.setup.legacy %} display: block; {% else %} display: grid; {% endif %}">
6
+ <div class="area overlay {{ title }}{% if include.demo %} demo{% endif %}" style="{% if legacy %} display: block; {% else %} display: grid; {% endif %}">
4
7
  {% else %}
5
- <div class="overlay{{ include.title | downcase | prepend: ' _' }}{% if include.demo %} --demo{% endif %}">
8
+ <div class="area overlay {{ title }}{% if include.demo %} demo{% endif %}">
6
9
  {% endif %}
7
10
  {% unless include.exit == 'false' %}
8
- <div class="exit{{ include.title | downcase | prepend: ' _' }}"></div>
11
+ <div class="exit {{ title }}"></div>
9
12
  {% endunless %}
10
- <div class="wrap _overlay{{ include.title | prepend: ' --' }}{% if include.demo %} --demo{% endif %}">
13
+ <div class="wrap overlay {{ title }}{% if include.demo %} demo{% endif %}">
11
14
  {% include html/overlay/{{ include.title }}.liquid %}
12
15
  </div>
13
16
  </div>
@@ -10,7 +10,7 @@
10
10
  {% assign img = page.url | prepend: '/assets/img' %}
11
11
  {% assign vid = page.url | prepend: '/assets/vid' %}
12
12
 
13
- <div class="area _page-artwork {{ setup }} {{ chapchap }} {{ titltitl }}">
13
+ <div class="area page-artwork {{ setup }} {{ chapchap }} {{ titltitl }}">
14
14
 
15
15
  {%- unless site.setup.type == 'docs' -%}
16
16
 
@@ -1,7 +1,7 @@
1
1
 
2
- {% assign info = page.type | prepend: '_' | append: '-info' %}
3
- {% assign chap = page.type | prepend: '_' | append: '-chapter' %}
4
- {% assign weight = page.type | prepend: '_' | append: '-weight' %}
2
+ {% assign info = page.type | append: '-info' %}
3
+ {% assign chap = page.type | append: '-chapter' %}
4
+ {% assign weight = page.type | append: '-weight' %}
5
5
  {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
6
6
  {% assign bPath = page.collection | prepend: '/svg/' %}
7
7
  {% assign cPath = chapter | append: '/icon.svg' %}
@@ -16,7 +16,7 @@
16
16
 
17
17
  {%- if page.icon -%}
18
18
 
19
- <div class="block _page-icon {{ chapter | prepend: '--'}}">
19
+ <div class="block page-icon {{ chapter }}">
20
20
  {% include {{ bPath }}/{{ cPath }} %}
21
21
  </div>
22
22
 
@@ -10,11 +10,11 @@
10
10
 
11
11
  {% include html/page/header.liquid %}
12
12
 
13
- <div class="{{ split }} --left">
13
+ <div class="{{ split }} left">
14
14
  {% include html/page/title.liquid %}
15
15
  </div>
16
16
 
17
- <div class="{{ split }} --right">
17
+ <div class="{{ split }} right">
18
18
 
19
19
  <h2>
20
20
  {{ page.weight | slice: 0,3 }}
@@ -1,23 +1,25 @@
1
1
 
2
2
  {% assign loop = site.collections | sort: 'weight' %}
3
3
 
4
- <div class="wrap _home">
4
+ <div class="wrap home">
5
5
  {% for book in loop %}
6
6
  {% assign title = book.label %}
7
+ {% assign url = title | prepend: '/' | append: '/' %}
8
+ {% assign svg = title | prepend: '/svg/site/book/' | append: '.svg' %}
7
9
 
8
10
  {% if book.live == true %}
9
- <div class="area _book">
10
- <div class="wrap _book">
11
- <a class="lnk _book{{ title | prepend: ' --' }}" href="{{ title | prepend: '/' | append: '/' }}">
12
- {% include {{ title | prepend: '/svg/site/book/' | append: '.svg' }} %}
11
+ <div class="area book">
12
+ <div class="wrap book">
13
+ <a class="lnk book {{ title }}" href="{{ url }}">
14
+ {% include {{ svg }} %}
13
15
  </a>
14
16
  </div>
15
17
  </div>
16
18
  {% elsif book.live == false %}
17
- <div class="area _book">
18
- <div class="wrap _book">
19
- <div class="lnk _book --draft">
20
- {% include {{ title | prepend: '/svg/site/book/' | append: '.svg' }} %}
19
+ <div class="area book">
20
+ <div class="wrap book">
21
+ <div class="lnk book draft">
22
+ {% include {{ svg }} %}
21
23
  </div>
22
24
  </div>
23
25
  </div>
@@ -3,7 +3,7 @@
3
3
 
4
4
  {%- if site.setup.type == 'docs' -%}
5
5
 
6
- <div class="block _expand-title {{ page.collection | prepend: 'book-' }}">
6
+ <div class="block expand-title {{ page.collection | prepend: 'book-' }}">
7
7
 
8
8
  {% include html/page/title.liquid %}
9
9
 
@@ -13,11 +13,11 @@
13
13
 
14
14
  {% else %}
15
15
 
16
- <div class="{{ split }} --left">
16
+ <div class="{{ split }} left">
17
17
 
18
18
  {% include html/page/title.liquid %}
19
19
 
20
- <div class="block _page-content">
20
+ <div class="block page-content">
21
21
 
22
22
  {% include html/page/subtitle.liquid %}
23
23
 
@@ -31,7 +31,7 @@
31
31
 
32
32
  </div>
33
33
 
34
- <div class="{{ split }} --right">
34
+ <div class="{{ split }} right">
35
35
 
36
36
  {% include html/page/artwork.liquid %}
37
37
 
@@ -1,6 +1,6 @@
1
1
 
2
- {% assign type = page.type | prepend: '_' | append: '-title' %}
3
- {% assign setup = site.setup.type | prepend: '--' %}
2
+ {% assign type = page.type | append: '-title' %}
3
+ {% assign setup = site.setup.type %}
4
4
  {% assign chapter = page.chapter | prepend: '<div>' | append: '</div>' %}
5
5
  {% assign cDivs = chapter | split: ' ' | join: '</div><div>' %}
6
6
 
@@ -20,7 +20,7 @@
20
20
  {{ page.title }}
21
21
  </h5>
22
22
 
23
- <div class="block _expand-block">
23
+ <div class="block expand-block">
24
24
  Show
25
25
  </div>
26
26
 
@@ -1,21 +1,21 @@
1
1
 
2
- <div class="area _topbar">
2
+ <div class="area topbar">
3
3
 
4
- <div class="nav _left">
5
- <div class="btn _nav --about">
4
+ <div class="nav left">
5
+ <div class="btn nav about">
6
6
  {% include svg/site/btn/about.svg %}
7
7
  </div>
8
- <div class="btn _nav --browse">
8
+ <div class="btn nav browse">
9
9
  {% include svg/site/btn/browse.svg %}
10
10
  </div>
11
11
  </div>
12
12
 
13
- <div class="nav _main">
13
+ <div class="nav main">
14
14
  {% assign loop = site.collections | sort: 'weight' %}
15
15
  {% for page in loop %}
16
16
  {% if page.live %}
17
17
  <div>
18
- <a class="lnk _nav --{{ page.label }}" href="/">
18
+ <a class="lnk nav {{ page.label }}" href="/">
19
19
  <strong>{{ page.label }}</strong>
20
20
  </a>
21
21
  </div>
@@ -23,14 +23,14 @@
23
23
  {% endfor %}
24
24
  </div>
25
25
 
26
- <div class="nav _right">
27
- <div class="btn _nav --cart" style="display:none;">
26
+ <div class="nav right">
27
+ <div class="btn nav cart" style="display:none;">
28
28
  {% include svg/site/btn/cart.svg %}
29
29
  </div>
30
- <div class="btn _nav --count" style="display:none;">
30
+ <div class="btn nav count" style="display:none;">
31
31
  <strong>0</strong>
32
32
  </div>
33
- <div class="btn _nav --search">
33
+ <div class="btn nav search">
34
34
  {% include svg/site/btn/search.svg %}
35
35
  </div>
36
36
  </div>
@@ -1,7 +1,7 @@
1
1
 
2
- {% assign type = page.type | prepend: '--' %}
2
+ {% assign type = page.type %}
3
3
 
4
- <div class="block _util {{ type }}">
4
+ <div class="block util {{ type }}">
5
5
 
6
6
  {% include html/page/utils/share.liquid %}
7
7
 
@@ -1,5 +1,5 @@
1
1
 
2
- <div class="block _util-author">
2
+ <div class="block util-author">
3
3
  {% include svg/site/btn/author.svg %}
4
4
  <p>By {{ page.author }}</p>
5
5
  </div>
@@ -1,7 +1,7 @@
1
1
 
2
- {%- unless site.share == false -%}
2
+ {%- unless site.share == "false" -%}
3
3
 
4
- <div class="block _util-share {{ type }}">
4
+ <div class="block util-share {{ type }}">
5
5
 
6
6
  {% include svg/site/btn/share/{{ page.type }}.svg %}
7
7
 
@@ -11,7 +11,7 @@
11
11
  <p>Copy page</p>
12
12
  {%- endif -%}
13
13
 
14
- <div class="block _util-url" onclick="copy(this)">{{ site.url }}{{ page.url | replace: '.html','' }}</div>
14
+ <div class="block util-url">{{ site.url }}{{ page.url | replace: '.html','' }}</div>
15
15
 
16
16
  </div>
17
17
 
@@ -1,5 +1,5 @@
1
1
 
2
- <div class="block _util-update">
2
+ <div class="block util-update">
3
3
  {% include svg/site/btn/update.svg %}
4
4
  <p>Updated {{ page.update | date: "%b %y" }}</p>
5
5
  </div>
@@ -1,3 +1,3 @@
1
1
 
2
- <script src="{{ "/assets/js/futuro.vendor.js?v=1580493508997" | relative_url }}"></script>
3
- <script src="{{ "/assets/js/futuro.custom.min.js?v=1580493508997" | relative_url }}"></script>
2
+ <script src="{{ "/assets/js/futuro.footer.vendor.js?v=1581004857774" | relative_url }}"></script>
3
+ <script src="{{ "/assets/js/futuro.footer.custom.js?v=1581004857774" | relative_url }}"></script>
data/_layouts/feed.html CHANGED
@@ -22,7 +22,7 @@ layout: mini
22
22
  {% include html/overlay.liquid title='browse' %}
23
23
  {% include html/overlay.liquid title='search' %}
24
24
 
25
- <div class="site _feed">
25
+ <div class="site feed">
26
26
 
27
27
  {% if site.header %}
28
28
  <header>
data/_layouts/single.html CHANGED
@@ -31,7 +31,7 @@ layout: mini
31
31
  {% include html/overlay.liquid title='search' %}
32
32
  {% endunless %}
33
33
 
34
- <div class="site{% if page.type == 'home' %} _full {% else %} _single{% endif %}">
34
+ <div class="site{% if page.type == 'home' %} full {% else %} single {% endif %}">
35
35
 
36
36
  {% if site.header %}
37
37
  <header>