Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
31 changed files
with
2,753 additions
and
257 deletions.
There are no files selected for viewing
BIN
+121 KB
fonts/copse-regular-webfont.eot
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+121 KB
fonts/copse-regular-webfont.ttf
Binary file not shown.
BIN
+45.1 KB
fonts/copse-regular-webfont.woff
Binary file not shown.
BIN
+53.5 KB
fonts/quattrocentosans-bold-webfont.eot
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+53.3 KB
fonts/quattrocentosans-bold-webfont.ttf
Binary file not shown.
BIN
+27.2 KB
fonts/quattrocentosans-bold-webfont.woff
Binary file not shown.
BIN
+60.6 KB
fonts/quattrocentosans-bolditalic-webfont.eot
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+60.4 KB
fonts/quattrocentosans-bolditalic-webfont.ttf
Binary file not shown.
BIN
+30.4 KB
fonts/quattrocentosans-bolditalic-webfont.woff
Binary file not shown.
BIN
+64.6 KB
fonts/quattrocentosans-italic-webfont.eot
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+64.4 KB
fonts/quattrocentosans-italic-webfont.ttf
Binary file not shown.
BIN
+31.7 KB
fonts/quattrocentosans-italic-webfont.woff
Binary file not shown.
BIN
+53.2 KB
fonts/quattrocentosans-regular-webfont.eot
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+52.9 KB
fonts/quattrocentosans-regular-webfont.ttf
Binary file not shown.
BIN
+26.8 KB
fonts/quattrocentosans-regular-webfont.woff
Binary file not shown.
BIN
+4.45 KB
images/background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+1.07 KB
images/body-background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+993 Bytes
images/bullet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+1.32 KB
images/hr.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+3.01 KB
images/octocat-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
var sectionHeight = function() { | ||
var total = $(window).height(), | ||
$section = $('section').css('height','auto'); | ||
|
||
if ($section.outerHeight(true) < total) { | ||
var margin = $section.outerHeight(true) - $section.height(); | ||
$section.height(total - margin - 20); | ||
} else { | ||
$section.css('height','auto'); | ||
} | ||
} | ||
|
||
$(window).resize(sectionHeight); | ||
|
||
$(document).ready(function(){ | ||
$("section h1, section h2").each(function(){ | ||
$("nav ul").append("<li class='tag-" + this.nodeName.toLowerCase() + "'><a href='#" + $(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'') + "'>" + $(this).text() + "</a></li>"); | ||
$(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'')); | ||
$("nav ul li:first-child a").parent().addClass("active"); | ||
}); | ||
|
||
$("nav ul li").on("click", "a", function(event) { | ||
var position = $($(this).attr("href")).offset().top - 190; | ||
$("html, body").animate({scrollTop: position}, 400); | ||
$("nav ul li a").parent().removeClass("active"); | ||
$(this).parent().addClass("active"); | ||
event.preventDefault(); | ||
}); | ||
|
||
sectionHeight(); | ||
|
||
$('img').load(sectionHeight); | ||
}); | ||
|
||
fixScale = function(doc) { | ||
|
||
var addEvent = 'addEventListener', | ||
type = 'gesturestart', | ||
qsa = 'querySelectorAll', | ||
scales = [1, 1], | ||
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : []; | ||
|
||
function fix() { | ||
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; | ||
doc.removeEventListener(type, fix, true); | ||
} | ||
|
||
if ((meta = meta[meta.length - 1]) && addEvent in doc) { | ||
fix(); | ||
scales = [.25, 1.6]; | ||
doc[addEvent](type, fix, true); | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.