Files
habitica/website/raw_sprites/css/css.template.handlebars
negue 31cac936c8 Sprites: re-add previous offsets to sprites (#13933)
* Sprites: re-add previous offsets to sprites

* fix lint
2022-04-15 14:14:48 -05:00

16 lines
474 B
Handlebars
Executable File

{{#sprites}}
.{{name}} {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/{{{name}}}.png');
width: {{px.width}};
height: {{px.height}};
}
{{#if custom}}
.customize-option.{{name}} {
background-position: {{custom.px.offsetX}} {{custom.px.offsetY}};
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/{{{name}}}.png');
width: {{custom.px.width}};
height: {{custom.px.height}};
}
{{/if}}
{{/sprites}}