Sha256: fb56514ad876aef44e9b618a8a3f399e018f9627440630b34f7dc64e51a0fe45

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

// =============================================
//                 Web Fonts
//          Last Updated:2013-4-25
// =============================================




@for $i from 1 through length($web-font-files) {
  // @include font-face('#{nth($web-font-names, $i)}', inline-font-files("#{nth($web-font-files, $i)}.eot", "#{nth($web-font-files, $i)}.woff", "#{nth($web-font-files, $i)}.ttf"));
  @font-face {
    font-family: '#{nth($web-font-names, $i)}';
    font-style: normal;
    font-weight: normal;
    src: url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}#iefix');
    src: url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.eot') format('embedded-opentype'), 
         url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.woff') format('woff'), 
         url('#{$root_path}#{$fonts_path}#{nth($web-font-files, $i)}.ttf') format('truetype');
  }
  %#{nth($web-font-names, $i)} {
    @include font-stack(#{nth($web-font-names, $i)});
  }
  @if $classes {
    .#{nth($web-font-names, $i)} {
      @extend %#{nth($web-font-names, $i)};
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
groundworkcss-rails-0.2.12 vendor/assets/stylesheets/groundworkcss-scss/type/_webfonts.scss
groundworkcss-rails-0.2.11 vendor/assets/stylesheets/groundworkcss-scss/type/_webfonts.scss
groundworkcss-rails-0.2.10 vendor/assets/stylesheets/groundworkcss-scss/type/_webfonts.scss