grunt-spritesmith #37 backer & contrib spritesheets support

This commit is contained in:
Tyler Renelle 2013-12-05 15:46:08 -07:00
parent ee4777d5e8
commit 69d248f826
14 changed files with 378 additions and 371 deletions

View file

@ -1,55 +1,50 @@
/* These sprites are oversized until a move to 105 avatar box happens*/
.weapon_7, .head_6 {
/* Backer */
.weapon_special_0, .head_special_0 {
width: 105px;
height: 105px;
margin-left: -3px;
margin-top: -18px;
}
.armor_6, .shield_6 {
.slim_armor_special_0, .broad_armor_special_0, .shield_special_0 {
width: 90px;
height: 90px;
}
/* This is oversized until a move to 105 avatar box happens*/
.weapon_8 {
width: 105px;
.weapon_special_1 {
height: 105px;
margin-left: -9px;
margin-top: -15px;
margin-left: -11px;
margin-top: 6px;
}
.armor_7, .head_7, .shield_7 {
.broad_armor_special_1, .slim_armor_special_1, .head_special_1 {
width: 90px;
height: 90px;
}
.head_6 {
.head_special_0 {
background: url("../img/sprites/backer-only/BackerOnly-Equip-ShadeHelmet.gif") no-repeat;
}
.head_7 {
.head_special_1 {
background: url("../img/sprites/backer-only/ContributorOnly-Equip-CrystalHelmet.gif") no-repeat;
margin-top: 3px;
}
.armor_6 {
.broad_armor_special_0,.slim_armor_special_0 {
background: url("../img/sprites/backer-only/BackerOnly-Equip-ShadeArmor.gif") no-repeat;
}
.armor_7 {
.broad_armor_special_1,.slim_armor_special_1 {
background: url("../img/sprites/backer-only/ContributorOnly-Equip-CrystalArmor.gif") no-repeat;
}
.shield_6 {
.shield_special_0 {
background: url("../img/sprites/backer-only/BackerOnly-Shield-TormentedSkull.gif") no-repeat;
}
.shield_7 {
background: url("../img/sprites/backer-only/ContributorOnly-Shield-Crystal.png") no-repeat;
}
.weapon_7 {
.weapon_special_0 {
background: url("../img/sprites/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif") no-repeat;
}
.weapon_8 {
background: url("../img/sprites/backer-only/ContributorOnly-Weapon-CrystalBlade.png") no-repeat;
}
.Pet-Wolf-Cerberus {
width: 105px;

File diff suppressed because one or more lines are too long

712
dist/spritesmith.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 274 KiB

View file

Before

Width:  |  Height:  |  Size: 549 B

After

Width:  |  Height:  |  Size: 549 B

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 882 B

After

Width:  |  Height:  |  Size: 882 B