codecombat/app/styles/home.sass

144 lines
3.1 KiB
Sass
Raw Normal View History

@import "app/styles/mixins"
@import "app/styles/bootstrap/variables"
2014-01-03 13:32:13 -05:00
#home-view
2015-08-08 08:35:08 -04:00
#kids-coding-container
$coding-image-size: 272px
position: relative
width: 960px + $coding-image-size
2015-08-08 08:35:08 -04:00
margin: 0px auto
@media screen and ( max-width: 1279px )
2015-08-08 08:35:08 -04:00
display: none
.kid-coding
position: absolute
z-index: 1
top: -57px
@media screen and ( max-height: 800px )
top: 50px
&#boy-coding
left: -$coding-image-size / 2
&#girl-coding
right: -$coding-image-size / 2
#spacer
height: 626px
@media screen and ( max-height: 800px )
height: 510px
2015-11-24 18:28:32 -05:00
2015-12-18 08:15:04 -05:00
#play-button, #or-ipad, #apple-store-button, #slogan, .alert, #news, #alternate-play-button
text-align: center
text-transform: uppercase
font-weight: bold
position: absolute
margin-right: auto
margin-left: auto
left: 0
right: 0
font-weight: bold
2015-11-24 18:28:32 -05:00
#play-button
2014-03-16 19:59:48 -04:00
text-align: center
padding-top: 170px
font-size: 50px
color: rgb(255,253,149)
text-shadow: 0 0 6px black,0 0 6px black,0 0 6px black,0 0 6px black, 0 0 6px black,0 0 6px black,0 0 6px black,0 0 6px black, 0 0 6px black,0 0 6px black,0 0 6px black,0 0 6px black, 0 0 6px black,0 0 6px black,0 0 6px black,0 0 6px black, 0 0 6px black,0 0 6px black,0 0 6px black,0 0 6px black
top: 308px
width: 218px
height: 219px
@media screen and ( max-height: 800px )
top: 78px
2015-11-24 18:28:32 -05:00
background-image: url(/images/pages/home/play_button.png)
background-position: 0 219px
2015-11-24 18:28:32 -05:00
&:hover
background-position: 0 0
color: rgb(230,180,75)
text-decoration: none
2015-11-24 18:28:32 -05:00
#or-ipad
top: 540px
color: rgb(119,101,84)
font-size: 17px
max-width: 211px
@media screen and ( max-height: 800px )
top: 310px
2015-11-24 18:28:32 -05:00
#alternate-play-button
top: 570px
@media screen and ( max-height: 800px )
top: 330px
#apple-store-button
top: 593px
height: 63px
@media screen and ( max-height: 800px )
top: 363px
#news
background: rgba(0, 0, 0, 0.75)
border-radius: 20px
box-shadow: 0 0 30px rgb(149,255,253)
top: 531px
height: 132px
width: 350px
padding: 15px
font-size: 28px
line-height: 32px
@include rotate(-10deg)
a
color: rgb(149,255,253)
&:hover
color: rgb(75,230,180)
@media screen and ( max-height: 800px )
top: 301px
#slogan
top: 681px
height: 132px
width: 276px
padding: 15px
font-size: 28px
line-height: 32px
color: rgb(50,40,31)
@media screen and ( max-height: 800px )
top: 451px
.alert
top: 213px
border: 5px solid darkred
2016-01-26 19:28:29 -05:00
.style-flat .bg-navy
padding: 20px
position: absolute
top: 400px
width: 380px
z-index: 1
.glyphicon-remove:hover
text-decoration: none
2016-01-26 19:28:29 -05:00
.btn
margin: 10px 0
@media screen and ( max-height: 800px )
top: 200px
2014-11-27 12:44:08 -05:00
body[lang='ru'], body[lang^='de'], body[lang^='pt-BR'], body[lang='pl'], body[lang='tr'], body[lang^='nl'], body[lang^='cs'], body[lang^='sv'], body[lang^='el'], body[lang^='hu'], body[lang^='bg']
#home-view #slogan
font-size: 22px
line-height: 23px