fixed font issue
This commit is contained in:
parent
e652eaebc9
commit
51183d877c
8 changed files with 15 additions and 6 deletions
|
|
@ -17,6 +17,7 @@ module.exports = function (config) {
|
||||||
});
|
});
|
||||||
// PASSTHROUGHS
|
// PASSTHROUGHS
|
||||||
//config.addPassthroughCopy("src/assets/images/");
|
//config.addPassthroughCopy("src/assets/images/");
|
||||||
|
config.addPassthroughCopy("src/assets/fonts/");
|
||||||
|
|
||||||
// LAYOUTS //
|
// LAYOUTS //
|
||||||
config.addLayoutAlias("base", "layouts/base.njk");
|
config.addLayoutAlias("base", "layouts/base.njk");
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -8,11 +8,11 @@ h1,h2,h3,h4,h5,h6 {
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Basis Grotesque Mono Pro Light';
|
font-family: 'Basis Grotesque Mono Pro Light';
|
||||||
src: url('../../fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoProLight.eot'); /* IE9 Compat Modes */
|
src: url('/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.eot');
|
||||||
src: url('../../fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoProLight.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
src: url('/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.eot?#iefix') format('embedded-opentype'),
|
||||||
url('../../fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoProLight.woff2') format('woff2'), /* Super Modern Browsers */
|
url('/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.woff2') format('woff2'),
|
||||||
url('../../fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoProLight.woff') format('woff'), /* Modern Browsers */
|
url('/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.woff') format('woff'),
|
||||||
url('../../fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoProLight.ttf') format('truetype'); /* Safari, Android, iOS */
|
url('/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.ttf') format('truetype');
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
|
|
|
||||||
|
|
@ -471,6 +471,14 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
font-family: "Bitter", "Bookman Old Style", serif;
|
font-family: "Bitter", "Bookman Old Style", serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Basis Grotesque Mono Pro Light";
|
||||||
|
src: url("/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.eot");
|
||||||
|
src: url("/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.woff2") format("woff2"), url("/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.woff") format("woff"), url("/assets/fonts/basis-grotesque-mono-pro/BasisGrotesqueMonoPro-Light.ttf") format("truetype");
|
||||||
|
font-weight: 300;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
header {
|
header {
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue