Skip to content

Commit e40de3b

Browse files
committed
Replace master branch with page content via GitHub
1 parent 89ebc0f commit e40de3b

File tree

3 files changed

+151
-99
lines changed

3 files changed

+151
-99
lines changed

index.html

+28-28
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,37 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
3-
43
<head>
5-
<meta charset='utf-8'>
4+
<meta charset="utf-8">
65
<meta http-equiv="X-UA-Compatible" content="chrome=1">
7-
<meta name="description" content="FFII.Github.io : FFII Developer Site">
8-
9-
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
6+
<title>FFII.Github.io by ffii</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">
1015

11-
<title>FFII.Github.io</title>
1216
</head>
13-
1417
<body>
1518

16-
<!-- HEADER -->
17-
<div id="header_wrap" class="outer">
18-
<header class="inner">
19-
<a id="forkme_banner" href="https://github.com/ffii">View on GitHub</a>
19+
<header>
20+
<h1>FFII.Github.io</h1>
21+
<p>FFII Developer Site</p>
22+
</header>
2023

21-
<h1 id="project_title">FFII.Github.io</h1>
22-
<h2 id="project_tagline">FFII Developer Site</h2>
24+
<div id="banner">
25+
<span id="logo"></span>
2326

24-
</header>
25-
</div>
27+
<a href="https://github.com/ffii" class="button fork"><strong>View On GitHub</strong></a>
28+
</div><!-- end banner -->
2629

27-
<!-- MAIN CONTENT -->
28-
<div id="main_content_wrap" class="outer">
29-
<section id="main_content" class="inner">
30+
<div class="wrapper">
31+
<nav>
32+
<ul></ul>
33+
</nav>
34+
<section>
3035
<h1>
3136
<a id="ffii-software-projects" class="anchor" href="#ffii-software-projects" aria-hidden="true"><span class="octicon octicon-link"></span></a>FFII Software Projects</h1>
3237

@@ -170,16 +175,11 @@ <h1>
170175
<li><a href="http://tasks.ffii.org">http://tasks.ffii.org</a></li>
171176
</ul>
172177
</section>
173-
</div>
174-
175-
<!-- FOOTER -->
176-
<div id="footer_wrap" class="outer">
177-
<footer class="inner">
178-
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
178+
<footer>
179+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></small></p>
179180
</footer>
180181
</div>
181-
182+
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
182183

183-
184184
</body>
185-
</html>
185+
</html>

javascripts/main.js

+53-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,53 @@
1-
console.log('This would be the main JS file.');
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+
};

stylesheets/pygment_trac.css

+70-70
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
1-
.highlight .hll { background-color: #ffffcc }
2-
.highlight { background: #f0f3f3; }
3-
.highlight .c { color: #0099FF; font-style: italic } /* Comment */
4-
.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
5-
.highlight .k { color: #006699; font-weight: bold } /* Keyword */
6-
.highlight .o { color: #555555 } /* Operator */
7-
.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
8-
.highlight .cp { color: #009999 } /* Comment.Preproc */
9-
.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */
10-
.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
11-
.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
12-
.highlight .ge { font-style: italic } /* Generic.Emph */
13-
.highlight .gr { color: #FF0000 } /* Generic.Error */
14-
.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
15-
.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
16-
.highlight .go { color: #AAAAAA } /* Generic.Output */
17-
.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
18-
.highlight .gs { font-weight: bold } /* Generic.Strong */
19-
.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
20-
.highlight .gt { color: #99CC66 } /* Generic.Traceback */
21-
.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
22-
.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
23-
.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
24-
.highlight .kp { color: #006699 } /* Keyword.Pseudo */
25-
.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
26-
.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
27-
.highlight .m { color: #FF6600 } /* Literal.Number */
28-
.highlight .s { color: #CC3300 } /* Literal.String */
29-
.highlight .na { color: #330099 } /* Name.Attribute */
30-
.highlight .nb { color: #336666 } /* Name.Builtin */
31-
.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
32-
.highlight .no { color: #336600 } /* Name.Constant */
33-
.highlight .nd { color: #9999FF } /* Name.Decorator */
34-
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
35-
.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
36-
.highlight .nf { color: #CC00FF } /* Name.Function */
37-
.highlight .nl { color: #9999FF } /* Name.Label */
38-
.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
39-
.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */
40-
.highlight .nv { color: #003333 } /* Name.Variable */
41-
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
42-
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
43-
.highlight .mf { color: #FF6600 } /* Literal.Number.Float */
44-
.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */
45-
.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */
46-
.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */
47-
.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
48-
.highlight .sc { color: #CC3300 } /* Literal.String.Char */
49-
.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
50-
.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
51-
.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
52-
.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
53-
.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
54-
.highlight .sx { color: #CC3300 } /* Literal.String.Other */
55-
.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
56-
.highlight .s1 { color: #CC3300 } /* Literal.String.Single */
57-
.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */
58-
.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
59-
.highlight .vc { color: #003333 } /* Name.Variable.Class */
60-
.highlight .vg { color: #003333 } /* Name.Variable.Global */
61-
.highlight .vi { color: #003333 } /* Name.Variable.Instance */
62-
.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */
63-
64-
.type-csharp .highlight .k { color: #0000FF }
65-
.type-csharp .highlight .kt { color: #0000FF }
66-
.type-csharp .highlight .nf { color: #000000; font-weight: normal }
67-
.type-csharp .highlight .nc { color: #2B91AF }
68-
.type-csharp .highlight .nn { color: #000000 }
69-
.type-csharp .highlight .s { color: #A31515 }
70-
.type-csharp .highlight .sc { color: #A31515 }
1+
.highlight .hll { background-color: #404040 }
2+
.highlight { color: #d0d0d0 }
3+
.highlight .c { color: #999999; font-style: italic } /* Comment */
4+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
5+
.highlight .g { color: #d0d0d0 } /* Generic */
6+
.highlight .k { color: #6ab825; font-weight: normal } /* Keyword */
7+
.highlight .l { color: #d0d0d0 } /* Literal */
8+
.highlight .n { color: #d0d0d0 } /* Name */
9+
.highlight .o { color: #d0d0d0 } /* Operator */
10+
.highlight .x { color: #d0d0d0 } /* Other */
11+
.highlight .p { color: #d0d0d0 } /* Punctuation */
12+
.highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
13+
.highlight .cp { color: #cd2828; font-weight: normal } /* Comment.Preproc */
14+
.highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
15+
.highlight .cs { color: #e50808; font-weight: normal; background-color: #520000 } /* Comment.Special */
16+
.highlight .gd { color: #d22323 } /* Generic.Deleted */
17+
.highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
18+
.highlight .gr { color: #d22323 } /* Generic.Error */
19+
.highlight .gh { color: #ffffff; font-weight: normal } /* Generic.Heading */
20+
.highlight .gi { color: #589819 } /* Generic.Inserted */
21+
.highlight .go { color: #cccccc } /* Generic.Output */
22+
.highlight .gp { color: #aaaaaa } /* Generic.Prompt */
23+
.highlight .gs { color: #d0d0d0; font-weight: normal } /* Generic.Strong */
24+
.highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
25+
.highlight .gt { color: #d22323 } /* Generic.Traceback */
26+
.highlight .kc { color: #6ab825; font-weight: normal } /* Keyword.Constant */
27+
.highlight .kd { color: #6ab825; font-weight: normal } /* Keyword.Declaration */
28+
.highlight .kn { color: #6ab825; font-weight: normal } /* Keyword.Namespace */
29+
.highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
30+
.highlight .kr { color: #6ab825; font-weight: normal } /* Keyword.Reserved */
31+
.highlight .kt { color: #6ab825; font-weight: normal } /* Keyword.Type */
32+
.highlight .ld { color: #d0d0d0 } /* Literal.Date */
33+
.highlight .m { color: #3677a9 } /* Literal.Number */
34+
.highlight .s { color: #ff8 } /* Literal.String */
35+
.highlight .na { color: #bbbbbb } /* Name.Attribute */
36+
.highlight .nb { color: #24909d } /* Name.Builtin */
37+
.highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
38+
.highlight .no { color: #40ffff } /* Name.Constant */
39+
.highlight .nd { color: #ffa500 } /* Name.Decorator */
40+
.highlight .ni { color: #d0d0d0 } /* Name.Entity */
41+
.highlight .ne { color: #bbbbbb } /* Name.Exception */
42+
.highlight .nf { color: #447fcf } /* Name.Function */
43+
.highlight .nl { color: #d0d0d0 } /* Name.Label */
44+
.highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
45+
.highlight .nx { color: #d0d0d0 } /* Name.Other */
46+
.highlight .py { color: #d0d0d0 } /* Name.Property */
47+
.highlight .nt { color: #6ab825;} /* Name.Tag */
48+
.highlight .nv { color: #40ffff } /* Name.Variable */
49+
.highlight .ow { color: #6ab825; font-weight: normal } /* Operator.Word */
50+
.highlight .w { color: #666666 } /* Text.Whitespace */
51+
.highlight .mf { color: #3677a9 } /* Literal.Number.Float */
52+
.highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
53+
.highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
54+
.highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
55+
.highlight .sb { color: #ff8 } /* Literal.String.Backtick */
56+
.highlight .sc { color: #ff8 } /* Literal.String.Char */
57+
.highlight .sd { color: #ff8 } /* Literal.String.Doc */
58+
.highlight .s2 { color: #ff8 } /* Literal.String.Double */
59+
.highlight .se { color: #ff8 } /* Literal.String.Escape */
60+
.highlight .sh { color: #ff8 } /* Literal.String.Heredoc */
61+
.highlight .si { color: #ff8 } /* Literal.String.Interpol */
62+
.highlight .sx { color: #ffa500 } /* Literal.String.Other */
63+
.highlight .sr { color: #ff8 } /* Literal.String.Regex */
64+
.highlight .s1 { color: #ff8 } /* Literal.String.Single */
65+
.highlight .ss { color: #ff8 } /* Literal.String.Symbol */
66+
.highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
67+
.highlight .vc { color: #40ffff } /* Name.Variable.Class */
68+
.highlight .vg { color: #40ffff } /* Name.Variable.Global */
69+
.highlight .vi { color: #40ffff } /* Name.Variable.Instance */
70+
.highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */

0 commit comments

Comments
 (0)