diff options
author | Dylan Greene <dylang@gmail.com> | 2015-11-17 16:15:33 -0500 |
---|---|---|
committer | Dylan Greene <dylang@gmail.com> | 2015-11-17 16:15:33 -0500 |
commit | 3d2155eb66557e36ba87db652c5d02ab26486a40 (patch) | |
tree | 6b865df6551b3cc112dd9d6338492fd63ecf577f /theme | |
parent | bd24b03548e381efe213829ef3dfe7ed5ce6f8c5 (diff) | |
download | gitbook-3d2155eb66557e36ba87db652c5d02ab26486a40.zip gitbook-3d2155eb66557e36ba87db652c5d02ab26486a40.tar.gz gitbook-3d2155eb66557e36ba87db652c5d02ab26486a40.tar.bz2 |
Make fonts nicer on Macs
Removed the `antialias` setting which tells Chrome to not use native font rendering and instead use something from the late 2010's that isn't subpixel-friendly and looks very blocky. This used to be required when OS X browsers didn't antialias by default because it made fonts look bolder than on Windows. This has since been fixed and we are advised to not use `-webkit-font-smooth`.
https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth
Diffstat (limited to 'theme')
-rwxr-xr-x | theme/stylesheets/website.less | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/theme/stylesheets/website.less b/theme/stylesheets/website.less index d808a0b..abd6ff3 100755 --- a/theme/stylesheets/website.less +++ b/theme/stylesheets/website.less @@ -22,7 +22,6 @@ -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: none; -webkit-touch-callout: none; - -webkit-font-smoothing: antialiased; } a { @@ -39,7 +38,6 @@ html { body { text-rendering: optimizeLegibility; - font-smoothing: antialiased; font-family: @font-family-base; font-size: @font-size-base; letter-spacing: .2px; |