From e88be414c0b859916e3580d1bdf44f8c94913640 Mon Sep 17 00:00:00 2001 From: Aleksey Gureiev Date: Sat, 5 Mar 2011 21:45:34 +0200 Subject: [PATCH] Fixed gun clipping --- public/stylesheets/battlefield.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/stylesheets/battlefield.css b/public/stylesheets/battlefield.css index 4397ff1..f41636a 100644 --- a/public/stylesheets/battlefield.css +++ b/public/stylesheets/battlefield.css @@ -6,10 +6,10 @@ .tank { position: absolute; - width: 40px; - height: 40px; - margin: -20px 0 0 -20px; - background: url(/images/body.png) 0 0 no-repeat; + width: 60px; + height: 60px; + margin: -30px 0 0 -30px; + background: url(/images/body.png) 10px 10px no-repeat; overflow: hidden; } @@ -17,8 +17,8 @@ position: relative; width: 25px; height: 50px; - left: 10px; - top: -10px; + left: 20px; + top: 0px; background: url(/images/head.png) transparent 0 0 no-repeat; transform-origin: 10px 27px;