[Compass Core] Use the font url location in the font face mixin too. Closes #108.
This commit is contained in:
parent
28731c499a
commit
9807b76092
@ -12,14 +12,14 @@
|
||||
@if $style {
|
||||
font-style: $style; }
|
||||
@if $eot {
|
||||
src: stylesheet-url($eot); }
|
||||
src: font-url($eot); }
|
||||
@if $postscript {
|
||||
src: local("#{$name}"), local("#{$postscript}"), #{$font-files}; }
|
||||
@else {
|
||||
src: local("#{$name}"), #{$font-files}; } } }
|
||||
|
||||
// EXAMPLE
|
||||
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")
|
||||
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot", "thisname")
|
||||
//
|
||||
// will generate:
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user