modif css

This commit is contained in:
2020-01-20 11:51:20 +01:00
parent 7ca69e1549
commit b81be5ec03
178 changed files with 14005 additions and 187 deletions
@@ -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;
}
}
}
}