Add woff2 fonts

This should close #1233 and add 4 weights of the font Lato.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Robert Martinez 2018-07-31 11:29:29 +02:00 committed by James Valleroy
parent ddc3dbac00
commit 0cd871a023
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
9 changed files with 55 additions and 3 deletions

View File

@ -1,12 +1,64 @@
@font-face {
font-family: LatoRegular;
src: url('../lato/Lato-Regular.ttf');
font-family: 'Lato';
src: url('../lato/Lato-Italic.woff2') format('woff2');
font-style: italic;
font-weight: 400;
}
@font-face {
font-family: 'Lato';
src: url('../lato/Lato-Regular.woff2') format('woff2');
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'Lato';
src: url('../lato/Lato-Semibold.woff2') format('woff2');
font-style: normal;
font-weight: 600;
}
@font-face {
font-family: 'Lato';
src: url('../lato/Lato-SemiboldItalic.woff2') format('woff2');
font-style: italic;
font-weight: 600;
}
@font-face {
font-family: 'Lato';
src: url('../lato/Lato-Bold.woff2') format('woff2');
font-style: normal;
font-weight: 700;
}
@font-face {
font-family: 'Lato';
src: url('../lato/Lato-BoldItalic.woff2') format('woff2');
font-style: italic;
font-weight: 700;
}
@font-face {
font-family: 'Lato';
src: url('../lato/Lato-Heavy.woff2') format('woff2');
font-style: normal;
font-weight: 800;
}
@font-face {
font-family: 'Lato';
src: url('../lato/Lato-HeavyItalic.woff2') format('woff2');
font-style: italic;
font-weight: 800;
}
body {
padding-top: 6em;
position: relative;
font-family: LatoRegular, sans-serif;
font-family: Lato, sans-serif;
font-size: 15px;
background-repeat: no-repeat;
background-position: 22.5px 75px;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.