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 3361183a419..00000000000 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 c6dff51f063..00000000000 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 bb195043cfc..00000000000 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 3d4154936b4..00000000000 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 88ad05b9ff4..00000000000 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 c4e3d804b57..00000000000 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 3f826421a1d..00000000000 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 76114bc0336..00000000000 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 3404f37e2e3..00000000000 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 11e3f2a5f0f..00000000000 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 ae1307ff5f4..00000000000 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 3bf9843328a..00000000000 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 9d8bfb61472..00000000000 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.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-700.woff deleted file mode 100644 index 1d9d75bc6a5..00000000000 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 d88f1af8c8a..00000000000 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 80fdf1689c0..00000000000 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.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.woff deleted file mode 100644 index f79d9a994ac..00000000000 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 c351d88d811..00000000000 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 3a697fa15a9..00000000000 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.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-italic.woff deleted file mode 100644 index 169e8cf544b..00000000000 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 2688dc6f7ac..00000000000 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 2400e1284af..00000000000 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.woff b/public/vendor/assets/lato-fonts/lato-v14-latin-regular.woff deleted file mode 100644 index 97ab144d9fd..00000000000 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 b14c76cab32..00000000000 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 00000000000..0d9dac2ff74 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-v14-latin-700.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-700.svg similarity index 100% rename from public/vendor/assets/lato-fonts/lato-v14-latin-700.svg rename to public/vendor/assets/lato-fonts/lato-v16-latin-700.svg diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-700.ttf similarity index 90% rename from public/vendor/assets/lato-fonts/lato-v14-latin-700.ttf rename to public/vendor/assets/lato-fonts/lato-v16-latin-700.ttf index eeea013c535..4f3d84480b5 100644 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700.ttf 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 00000000000..abf0196d832 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 00000000000..f8c37ecde4d 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 00000000000..1ab37ef7ba2 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-v14-latin-700italic.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.svg similarity index 100% rename from public/vendor/assets/lato-fonts/lato-v14-latin-700italic.svg rename to public/vendor/assets/lato-fonts/lato-v16-latin-700italic.svg diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf similarity index 93% rename from public/vendor/assets/lato-fonts/lato-v14-latin-700italic.ttf rename to public/vendor/assets/lato-fonts/lato-v16-latin-700italic.ttf index 165eae5220e..96b4f823474 100644 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-700italic.ttf 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 00000000000..cdf0d86aef9 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 00000000000..5b3f882d813 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 00000000000..8e32803d7a8 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-v14-latin-italic.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.svg similarity index 100% rename from public/vendor/assets/lato-fonts/lato-v14-latin-italic.svg rename to public/vendor/assets/lato-fonts/lato-v16-latin-italic.svg diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-italic.ttf similarity index 93% rename from public/vendor/assets/lato-fonts/lato-v14-latin-italic.ttf rename to public/vendor/assets/lato-fonts/lato-v16-latin-italic.ttf index 1aa20364ea9..cf3da8be2de 100644 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-italic.ttf 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 00000000000..95251da0946 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 00000000000..3246c1286f3 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 00000000000..c6413069679 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-v14-latin-regular.svg b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.svg similarity index 100% rename from public/vendor/assets/lato-fonts/lato-v14-latin-regular.svg rename to public/vendor/assets/lato-fonts/lato-v16-latin-regular.svg diff --git a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.ttf b/public/vendor/assets/lato-fonts/lato-v16-latin-regular.ttf similarity index 90% rename from public/vendor/assets/lato-fonts/lato-v14-latin-regular.ttf rename to public/vendor/assets/lato-fonts/lato-v16-latin-regular.ttf index fa245a8a852..3c2d417ea40 100644 Binary files a/public/vendor/assets/lato-fonts/lato-v14-latin-regular.ttf 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 00000000000..189a0feb590 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 00000000000..6904b6649ff 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 c3e97030c12..4a7b3e516e8 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 50911487a79..721863a70fb 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 {