Removed the new button from the home view.

This commit is contained in:
Scott Erickson 2014-03-16 17:48:16 -07:00
parent e430a6c2de
commit 150077ab22
3 changed files with 12 additions and 30 deletions
app
assets/images/pages/home
styles
templates

Binary file not shown.

Before

(image error) Size: 10 KiB

View file

@ -17,7 +17,9 @@
img img
display: block display: block
margin: 0 auto margin: 0 auto
text-shadow: 2px 2px 5px black
h3 h3
color: $yellow color: $yellow
position: absolute position: absolute
@ -25,7 +27,6 @@
left: 40px left: 40px
font-size: 70px font-size: 70px
margin-top: 0 margin-top: 0
text-shadow: 2px 2px 5px black
h4 h4
color: #e8d9c5 color: #e8d9c5
@ -34,30 +35,15 @@
left: 140px left: 140px
font-size: 30px font-size: 30px
margin-top: 0 margin-top: 0
text-shadow: 2px 2px 5px black
.play-button .play-text
text-align: center
position: absolute position: absolute
right: 40px right: 45px
bottom: -30px bottom: -25px
width: 200px color: $yellow
height: 100px font-size: 90px
font-family: Bangers
div, img @include transition(color .10s linear)
color: $yellow
position: absolute
top: 0
bottom: 0
left: 0
right: 0
width: 100%
height: 100%
font-size: 50px
font-family: Bangers
line-height: 100px
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black
@include transition(color .10s linear)
&:hover div &:hover div
color: lighten($yellow, 20%) color: lighten($yellow, 20%)

View file

@ -29,9 +29,7 @@ block content
img(src="/images/pages/home/campaign_notext.jpg").img-rounded img(src="/images/pages/home/campaign_notext.jpg").img-rounded
h3(data-i18n="home.campaign") Campaign h3(data-i18n="home.campaign") Campaign
h4(data-i18n="home.for-beginners") For Beginners h4(data-i18n="home.for-beginners") For Beginners
.play-button .play-text(data-i18n="home.play") Play
img(src="/images/pages/home/button.png")
div(data-i18n="home.play") Play
a#multiplayer(href="/play/ladder/dungeon-arena") a#multiplayer(href="/play/ladder/dungeon-arena")
div.game-mode-wrapper div.game-mode-wrapper
@ -41,8 +39,6 @@ block content
img(src="/images/pages/home/multiplayer_notext.jpg").img-rounded img(src="/images/pages/home/multiplayer_notext.jpg").img-rounded
h3(data-i18n="home.multiplayer") Multiplayer h3(data-i18n="home.multiplayer") Multiplayer
h4(data-i18n="home.for-developers") For Developers h4(data-i18n="home.for-developers") For Developers
.play-button .play-text(data-i18n="home.play") Play
img(src="/images/pages/home/button.png")
div(data-i18n="home.play") Play
.clearfix .clearfix