From: Lunny Xiao Date: Thu, 26 Dec 2019 04:11:39 +0000 (+0800) Subject: Upgrade lato fonts to v16. (#9498) X-Git-Tag: v1.11.0-rc1~80 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c0f879546261b445e3232e31c20388d0af1eb816;p=gitea.git Upgrade lato fonts to v16. (#9498) * Upgrade lato fonts to v16 * Upgrade lato fonts to v16 * fix bug --- diff --git a/public/vendor/assets/lato-fonts/lato-bold.eot b/public/vendor/assets/lato-fonts/lato-bold.eot deleted file mode 100644 index 3361183a41..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-bold.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-bold.woff b/public/vendor/assets/lato-fonts/lato-bold.woff deleted file mode 100644 index c6dff51f06..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-bold.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-bold.woff2 b/public/vendor/assets/lato-fonts/lato-bold.woff2 deleted file mode 100644 index bb195043cf..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-bold.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-bolditalic.eot b/public/vendor/assets/lato-fonts/lato-bolditalic.eot deleted file mode 100644 index 3d4154936b..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-bolditalic.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-bolditalic.woff b/public/vendor/assets/lato-fonts/lato-bolditalic.woff deleted file mode 100644 index 88ad05b9ff..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-bolditalic.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-bolditalic.woff2 b/public/vendor/assets/lato-fonts/lato-bolditalic.woff2 deleted file mode 100644 index c4e3d804b5..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-bolditalic.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-italic.eot b/public/vendor/assets/lato-fonts/lato-italic.eot deleted file mode 100644 index 3f826421a1..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-italic.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-italic.woff b/public/vendor/assets/lato-fonts/lato-italic.woff deleted file mode 100644 index 76114bc033..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-italic.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-italic.woff2 b/public/vendor/assets/lato-fonts/lato-italic.woff2 deleted file mode 100644 index 3404f37e2e..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-italic.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-regular.eot b/public/vendor/assets/lato-fonts/lato-regular.eot deleted file mode 100644 index 11e3f2a5f0..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-regular.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-regular.woff b/public/vendor/assets/lato-fonts/lato-regular.woff deleted file mode 100644 index ae1307ff5f..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-regular.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-regular.woff2 b/public/vendor/assets/lato-fonts/lato-regular.woff2 deleted file mode 100644 index 3bf9843328..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-regular.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700.eot b/public/vendor/assets/lato-fonts/lato-v14-latin-700.eot deleted file mode 100644 index 9d8bfb6147..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700.svg b/public/vendor/assets/lato-fonts/lato-v14-latin-700.svg deleted file mode 100644 index 077653d202..0000000000 --- a/public/vendor/assets/lato-fonts/lato-v14-latin-700.svg +++ /dev/null @@ -1,438 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700.ttf b/public/vendor/assets/lato-fonts/lato-v14-latin-700.ttf deleted file mode 100644 index eeea013c53..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700.ttf and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-700.woff deleted file mode 100644 index 1d9d75bc6a..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700.woff2 b/public/vendor/assets/lato-fonts/lato-v14-latin-700.woff2 deleted file mode 100644 index d88f1af8c8..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.eot b/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.eot deleted file mode 100644 index 80fdf1689c..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.svg b/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.svg deleted file mode 100644 index 3e9d4409b3..0000000000 --- a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.svg +++ /dev/null @@ -1,451 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.ttf b/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.ttf deleted file mode 100644 index 165eae5220..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.ttf and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.woff deleted file mode 100644 index f79d9a994a..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.woff2 b/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.woff2 deleted file mode 100644 index c351d88d81..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.eot b/public/vendor/assets/lato-fonts/lato-v14-latin-italic.eot deleted file mode 100644 index 3a697fa15a..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.svg b/public/vendor/assets/lato-fonts/lato-v14-latin-italic.svg deleted file mode 100644 index e288645b12..0000000000 --- a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.svg +++ /dev/null @@ -1,450 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.ttf b/public/vendor/assets/lato-fonts/lato-v14-latin-italic.ttf deleted file mode 100644 index 1aa20364ea..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.ttf and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-italic.woff deleted file mode 100644 index 169e8cf544..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.woff2 b/public/vendor/assets/lato-fonts/lato-v14-latin-italic.woff2 deleted file mode 100644 index 2688dc6f7a..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.eot b/public/vendor/assets/lato-fonts/lato-v14-latin-regular.eot deleted file mode 100644 index 2400e1284a..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.eot and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.svg b/public/vendor/assets/lato-fonts/lato-v14-latin-regular.svg deleted file mode 100644 index 55b43fb86a..0000000000 --- a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.svg +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.ttf b/public/vendor/assets/lato-fonts/lato-v14-latin-regular.ttf deleted file mode 100644 index fa245a8a85..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.ttf and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-regular.woff deleted file mode 100644 index 97ab144d9f..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.woff and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.woff2 b/public/vendor/assets/lato-fonts/lato-v14-latin-regular.woff2 deleted file mode 100644 index b14c76cab3..0000000000 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.woff2 and /dev/null differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700.eot b/public/vendor/assets/lato-fonts/lato-v16-latin-700.eot new file mode 100644 index 0000000000..0d9dac2ff7 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700.eot differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-700.svg new file mode 100644 index 0000000000..077653d202 --- /dev/null +++ b/public/vendor/assets/lato-fonts/lato-v16-latin-700.svg @@ -0,0 +1,438 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-700.ttf new file mode 100644 index 0000000000..4f3d84480b Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700.ttf differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700.woff b/public/vendor/assets/lato-fonts/lato-v16-latin-700.woff new file mode 100644 index 0000000000..abf0196d83 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700.woff differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700.woff2 b/public/vendor/assets/lato-fonts/lato-v16-latin-700.woff2 new file mode 100644 index 0000000000..f8c37ecde4 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700.woff2 differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.eot b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.eot new file mode 100644 index 0000000000..1ab37ef7ba Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.eot differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.svg new file mode 100644 index 0000000000..3e9d4409b3 --- /dev/null +++ b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.svg @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf new file mode 100644 index 0000000000..96b4f82347 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.woff b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.woff new file mode 100644 index 0000000000..cdf0d86aef Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.woff differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.woff2 b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.woff2 new file mode 100644 index 0000000000..5b3f882d81 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.woff2 differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-italic.eot b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.eot new file mode 100644 index 0000000000..8e32803d7a Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.eot differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-italic.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.svg new file mode 100644 index 0000000000..e288645b12 --- /dev/null +++ b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.svg @@ -0,0 +1,450 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-italic.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.ttf new file mode 100644 index 0000000000..cf3da8be2d Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.ttf differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-italic.woff b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.woff new file mode 100644 index 0000000000..95251da094 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.woff differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-italic.woff2 b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.woff2 new file mode 100644 index 0000000000..3246c1286f Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.woff2 differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-regular.eot b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.eot new file mode 100644 index 0000000000..c641306967 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.eot differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-regular.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.svg new file mode 100644 index 0000000000..55b43fb86a --- /dev/null +++ b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.svg @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-regular.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.ttf new file mode 100644 index 0000000000..3c2d417ea4 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.ttf differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-regular.woff b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.woff new file mode 100644 index 0000000000..189a0feb59 Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.woff differ diff --git a/public/vendor/assets/lato-fonts/lato-v16-latin-regular.woff2 b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.woff2 new file mode 100644 index 0000000000..6904b6649f Binary files /dev/null and b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.woff2 differ diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl index c3e97030c1..4a7b3e516e 100644 --- a/templates/pwa/serviceworker_js.tmpl +++ b/templates/pwa/serviceworker_js.tmpl @@ -46,8 +46,8 @@ var urlsToCache = [ // fonts '{{StaticUrlPrefix}}/vendor/plugins/fomantic/themes/default/assets/fonts/icons.woff2', '{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6', - '{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v14-latin-regular.woff2', - '{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v14-latin-700.woff2' + '{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v16-latin-regular.woff2', + '{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v16-latin-700.woff2' ]; self.addEventListener('install', function (event) { diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 50911487a7..721863a70f 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1,33 +1,85 @@ +/* lato-regular - latin */ @font-face { font-family: 'Lato'; - src: url('../vendor/assets/lato-fonts/lato-regular.eot'); - src: url('../vendor/assets/lato-fonts/lato-regular.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-regular.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-regular.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-regular.ttf') format('truetype'); - font-weight: 400; font-style: normal; -} - + font-weight: 400; + src: url('../vendor/assets/lato-fonts/lato-v16-latin-regular.eot'); /* IE9 Compat Modes */ + src: + local('Lato Regular'), + local('Lato-Regular'), + /* IE6-IE8 */ + url('../vendor/assets/lato-fonts/lato-v16-latin-regular.eot?#iefix') format('embedded-opentype'), + /* Super Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-regular.woff2') format('woff2'), + /* Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-regular.woff') format('woff'), + /* Safari, Android, iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-regular.ttf') format('truetype'), + /* Legacy iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-regular.svg#Lato') format('svg'); +} + +/* lato-italic - latin */ @font-face { font-family: 'Lato'; - src: url('../vendor/assets/lato-fonts/lato-italic.eot'); - src: url('../vendor/assets/lato-fonts/lato-italic.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-italic.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-italic.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-italic.ttf') format('truetype'); - font-weight: 400; font-style: italic; -} - + font-weight: 400; + src: url('../vendor/assets/lato-fonts/lato-v16-latin-italic.eot'); /* IE9 Compat Modes */ + src: + local('Lato Italic'), + local('Lato-Italic'), + /* IE6-IE8 */ + url('../vendor/assets/lato-fonts/lato-v16-latin-italic.eot?#iefix') format('embedded-opentype'), + /* Super Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-italic.woff2') format('woff2'), + /* Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-italic.woff') format('woff'), + /* Safari, Android, iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-italic.ttf') format('truetype'), + /* Legacy iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-italic.svg#Lato') format('svg'); +} + +/* lato-700 - latin */ @font-face { font-family: 'Lato'; - src: url('../vendor/assets/lato-fonts/lato-bold.eot'); - src: url('../vendor/assets/lato-fonts/lato-bold.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-bold.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-bold.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-bold.ttf') format('truetype'); - font-weight: 700; font-style: normal; -} - + font-weight: 700; + src: url('../vendor/assets/lato-fonts/lato-v16-latin-700.eot'); /* IE9 Compat Modes */ + src: + local('Lato Bold'), + local('Lato-Bold'), + /* IE6-IE8 */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700.eot?#iefix') format('embedded-opentype'), + /* Super Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700.woff2') format('woff2'), + /* Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700.woff') format('woff'), + /* Safari, Android, iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700.ttf') format('truetype'), + /* Legacy iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700.svg#Lato') format('svg'); +} + +/* lato-700italic - latin */ @font-face { font-family: 'Lato'; - src: url('../vendor/assets/lato-fonts/lato-bolditalic.eot'); - src: url('../vendor/assets/lato-fonts/lato-bolditalic.eot?#iefix') format('embedded-opentype'), url('../vendor/assets/lato-fonts/lato-bolditalic.woff2') format('woff2'), url('../vendor/assets/lato-fonts/lato-bolditalic.woff') format('woff'), url('../vendor/assets/lato-fonts/lato-bolditalic.ttf') format('truetype'); - font-weight: 700; font-style: italic; + font-weight: 700; + src: url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.eot'); /* IE9 Compat Modes */ + src: + local('Lato Bold Italic'), + local('Lato-BoldItalic'), + /* IE6-IE8 */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.eot?#iefix') format('embedded-opentype'), + /* Super Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.woff2') format('woff2'), + /* Modern Browsers */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.woff') format('woff'), + /* Safari, Android, iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf') format('truetype'), + /* Legacy iOS */ + url('../vendor/assets/lato-fonts/lato-v16-latin-700italic.svg#Lato') format('svg'); } @font-face {