Skip to content

Commit 8cbe3b5

Browse files
authored
伊藤先生が使ってたテンプレより
1 parent be9eeef commit 8cbe3b5

16 files changed

+2977
-0
lines changed

here/assets/css/font-awesome.min.css

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

here/assets/css/main.css

Lines changed: 1572 additions & 0 deletions
Large diffs are not rendered by default.
74.7 KB
Binary file not shown.

here/assets/fonts/fontawesome-webfont.svg

Lines changed: 685 additions & 0 deletions
Loading
149 KB
Binary file not shown.
88.3 KB
Binary file not shown.
70.2 KB
Binary file not shown.

here/assets/js/jquery.min.js

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

here/assets/js/main.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/*
2+
Epilogue by TEMPLATED
3+
templated.co @templatedco
4+
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
5+
*/
6+
7+
(function($) {
8+
9+
skel.breakpoints({
10+
xlarge: '(max-width: 1680px)',
11+
large: '(max-width: 1280px)',
12+
medium: '(max-width: 980px)',
13+
small: '(max-width: 736px)',
14+
xsmall: '(max-width: 480px)',
15+
xxsmall: '(max-width: 360px)'
16+
});
17+
18+
$(function() {
19+
20+
var $window = $(window),
21+
$body = $('body');
22+
23+
// Disable animations/transitions until the page has loaded.
24+
$body.addClass('is-loading');
25+
26+
$window.on('load', function() {
27+
window.setTimeout(function() {
28+
$body.removeClass('is-loading');
29+
}, 100);
30+
});
31+
32+
// Fix: Placeholder polyfill.
33+
$('form').placeholder();
34+
35+
// Prioritize "important" elements on medium.
36+
skel.on('+medium -medium', function() {
37+
$.prioritize(
38+
'.important\\28 medium\\29',
39+
skel.breakpoint('medium').active
40+
);
41+
});
42+
43+
// Items.
44+
$('.item').each(function() {
45+
46+
var $this = $(this),
47+
$header = $this.find('header'),
48+
$a = $header.find('a'),
49+
$img = $header.find('img');
50+
51+
// Set background.
52+
$a.css('background-image', 'url(' + $img.attr('src') + ')');
53+
54+
// Remove original image.
55+
$img.remove();
56+
57+
});
58+
59+
});
60+
61+
})(jQuery);

here/assets/js/skel.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.

0 commit comments

Comments
 (0)