Sha256: bf801f79f9bdc1fc0544ad49a6edf1bffedf604750ffe0d56f48d615947ab85a
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
//------------------------------------- // Settings //------------------------------------- // ----- @font-face ----- // // ----- Variables ----- // $debug: false; // Vertical Rhythm // Colors $base-color: #000; // Fonts $base-font: "Times New Roman", Times, serif; // Grid $container-width: 940px; $padding-width: 10px; $gutter-width: $padding-width * 2; // ----- Mixins ----- // @mixin rhythm-image($image-height, $font-size: $base-font-size) { $lines: lines-for-font-size($image-height) - 1; max-height: rhythm($lines, $font-size); } @mixin fix-vertical-rhythm($height, $font-size: $base-font-size, $padding: true) { @if $height > 0 { $lines: lines-for-font-size($height); $offset: rhythm($lines, $font-size, $height); @if $padding { padding-top: $offset / 2; padding-bottom: $offset / 2; } @else { margin-top: $offset / 2; margin-bottom: $offset / 2; } } } // ----- Functions ----- // @function px-to-em($px, $font-size: $base-font-size) { @return ($px / $font-size) * 1em; } @function px-to-perc($px, $context: $container-width) { @return ($px / $context) * 100 * 1%; } // ----- Extends ----- // // ----- Animations ----- //
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mosh_generator-0.1.1 | templates/public_directory/stylesheets/scss/core/_settings.scss |
mosh_generator-0.1.0 | templates/public_directory/stylesheets/scss/core/_settings.scss |