Sha256: 5ffb189927fa5801dcdd58242e069bd8165cf46c9288f340f578603b22272ffe
Contents?: true
Size: 955 Bytes
Versions: 7
Compression:
Stored size: 955 Bytes
Contents
@mixin font-face($font-family, $file-path, $weight: normal, $style: normal, $asset-pipeline: false ) { @font-face { font-family: $font-family; font-weight: $weight; font-style: $style; @if $asset-pipeline == true { src: font-url('#{$file-path}.eot'); src: font-url('#{$file-path}.eot?#iefix') format('embedded-opentype'), font-url('#{$file-path}.woff') format('woff'), font-url('#{$file-path}.ttf') format('truetype'), font-url('#{$file-path}.svg##{$font-family}') format('svg'); } @else { src: url('#{$file-path}.eot'); src: url('#{$file-path}.eot?#iefix') format('embedded-opentype'), url('#{$file-path}.woff') format('woff'), url('#{$file-path}.ttf') format('truetype'), url('#{$file-path}.svg##{$font-family}') format('svg'); } } }
Version data entries
7 entries across 7 versions & 2 rubygems