Skip to content

Commit fd2b06b

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 427a001 + bdd3996 commit fd2b06b

File tree

3 files changed

+64
-0
lines changed

3 files changed

+64
-0
lines changed

README

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
All that's missing is the fork. Heh.

forkit.gif

82.6 KB
Loading

index.html

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!DOCTYPE html>
2+
3+
<html>
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6+
7+
<title>Spoon-Knife</title>
8+
<style type="text/css">
9+
* {
10+
margin:0px;
11+
padding:0px;
12+
}
13+
14+
#octocat {
15+
display: block;
16+
width:384px;
17+
margin: 50px auto;
18+
}
19+
20+
p {
21+
display: block;
22+
width: 400px;
23+
margin: 50px auto;
24+
font: 30px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
25+
}
26+
#rainbow-message {
27+
position: absolute;
28+
right: 10px;
29+
top: 10px;
30+
box-shadow: -5px 10px 15px gray;
31+
-moz-box-shadow: -5px 10px 15px gray;
32+
font-family: sans-serif;
33+
}
34+
35+
</style>
36+
<script type="text/javascript">
37+
var keyCodes=new Array(10);
38+
var pattern=[38,38,40,40,37,39,37,39,66,65];
39+
function keydownHandler(e){
40+
keyCodes.shift();
41+
keyCodes.push(e.keyCode);
42+
if(keyCodes.every(function(element, index, array){return element===pattern[index];})){
43+
document.getElementById("rainbow-message").style.display="";
44+
}
45+
}
46+
window.onkeydown=keydownHandler;
47+
</script>
48+
49+
</head>
50+
51+
<body>
52+
53+
<img src="forkit.gif" id="octocat" alt="" />
54+
55+
<p>
56+
Fork me? No, fork you!
57+
</p>
58+
<div id="rainbow-message" style="display:none">
59+
Double repositories all the way across the sky!<br/>
60+
<a href="http://help.github.com/fork-a-repo/">What does it mean?</a>
61+
</div>
62+
</body>
63+
</html>

0 commit comments

Comments
 (0)