codecombat/app/styles/home.sass

130 lines
2.3 KiB
Sass
Raw Normal View History

2014-01-03 13:32:13 -05:00
@import "bootstrap/mixins"
@import "bootstrap/variables"
#home-view
2014-03-16 19:59:48 -04:00
2014-03-16 21:10:39 -04:00
h1
2014-03-16 19:59:48 -04:00
text-align: center
2014-03-16 21:10:39 -04:00
margin-top: 0
2014-03-16 19:59:48 -04:00
2014-03-17 01:46:57 -04:00
#trailer-wrapper
position: relative
2014-03-17 01:57:16 -04:00
margin: 0 auto 40px
width: 950px
2014-03-17 01:46:57 -04:00
iframe
display: block
margin: 0 auto
2014-03-17 01:57:16 -04:00
position: relative
top: 8px
2014-03-17 01:46:57 -04:00
img
position: absolute
2014-03-17 01:57:16 -04:00
left: 0
top: 0
2014-03-17 01:46:57 -04:00
pointer-events: none
2014-01-03 13:32:13 -05:00
2014-03-16 19:59:48 -04:00
.game-mode-wrapper
2014-01-03 13:32:13 -05:00
position: relative
2014-03-16 19:59:48 -04:00
margin-bottom: 60px
2014-01-03 13:32:13 -05:00
2014-03-16 19:59:48 -04:00
img
display: block
margin: 0 auto
text-shadow: 2px 2px 5px black
2014-01-03 13:32:13 -05:00
h3
2014-03-16 19:59:48 -04:00
color: $yellow
position: absolute
top: 10px
left: 40px
font-size: 70px
margin-top: 0
h4
color: #e8d9c5
position: absolute
top: 75px
left: 140px
font-size: 30px
margin-top: 0
.play-text
2014-03-16 19:59:48 -04:00
position: absolute
right: 45px
bottom: -25px
color: $yellow
font-size: 90px
font-family: Bangers
@include transition(color .10s linear)
2014-03-16 19:59:48 -04:00
&:hover div
color: lighten($yellow, 20%)
&:hover img
2014-03-17 01:57:16 -04:00
filter: brightness(1.2)
-webkit-filter: brightness(1.2)
box-shadow: 0 0 5px black
2014-03-16 23:32:24 -04:00
#multiplayer-launch-modal
.modal-dialog
width: 700px
.modal-header
text-align: center
.modal-body
padding-bottom: 0px
.modal-footer
padding-top: 0px
.multiplayer-launch-wrapper
position: relative
margin: 0 auto 30px
iframe
display: block
margin: 0 auto
position: relative
top: 8px
img
position: absolute
left: -7px
top: -3px
width: 660px
height: 382px
pointer-events: none
2014-04-03 18:10:24 -04:00
#mobile-trailer-wrapper
display: none
@media only screen and (max-width: 800px)
#home-view
#site-slogan
font-size: 30px
#trailer-wrapper
display: none
#mobile-trailer-wrapper
display: inline-block
width: 100%
iframe
display: block
margin: 0 auto
.game-mode-wrapper
width: 100%
img
width: 100%
.play-text
position: absolute
right: 45px
bottom: 0px
color: $yellow
font-size: 50px
font-family: Bangers
@include transition(color .10s linear)
h1
text-align: center
margin-top: 0