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.7.10 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.7.9 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.7.8 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.7.7 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.7.6 share/views/compass/old/base/font-scale.sass
rbbt-rest-1.7.5 share/views/compass/base/font-scale.sass
rbbt-rest-1.7.4 share/views/compass/base/font-scale.sass
rbbt-rest-1.7.3 share/views/compass/base/font-scale.sass
rbbt-rest-1.7.2 share/views/compass/base/font-scale.sass
rbbt-rest-1.7.1 share/views/compass/base/font-scale.sass
rbbt-rest-1.7.0 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.28 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.26 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.25 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.24 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.23 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.22 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.21 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.20 share/views/compass/base/font-scale.sass
rbbt-rest-1.6.19 share/views/compass/base/font-scale.sass