From 61ed951278588bfaa83c777eb85621b0f8da4daa Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 8 May 2021 04:15:05 +0200 Subject: Fix CDN not allowed on SRHT --- app/assets/PTS55F-webfont.woff | Bin 0 -> 25388 bytes app/assets/PTS75F-webfont.woff | Bin 0 -> 25784 bytes app/assets/index.html | 2 -- app/base.styl | 16 ++++++++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 app/assets/PTS55F-webfont.woff create mode 100644 app/assets/PTS75F-webfont.woff (limited to 'app') diff --git a/app/assets/PTS55F-webfont.woff b/app/assets/PTS55F-webfont.woff new file mode 100644 index 0000000..b619ce8 Binary files /dev/null and b/app/assets/PTS55F-webfont.woff differ diff --git a/app/assets/PTS75F-webfont.woff b/app/assets/PTS75F-webfont.woff new file mode 100644 index 0000000..b47cb12 Binary files /dev/null and b/app/assets/PTS75F-webfont.woff differ diff --git a/app/assets/index.html b/app/assets/index.html index 885808f..1b4f5da 100644 --- a/app/assets/index.html +++ b/app/assets/index.html @@ -3,7 +3,6 @@ A14M - @@ -251,5 +250,4 @@ - diff --git a/app/base.styl b/app/base.styl index c44f477..4ce5d64 100644 --- a/app/base.styl +++ b/app/base.styl @@ -15,6 +15,22 @@ secondaryColor = #DB0A16 } } +@font-face { + font-family: 'PT Sans'; + src: local('PT Sans'), url('PTS55F-webfont.woff') format('woff') + font-weight: 400; + font-display: fallback; + font-style: normal; +} + +@font-face { + font-family: 'PT Sans'; + src: local('PT Sans'), url('PTS75F-webfont.woff') format('woff') + font-weight: 700; + font-display: fallback; + font-style: normal; +} + body { font-family: "PT Sans", sans-serif max-width: 1024px -- cgit v1.2.3