Skip to content

Commit

Permalink
end screen looks nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
Vermilingua committed Nov 1, 2013
1 parent d7fc109 commit e60abd0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions css/space.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,8 @@
color:#FFFFFF;
opacity:0;
position:relative;
}

.endGameRestart {
font-size: 32px;
}
4 changes: 3 additions & 1 deletion script/space.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ var Space = {
.animate({opacity:1},1500);
$('<br />')
.appendTo('.centerCont');
$('<br />')
.appendTo('.centerCont');

$('#starsContainer').remove();
if(typeof Storage != 'undefined' && localStorage) {
Expand All @@ -426,7 +428,7 @@ var Space = {
$('#content, #notifications').remove();
$('.deleteSave, .share, .manualSave').attr('style', 'color: white;').animate({opacity:0},1500);
$('<span>')
.addClass('deleteSave endGame')
.addClass('deleteSave endGame endGameRestart')
.text('restart.')
.click(Engine.confirmDelete)
.appendTo('.centerCont')
Expand Down

0 comments on commit e60abd0

Please sign in to comment.