Skip to content

Commit a8b6648

Browse files
authored
Host Lato font locally instead of providing it from Google (#24)
Our customization: Remove Lato fonts and use only LatoLatin
1 parent fb034e3 commit a8b6648

File tree

81 files changed

+618
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+618
-2
lines changed

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<!-- Custom fonts for this template -->
1414
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
15-
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
15+
<link href="css/latoweb.css" rel="stylesheet">
1616

1717
<!-- Custom styles for this template -->
1818
<link href="css/landing-page.css" rel="stylesheet">

css/landing-page.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,4 +361,4 @@ p.copyright {
361361
-ms-flex-order: 4;
362362
order: 4;
363363
}
364-
}
364+
}

css/latoweb.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@font-face {
2+
font-family: "Lato";
3+
font-style: normal;
4+
font-weight: 300;
5+
text-rendering: optimizeLegibility;
6+
src: url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Light.eot'); /* IE9 Compat Modes */
7+
src: url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
8+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */
9+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */
10+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Light.ttf') format('truetype');
11+
}
12+
13+
@font-face {
14+
font-family: "Lato";
15+
font-style: normal;
16+
font-weight: 400;
17+
text-rendering: optimizeLegibility;
18+
src: url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Regular.eot'); /* IE9 Compat Modes */
19+
src: url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
20+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */
21+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */
22+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Regular.ttf') format('truetype');
23+
}
24+
25+
@font-face {
26+
font-family: "Lato";
27+
font-style: normal;
28+
font-weight: 700;
29+
text-rendering: optimizeLegibility;
30+
src: url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Bold.eot'); /* IE9 Compat Modes */
31+
src: url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
32+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Bold.woff2') format('woff2'), /* Modern Browsers */
33+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Bold.woff') format('woff'), /* Modern Browsers */
34+
url('/vendor/Lato2OFLWeb/LatoLatin/fonts/LatoLatin-Bold.ttf') format('truetype');
35+
}
64.6 KB
Binary file not shown.
141 KB
Binary file not shown.
68.8 KB
Binary file not shown.
42.4 KB
Binary file not shown.
65.7 KB
Binary file not shown.
147 KB
Binary file not shown.
70.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)