Merge branch 'master' of github.com:chriseppstein/compass
This commit is contained in:
commit
eb4870b685
@ -1,4 +1,6 @@
|
||||
rvm:
|
||||
- 1.8.7
|
||||
- 1.9.2
|
||||
- jruby
|
||||
- rbx
|
||||
- ree
|
||||
|
@ -1,3 +1,4 @@
|
||||
@charset "utf-8";
|
||||
@import "typography";
|
||||
|
||||
$alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", Georgia, serif !default;
|
||||
|
@ -12,7 +12,10 @@
|
||||
//
|
||||
// If you need to generate other formats check out the Font Squirrel
|
||||
// [font generator](http://www.fontsquirrel.com/fontface/generator)
|
||||
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot")
|
||||
@mixin font-face(
|
||||
$name,
|
||||
$font-files,
|
||||
@ -28,16 +31,3 @@
|
||||
src: $font-files;
|
||||
}
|
||||
}
|
||||
|
||||
// EXAMPLE
|
||||
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot")
|
||||
//
|
||||
// will generate:
|
||||
//
|
||||
// @font-face {
|
||||
// font-family: 'this name';
|
||||
// src: url('fonts/this.eot');
|
||||
// src: local("☺"),
|
||||
// url('fonts/this.otf') format('woff'),
|
||||
// url('fonts/this.woff') format('opentype');
|
||||
// }
|
||||
|
@ -57,7 +57,7 @@ class CompassTest < Test::Unit::TestCase
|
||||
assert_no_errors css_file, :blueprint
|
||||
end
|
||||
each_sass_file do |sass_file|
|
||||
assert_renders_correctly sass_file
|
||||
assert_renders_correctly sass_file, :ignore_charset => true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user