55fa8e61e2
Currently we have two problems that are resolved by this change. The first is that we have a dependency on Google Fonts, which means that should it ever go down, or it have issues we would also have issues. This will resolve this by moving the dependencies we load from there to the local server. The second issue is that Google Fonts is currently returning the `local()` css font source. This causes a problem where the users browser fails to fallback to a missing glyph, resulting in many unusual characters displaying the failure glyph. This will resolve this by creating a font-family definition that does not use the `local()` source. I did not update the error pages with local fonts, they still use the remote google fonts api, so they're a self contained page that does not use the asset pipeline. This resolves tootsuite/mastodon#531 and tootsuite/mastodon#12
15 lines
409 B
SCSS
15 lines
409 B
SCSS
@import "../app/assets/stylesheets/fonts/roboto";
|
|
@import "../app/assets/stylesheets/fonts/roboto-mono";
|
|
|
|
#root {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: #282c37;
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
font-weight: 400;
|
|
color: #fff;
|
|
padding-bottom: 140px;
|
|
text-rendering: optimizelegibility;
|
|
font-feature-settings: "kern";
|
|
padding: 4rem;
|
|
}
|