fortyone-jekyll-theme 1.0.0
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 +7 -0
- data/LICENSE.md +63 -0
- data/README.md +71 -0
- data/_includes/footer.html +105 -0
- data/_includes/head.html +9 -0
- data/_includes/header.html +30 -0
- data/_includes/tiles.html +28 -0
- data/_layouts/allposts.html +17 -0
- data/_layouts/alltags.html +59 -0
- data/_layouts/home.html +55 -0
- data/_layouts/landing.html +39 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +36 -0
- data/_sass/base/_page.scss +38 -0
- data/_sass/base/_typography.scss +173 -0
- data/_sass/components/_box.scss +25 -0
- data/_sass/components/_button.scss +132 -0
- data/_sass/components/_contact-method.scss +23 -0
- data/_sass/components/_form.scss +224 -0
- data/_sass/components/_icon.scss +50 -0
- data/_sass/components/_image.scss +62 -0
- data/_sass/components/_list.scss +148 -0
- data/_sass/components/_section.scss +69 -0
- data/_sass/components/_spotlights.scss +119 -0
- data/_sass/components/_table.scss +81 -0
- data/_sass/components/_tiles.scss +183 -0
- data/_sass/fortyone-jekyll-theme.scss +1 -0
- data/_sass/ie8.scss +50 -0
- data/_sass/ie9.scss +115 -0
- data/_sass/layout/_banner.scss +177 -0
- data/_sass/layout/_contact.scss +93 -0
- data/_sass/layout/_footer.scss +42 -0
- data/_sass/layout/_header.scss +248 -0
- data/_sass/layout/_main.scss +26 -0
- data/_sass/layout/_menu.scss +164 -0
- data/_sass/layout/_wrapper.scss +28 -0
- data/_sass/libs/_functions.scss +34 -0
- data/_sass/libs/_mixins.scss +56 -0
- data/_sass/libs/_skel.scss +585 -0
- data/_sass/libs/_vars.scss +47 -0
- data/_sass/main.scss +78 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/ie8.css +43 -0
- data/assets/css/ie9.css +94 -0
- data/assets/css/main.css +3916 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +685 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/images/banner.jpg +0 -0
- data/assets/images/forty.jpg +0 -0
- data/assets/images/pic01.jpg +0 -0
- data/assets/images/pic02.jpg +0 -0
- data/assets/images/pic03.jpg +0 -0
- data/assets/images/pic04.jpg +0 -0
- data/assets/images/pic05.jpg +0 -0
- data/assets/images/pic06.jpg +0 -0
- data/assets/images/pic07.jpg +0 -0
- data/assets/images/pic08.jpg +0 -0
- data/assets/images/pic09.jpg +0 -0
- data/assets/images/pic10.jpg +0 -0
- data/assets/images/pic11.jpg +0 -0
- data/assets/js/ie/.directory +3 -0
- data/assets/js/ie/backgroundsize.min.htc +7 -0
- data/assets/js/ie/html5shiv.js +8 -0
- data/assets/js/ie/respond.min.js +6 -0
- data/assets/js/jquery.min.js +5 -0
- data/assets/js/jquery.scrollex.min.js +2 -0
- data/assets/js/jquery.scrolly.min.js +2 -0
- data/assets/js/main.js +352 -0
- data/assets/js/skel.min.js +2 -0
- data/assets/js/util.js +587 -0
- metadata +146 -0
@@ -0,0 +1,248 @@
|
|
1
|
+
///
|
2
|
+
/// Forty by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Header */
|
8
|
+
|
9
|
+
@include keyframes('reveal-header') {
|
10
|
+
0% { top: -4em; opacity: 0; }
|
11
|
+
100% { top: 0; opacity: 1; }
|
12
|
+
}
|
13
|
+
|
14
|
+
#header {
|
15
|
+
@include vendor('display', 'flex');
|
16
|
+
background-color: _palette(bg-alt);
|
17
|
+
box-shadow: 0 0 0.25em 0 rgba(0,0,0,0.15);
|
18
|
+
cursor: default;
|
19
|
+
font-weight: _font(weight-bold);
|
20
|
+
height: 3.25em;
|
21
|
+
left: 0;
|
22
|
+
letter-spacing: _font(letter-spacing-alt);
|
23
|
+
line-height: 3.25em;
|
24
|
+
margin: 0;
|
25
|
+
position: fixed;
|
26
|
+
text-transform: uppercase;
|
27
|
+
top: 0;
|
28
|
+
width: 100%;
|
29
|
+
z-index: _misc(z-index-base);
|
30
|
+
|
31
|
+
.logo {
|
32
|
+
border: 0;
|
33
|
+
display: inline-block;
|
34
|
+
font-size: 0.8em;
|
35
|
+
height: inherit;
|
36
|
+
line-height: inherit;
|
37
|
+
padding: 0 1.5em;
|
38
|
+
|
39
|
+
strong {
|
40
|
+
@include vendor('transition', (
|
41
|
+
'background-color #{_duration(transition)} ease-in-out',
|
42
|
+
'color #{_duration(transition)} ease-in-out'
|
43
|
+
));
|
44
|
+
background-color: _palette(fg-bold);
|
45
|
+
color: _palette(bg);
|
46
|
+
display: inline-block;
|
47
|
+
line-height: 1.65em;
|
48
|
+
margin-right: 0.325em;
|
49
|
+
padding: 0 0.125em 0 (_font(letter-spacing-alt) + 0.125em);
|
50
|
+
}
|
51
|
+
|
52
|
+
&:hover {
|
53
|
+
strong {
|
54
|
+
background-color: _palette(highlight);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
&:active {
|
59
|
+
strong {
|
60
|
+
background-color: desaturate(darken(_palette(highlight), 15), 5);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
nav {
|
66
|
+
@include vendor('display', 'flex');
|
67
|
+
@include vendor('justify-content', 'flex-end');
|
68
|
+
@include vendor('flex-grow', '1');
|
69
|
+
height: inherit;
|
70
|
+
line-height: inherit;
|
71
|
+
|
72
|
+
a {
|
73
|
+
border: 0;
|
74
|
+
display: block;
|
75
|
+
font-size: 0.8em;
|
76
|
+
height: inherit;
|
77
|
+
line-height: inherit;
|
78
|
+
padding: 0 0.75em;
|
79
|
+
position: relative;
|
80
|
+
vertical-align: middle;
|
81
|
+
|
82
|
+
&:last-child {
|
83
|
+
padding-right: 1.5em;
|
84
|
+
}
|
85
|
+
|
86
|
+
&[href="#menu"] {
|
87
|
+
padding-right: 3.325em !important;
|
88
|
+
|
89
|
+
&:before, &:after {
|
90
|
+
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 32" preserveAspectRatio="none"><style>line { stroke-width: 2px; stroke: #{_palette(fg-bold)}; }</style><line x1="0" y1="11" x2="24" y2="11" /><line x1="0" y1="21" x2="24" y2="21" /><line x1="0" y1="16" x2="24" y2="16" /></svg>');
|
91
|
+
background-position: center;
|
92
|
+
background-repeat: no-repeat;
|
93
|
+
background-size: 24px 32px;
|
94
|
+
content: '';
|
95
|
+
display: block;
|
96
|
+
height: 100%;
|
97
|
+
position: absolute;
|
98
|
+
right: 1.5em;
|
99
|
+
top: 0;
|
100
|
+
vertical-align: middle;
|
101
|
+
width: 24px;
|
102
|
+
}
|
103
|
+
|
104
|
+
&:after {
|
105
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
|
106
|
+
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 32" preserveAspectRatio="none"><style>line { stroke-width: 2px; stroke: #{_palette(highlight)}; }</style><line x1="0" y1="11" x2="24" y2="11" /><line x1="0" y1="21" x2="24" y2="21" /><line x1="0" y1="16" x2="24" y2="16" /></svg>');
|
107
|
+
opacity: 0;
|
108
|
+
z-index: 1;
|
109
|
+
}
|
110
|
+
|
111
|
+
&:hover, &:active {
|
112
|
+
&:after {
|
113
|
+
opacity: 1;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&:last-child {
|
118
|
+
padding-right: 3.875em !important;
|
119
|
+
|
120
|
+
&:before, &:after {
|
121
|
+
right: 2em;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
&.reveal {
|
129
|
+
@include vendor('animation', 'reveal-header 0.35s ease');
|
130
|
+
}
|
131
|
+
|
132
|
+
&.alt {
|
133
|
+
@include vendor('transition', 'opacity #{_duration(banner)} ease');
|
134
|
+
@include vendor('transition-delay', '0.75s');
|
135
|
+
@include vendor('animation', 'none');
|
136
|
+
background-color: transparent;
|
137
|
+
box-shadow: none;
|
138
|
+
position: absolute;
|
139
|
+
|
140
|
+
&.style1 { .logo { strong { color: _palette(accent1); } } }
|
141
|
+
&.style2 { .logo { strong { color: _palette(accent2); } } }
|
142
|
+
&.style3 { .logo { strong { color: _palette(accent3); } } }
|
143
|
+
&.style4 { .logo { strong { color: _palette(accent4); } } }
|
144
|
+
&.style5 { .logo { strong { color: _palette(accent5); } } }
|
145
|
+
&.style6 { .logo { strong { color: _palette(accent6); } } }
|
146
|
+
}
|
147
|
+
|
148
|
+
body.is-loading & {
|
149
|
+
&.alt {
|
150
|
+
opacity: 0;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
@include breakpoint(xlarge) {
|
155
|
+
nav {
|
156
|
+
a {
|
157
|
+
&[href="#menu"] {
|
158
|
+
padding-right: 3.75em !important;
|
159
|
+
|
160
|
+
&:last-child {
|
161
|
+
padding-right: 4.25em !important;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
@include breakpoint(large) {
|
169
|
+
nav {
|
170
|
+
a {
|
171
|
+
&[href="#menu"] {
|
172
|
+
padding-right: 4em !important;
|
173
|
+
|
174
|
+
&:last-child {
|
175
|
+
padding-right: 4.5em !important;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
@include breakpoint(small) {
|
183
|
+
height: 2.75em;
|
184
|
+
line-height: 2.75em;
|
185
|
+
|
186
|
+
.logo {
|
187
|
+
padding: 0 1em;
|
188
|
+
}
|
189
|
+
|
190
|
+
nav {
|
191
|
+
a {
|
192
|
+
padding: 0 0.5em;
|
193
|
+
|
194
|
+
&:last-child {
|
195
|
+
padding-right: 1em;
|
196
|
+
}
|
197
|
+
|
198
|
+
&[href="#menu"] {
|
199
|
+
padding-right: 3.25em !important;
|
200
|
+
|
201
|
+
&:before, &:after {
|
202
|
+
right: 0.75em;
|
203
|
+
}
|
204
|
+
|
205
|
+
&:last-child {
|
206
|
+
padding-right: 4em !important;
|
207
|
+
|
208
|
+
&:before, &:after {
|
209
|
+
right: 1.5em;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
@include breakpoint(xsmall) {
|
218
|
+
.logo {
|
219
|
+
span {
|
220
|
+
display: none;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
nav {
|
225
|
+
a {
|
226
|
+
&[href="#menu"] {
|
227
|
+
overflow: hidden;
|
228
|
+
padding-right: 0 !important;
|
229
|
+
text-indent: 5em;
|
230
|
+
white-space: nowrap;
|
231
|
+
width: 5em;
|
232
|
+
|
233
|
+
&:before, &:after {
|
234
|
+
right: 0;
|
235
|
+
width: inherit;
|
236
|
+
}
|
237
|
+
|
238
|
+
&:last-child {
|
239
|
+
&:before, &:after {
|
240
|
+
width: 4em;
|
241
|
+
right: 0;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
///
|
2
|
+
/// Forty by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Main */
|
8
|
+
|
9
|
+
#main {
|
10
|
+
background-color: _palette(bg-alt);
|
11
|
+
|
12
|
+
> * {
|
13
|
+
border-top: solid 1px _palette(border);
|
14
|
+
|
15
|
+
&:first-child {
|
16
|
+
border-top: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
@include inner;
|
20
|
+
}
|
21
|
+
|
22
|
+
&.alt {
|
23
|
+
background-color: transparent;
|
24
|
+
border-bottom: solid 1px _palette(border);
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,164 @@
|
|
1
|
+
///
|
2
|
+
/// Forty by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Menu */
|
8
|
+
|
9
|
+
#menu {
|
10
|
+
@include vendor('transition', (
|
11
|
+
'transform #{_duration(menu)} ease',
|
12
|
+
'opacity #{_duration(menu)} ease',
|
13
|
+
'visibility #{_duration(menu)}'
|
14
|
+
));
|
15
|
+
@include vendor('align-items', 'center');
|
16
|
+
@include vendor('display', 'flex');
|
17
|
+
@include vendor('justify-content', 'center');
|
18
|
+
@include vendor('pointer-events', 'none');
|
19
|
+
background: transparentize(_palette(bg), 0.1);
|
20
|
+
box-shadow: none;
|
21
|
+
height: 100%;
|
22
|
+
left: 0;
|
23
|
+
opacity: 0;
|
24
|
+
overflow: hidden;
|
25
|
+
padding: 3em 2em;
|
26
|
+
position: fixed;
|
27
|
+
top: 0;
|
28
|
+
visibility: hidden;
|
29
|
+
width: 100%;
|
30
|
+
z-index: _misc(z-index-base) + 2;
|
31
|
+
|
32
|
+
.inner {
|
33
|
+
@include vendor('transition', (
|
34
|
+
'transform #{_duration(menu)} ease-out',
|
35
|
+
'opacity #{_duration(menu)} ease',
|
36
|
+
'visibility #{_duration(menu)}'
|
37
|
+
));
|
38
|
+
@include vendor('transform', 'rotateX(20deg)');
|
39
|
+
-webkit-overflow-scrolling: touch;
|
40
|
+
max-width: 100%;
|
41
|
+
max-height: 100vh;
|
42
|
+
opacity: 0;
|
43
|
+
overflow: auto;
|
44
|
+
text-align: center;
|
45
|
+
visibility: hidden;
|
46
|
+
width: 18em;
|
47
|
+
|
48
|
+
> :first-child {
|
49
|
+
margin-top: _size(element-margin);
|
50
|
+
}
|
51
|
+
|
52
|
+
> :last-child {
|
53
|
+
margin-bottom: (_size(element-margin) * 1.5);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
ul {
|
58
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
59
|
+
|
60
|
+
&.links {
|
61
|
+
list-style: none;
|
62
|
+
padding: 0;
|
63
|
+
|
64
|
+
> li {
|
65
|
+
padding: 0;
|
66
|
+
|
67
|
+
> a:not(.button) {
|
68
|
+
border: 0;
|
69
|
+
border-top: solid 1px _palette(border);
|
70
|
+
display: block;
|
71
|
+
font-size: 0.8em;
|
72
|
+
font-weight: _font(weight-bold);
|
73
|
+
letter-spacing: _font(letter-spacing-alt);
|
74
|
+
line-height: 4em;
|
75
|
+
text-decoration: none;
|
76
|
+
text-transform: uppercase;
|
77
|
+
}
|
78
|
+
|
79
|
+
> .button {
|
80
|
+
display: block;
|
81
|
+
margin: 0.5em 0 0 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
&:first-child {
|
85
|
+
> a:not(.button) {
|
86
|
+
border-top: 0 !important;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.close {
|
94
|
+
@include vendor('transition', 'color #{_duration(transition)} ease-in-out');
|
95
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
96
|
+
border: 0;
|
97
|
+
cursor: pointer;
|
98
|
+
display: block;
|
99
|
+
height: 4em;
|
100
|
+
line-height: 4em;
|
101
|
+
overflow: hidden;
|
102
|
+
padding-right: 1.25em;
|
103
|
+
position: absolute;
|
104
|
+
right: 0;
|
105
|
+
text-align: right;
|
106
|
+
text-indent: 8em;
|
107
|
+
top: 0;
|
108
|
+
vertical-align: middle;
|
109
|
+
white-space: nowrap;
|
110
|
+
width: 8em;
|
111
|
+
|
112
|
+
&:before, &:after {
|
113
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
|
114
|
+
background-position: center;
|
115
|
+
background-repeat: no-repeat;
|
116
|
+
content: '';
|
117
|
+
display: block;
|
118
|
+
height: 4em;
|
119
|
+
position: absolute;
|
120
|
+
right: 0;
|
121
|
+
top: 0;
|
122
|
+
width: 4em;
|
123
|
+
}
|
124
|
+
|
125
|
+
&:before {
|
126
|
+
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20px" height="20px" viewBox="0 0 20 20" zoomAndPan="disable"><style>line { stroke: #{_palette(fg-bold)}; stroke-width: 2; }</style><line x1="0" y1="0" x2="20" y2="20" /><line x1="20" y1="0" x2="0" y2="20" /></svg>');
|
127
|
+
}
|
128
|
+
|
129
|
+
&:after {
|
130
|
+
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20px" height="20px" viewBox="0 0 20 20" zoomAndPan="disable"><style>line { stroke: #{_palette(highlight)}; stroke-width: 2; }</style><line x1="0" y1="0" x2="20" y2="20" /><line x1="20" y1="0" x2="0" y2="20" /></svg>');
|
131
|
+
opacity: 0;
|
132
|
+
}
|
133
|
+
|
134
|
+
&:hover, &:active {
|
135
|
+
&:after {
|
136
|
+
opacity: 1;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
body.is-ie {
|
143
|
+
#menu {
|
144
|
+
background: transparentize(_palette(bg-alt), 0.025);
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
body.is-menu-visible {
|
149
|
+
#wrapper {
|
150
|
+
@include vendor('filter', 'blur(0.5em)');
|
151
|
+
}
|
152
|
+
|
153
|
+
#menu {
|
154
|
+
@include vendor('pointer-events', 'auto');
|
155
|
+
opacity: 1;
|
156
|
+
visibility: visible;
|
157
|
+
|
158
|
+
.inner {
|
159
|
+
@include vendor('transform', 'none');
|
160
|
+
opacity: 1;
|
161
|
+
visibility: visible;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
///
|
2
|
+
/// Forty by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Wrapper */
|
8
|
+
|
9
|
+
#wrapper {
|
10
|
+
@include vendor('transition', (
|
11
|
+
'filter #{_duration(menu)} ease',
|
12
|
+
'-webkit-filter #{_duration(menu)} ease',
|
13
|
+
'opacity 0.375s ease-out'
|
14
|
+
));
|
15
|
+
padding-top: 3.25em;
|
16
|
+
|
17
|
+
&.is-transitioning {
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
> * {
|
22
|
+
@include inner;
|
23
|
+
}
|
24
|
+
|
25
|
+
@include breakpoint(small) {
|
26
|
+
padding-top: 2.75em;
|
27
|
+
}
|
28
|
+
}
|