]> git.sesse.net Git - ultimatescore/commitdiff
Make the font work offline.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Apr 2017 09:40:32 +0000 (11:40 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Apr 2017 09:40:32 +0000 (11:40 +0200)
fonts/lato.css [new file with mode: 0644]
fonts/v0SdcGFAl2aezM9Vq_aFTQ.ttf [new file with mode: 0644]
score.html

diff --git a/fonts/lato.css b/fonts/lato.css
new file mode 100644 (file)
index 0000000..b00e2d6
--- /dev/null
@@ -0,0 +1,6 @@
+@font-face {
+  font-family: 'Lato';
+  font-style: normal;
+  font-weight: 400;
+  src: local('Lato Regular'), local('Lato-Regular'), url(v0SdcGFAl2aezM9Vq_aFTQ.ttf) format('truetype');
+}
diff --git a/fonts/v0SdcGFAl2aezM9Vq_aFTQ.ttf b/fonts/v0SdcGFAl2aezM9Vq_aFTQ.ttf
new file mode 100644 (file)
index 0000000..acc89d6
Binary files /dev/null and b/fonts/v0SdcGFAl2aezM9Vq_aFTQ.ttf differ
index bb729d9d48d7999112a3afb321fc1783dddfea3d..72d16c47ba732dc78a616976dfb1665a1d0a686a 100644 (file)
@@ -3,7 +3,8 @@
  <head>
    <meta http-equiv="content-type" value="text/html; charset=utf-8" />
    <meta charset="utf-8" />
-   <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
+<!--   <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> -->
+   <link href="fonts/lato.css" rel="stylesheet">
    <style>
 * {
   -webkit-box-sizing: border-box;