use a local copy of Roboto font, it is free "software"

While prototyping with `fdroid serve`, I kept noticing that page refreshes
where waiting for fonts.googleapi.com.  Since this site only uses one free
font, and we want to avoid tracking, I made a local copy of this font and
its related CSS.

https://github.com/google/roboto
https://packages.debian.org/fonts-roboto
parent cceb6df3
......@@ -3,7 +3,12 @@
---
@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Roboto');
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url({{ site.baseurl }}/assets/roboto.ttf) format('truetype');
}
$base-font-family: Roboto, Arial, sans-serif;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment