From cd912b758215ab583e0d29e507620e11d5d74959 Mon Sep 17 00:00:00 2001 From: meles5 Date: Fri, 13 Nov 2015 23:09:24 +0100 Subject: Restore to old fonts --- www/media/OpenSans-Bold.ttf | Bin 224592 -> 0 bytes www/media/OpenSans-Bold.woff2 | Bin 0 -> 16276 bytes www/media/OpenSans-License.asciidoc | 6 +++--- www/media/OpenSans-Regular.ttf | Bin 217360 -> 0 bytes www/media/OpenSans-Regular.woff2 | Bin 0 -> 15572 bytes www/media/font.css | 12 +++++------- 6 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 www/media/OpenSans-Bold.ttf create mode 100644 www/media/OpenSans-Bold.woff2 delete mode 100644 www/media/OpenSans-Regular.ttf create mode 100644 www/media/OpenSans-Regular.woff2 (limited to 'www') diff --git a/www/media/OpenSans-Bold.ttf b/www/media/OpenSans-Bold.ttf deleted file mode 100644 index fd79d43be..000000000 Binary files a/www/media/OpenSans-Bold.ttf and /dev/null differ diff --git a/www/media/OpenSans-Bold.woff2 b/www/media/OpenSans-Bold.woff2 new file mode 100644 index 000000000..be4c25b42 Binary files /dev/null and b/www/media/OpenSans-Bold.woff2 differ diff --git a/www/media/OpenSans-License.asciidoc b/www/media/OpenSans-License.asciidoc index 6f96b9907..eee8aa73c 100644 --- a/www/media/OpenSans-License.asciidoc +++ b/www/media/OpenSans-License.asciidoc @@ -5,9 +5,9 @@ Open Sans font by https://www.google.com/fonts/specimen/Open+Sans[Google], licen [options="header"] |================================================================================= -|File |Copyright -|`OpenSans-Regular.ttf` |Digitized data copyright 2010-2011, Google Corporation. -|`OpenSans-Bold.ttf` |Digitized data copyright 2010-2011, Google Corporation. +|File |Copyright +|`OpenSans-Regular.woff2` |Digitized data copyright 2010-2011, Google Corporation. +|`OpenSans-Bold.woff2` |Digitized data copyright 2010-2011, Google Corporation. |================================================================================= diff --git a/www/media/OpenSans-Regular.ttf b/www/media/OpenSans-Regular.ttf deleted file mode 100644 index db433349b..000000000 Binary files a/www/media/OpenSans-Regular.ttf and /dev/null differ diff --git a/www/media/OpenSans-Regular.woff2 b/www/media/OpenSans-Regular.woff2 new file mode 100644 index 000000000..5287058cf Binary files /dev/null and b/www/media/OpenSans-Regular.woff2 differ diff --git a/www/media/font.css b/www/media/font.css index 1a7fa5708..c2f216991 100644 --- a/www/media/font.css +++ b/www/media/font.css @@ -1,13 +1,11 @@ @font-face { - font-family: 'Open Sans'; - font-weight: 400; - src: url(OpenSans-Regular.ttf) format("truetype"); - src: local('Open Sans'), local('OpenSans'), url(OpenSans-Regular.ttf) format('truetype'); + font-family: "Open Sans"; + font-weight: normal; + src: url(OpenSans-Regular.woff2) format("woff2"); } @font-face { font-family: 'Open Sans'; - font-weight: 700; - src: url(OpenSans-Bold.ttf) format("truetype"); - src: local('Open Sans'), local('OpenSans'), url(OpenSans-Bold.ttf) format('truetype'); + font-weight: bold; + src: url(OpenSans-Bold.woff2) format("woff2"); } -- cgit v1.2.3-54-g00ecf