Skip to content

Commit 20811ef

Browse files
committed
deploy: 7028b15
0 parents  commit 20811ef

File tree

385 files changed

+43622
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

385 files changed

+43622
-0
lines changed

.nojekyll

Whitespace-only changes.

assets/css/fontawesome-all.min.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/main.css

Lines changed: 3404 additions & 0 deletions
Large diffs are not rendered by default.

assets/css/noscript.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
Phantom 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+
/* Tiles */
8+
9+
body.is-preload .tiles article {
10+
-moz-transform: none;
11+
-webkit-transform: none;
12+
-ms-transform: none;
13+
transform: none;
14+
opacity: 1;
15+
}

assets/js/breakpoints.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/browser.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/jquery.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/main.js

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
/*
2+
Phantom 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+
(function($) {
8+
9+
var $window = $(window),
10+
$body = $('body');
11+
12+
// Breakpoints.
13+
breakpoints({
14+
xlarge: [ '1281px', '1680px' ],
15+
large: [ '981px', '1280px' ],
16+
medium: [ '737px', '980px' ],
17+
small: [ '481px', '736px' ],
18+
xsmall: [ '361px', '480px' ],
19+
xxsmall: [ null, '360px' ]
20+
});
21+
22+
// Play initial animations on page load.
23+
$window.on('load', function() {
24+
window.setTimeout(function() {
25+
$body.removeClass('is-preload');
26+
}, 100);
27+
});
28+
29+
// Touch?
30+
if (browser.mobile)
31+
$body.addClass('is-touch');
32+
33+
// Forms.
34+
var $form = $('form');
35+
36+
// Auto-resizing textareas.
37+
$form.find('textarea').each(function() {
38+
39+
var $this = $(this),
40+
$wrapper = $('<div class="textarea-wrapper"></div>'),
41+
$submits = $this.find('input[type="submit"]');
42+
43+
$this
44+
.wrap($wrapper)
45+
.attr('rows', 1)
46+
.css('overflow', 'hidden')
47+
.css('resize', 'none')
48+
.on('keydown', function(event) {
49+
50+
if (event.keyCode == 13
51+
&& event.ctrlKey) {
52+
53+
event.preventDefault();
54+
event.stopPropagation();
55+
56+
$(this).blur();
57+
58+
}
59+
60+
})
61+
.on('blur focus', function() {
62+
$this.val($.trim($this.val()));
63+
})
64+
.on('input blur focus --init', function() {
65+
66+
$wrapper
67+
.css('height', $this.height());
68+
69+
$this
70+
.css('height', 'auto')
71+
.css('height', $this.prop('scrollHeight') + 'px');
72+
73+
})
74+
.on('keyup', function(event) {
75+
76+
if (event.keyCode == 9)
77+
$this
78+
.select();
79+
80+
})
81+
.triggerHandler('--init');
82+
83+
// Fix.
84+
if (browser.name == 'ie'
85+
|| browser.mobile)
86+
$this
87+
.css('max-height', '10em')
88+
.css('overflow-y', 'auto');
89+
90+
});
91+
92+
// Menu.
93+
var $menu = $('#menu');
94+
95+
$menu.wrapInner('<div class="inner"></div>');
96+
97+
$menu._locked = false;
98+
99+
$menu._lock = function() {
100+
101+
if ($menu._locked)
102+
return false;
103+
104+
$menu._locked = true;
105+
106+
window.setTimeout(function() {
107+
$menu._locked = false;
108+
}, 350);
109+
110+
return true;
111+
112+
};
113+
114+
$menu._show = function() {
115+
116+
if ($menu._lock())
117+
$body.addClass('is-menu-visible');
118+
119+
};
120+
121+
$menu._hide = function() {
122+
123+
if ($menu._lock())
124+
$body.removeClass('is-menu-visible');
125+
126+
};
127+
128+
$menu._toggle = function() {
129+
130+
if ($menu._lock())
131+
$body.toggleClass('is-menu-visible');
132+
133+
};
134+
135+
$menu
136+
.appendTo($body)
137+
.on('click', function(event) {
138+
event.stopPropagation();
139+
})
140+
.on('click', 'a', function(event) {
141+
142+
var href = $(this).attr('href');
143+
144+
event.preventDefault();
145+
event.stopPropagation();
146+
147+
// Hide.
148+
$menu._hide();
149+
150+
// Redirect.
151+
if (href == '#menu')
152+
return;
153+
154+
window.setTimeout(function() {
155+
window.location.href = href;
156+
}, 350);
157+
158+
})
159+
.append('<a class="close" href="#menu">Close</a>');
160+
161+
$body
162+
.on('click', 'a[href="#menu"]', function(event) {
163+
164+
event.stopPropagation();
165+
event.preventDefault();
166+
167+
// Toggle.
168+
$menu._toggle();
169+
170+
})
171+
.on('click', function(event) {
172+
173+
// Hide.
174+
$menu._hide();
175+
176+
})
177+
.on('keydown', function(event) {
178+
179+
// Hide on escape.
180+
if (event.keyCode == 27)
181+
$menu._hide();
182+
183+
});
184+
185+
})(jQuery);

0 commit comments

Comments
 (0)