aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/assets/webfonts/webfonts.scss
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-05-30 17:12:06 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-05-30 17:12:06 -0700
commit1875c17aa5142d90fc03498875e195f2085d9640 (patch)
tree91c6616f8272c525835753fcc7e79a5ad30b5c3e /src/assets/webfonts/webfonts.scss
parent3bf0edcf136b6354274fe0a5870c38350d36e6b7 (diff)
downloadhomer-1875c17aa5142d90fc03498875e195f2085d9640.tar.gz
homer-1875c17aa5142d90fc03498875e195f2085d9640.tar.zst
homer-1875c17aa5142d90fc03498875e195f2085d9640.zip
Full offline support (local fonts)
Diffstat (limited to 'src/assets/webfonts/webfonts.scss')
-rw-r--r--src/assets/webfonts/webfonts.scss23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/assets/webfonts/webfonts.scss b/src/assets/webfonts/webfonts.scss
new file mode 100644
index 0000000..df3b56b
--- /dev/null
+++ b/src/assets/webfonts/webfonts.scss
@@ -0,0 +1,23 @@
1/* raleway-regular - latin */
2@font-face {
3 font-family: "Raleway";
4 font-style: normal;
5 font-weight: 400;
6 font-display: swap;
7 src: local("Raleway"), local("Raleway-Regular"),
8 url("./webfonts/raleway/raleway-v14-latin-regular.woff2") format("woff2"),
9 /* Chrome 26+, Opera 23+, Firefox 39+ */
10 url("./webfonts/raleway/raleway-v14-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
11}
12
13/* lato-regular - latin */
14@font-face {
15 font-family: "Lato";
16 font-style: normal;
17 font-weight: 400;
18 font-display: swap;
19 src: local("Lato Regular"), local("Lato-Regular"),
20 url("./webfonts/lato/lato-v16-latin-regular.woff2") format("woff2"),
21 /* Chrome 26+, Opera 23+, Firefox 39+ */
22 url("./webfonts/lato/lato-v16-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
23}