diff --git a/app/assets/stylesheets/_settings.scss b/app/assets/stylesheets/_settings.scss index 8dbd208..8c556ac 100644 --- a/app/assets/stylesheets/_settings.scss +++ b/app/assets/stylesheets/_settings.scss @@ -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); diff --git a/public/fonts/DroidSans-Bold.woff2 b/public/fonts/DroidSans-Bold.woff2 new file mode 100644 index 0000000..5afcf37 Binary files /dev/null and b/public/fonts/DroidSans-Bold.woff2 differ diff --git a/public/fonts/DroidSans.woff2 b/public/fonts/DroidSans.woff2 new file mode 100644 index 0000000..79b4b8d Binary files /dev/null and b/public/fonts/DroidSans.woff2 differ