Sha256: ba5fb5646a6b1e6f45459cde727f4c1ba4a144f8ca9b9312a1983623951fee0a

Contents?: true

Size: 548 Bytes

Versions: 81

Compression:

Stored size: 548 Bytes

Contents

@import "compass/typography/vertical_rhythm"
@import "base/variables"

=font-scale($step,$font-size: $base-font-size)
  $new-font-size: $font-size * $step
  @if $step > 1
    @if $step > 1.5
      @include adjust-font-size-to($new-font-size,2)
    @else
      @include adjust-font-size-to($new-font-size,3/2)
  @else
    @if $step < 1
      @if $step < 0.8
        @include adjust-font-size-to($new-font-size,1/2)
      @else
        @include adjust-font-size-to($new-font-size,2/3)
    @else
      @include adjust-font-size-to($new-font-size,1)


Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
rbbt-rest-1.8.43 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.41 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.40 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.30 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.28 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.27 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.23 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.22 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.21 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.20 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.19 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.18 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.17 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.16 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.15 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.14 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.13 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.12 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.11 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.8.10 share/views/compass/old/base/font-scale.sass