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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
@include font-face($playfair, $file-italic, $family-italic, $category);//2
|
||||
|
||||
@include font-face($moche, $file-regular2, $family-regular2, $category);//2
|
||||
@include font-face($rammetto, $file-regular3, $family-regular3, $category);//2
|
||||
@include font-face($rumeur, $file-regular4, $family-regular4, $category);//2
|
||||
|
||||
// font-size
|
||||
$txt-figli: 2.5rem;
|
||||
@@ -35,7 +37,8 @@ $txt-figli-t: 2.5rem;
|
||||
$Flhome-t: 3rem;
|
||||
|
||||
// color
|
||||
$color_publique: #fef86f;
|
||||
$color_sociale: lightgreen;
|
||||
$color_culturelle: #82f8ee;
|
||||
$color_commanditaire: #ff7f7a;
|
||||
$color_publique: #ffaeab;
|
||||
$color_sociale: #7eff71;
|
||||
$color_culturelle: #feff74;
|
||||
$color_commanditaire: #fabbde;
|
||||
$color_figureslibres: #82f8ee;
|
||||
|
||||
Reference in New Issue
Block a user