Files
PocketSharp/PocketSharp.Website/Assets/Stylesheets/Mixins/_fontface.scss
T
2013-07-09 21:25:10 +02:00

29 lines
594 B
SCSS

@mixin fontFace( $name, $filename, $weight: false, $style: false)
{
@font-face
{
font-family: quote($name);
src: font-url("#{$filename}.eot");
src: font-url("#{$filename}.eot?#iefix") format("embedded-opentype"),
font-url("#{$filename}.woff") format("woff"),
font-url("#{$filename}.ttf") format("truetype"),
font-url('#{$filename}svg#fix') format('svg');
@if $weight
{
font-weight: $weight;
}
@if $style
{
font-style: $style;
}
}
}
@mixin resetFontForFontsCom
{
font-weight: 400 !important;
font-style: normal !important;
}