Use new variable to provide fonts directory
This commit is contained in:
parent
1e7b776e4b
commit
0b44e6b583
1 changed files with 5 additions and 5 deletions
|
@ -93,26 +93,26 @@ $link-active-border: $blue-light !default;
|
|||
|
||||
@font-face {
|
||||
font-family: "Ionicons";
|
||||
src: url("fonts/ionicons.eot");
|
||||
src: url("fonts/ionicons.eot#iefix") format("embedded-opentype"), url("fonts/ionicons.ttf") format("truetype"), url("fonts/ionicons.woff") format("woff"), url("fonts/ionicons.svg#Ionicons") format("svg");
|
||||
src: url("#{$font-dir}/ionicons.eot");
|
||||
src: url("#{$font-dir}/ionicons.eot#iefix") format("embedded-opentype"), url("#{$font-dir}/ionicons.ttf") format("truetype"), url("#{$font-dir}/ionicons.woff") format("woff"), url("#{$font-dir}/ionicons.svg#Ionicons") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Poppins';
|
||||
src: url("fonts/Poppins-400.woff2") format('woff2'), url("fonts/Poppins-400.woff") format('woff'), url("fonts/Poppins-400.ttf") format('truetype');
|
||||
src: url("#{$font-dir}/Poppins-400.woff2") format('woff2'), url("#{$font-dir}/Poppins-400.woff") format('woff'), url("#{$font-dir}/Poppins-400.ttf") format('truetype');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Poppins';
|
||||
src: url("fonts/Poppins-700.woff2") format('woff2'), url("fonts/Poppins-700.woff") format('woff'), url("fonts/Poppins-700.ttf") format('truetype');
|
||||
src: url("#{$font-dir}/Poppins-700.woff2") format('woff2'), url("#{$font-dir}/Poppins-700.woff") format('woff'), url("#{$font-dir}/Poppins-700.ttf") format('truetype');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Anonymous Pro';
|
||||
src: url("fonts/AnonymousPro-400.woff2") format('woff2'), url("fonts/AnonymousPro-400.woff") format('woff'), url("fonts/AnonymousPro-400.ttf") format('truetype');
|
||||
src: url("#{$font-dir}/AnonymousPro-400.woff2") format('woff2'), url("#{$font-dir}/AnonymousPro-400.woff") format('woff'), url("#{$font-dir}/AnonymousPro-400.ttf") format('truetype');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue