X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=stylus_helpers.styl;fp=stylus_helpers.styl;h=93b3ae31eed4d38010c8618400b2472b11a56e79;hp=8229b0782f23862ad1bed019456deea319f6ff73;hb=ebd28f9548c9723fab12e3cb725db9a3b1530992;hpb=dfb559a8ce4e04d8e5f27f8587141e97f9af1a59 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