-
-
Save asimpson/3739846 to your computer and use it in GitHub Desktop.
Revisions
-
asimpson revised this gist
Oct 5, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ @mixin font-size( $decimal-size, $keyword: null ) { @if $keyword{ font-size: $keyword; } @else { font-size: $decimal-size * $base-font-multiplier * 16px;} font-size: $decimal-size * 1rem; } -
asimpson revised this gist
Sep 17, 2012 . 3 changed files with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ @mixin font-size( $decimal-size, $keyword: null ) { @if $keyword{ font-size: $keyword; } @else { font-size: $decimal-size * $base-font-multiplier * 16px; color:red; } font-size: $decimal-size * 1rem; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ html { @include font-size(1, large); } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1 @@ $base-font-multiplier: 1; // master font size integer -
robtarr created this gist
Aug 24, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ @mixin rem-width( $em-size ) { width: $em-size * $base-font-multiplier * 16px; width: $em-size * 1rem; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ html { font-size: $base-font-size; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ $base-font-multiplier: 1; // master font size integer $base-font-size: $base-font-multiplier * 100%;