Skip to content

Commit

Permalink
Logo and end screen
Browse files Browse the repository at this point in the history
  • Loading branch information
hejelin committed Nov 23, 2014
1 parent 747e6a6 commit a57b2ee
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/partials/game.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


<div id="game-header"><h2><a href="/">BACK</a></div>
<div id="game-header"><h2><a href="/"><img src="content/image/logo.png" alt="logo" id="logo" /> <h2>Saturn</h2></a></div>
<!-- <input type="button" value = "Add Song" ng&#45;click="addSong()"> -->
<div class="rings-in-back"></div>
<div class="rings-in-front"></div>
Expand Down
2 changes: 1 addition & 1 deletion app/partials/start.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="start">
<img src="content/image/logo.png" alt="logo" id="logo" />
<h1>SATURN</h1>
<h1>Saturn</h1>

<p>Expand your music collection and <br>guess when music was made!</p>
<a href="/game"><button>Play!</button></a>
Expand Down
6 changes: 6 additions & 0 deletions app/partials/win.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div id="win">
<img src="content/image/logo.png" alt="logo" id="logo" />

<h2>YOU WON!</h2>
<p>Hope you had fun! Here are all the songs:</p>
</div>
26 changes: 20 additions & 6 deletions content/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,20 @@ label {
#game-header {
background: #eee;
width: 100%;
padding: 25px;
padding: 5px 15px;
}

#game-header #logo {
height: 60px;
display: inline-block;
vertical-align: middle;
}

#game-header h2 {
display: inline-block;
vertical-align: middle;
font-size: 34px;
padding-left: 10px;
}

.caret-down {
Expand Down Expand Up @@ -109,7 +122,7 @@ label {
border-radius: 50% 50% 0 0;
-moz-border-radius: 50% 50% 0 0;
-webkit-border-radius: 50% 50% 0 0;
border-top: 4px solid #ff9000;
border-top: 8px solid #ff9000;
margin: auto;
position: relative;
top: 177px;
Expand All @@ -125,7 +138,7 @@ label {
border-radius: 50% 50%;
-moz-border-radius: 50% 50%;
-webkit-border-radius: 50% 50%;
border-bottom: 4px solid #ff9000;
border-bottom: 8px solid #ff9000;
margin: auto;
margin-bottom: -40px;
position: relative;
Expand Down Expand Up @@ -161,7 +174,7 @@ label {
}

.title {
font-size: 24px;
font-size: 24px !important;
font-weight: bold;
}

Expand Down Expand Up @@ -216,10 +229,11 @@ label {
margin-left: -200px;
top: 380px;
text-align: center;
font-size: 16px;
}

#song-details h2 {
font-size: 24px;
font-size: 18px;
}

#current-song-circle, .song-circle {
Expand Down Expand Up @@ -316,7 +330,7 @@ label {
padding-bottom: 45px;
}

#start #logo {
#start #logo, #win #logo {
width: 250px;
margin-bottom: 25px;
}
Expand Down

0 comments on commit a57b2ee

Please sign in to comment.