Skip to content

Commit

Permalink
remove fork me link in theater mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vjsingh committed Jun 21, 2016
1 parent 05fce70 commit 0787f7e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
<br/><br/> </div>
</div>
</div>
<a target="_blank" href="https://github.com/vjsingh/Virus-Game"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
<a id="fork-me-baby" target="_blank" href="https://github.com/vjsingh/Virus-Game"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>


<!-- Jplayer divs
Expand Down Expand Up @@ -325,6 +325,8 @@
$('.dont-hide-in-theater').siblings().hide();
$('.theater-disable').show();

$('#fork-me-baby').hide();

// center horizontally and vertically
$('.canvas-wrapper').css('position', 'absolute');
$('.canvas-wrapper').css('top', '50%');
Expand All @@ -334,6 +336,7 @@
$('.canvas-wrapper').css('margin-left', '-350px');
$('.canvas-wrapper').css('margin-top', '-300px');


// Restore
$('#scores-wrap').css('display', scoresState);
});
Expand All @@ -343,6 +346,8 @@
$('.dont-hide-in-theater').siblings().show();
$('.theater-disable').hide();

$('#fork-me-baby').show();

// remove added styling
$('.canvas-wrapper').css('position', '');
$('.canvas-wrapper').css('top', '');
Expand All @@ -351,6 +356,7 @@
$('.canvas-wrapper').css('margin-top', '');
$('.canvas-wrapper').css('margin', '0 auto'); // See HTML for canvas-wrapper


// Restore
$('#scores-wrap').css('display', scoresState);
});
Expand Down

0 comments on commit 0787f7e

Please sign in to comment.