Loading fonts from our own site instead of from Google

...for privacy reasons
This commit is contained in:
Christoph Haas 2016-07-13 15:06:09 +02:00
parent 473346d9f3
commit fcbe621ea1
3 changed files with 18 additions and 1 deletions

View file

@ -584,7 +584,24 @@ $topbar-breakpoint: 800px;
$topbar-media-query: "only screen and (min-width: #{$topbar-breakpoint})";
// Import Google font
@import url(http://fonts.googleapis.com/css?family=Droid+Sans:400,700);
// @import url(//fonts.googleapis.com/css?family=Droid+Sans:400,700);
// Use fonts from out own site. Do not load from Google for privacy reasons.
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 400;
src: local('Droid Sans'), local('DroidSans'), url(/fonts/DroidSans.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 700;
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(/fonts/DroidSans-Bold.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
$body-font-family: "Droid Sans";
$button-tny: rem-calc(4);

Binary file not shown.

Binary file not shown.