Skip to content
This repository
Browse code

Added hidden double rainbow reference; added title

  • Loading branch information...
commit 79a1dc04c4ef9ebec195e644ef0f8084f8b17467 1 parent fd0a1b2
zhuowei zhuowei authored

Showing 1 changed file with 26 additions and 2 deletions. Show diff stats Hide diff stats

  1. +26 2 index.html
28 index.html
@@ -4,7 +4,7 @@
4 4 <head>
5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6 6
7   - <title>Untitled</title>
  7 + <title>Spoon-Knife</title>
8 8 <style type="text/css">
9 9 * {
10 10 margin:0px;
@@ -23,8 +23,29 @@
23 23 margin: 50px auto;
24 24 font: 30px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
25 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 + }
26 34
27 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 +
28 49 </head>
29 50
30 51 <body>
@@ -34,6 +55,9 @@
34 55 <p>
35 56 Fork me? No, fork you!
36 57 </p>
37   -
  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>
38 62 </body>
39 63 </html>

5 comments on commit 79a1dc0

elieli

gevald

Peaches491

This commit made my day

Till Zoppke

why not?

netSlayer23274

$ GIT AWAY!!!

Bilgehan

If you click up up down down left right left right b a characters, you'll see the hidden reference.

Please sign in to comment.
Something went wrong with that request. Please try again.