Re:Self-host your fonts for better performance
by Conlectus on Friday December 04, 2020 @12:01PM
(#25304736)
> How arrogant of the web developer to override the user's preference!
I imagine this is partly tongue-in-cheek, but I think the real difficulty here is that CSS doesn't differentiate between "user-configured sans-serif font" and "the system fallback sans-serif font". As a result, you can't allow users to override your font choices without disregarding custom fonts entirely.
Re:Self-host your fonts for better performance
by sergeykish on Friday December 04, 2020 @01:52PM
(#25306147)
Use Stylus, for example I do not like StackOverflow left menu and sticky menu:
.left-sidebar { display: none }
#content { width: 100% /* calc(100% - 164px) */ }
.top-bar { display: none }
body { padding-top: inherit /* 50px */ }
its no script experience cluttered by warning and GDPR consent: #noscript-warning { display: none }
body { margin-top: inherit /* 1.9em */ }
#js-gdpr-consent-banner { display: none }
Users can extend, overwrite and even discard authors styles, but they have to either understand web layout or use userstyles.org.
I remember when the browsers even allowed the user to configure a background image for content. You could have all your web sites render over a tiled picture of a brick wall if you wanted. Year after year, we give up end-user configurability and simply hand it over to nameless web designers who decide what is good for us.