diff --git a/client/css/main.styl b/client/css/main.styl index 863b4f97..e9b8a6f1 100644 --- a/client/css/main.styl +++ b/client/css/main.styl @@ -1,5 +1,13 @@ @import colors +/* latin */ +@font-face + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + src: local('Open Sans'), local('OpenSans'), url(/fonts/open_sans.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; + /* make cover entire viewport */ html height: 100% @@ -10,7 +18,7 @@ body overflow-y: scroll margin: 0 color: $text-color - font-family: 'Droid Sans', sans-serif + font-family: 'Open Sans', sans-serif font-size: 12pt line-height: 18pt @media (max-width: 800px) diff --git a/client/html/index.htm b/client/html/index.htm index 4b846857..0c2ca61d 100644 --- a/client/html/index.htm +++ b/client/html/index.htm @@ -6,7 +6,6 @@ <!-- configured in the config file --> - diff --git a/client/public/fonts/.gitignore b/client/public/fonts/.gitignore new file mode 100644 index 00000000..b1f4eacb --- /dev/null +++ b/client/public/fonts/.gitignore @@ -0,0 +1,3 @@ +* +!open_sans.woff2 +!.gitignore diff --git a/client/public/fonts/open_sans.woff2 b/client/public/fonts/open_sans.woff2 new file mode 100644 index 00000000..5287058c Binary files /dev/null and b/client/public/fonts/open_sans.woff2 differ