Commit 268fce2d authored by rohieb's avatar rohieb
Browse files

theme: serve Droid fonts locally

Serving fonts through Google Fonts is considered a breach of GDPR
Section 6 paragraph 1 sentence 1 lit. f by at least one German court.

https://rewis.io/urteile/urteil/lhm-20-01-2022-3-o-1749320/
parent 425c6388
Pipeline #2241 passed with stage
in 23 seconds
......@@ -32,9 +32,26 @@
url("fonts/YanoneKaffeesatzZeroHack-Bold.woff") format("woff")
}
@import 'https://fonts.googleapis.com/css?family=Droid+Sans';
@import 'https://fonts.googleapis.com/css?family=Droid+Sans+Mono';
@import 'https://fonts.googleapis.com/css?family=Droid+Serif';
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 400;
src: local("Droid Sans"), local("DroidSans-Regular"), url("fonts/DroidSans.ttf") format('truetype');
}
@font-face {
font-family: 'Droid Sans Mono';
font-style: normal;
font-weight: 400;
src: local("Droid Sans Mono"), local("DroidSansMono-Regular"), url("fonts/DroidSansMono.ttf") format('truetype');
}
@font-face {
font-family: 'Droid Serif';
font-style: normal;
font-weight: 400;
src: local("Droid Serif"), local ("DroidSerif-Regular"), url("fonts/DroidSerif.ttf") format('truetype');
}
$sans: "Droid Sans", sans-serif;
......
Supports Markdown
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