X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=stylus_helpers.styl;h=93b3ae31eed4d38010c8618400b2472b11a56e79;hp=8229b0782f23862ad1bed019456deea319f6ff73;hb=HEAD;hpb=019bb943365e512132a4a309921c014d3b80a69a diff --git a/stylus_helpers.styl b/stylus_helpers.styl index 8229b07..93b3ae3 100644 --- a/stylus_helpers.styl +++ b/stylus_helpers.styl @@ -525,6 +525,7 @@ wfpl_spritesheets(hash) background-position: _pct_pos(x, w, sheet.w) _pct_pos(y, h, sheet.h) background-image: url((sheet['image'])) background-size: unit(sheet['w'] / w * 100, '%') auto + background-repeat: no-repeat padding-top: unit(h / w * 100, '%') selector_hover_before = selector + ":hover:before" if args.hover