From 6d27b898a20a00f1c848b33e2348bed4427305cf Mon Sep 17 00:00:00 2001 From: Andre Casey Date: Tue, 2 Jul 2013 01:37:35 -0700 Subject: [PATCH] Adjust CSS to show full egg and potion artwork, and center the artwork above the label --- public/img/sprites/PetEggs.css | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/public/img/sprites/PetEggs.css b/public/img/sprites/PetEggs.css index b334806c84..63b3d0de7c 100644 --- a/public/img/sprites/PetEggs.css +++ b/public/img/sprites/PetEggs.css @@ -1,25 +1,25 @@ .Pet_Egg_Wolf, .Pet_Egg_TigerCub, .Pet_Egg_PolarBear, .Pet_Egg_PandaCub, .Pet_Egg_LionCub, .Pet_Egg_Fox, .Pet_Egg_FlyingPig, .Pet_Egg_Dragon, .Pet_Egg_Cactus, .Pet_Egg_BearCub, .Pet_HatchingPotion_Base, .Pet_HatchingPotion_White, .Pet_HatchingPotion_Desert, .Pet_HatchingPotion_Red, .Pet_HatchingPotion_Shade, .Pet_HatchingPotion_Skeleton, .Pet_HatchingPotion_Zombie, .Pet_HatchingPotion_CottonCandyPink, .Pet_HatchingPotion_CottonCandyBlue, .Pet_HatchingPotion_Golden, .Pet_Currency_Gem, .Pet_Currency_Gem2x, .Pet_Currency_Gem1x {background: url("/img/sprites/Egg_Sprite_Sheet.png") no-repeat} -.Pet_Egg_Wolf {background-position: 0px 0px; width: 48px; height: 51px} -.Pet_Egg_TigerCub {background-position: 0px -51px; width: 48px; height: 51px} -.Pet_Egg_PolarBear {background-position: 0px -102px; width: 48px; height: 51px} -.Pet_Egg_PandaCub {background-position: 0px -153px; width: 48px; height: 51px} -.Pet_Egg_LionCub {background-position: 0px -204px; width: 48px; height: 51px} -.Pet_Egg_Fox {background-position: 0px -255px; width: 48px; height: 51px} -.Pet_Egg_FlyingPig {background-position: 0px -306px; width: 48px; height: 51px} -.Pet_Egg_Dragon {background-position: 0px -357px; width: 48px; height: 51px} -.Pet_Egg_Cactus {background-position: 0px -408px; width: 48px; height: 51px} -.Pet_Egg_BearCub {background-position: 0px -459px; width: 48px; height: 51px} +.Pet_Egg_Wolf {background-position: 0px 0px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_TigerCub {background-position: 0px -51px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_PolarBear {background-position: 0px -102px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_PandaCub {background-position: 0px -153px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_LionCub {background-position: 0px -204px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_Fox {background-position: 0px -255px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_FlyingPig {background-position: 0px -306px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_Dragon {background-position: 0px -357px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_Cactus {background-position: 0px -408px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_Egg_BearCub {background-position: 0px -459px; width: 48px; height: 53px; margin-left: 1.25em;} -.Pet_HatchingPotion_Base {background-position: -48px -0px; width: 48px; height: 51px} -.Pet_HatchingPotion_White {background-position: -48px -51px; width: 48px; height: 51px} -.Pet_HatchingPotion_Desert {background-position: -48px -102px; width: 48px; height: 51px} -.Pet_HatchingPotion_Red {background-position: -48px -153px; width: 48px; height: 51px} -.Pet_HatchingPotion_Shade {background-position: -48px -204px; width: 48px; height: 51px} -.Pet_HatchingPotion_Skeleton {background-position: -48px -255px; width: 48px; height: 51px} -.Pet_HatchingPotion_Zombie {background-position: -48px -306px; width: 48px; height: 51px} -.Pet_HatchingPotion_CottonCandyPink {background-position: -48px -357px; width: 48px; height: 51px} -.Pet_HatchingPotion_CottonCandyBlue {background-position: -48px -408px; width: 48px; height: 51px} -.Pet_HatchingPotion_Golden {background-position: -48px -459px; width: 48px; height: 51px} +.Pet_HatchingPotion_Base {background-position: -48px -0px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_White {background-position: -48px -51px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_Desert {background-position: -48px -102px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_Red {background-position: -48px -153px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_Shade {background-position: -48px -204px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_Skeleton {background-position: -48px -255px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_Zombie {background-position: -48px -306px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_CottonCandyPink {background-position: -48px -357px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_CottonCandyBlue {background-position: -48px -408px; width: 48px; height: 53px; margin-left: 1.25em;} +.Pet_HatchingPotion_Golden {background-position: -48px -459px; width: 48px; height: 53px; margin-left: 1.25em;} .Pet_Currency_Gem {background-position: 0px -510px; width: 51px; height: 45px} /* Not an egg or potion so has a different size */ .Pet_Currency_Gem2x {background-position: -55px -513px; width: 34px; height: 30px}