Skip to content

Commit 785ea28

Browse files
committed
Not calling google font on each call
Signed-off-by: Jean-Laurent de Morlhon <[email protected]>
1 parent e32c789 commit 785ea28

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

static/font/bungee_latin.woff2

12.9 KB
Binary file not shown.

static/font/bungee_latin_ext.woff2

9.17 KB
Binary file not shown.

static/index.html

+16-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,22 @@
44
<meta charset="utf-8">
55
<title>Docker Whale</title>
66
<style>
7-
@import url('https://fonts.googleapis.com/css?family=Bungee');
7+
/* latin-ext */
8+
@font-face {
9+
font-family: 'Bungee';
10+
font-style: normal;
11+
font-weight: 400;
12+
src: url(./font/bungee_latin_ext.woff2) format('woff2');
13+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
14+
}
15+
/* latin */
16+
@font-face {
17+
font-family: 'Bungee';
18+
font-style: normal;
19+
font-weight: 400;
20+
src: url(./font/bungee_latin.woff2) format('woff2');
21+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
22+
}
823
body {
924
background-color: #BDEDFF;
1025
padding: 0px;

0 commit comments

Comments
 (0)