Skip to content

Commit 9a046ad

Browse files
Create gh-pages branch via GitHub
0 parents  commit 9a046ad

31 files changed

+2884
-0
lines changed

fonts/copse-regular-webfont.eot

121 KB
Binary file not shown.

fonts/copse-regular-webfont.svg

Lines changed: 247 additions & 0 deletions
Loading

fonts/copse-regular-webfont.ttf

121 KB
Binary file not shown.

fonts/copse-regular-webfont.woff

45.1 KB
Binary file not shown.
53.5 KB
Binary file not shown.

fonts/quattrocentosans-bold-webfont.svg

Lines changed: 247 additions & 0 deletions
Loading
53.3 KB
Binary file not shown.
27.2 KB
Binary file not shown.
60.6 KB
Binary file not shown.

fonts/quattrocentosans-bolditalic-webfont.svg

Lines changed: 248 additions & 0 deletions
Loading
60.4 KB
Binary file not shown.
30.4 KB
Binary file not shown.
64.6 KB
Binary file not shown.

fonts/quattrocentosans-italic-webfont.svg

Lines changed: 247 additions & 0 deletions
Loading
64.4 KB
Binary file not shown.
31.7 KB
Binary file not shown.
53.2 KB
Binary file not shown.

fonts/quattrocentosans-regular-webfont.svg

Lines changed: 247 additions & 0 deletions
Loading
52.9 KB
Binary file not shown.
26.8 KB
Binary file not shown.

images/background.png

4.45 KB
Loading

images/body-background.png

1.07 KB
Loading

images/bullet.png

993 Bytes
Loading

images/hr.gif

1.32 KB
Loading

images/octocat-logo.png

3.01 KB
Loading

index.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6+
<title>Strava-api-v3 by jaredholdcroft</title>
7+
<link rel="stylesheet" href="stylesheets/styles.css">
8+
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
9+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
10+
<script src="javascripts/main.js"></script>
11+
<!--[if lt IE 9]>
12+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13+
<![endif]-->
14+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
15+
16+
</head>
17+
<body>
18+
19+
<header>
20+
<h1>Strava-api-v3</h1>
21+
<p>Strava API V3</p>
22+
</header>
23+
24+
<div id="banner">
25+
<span id="logo"></span>
26+
27+
<a href="https://github.com/jaredholdcroft/strava-api-v3" class="button fork"><strong>View On GitHub</strong></a>
28+
<div class="downloads">
29+
<span>Downloads:</span>
30+
<ul>
31+
<li><a href="https://github.com/jaredholdcroft/strava-api-v3/zipball/master" class="button">ZIP</a></li>
32+
<li><a href="https://github.com/jaredholdcroft/strava-api-v3/tarball/master" class="button">TAR</a></li>
33+
</ul>
34+
</div>
35+
</div><!-- end banner -->
36+
37+
<div class="wrapper">
38+
<nav>
39+
<ul></ul>
40+
</nav>
41+
<section>
42+
<h1>
43+
<a name="strava-api-v3" class="anchor" href="#strava-api-v3"><span class="octicon octicon-link"></span></a>strava-api-v3</h1>
44+
45+
<p>Strava API V3</p>
46+
</section>
47+
<footer>
48+
<p>Project maintained by <a href="https://github.com/jaredholdcroft">jaredholdcroft</a></p>
49+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></small></p>
50+
</footer>
51+
</div>
52+
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
53+
54+
</body>
55+
</html>

javascripts/main.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
var sectionHeight = function() {
2+
var total = $(window).height(),
3+
$section = $('section').css('height','auto');
4+
5+
if ($section.outerHeight(true) < total) {
6+
var margin = $section.outerHeight(true) - $section.height();
7+
$section.height(total - margin - 20);
8+
} else {
9+
$section.css('height','auto');
10+
}
11+
}
12+
13+
$(window).resize(sectionHeight);
14+
15+
$(document).ready(function(){
16+
$("section h1, section h2").each(function(){
17+
$("nav ul").append("<li class='tag-" + this.nodeName.toLowerCase() + "'><a href='#" + $(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'') + "'>" + $(this).text() + "</a></li>");
18+
$(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,''));
19+
$("nav ul li:first-child a").parent().addClass("active");
20+
});
21+
22+
$("nav ul li").on("click", "a", function(event) {
23+
var position = $($(this).attr("href")).offset().top - 190;
24+
$("html, body").animate({scrollTop: position}, 400);
25+
$("nav ul li a").parent().removeClass("active");
26+
$(this).parent().addClass("active");
27+
event.preventDefault();
28+
});
29+
30+
sectionHeight();
31+
32+
$('img').load(sectionHeight);
33+
});
34+
35+
fixScale = function(doc) {
36+
37+
var addEvent = 'addEventListener',
38+
type = 'gesturestart',
39+
qsa = 'querySelectorAll',
40+
scales = [1, 1],
41+
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
42+
43+
function fix() {
44+
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
45+
doc.removeEventListener(type, fix, true);
46+
}
47+
48+
if ((meta = meta[meta.length - 1]) && addEvent in doc) {
49+
fix();
50+
scales = [.25, 1.6];
51+
doc[addEvent](type, fix, true);
52+
}
53+
};

params.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"Strava-api-v3","tagline":"Strava API V3","body":"strava-api-v3\r\n=============\r\n\r\nStrava API V3\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

0 commit comments

Comments
 (0)