diff options
| author | Ahmed Abdelhalim <[email protected]> | 2021-05-08 05:16:25 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2021-05-08 05:16:25 +0200 |
| commit | d18d128994e3ae4a6afc03b495d6d12ebb64f2a1 (patch) | |
| tree | 7d98b7ff3e0a475b6f6f86c35916663c0908bf5d | |
| parent | e12445c5e0299015a0055f268955751e0ee9ae2c (diff) | |
Remove PT Sans web and fallback to Arial on mobile
Arial looks much better and is supported widely
| -rw-r--r-- | app/assets/PTS55F-webfont.woff | bin | 25388 -> 0 bytes | |||
| -rw-r--r-- | app/assets/PTS75F-webfont.woff | bin | 25784 -> 0 bytes | |||
| -rw-r--r-- | app/base.styl | 18 |
3 files changed, 1 insertions, 17 deletions
diff --git a/app/assets/PTS55F-webfont.woff b/app/assets/PTS55F-webfont.woff Binary files differdeleted file mode 100644 index b619ce8..0000000 --- a/app/assets/PTS55F-webfont.woff +++ /dev/null diff --git a/app/assets/PTS75F-webfont.woff b/app/assets/PTS75F-webfont.woff Binary files differdeleted file mode 100644 index b47cb12..0000000 --- a/app/assets/PTS75F-webfont.woff +++ /dev/null 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 |
