loader ajax
This commit is contained in:
@@ -115,3 +115,31 @@ $file-italic: "playfairdisplay-regularitalic";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$moche: "Moche-Regular";
|
||||
$family-regular2: "moche";
|
||||
$file-regular2: "Moche-Regular";
|
||||
|
||||
@mixin font-face($moche, $file-regular2, $family-regular2, $category:"") {
|
||||
$filepath: "../fonts/" + $family-regular2 + "/" + $file-regular2;
|
||||
@font-face {
|
||||
font-family: "#{$moche}";
|
||||
src: url($filepath + ".eot");
|
||||
src: url($filepath + ".eot?#iefix") format('embedded-opentype'),
|
||||
url($filepath + ".woff") format('woff'),
|
||||
url($filepath + ".ttf") format('truetype'),
|
||||
url($filepath + ".svg#" + $moche + "") format('svg');
|
||||
}
|
||||
|
||||
%#{$moche} {
|
||||
font: {
|
||||
@if $category != "" {
|
||||
family: "#{$moche}", #{$category};
|
||||
}
|
||||
@else {
|
||||
family: "#{$moche}";
|
||||
weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user