-
Notifications
You must be signed in to change notification settings - Fork 167
/
_cardo.tmpl.html
56 lines (47 loc) · 1.74 KB
/
_cardo.tmpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{{- if not .LocalFonts -}}
<!--
Commented our for the time being because I'm not using it anywhere.
<link href="https://fonts.googleapis.com/css?family=Cardo" rel="stylesheet" type="text/css">
-->
{{- else -}}
{{- /*
Fetched from the URL above and then modified to point to a local version of
each downloaded font. Google may vary the response based on browser,
which is good, but woff2 should be compatible in most browsers.
*/ -}}
<style type="text/css">
/* greek-ext */
@font-face {
font-family: 'Cardo';
font-style: normal;
font-weight: 400;
src: local('Cardo'), local('Cardo-Regular'), url(/assets/fonts/cardo/greek-ext.woff2) format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Cardo';
font-style: normal;
font-weight: 400;
src: local('Cardo'), local('Cardo-Regular'), url(/assets/fonts/cardo/greek.woff2) format('woff2');
unicode-range: U+0370-03FF;
}
/* latin-ext */
@font-face {
font-family: 'Cardo';
font-style: normal;
font-weight: 400;
src: local('Cardo'), local('Cardo-Regular'), url(/assets/fonts/cardo/latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Cardo';
font-style: normal;
font-weight: 400;
src: local('Cardo'), local('Cardo-Regular'), url(/assets/fonts/cardo/latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215,
U+E0FF, U+EFFD, U+F000;
}
</style>
{{- end -}}