codecombat/app/styles/home.sass

88 lines
1.7 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
.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
@include transition(box-shadow .50s ease-in-out)
border-radius: 11px
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 .25s ease-in-out)
2014-03-16 19:59:48 -04:00
&:hover div, &.hovered div
2014-03-16 19:59:48 -04:00
color: lighten($yellow, 20%)
&:hover img, &.hovered img
2014-03-17 01:57:16 -04:00
filter: brightness(1.2)
-webkit-filter: brightness(1.2)
box-shadow: 0 0 15px black
.code-language-logo
background-color: transparent
background-repeat: no-repeat
position: absolute
right: 35px
top: 15px
width: 50px
height: 50px
&.inverted
filter: invert(100%)
-webkit-filter: invert(100%)
2014-04-03 18:10:24 -04:00
@media only screen and (max-width: 768px)
2014-04-03 18:10:24 -04:00
#home-view
#site-slogan
font-size: 30px
2014-08-30 23:27:58 -04:00
margin-bottom: 30px
2014-04-03 18:10:24 -04:00
.game-mode-wrapper
width: 100%
img
width: 100%
.play-text
position: absolute
2014-08-30 23:27:58 -04:00
right: 15px
bottom: -15px
2014-04-03 18:10:24 -04:00
color: $yellow
font-size: 50px
font-family: Bangers
@include transition(color .10s linear)
h1
text-align: center
margin-top: 0