diff options
author | Jessica Stokes <hello@jessicastokes.net> | 2017-01-04 20:24:27 -0800 |
---|---|---|
committer | Jessica Stokes <hello@jessicastokes.net> | 2017-01-04 20:24:27 -0800 |
commit | 1f3c895ffb320c188b77b0036603b40a22733902 (patch) | |
tree | ae3f3234d9bd0f2763c7bd0c144e0cd95f3a9fcb /public | |
parent | 9bb1b97d2a31477ce3da83fb204dd5702323c1bb (diff) |
Use system fonts on more platforms
This allows other platforms such as Windows, macOS and iOS to use their system fonts rather than downloading a copy of Roboto. It also makes the app feel a little closer to native on those platforms!
Diffstat (limited to 'public')
-rw-r--r-- | public/404.html | 4 | ||||
-rw-r--r-- | public/500.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/public/404.html b/public/404.html index eecfd6743..fc75c78be 100644 --- a/public/404.html +++ b/public/404.html @@ -7,7 +7,7 @@ <link href="https://fonts.googleapis.com/css?family=Roboto:400" rel="stylesheet"> <style> body { - font-family: 'Roboto', sans-serif; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #282c37; color: #9baec8; text-align: center; @@ -25,7 +25,7 @@ } .dialog h1 { - font: 20px/28px 'Roboto', sans-serif; + font: 20px/28px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-weight: 400; } </style> diff --git a/public/500.html b/public/500.html index 915b890f1..d085d490b 100644 --- a/public/500.html +++ b/public/500.html @@ -7,7 +7,7 @@ <link href="https://fonts.googleapis.com/css?family=Roboto:400" rel="stylesheet"> <style> body { - font-family: 'Roboto', sans-serif; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #282c37; color: #9baec8; text-align: center; @@ -25,7 +25,7 @@ } .dialog h1 { - font: 20px/28px 'Roboto', sans-serif; + font: 20px/28px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-weight: 400; } </style> |