From d720db34d70d87dfb1327bec30ff945a30b387ed Mon Sep 17 00:00:00 2001 From: miguelzinh3 Date: Tue, 16 Jan 2024 20:07:20 -0300 Subject: [PATCH] fix(nossas): change bebas neue path --- .../design/static/design/scss/typography.scss | 60 +++++++++---------- app/project/settings/ckeditor/font.py | 2 +- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/app/nossas/design/static/design/scss/typography.scss b/app/nossas/design/static/design/scss/typography.scss index 3dadb195..15204962 100644 --- a/app/nossas/design/static/design/scss/typography.scss +++ b/app/nossas/design/static/design/scss/typography.scss @@ -1,88 +1,88 @@ @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-ThinItalic.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-ThinItalic.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-ThinItalic.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-ThinItalic.woff") format("woff"); font-weight: 100; font-style: italic; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-Thin.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-Thin.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-Thin.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-Thin.woff") format("woff"); font-weight: 100; font-style: normal; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-Regular.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-Regular.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-Regular.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-Regular.woff") format("woff"); font-weight: normal; font-style: normal; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-Italic.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-Italic.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-Italic.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-Italic.woff") format("woff"); font-weight: normal; font-style: italic; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-LightItalic.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-LightItalic.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-LightItalic.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-LightItalic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-Light.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-Light.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-Light.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro Book'; - src: url('static/design/fonts/BebasNeuePro-BookItalic.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-BookItalic.woff') format('woff'); + font-family: "Bebas Neue Pro Book"; + src: url("/static/design/fonts/BebasNeuePro-BookItalic.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-BookItalic.woff") format("woff"); font-weight: normal; font-style: italic; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-BoldItalic.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-BoldItalic.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-BoldItalic.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-BoldItalic.woff") format("woff"); font-weight: bold; font-style: italic; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro'; - src: url('static/design/fonts/BebasNeuePro-Bold.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-Bold.woff') format('woff'); + font-family: "Bebas Neue Pro"; + src: url("/static/design/fonts/BebasNeuePro-Bold.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-Bold.woff") format("woff"); font-weight: bold; font-style: normal; font-display: swap; } @font-face { - font-family: 'Bebas Neue Pro Book'; - src: url('static/design/fonts/BebasNeuePro-Book.woff2') format('woff2'), - url('static/design/fonts/BebasNeuePro-Book.woff') format('woff'); + font-family: "Bebas Neue Pro Book"; + src: url("/static/design/fonts/BebasNeuePro-Book.woff2") format("woff2"), + url("/static/design/fonts/BebasNeuePro-Book.woff") format("woff"); font-weight: normal; font-style: normal; font-display: swap; diff --git a/app/project/settings/ckeditor/font.py b/app/project/settings/ckeditor/font.py index 80736130..d42ef22c 100644 --- a/app/project/settings/ckeditor/font.py +++ b/app/project/settings/ckeditor/font.py @@ -11,7 +11,7 @@ "Arvo", "Asap", "Baloo Bhai", - "Bebas Neue", + "Bebas Neue Pro", "Bitter", "Bree Serif", "Capriola",