modif css
This commit is contained in:
@@ -143,3 +143,59 @@ $file-regular2: "Moche-Bold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$rammetto: "rammetto-regular";
|
||||
$family-regular3: "rammetto";
|
||||
$file-regular3: "rammettoone-regular-webfont";
|
||||
|
||||
@mixin font-face($rammetto, $file-regular3, $family-regular3, $category:"") {
|
||||
$filepath: "../fonts/" + $family-regular3 + "/" + $file-regular3;
|
||||
@font-face {
|
||||
font-family: "#{$rammetto}";
|
||||
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#" + $rammetto + "") format('svg');
|
||||
}
|
||||
|
||||
%#{$rammetto} {
|
||||
font: {
|
||||
@if $category != "" {
|
||||
family: "#{$rammetto}", #{$category};
|
||||
}
|
||||
@else {
|
||||
family: "#{$rammetto}";
|
||||
weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$rumeur: "rumeur-regular";
|
||||
$family-regular4: "rumeur";
|
||||
$file-regular4: "rumeur-webfont";
|
||||
|
||||
@mixin font-face($rammetto, $file-regular4, $family-regular4, $category:"") {
|
||||
$filepath: "../fonts/" + $family-regular4 + "/" + $file-regular4;
|
||||
@font-face {
|
||||
font-family: "#{$rammetto}";
|
||||
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#" + $rammetto + "") format('svg');
|
||||
}
|
||||
|
||||
%#{$rammetto} {
|
||||
font: {
|
||||
@if $category != "" {
|
||||
family: "#{$rammetto}", #{$category};
|
||||
}
|
||||
@else {
|
||||
family: "#{$rammetto}";
|
||||
weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user