Sha256: a74782e03fad769d1ee2e97a85cd971add06bff0766c7d5a6dd48137bf6e4b69
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
{:versionI"3.2.18 (Media Mark):EF:shaI"-fc5f9108f250edc5459dd7a9cf9373a6dfcfcbe1;F: contents"]o:Sass::Tree::RootNode :@children[o:Sass::Tree::CommentNode :@value[I"¢/* Convert pixels to ems * eg. for a relational value of 12px write em(12) when the parent is 16px * if the parent is another value say 24px write em(12, 24) */:ET: @type:silent;[ : @linei: @options{ o:Sass::Tree::FunctionNode: @nameI"em; T: @args[[o:Sass::Script::Variable;I" pxval; T:@underscored_nameI" pxval; T; @0[o;;I" base; T;I" base; T; @o:Sass::Script::Number;i:@numerator_units[ :@denominator_units[ ;i :@originalI"16; F; @:@splat0;[o:Sass::Tree::ReturnNode : @expro:Sass::Script::Operation :@operand1o; ;o; ;I" pxval; T;I" pxval; T; @;i:@operand2o; ;I" base; T;I" base; T; @;i:@operator:div;i; @;o;;i;[I"em; T;[ ;i;I"1em; F; @;: times;i; @;[ ;i; @;i :@has_childrenT; @:@templateI"è// Convert pixels to ems // eg. for a relational value of 12px write em(12) when the parent is 16px // if the parent is another value say 24px write em(12, 24) @function em($pxval, $base: 16) { @return ($pxval / $base) * 1em; } ; T;i; T; @
Version data entries
2 entries across 2 versions & 1 rubygems