From 2d2b2f2e2a9a70dc32ed0df59c42ec5bc9468fcf Mon Sep 17 00:00:00 2001 From: boyska Date: Wed, 5 Aug 2020 03:59:45 +0200 Subject: [PATCH] again on relative paths for fonts --- themes/maya0x17/static/fonts/fonts.scss | 48 ++++++++++++------------- themes/maya0x17/templates/base.html | 1 - 2 files changed, 24 insertions(+), 25 deletions(-) diff --git a/themes/maya0x17/static/fonts/fonts.scss b/themes/maya0x17/static/fonts/fonts.scss index ed2b802..27a8821 100644 --- a/themes/maya0x17/static/fonts/fonts.scss +++ b/themes/maya0x17/static/fonts/fonts.scss @@ -5,13 +5,13 @@ $font-display: swap; font-display: $font-display; font-style: normal; font-weight: 400; - src: url('theme/fonts/recursive-v20-latin-regular.eot'); /* IE9 Compat Modes */ + src: url('fonts/recursive-v20-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), - url('theme/fonts/recursive-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('theme/fonts/recursive-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('theme/fonts/recursive-v20-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('theme/fonts/recursive-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('theme/fonts/recursive-v20-latin-regular.svg#Recursive') format('svg'); /* Legacy iOS */ + url('fonts/recursive-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/recursive-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/recursive-v20-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('fonts/recursive-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/recursive-v20-latin-regular.svg#Recursive') format('svg'); /* Legacy iOS */ } /* recursive-500 - latin */ @@ -20,13 +20,13 @@ $font-display: swap; font-family: 'Recursive'; font-style: normal; font-weight: 500; - src: url('theme/fonts/recursive-v20-latin-500.eot'); /* IE9 Compat Modes */ + src: url('fonts/recursive-v20-latin-500.eot'); /* IE9 Compat Modes */ src: local(''), - url('theme/fonts/recursive-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('theme/fonts/recursive-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ - url('theme/fonts/recursive-v20-latin-500.woff') format('woff'), /* Modern Browsers */ - url('theme/fonts/recursive-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ - url('theme/fonts/recursive-v20-latin-500.svg#Recursive') format('svg'); /* Legacy iOS */ + url('fonts/recursive-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/recursive-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/recursive-v20-latin-500.woff') format('woff'), /* Modern Browsers */ + url('fonts/recursive-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/recursive-v20-latin-500.svg#Recursive') format('svg'); /* Legacy iOS */ } /* recursive-800 - latin */ @@ -35,13 +35,13 @@ $font-display: swap; font-family: 'Recursive'; font-style: normal; font-weight: 800; - src: url('theme/fonts/recursive-v20-latin-800.eot'); /* IE9 Compat Modes */ + src: url('fonts/recursive-v20-latin-800.eot'); /* IE9 Compat Modes */ src: local(''), - url('theme/fonts/recursive-v20-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('theme/fonts/recursive-v20-latin-800.woff2') format('woff2'), /* Super Modern Browsers */ - url('theme/fonts/recursive-v20-latin-800.woff') format('woff'), /* Modern Browsers */ - url('theme/fonts/recursive-v20-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */ - url('theme/fonts/recursive-v20-latin-800.svg#Recursive') format('svg'); /* Legacy iOS */ + url('fonts/recursive-v20-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/recursive-v20-latin-800.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/recursive-v20-latin-800.woff') format('woff'), /* Modern Browsers */ + url('fonts/recursive-v20-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/recursive-v20-latin-800.svg#Recursive') format('svg'); /* Legacy iOS */ } /* caesar-dressing-regular - latin */ @font-face { @@ -49,11 +49,11 @@ $font-display: swap; font-family: 'Caesar Dressing'; font-style: normal; font-weight: 400; - src: url('theme/fonts/caesar-dressing-v9-latin-regular.eot'); /* IE9 Compat Modes */ + src: url('fonts/caesar-dressing-v9-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Caesar Dressing'), local('CaesarDressing-Regular'), - url('theme/fonts/caesar-dressing-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('theme/fonts/caesar-dressing-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('theme/fonts/caesar-dressing-v9-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('theme/fonts/caesar-dressing-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('theme/fonts/caesar-dressing-v9-latin-regular.svg#CaesarDressing') format('svg'); /* Legacy iOS */ + url('fonts/caesar-dressing-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/caesar-dressing-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/caesar-dressing-v9-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('fonts/caesar-dressing-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/caesar-dressing-v9-latin-regular.svg#CaesarDressing') format('svg'); /* Legacy iOS */ } diff --git a/themes/maya0x17/templates/base.html b/themes/maya0x17/templates/base.html index cc32432..0aa50a6 100644 --- a/themes/maya0x17/templates/base.html +++ b/themes/maya0x17/templates/base.html @@ -12,7 +12,6 @@ {% assets filters="pyscss", output="fonts.css", "fonts/fonts.scss" %} {% endassets %} - {% if FAVICON %}