Improve font rendering for glyphs on macOS (Hugo)
macOS by default has some intense font smoothing going on, this makes the glyph icon font look really heavy especially on non-"Retina" screens.
Adding two vendor-specific properties to tell the browser to use a different method for smoothing the font makes it look much better.
Here are some examples from bugzilla (top browser Firefox, bottom Safari), and the social icons:
Before | After |
---|---|
This MR is for the Hugo-based theme. See !64 (merged) for the Jekyll one.