add Lato as main font family

This commit is contained in:
Mads Rasmussen
2017-02-23 14:25:33 +01:00
parent 09788f1ab4
commit 0aefbc045d
34 changed files with 115 additions and 1 deletions
@@ -1,3 +1,117 @@
/*
Lato
Light: font-weight: 300;
Regular: font-weight: normal;
Bold: font-weight: bold;
Black: font-weight: 900;
*/
/* Webfont: LatoLatin-Black */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-Black.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-Black.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-Black.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Black.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Black.ttf') format('truetype');
font-style: normal;
font-weight: 900;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-BlackItalic */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-BlackItalic.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-BlackItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-BlackItalic.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-BlackItalic.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-BlackItalic.ttf') format('truetype');
font-style: italic;
font-weight: 900;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Bold */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-Bold.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-Bold.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Bold.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Bold.ttf') format('truetype');
font-style: normal;
font-weight: bold;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-BoldItalic */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-BoldItalic.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-BoldItalic.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-BoldItalic.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-BoldItalic.ttf') format('truetype');
font-style: italic;
font-weight: bold;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Italic */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-Italic.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-Italic.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Italic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Regular */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-Regular.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Regular.ttf') format('truetype');
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Light */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-Light.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-Light.ttf') format('truetype');
font-style: normal;
font-weight: 300;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-LightItalic */
@font-face {
font-family: 'Lato';
src: url('../fonts/lato/LatoLatin-LightItalic.eot'); /* IE9 Compat Modes */
src: url('../fonts/lato/LatoLatin-LightItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//url('../fonts/lato/LatoLatin-LightItalic.woff2') format('woff2'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-LightItalic.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato/LatoLatin-LightItalic.ttf') format('truetype');
font-style: italic;
font-weight: 300;
text-rendering: optimizeLegibility;
}
/*
Open Sans
@@ -113,7 +113,7 @@
// Typography
// -------------------------
@sansFontFamily: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
@sansFontFamily: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
@monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;