fixed minor issue with battle background images

This commit is contained in:
Deukhoofd 2016-05-21 18:44:35 +02:00
parent 51a224b44a
commit 206021f0c7
2 changed files with 12 additions and 6 deletions

View File

@ -41,16 +41,22 @@ $side-width = ($battle-width - $screen-width) / 2
narrow-font()
&.battle_bg_0
background-image url("../Sprites/battle/backgrounds/battle_bg.png")
background-size contain
&.battle_bg_1
background-image url("../Sprites/battle/backgrounds/battle_bg_1.png")
background-size contain
&.battle_bg_2
background-image url("../Sprites/battle/backgrounds/battle_bg_2.png")
background-size contain
&.battle_bg_3
background-image url("../Sprites/battle/backgrounds/battle_bg_3.png")
background-size contain
&.battle_bg_4
background-image url("../Sprites/battle/backgrounds/battle_bg_4.png")
background-size contain
&.battle_bg_5
background-image url("../Sprites/battle/backgrounds/battle_bg_5.png")
background-size contain
.battle_user_info
.pokemon_icons
margin 0 auto

View File

@ -294,15 +294,15 @@ h1{font-family:"PT Sans Narrow","Helvetica Neue",sans-serif;font-size:2em;font-w
.select-team .team-pbv{margin-top:-2px}
.no-alt-label{margin-left:5px;color:#aaa}
.battle_window .chat{left:620px}
.battle{position:absolute;top:0;left:0;bottom:0;width:620px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:10px;}
.battle{position:absolute;top:0;left:0;bottom:0;width:620px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:10px;-webkit-background-size:contain;-moz-background-size:contain;background-size:contain;}
.battle h2{font-size:.6875em;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid rgba(0,0,0,0.1);line-height:normal}
.battle .battle_container{position:relative;width:600px;height:300px;font-family:"PT Sans Narrow","Helvetica Neue",sans-serif;}
.battle .battle_container.battle_bg_0{background-image:url("../Sprites/battle/backgrounds/battle_bg.png")}
.battle .battle_container.battle_bg_1{background-image:url("../Sprites/battle/backgrounds/battle_bg_1.png")}
.battle .battle_container.battle_bg_2{background-image:url("../Sprites/battle/backgrounds/battle_bg_2.png")}
.battle .battle_container.battle_bg_3{background-image:url("../Sprites/battle/backgrounds/battle_bg_3.png")}
.battle .battle_container.battle_bg_4{background-image:url("../Sprites/battle/backgrounds/battle_bg_4.png")}
.battle .battle_container.battle_bg_5{background-image:url("../Sprites/battle/backgrounds/battle_bg_5.png")}
.battle background-size contain.battle_bg_1{background-image:url("../Sprites/battle/backgrounds/battle_bg_1.png")}
.battle background-size contain.battle_bg_2{background-image:url("../Sprites/battle/backgrounds/battle_bg_2.png")}
.battle background-size contain.battle_bg_3{background-image:url("../Sprites/battle/backgrounds/battle_bg_3.png")}
.battle background-size contain.battle_bg_4{background-image:url("../Sprites/battle/backgrounds/battle_bg_4.png")}
.battle background-size contain.battle_bg_5{background-image:url("../Sprites/battle/backgrounds/battle_bg_5.png")}
.battle .battle_user_info .pokemon_icons{margin:0 auto;width:80px;}
.battle .battle_user_info .pokemon_icons .icon_wrapper{width:40px;float:left;}
.battle .battle_user_info .pokemon_icons .icon_wrapper:nth-child(even){position:relative;top:6px}