tessellate 0.1.1 → 0.1.2
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/_config.yml +1 -1
- data/_includes/contact_form.html +8 -5
- data/_includes/footer.html +1 -1
- data/_includes/header.html +0 -8
- data/_layouts/default.html +21 -0
- data/_layouts/page.html +4 -1
- data/_layouts/section_four.html +40 -0
- data/_layouts/section_one.html +6 -1
- data/_layouts/section_three.html +9 -2
- data/_layouts/section_two.html +11 -2
- data/_sass/custom.scss +4 -0
- data/{assets/sass → _sass}/libs/_breakpoints.scss +18 -18
- data/{assets/sass → _sass}/libs/_html-grid.scss +2 -2
- data/{assets/sass → _sass}/libs/_mixins.scss +1 -1
- data/{assets/sass → _sass}/libs/_vendor.scss +2 -2
- data/{assets/sass/main.scss → _sass/tessellate.scss} +59 -0
- data/assets/css/style.scss +6 -0
- metadata +12 -9
- data/assets/css/main.css +0 -1524
- /data/{assets/sass → _sass}/libs/_functions.scss +0 -0
- /data/{assets/sass → _sass}/libs/_vars.scss +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15efb2e1b8ca1cf42de30e942a516eaa5ca7ee41abd31811c8f5966b65a008e6
|
4
|
+
data.tar.gz: 2e93d290d4ef5217e9ffb9b00cb7216fa2131f11c369fbf35700575d0b66cd64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7a400b815864f7bd39517710d8dbf7da12fdfb17557c237bee7855342ea48198dbb5b5f286c84b364f980196882e280b978188acba591438797d1dc062aa152
|
7
|
+
data.tar.gz: '0084e647dd1e6372d74a9d1349a8e0c29ed3983badc2362b9dcb6f86cc7323c96ae90ab54462bcb0cc8d600ea154501698bcbcde89603e1e0167824aadc76eb5'
|
data/_config.yml
CHANGED
data/_includes/contact_form.html
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
<!-- Contact form
|
2
2
|
Check out formspree for an easy way to get forms!
|
3
3
|
Setup a new form and then include the contact form with the form_id!
|
4
|
-
|
4
|
+
-->
|
5
5
|
{% comment %}
|
6
|
-
|
6
|
+
To use this contact form use the following:
|
7
7
|
{% include contact_form.html form_id="yourFormIDHere" %}
|
8
|
-
|
9
8
|
{% endcomment %}
|
10
|
-
|
11
|
-
|
9
|
+
{% if include.section_id %}
|
10
|
+
{% assign section-id = include.section_id %}
|
11
|
+
{% else %}
|
12
|
+
{% assign section-id = "contact" %}
|
13
|
+
{% endif %}
|
14
|
+
<section id="{{ section-id }}" class="main">
|
12
15
|
<header>
|
13
16
|
<div class="container">
|
14
17
|
<h2>{{ include.section_title }}</h2>
|
data/_includes/footer.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<li>
|
7
7
|
<a
|
8
8
|
href="{{ social.link }}"
|
9
|
-
class="icon
|
9
|
+
class="icon {% if social.icon %}{% elsif social.icon_class %}{{ social.icon_class }}{% else %}brands fa-brands fa-{{ social.name | downcase }}{% endif %}"
|
10
10
|
{% if social.icon %}
|
11
11
|
style="background-image: url({{ social.icon }})"
|
12
12
|
{% endif %}
|
data/_includes/header.html
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
<!-- Header include for image and CTA
|
2
|
-
header:
|
3
|
-
title: Title Goes Here
|
4
|
-
subtitle: A short sentence for a subtitle
|
5
|
-
cta:
|
6
|
-
link: #first
|
7
|
-
text: Proceed to #first element
|
8
|
-
-->
|
9
1
|
<section id="header" class="dark"
|
10
2
|
{% if include.header.background_image %}
|
11
3
|
style="background-image:{{ include.header.background_image }};"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{% if page.section-id %}
|
2
|
+
{% assign section-id = page.section-id %}
|
3
|
+
{% else %}
|
4
|
+
{% assign section-id = page.title %}
|
5
|
+
{% endif %}
|
6
|
+
<section id="{{ section-id }}" class="main">
|
7
|
+
{% if page.header %}
|
8
|
+
<header>
|
9
|
+
<div class="container">
|
10
|
+
<h2>{{ page.header.title }}</h2>
|
11
|
+
<p>{{ page.header.body }}</p>
|
12
|
+
</div>
|
13
|
+
</header>
|
14
|
+
{% endif %}
|
15
|
+
<div class="content dark style4 featured">
|
16
|
+
<div class="container">
|
17
|
+
{{ content }}
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</section>
|
21
|
+
|
data/_layouts/page.html
CHANGED
@@ -10,9 +10,12 @@
|
|
10
10
|
<title>{{ title }}</title>
|
11
11
|
<meta charset="utf-8" />
|
12
12
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
13
|
-
|
13
|
+
<link rel="stylesheet" href="/assets/css/style.css" />
|
14
14
|
</head>
|
15
15
|
<body class="is-preload">
|
16
|
+
{% if site.data.navigation %}
|
17
|
+
{% include navigation.html %}
|
18
|
+
{% endif %}
|
16
19
|
<!-- Header -->
|
17
20
|
{% include header.html
|
18
21
|
header=page.header
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{% if page.section-id %}
|
2
|
+
{% assign section-id = page.section-id %}
|
3
|
+
{% else %}
|
4
|
+
{% assign section-id = page.title %}
|
5
|
+
{% endif %}
|
6
|
+
<section id="{{ section-id }}" class="main">
|
7
|
+
{% if page.header %}
|
8
|
+
<header>
|
9
|
+
<div class="container">
|
10
|
+
<h2>{{ page.header.title }}</h2>
|
11
|
+
<p>{{ page.header.body }}</p>
|
12
|
+
</div>
|
13
|
+
</header>
|
14
|
+
{% endif %}
|
15
|
+
<div class="content dark style3">
|
16
|
+
<div class="container">
|
17
|
+
{% if page.image %}
|
18
|
+
<span class="image featured"><img src="{{ page.image }}" alt="" /></span>
|
19
|
+
{% endif %}
|
20
|
+
<div class="row">
|
21
|
+
{% assign column_width = 4 %}
|
22
|
+
{% if page.columns %}
|
23
|
+
{% assign column_width = 12 | divided_by: page.columns %}
|
24
|
+
{% endif %}
|
25
|
+
{% assign content_split = page.content | markdown_split %}
|
26
|
+
{% for body in content_split %}
|
27
|
+
<div class="col-{{ column_width }} col-12-narrow">
|
28
|
+
{{ body | markdownify }}
|
29
|
+
</div>
|
30
|
+
{% endfor %}
|
31
|
+
</div>
|
32
|
+
{% if page.cta %}
|
33
|
+
<footer>
|
34
|
+
<a href="{{ page.cta.link }}" class="button scrolly">{{ page.cta.text }}</a>
|
35
|
+
</footer>
|
36
|
+
{% endif %}
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</section>
|
40
|
+
|
data/_layouts/section_one.html
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
|
1
|
+
{% if page.section-id %}
|
2
|
+
{% assign section-id = page.section-id %}
|
3
|
+
{% else %}
|
4
|
+
{% assign section-id = page.title %}
|
5
|
+
{% endif %}
|
6
|
+
<section id="{{ section-id }}" class="main">
|
2
7
|
{% if page.header %}
|
3
8
|
<header>
|
4
9
|
<div class="container">
|
data/_layouts/section_three.html
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
|
1
|
+
{% if page.section-id %}
|
2
|
+
{% assign section-id = page.section-id %}
|
3
|
+
{% else %}
|
4
|
+
{% assign section-id = page.title %}
|
5
|
+
{% endif %}
|
6
|
+
<section id="{{ section-id }}" class="main">
|
2
7
|
{% if page.header %}
|
3
8
|
<header>
|
4
9
|
<div class="container">
|
@@ -9,7 +14,9 @@
|
|
9
14
|
{% endif %}
|
10
15
|
<div class="content dark style3">
|
11
16
|
<div class="container">
|
12
|
-
|
17
|
+
{% if page.image %}
|
18
|
+
<span class="image featured"><img src="{{ page.image }}" alt="" /></span>
|
19
|
+
{% endif %}
|
13
20
|
<div class="row">
|
14
21
|
{% assign content_body = page.content | split: " " %}
|
15
22
|
{% assign length = content_body | size %}
|
data/_layouts/section_two.html
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
|
1
|
+
{% if page.section-id %}
|
2
|
+
{% assign section-id = page.section-id %}
|
3
|
+
{% else %}
|
4
|
+
{% assign section-id = page.title %}
|
5
|
+
{% endif %}
|
6
|
+
<section id="{{ section-id }}" class="main">
|
2
7
|
{% if page.header %}
|
3
8
|
<header>
|
4
9
|
<div class="container">
|
@@ -22,8 +27,12 @@
|
|
22
27
|
</div>
|
23
28
|
<div class="col-8 col-12-narrow">
|
24
29
|
<div class="row">
|
30
|
+
{% assign column_width = 12 %}
|
31
|
+
{% if page.images.size > 2 %}
|
32
|
+
{% assign column_width = 6 %}
|
33
|
+
{% endif %}
|
25
34
|
{% for image in page.images %}
|
26
|
-
<div class="col-
|
35
|
+
<div class="col-{{ column_width }}">
|
27
36
|
<a href="{{ image.link }}" class="image fit">
|
28
37
|
<img
|
29
38
|
src="{{ image.url }}"
|
data/_sass/custom.scss
ADDED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
/// Breakpoints.
|
6
6
|
/// @var {list}
|
7
|
-
$breakpoints: ()
|
7
|
+
$breakpoints: ();
|
8
8
|
|
9
9
|
// Mixins.
|
10
10
|
|
@@ -41,7 +41,7 @@
|
|
41
41
|
}
|
42
42
|
|
43
43
|
// Less than or equal.
|
44
|
-
@
|
44
|
+
@else if (str-slice($query, 0, 2) == '<=') {
|
45
45
|
|
46
46
|
$op: 'lte';
|
47
47
|
$breakpoint: str-slice($query, 3);
|
@@ -49,7 +49,7 @@
|
|
49
49
|
}
|
50
50
|
|
51
51
|
// Greater than.
|
52
|
-
@
|
52
|
+
@else if (str-slice($query, 0, 1) == '>') {
|
53
53
|
|
54
54
|
$op: 'gt';
|
55
55
|
$breakpoint: str-slice($query, 2);
|
@@ -57,7 +57,7 @@
|
|
57
57
|
}
|
58
58
|
|
59
59
|
// Less than.
|
60
|
-
@
|
60
|
+
@else if (str-slice($query, 0, 1) == '<') {
|
61
61
|
|
62
62
|
$op: 'lt';
|
63
63
|
$breakpoint: str-slice($query, 2);
|
@@ -65,7 +65,7 @@
|
|
65
65
|
}
|
66
66
|
|
67
67
|
// Not.
|
68
|
-
@
|
68
|
+
@else if (str-slice($query, 0, 1) == '!') {
|
69
69
|
|
70
70
|
$op: 'not';
|
71
71
|
$breakpoint: str-slice($query, 2);
|
@@ -100,22 +100,22 @@
|
|
100
100
|
}
|
101
101
|
|
102
102
|
// Less than or equal (<= y)
|
103
|
-
@
|
103
|
+
@else if ($op == 'lte') {
|
104
104
|
$media: 'screen and (max-width: ' + $y + ')';
|
105
105
|
}
|
106
106
|
|
107
107
|
// Greater than (> y)
|
108
|
-
@
|
108
|
+
@else if ($op == 'gt') {
|
109
109
|
$media: 'screen and (min-width: ' + ($y + 1) + ')';
|
110
110
|
}
|
111
111
|
|
112
112
|
// Less than (< 0 / invalid)
|
113
|
-
@
|
113
|
+
@else if ($op == 'lt') {
|
114
114
|
$media: 'screen and (max-width: -1px)';
|
115
115
|
}
|
116
116
|
|
117
117
|
// Not (> y)
|
118
|
-
@
|
118
|
+
@else if ($op == 'not') {
|
119
119
|
$media: 'screen and (min-width: ' + ($y + 1) + ')';
|
120
120
|
}
|
121
121
|
|
@@ -135,22 +135,22 @@
|
|
135
135
|
}
|
136
136
|
|
137
137
|
// Less than or equal (<= inf / anything)
|
138
|
-
@
|
138
|
+
@else if ($op == 'lte') {
|
139
139
|
$media: 'screen';
|
140
140
|
}
|
141
141
|
|
142
142
|
// Greater than (> inf / invalid)
|
143
|
-
@
|
143
|
+
@else if ($op == 'gt') {
|
144
144
|
$media: 'screen and (max-width: -1px)';
|
145
145
|
}
|
146
146
|
|
147
147
|
// Less than (< x)
|
148
|
-
@
|
148
|
+
@else if ($op == 'lt') {
|
149
149
|
$media: 'screen and (max-width: ' + ($x - 1) + ')';
|
150
150
|
}
|
151
151
|
|
152
152
|
// Not (< x)
|
153
|
-
@
|
153
|
+
@else if ($op == 'not') {
|
154
154
|
$media: 'screen and (max-width: ' + ($x - 1) + ')';
|
155
155
|
}
|
156
156
|
|
@@ -170,22 +170,22 @@
|
|
170
170
|
}
|
171
171
|
|
172
172
|
// Less than or equal (<= y)
|
173
|
-
@
|
173
|
+
@else if ($op == 'lte') {
|
174
174
|
$media: 'screen and (max-width: ' + $y + ')';
|
175
175
|
}
|
176
176
|
|
177
177
|
// Greater than (> y)
|
178
|
-
@
|
178
|
+
@else if ($op == 'gt') {
|
179
179
|
$media: 'screen and (min-width: ' + ($y + 1) + ')';
|
180
180
|
}
|
181
181
|
|
182
182
|
// Less than (< x)
|
183
|
-
@
|
183
|
+
@else if ($op == 'lt') {
|
184
184
|
$media: 'screen and (max-width: ' + ($x - 1) + ')';
|
185
185
|
}
|
186
186
|
|
187
187
|
// Not (< x and > y)
|
188
|
-
@
|
188
|
+
@else if ($op == 'not') {
|
189
189
|
$media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')';
|
190
190
|
}
|
191
191
|
|
@@ -220,4 +220,4 @@
|
|
220
220
|
@content;
|
221
221
|
}
|
222
222
|
|
223
|
-
}
|
223
|
+
}
|
@@ -362,7 +362,7 @@
|
|
362
362
|
}
|
363
363
|
|
364
364
|
// Expand just the value?
|
365
|
-
@
|
365
|
+
@else if $expandValue {
|
366
366
|
@each $vendor in $vendor-prefixes {
|
367
367
|
#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
|
368
368
|
}
|
@@ -373,4 +373,4 @@
|
|
373
373
|
#{$property}: #{$value};
|
374
374
|
}
|
375
375
|
|
376
|
-
}
|
376
|
+
}
|
@@ -93,6 +93,59 @@
|
|
93
93
|
appearance: none;
|
94
94
|
}
|
95
95
|
|
96
|
+
/* Navigation Menu */
|
97
|
+
.row.navbar {
|
98
|
+
margin: 0;
|
99
|
+
}
|
100
|
+
.navbar {
|
101
|
+
margin: 0;
|
102
|
+
overflow: visible;
|
103
|
+
position: fixed;
|
104
|
+
top: 0;
|
105
|
+
width: 100vw;
|
106
|
+
z-index: 1000;
|
107
|
+
|
108
|
+
.nav-item {
|
109
|
+
display: inline-block;
|
110
|
+
padding: 0.5em 1em;
|
111
|
+
text-align: center;
|
112
|
+
text-transform: uppercase;
|
113
|
+
background: #f9f9f9;
|
114
|
+
position: relative;
|
115
|
+
|
116
|
+
&:hover {
|
117
|
+
background: #f1f1f1;
|
118
|
+
}
|
119
|
+
|
120
|
+
ul.dropdown {
|
121
|
+
visibility: hidden;
|
122
|
+
position: absolute;
|
123
|
+
top: 100%;
|
124
|
+
left: 0;
|
125
|
+
background-color: #f9f9f9;
|
126
|
+
min-width: 160px;
|
127
|
+
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
128
|
+
z-index: 1000;
|
129
|
+
padding: 0;
|
130
|
+
|
131
|
+
li {
|
132
|
+
display: block;
|
133
|
+
padding: 0.5em 1em;
|
134
|
+
text-align: left;
|
135
|
+
border-bottom: 1px solid #e6e6e6;
|
136
|
+
|
137
|
+
&:hover {
|
138
|
+
background-color: #f1f1f1;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
&:hover ul.dropdown {
|
144
|
+
visibility: visible;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
96
149
|
/* Basic */
|
97
150
|
|
98
151
|
@-ms-viewport {
|
@@ -1001,6 +1054,11 @@
|
|
1001
1054
|
font-size: 1.5em;
|
1002
1055
|
}
|
1003
1056
|
|
1057
|
+
img {
|
1058
|
+
max-width: 100%;
|
1059
|
+
margin: 0 auto;
|
1060
|
+
}
|
1061
|
+
|
1004
1062
|
&.dark {
|
1005
1063
|
background: #433;
|
1006
1064
|
}
|
@@ -1020,6 +1078,7 @@
|
|
1020
1078
|
&.style4 {
|
1021
1079
|
padding-top: 0;
|
1022
1080
|
background: #fff;
|
1081
|
+
color: #000;
|
1023
1082
|
}
|
1024
1083
|
}
|
1025
1084
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tessellate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Preston Hager
|
@@ -37,10 +37,20 @@ files:
|
|
37
37
|
- _includes/contact_form.html
|
38
38
|
- _includes/footer.html
|
39
39
|
- _includes/header.html
|
40
|
+
- _layouts/default.html
|
40
41
|
- _layouts/page.html
|
42
|
+
- _layouts/section_four.html
|
41
43
|
- _layouts/section_one.html
|
42
44
|
- _layouts/section_three.html
|
43
45
|
- _layouts/section_two.html
|
46
|
+
- _sass/custom.scss
|
47
|
+
- _sass/libs/_breakpoints.scss
|
48
|
+
- _sass/libs/_functions.scss
|
49
|
+
- _sass/libs/_html-grid.scss
|
50
|
+
- _sass/libs/_mixins.scss
|
51
|
+
- _sass/libs/_vars.scss
|
52
|
+
- _sass/libs/_vendor.scss
|
53
|
+
- _sass/tessellate.scss
|
44
54
|
- assets/css/fontawesome-all.min.css
|
45
55
|
- assets/css/images/arrow.svg
|
46
56
|
- assets/css/images/bgbl.svg
|
@@ -50,20 +60,13 @@ files:
|
|
50
60
|
- assets/css/images/ie/content-style2.svg
|
51
61
|
- assets/css/images/ie/content-style3.svg
|
52
62
|
- assets/css/images/overlay.png
|
53
|
-
- assets/css/
|
63
|
+
- assets/css/style.scss
|
54
64
|
- assets/js/breakpoints.min.js
|
55
65
|
- assets/js/browser.min.js
|
56
66
|
- assets/js/jquery.min.js
|
57
67
|
- assets/js/jquery.scrolly.min.js
|
58
68
|
- assets/js/main.js
|
59
69
|
- assets/js/util.js
|
60
|
-
- assets/sass/libs/_breakpoints.scss
|
61
|
-
- assets/sass/libs/_functions.scss
|
62
|
-
- assets/sass/libs/_html-grid.scss
|
63
|
-
- assets/sass/libs/_mixins.scss
|
64
|
-
- assets/sass/libs/_vars.scss
|
65
|
-
- assets/sass/libs/_vendor.scss
|
66
|
-
- assets/sass/main.scss
|
67
70
|
- assets/webfonts/fa-brands-400.eot
|
68
71
|
- assets/webfonts/fa-brands-400.svg
|
69
72
|
- assets/webfonts/fa-brands-400.ttf
|