Skip to content
This repository
Browse code

Skill template updated

  • Loading branch information...
commit 107bff3119bbe60c15d8a9c2cef2d719fd83271d 1 parent 49347a1
Cyrille Bogaert authored November 17, 2012
2  assets/css/defend_the_den.css
@@ -223,7 +223,7 @@ body {
223 223
   cursor: pointer;
224 224
   background: #0d0302;
225 225
   background-image: url(../images/skills.png);
226  
-  background-position: 0 0;
  226
+  background-position: -53px 0;
227 227
   background-repeat: no-repeat;
228 228
 }
229 229
 
4  templates/game_ui/skill.html
... ...
@@ -1 +1,3 @@
1  
-<div class="skill"><div class="skill_key">A</div></div>
  1
+<div class="skill" style="background-position: <%= backgroundPosition %>;">
  2
+  <div class="skill_key"><%= key %></div>
  3
+</div>

0 notes on commit 107bff3

Please sign in to comment.
Something went wrong with that request. Please try again.