From d18d128994e3ae4a6afc03b495d6d12ebb64f2a1 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 8 May 2021 05:16:25 +0200 Subject: Remove PT Sans web and fallback to Arial on mobile Arial looks much better and is supported widely --- app/assets/PTS55F-webfont.woff | Bin 25388 -> 0 bytes app/assets/PTS75F-webfont.woff | Bin 25784 -> 0 bytes app/base.styl | 18 +----------------- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 app/assets/PTS55F-webfont.woff delete mode 100644 app/assets/PTS75F-webfont.woff diff --git a/app/assets/PTS55F-webfont.woff b/app/assets/PTS55F-webfont.woff deleted file mode 100644 index b619ce8..0000000 Binary files a/app/assets/PTS55F-webfont.woff and /dev/null differ diff --git a/app/assets/PTS75F-webfont.woff b/app/assets/PTS75F-webfont.woff deleted file mode 100644 index b47cb12..0000000 Binary files a/app/assets/PTS75F-webfont.woff and /dev/null differ diff --git a/app/base.styl b/app/base.styl index c9c3abe..28dade7 100644 --- a/app/base.styl +++ b/app/base.styl @@ -14,24 +14,8 @@ secondaryColor = #DB0A16 } } -@font-face { - font-family: "PT Sans Web"; - src: url("PTS55F-webfont.woff") format('woff') - font-weight: 400; - font-display: swap; - font-style: normal; -} - -@font-face { - font-family: "PT Sans Web"; - src: url("PTS75F-webfont.woff") format('woff') - font-weight: 700; - font-display: swap; - font-style: normal; -} - body { - font-family: "PT Sans", "PT Sans Web", sans-serif + font-family: "PT Sans", Arial, sans-serif max-width: 1024px min-width: 375px margin: 0 auto !important -- cgit v1.2.3