Sha256: 1d5087bd0a5e27fccefcc2914324bec5fd2155efe09d3c4f37520b54e51ce2c3
Contents?: true
Size: 1.59 KB
Versions: 19
Compression:
Stored size: 1.59 KB
Contents
{:versionI"3.2.10 (Media Mark):EF:sha"-44959d7309e947aea8ced9786aad386f9d5ea944: contents"øo:Sass::Tree::RootNode :@children[o:Sass::Tree::FunctionNode: @nameI"grid-width:ET: @args[[o:Sass::Script::Variable;I"n; T:@underscored_nameI"n; T: @options{ 0:@splat0;[o:Sass::Tree::ReturnNode : @expro:Sass::Script::Operation :@operand1o; ;o; ;I"n; T;I"n; T; @: @linei:@operand2o; ;I"gw-column; T;I"gw_column; T; @;i:@operator: times;i; @;o; ;o; ;o; ;I"n; T;I"n; T; @;i;o:Sass::Script::Number:@valuei:@numerator_units[ :@denominator_units[ ;i:@originalI"1; F; @;: minus;i; @;o; ;I"gw-gutter; T;I"gw_gutter; T; @;i;;;i; @;: plus;i; @;[ ;i; @;i:@has_childrenT; @o:Sass::Tree::CommentNode ;[I"S/* The $gw-column and $gw-gutter variables must be defined in your base stylesheet to properly use the grid-width function. * * $gw-column: 100px; // Column Width * $gw-gutter: 40px; // Gutter Width * * div { * width: grid-width(4); // returns 520px; * margin-left: $gw-gutter; // returns 40px; * } */; T: @type:silent;[ ;i ; @:@templateI"¢@function grid-width($n) { @return $n * $gw-column + ($n - 1) * $gw-gutter; } // The $gw-column and $gw-gutter variables must be defined in your base stylesheet to properly use the grid-width function. // // $gw-column: 100px; // Column Width // $gw-gutter: 40px; // Gutter Width // // div { // width: grid-width(4); // returns 520px; // margin-left: $gw-gutter; // returns 40px; // } ; T;i;T; @
Version data entries
19 entries across 19 versions & 1 rubygems