From 4de3bbeafa2e806cf078667aa7d8d0c98eb313c8 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 29 Aug 2019 19:02:42 -0700 Subject: [PATCH] styles: Finish removing manual antialiasing configuration. Followup from commit ddb965110fc6e8a1215ef4a59ab6420cc7b84ab5. Signed-off-by: Anders Kaseorg --- static/assets/icons/template.hbs | 1 - static/styles/portico/landing-page.scss | 2 -- static/styles/portico/markdown.scss | 4 ---- static/styles/portico/portico-signin.scss | 1 - static/styles/portico/portico.scss | 4 ---- static/styles/pygments.scss | 1 - static/styles/settings.scss | 1 - tools/inline-email-css | 1 - 8 files changed, 15 deletions(-) diff --git a/static/assets/icons/template.hbs b/static/assets/icons/template.hbs index 81be70c6b4..a456455f4f 100644 --- a/static/assets/icons/template.hbs +++ b/static/assets/icons/template.hbs @@ -17,7 +17,6 @@ i{{baseSelector}} { line-height: 100%; text-decoration: inherit; - text-rendering: auto; display: inline-block; speak: none; } diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss index d12506b8c8..e5cc02fd2f 100644 --- a/static/styles/portico/landing-page.scss +++ b/static/styles/portico/landing-page.scss @@ -4,8 +4,6 @@ html { } body { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; margin: 0; background-color: hsl(0, 0%, 100%); color: hsl(0, 0%, 27%); diff --git a/static/styles/portico/markdown.scss b/static/styles/portico/markdown.scss index c99ebd3a47..e1527c04e4 100644 --- a/static/styles/portico/markdown.scss +++ b/static/styles/portico/markdown.scss @@ -3,7 +3,6 @@ font-size: 1rem; line-height: 1.5; overflow: auto; - -webkit-font-smoothing: antialiased; @@ -72,9 +71,6 @@ &::after { display: inline-block; font: normal normal normal 16px/1 FontAwesome; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; cursor: pointer; content: "\f0c1"; diff --git a/static/styles/portico/portico-signin.scss b/static/styles/portico/portico-signin.scss index 4bda4e3569..8d95fbf6e4 100644 --- a/static/styles/portico/portico-signin.scss +++ b/static/styles/portico/portico-signin.scss @@ -226,7 +226,6 @@ html { } .new-style { - -webkit-font-smoothing: antialiased; } .register-form.new-style { diff --git a/static/styles/portico/portico.scss b/static/styles/portico/portico.scss index 42fe2cd58f..151176baa1 100644 --- a/static/styles/portico/portico.scss +++ b/static/styles/portico/portico.scss @@ -81,8 +81,6 @@ body { height: 100%; font-weight: 300; font-size: 17px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } /* The API tabbed content tends to have a lot of code blocks, @@ -192,7 +190,6 @@ body { display: block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; - text-rendering: auto; content: "\f107"; margin-right: 5px; @@ -210,7 +207,6 @@ body { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; - text-rendering: auto; content: "\f0d9"; margin-right: 10px; diff --git a/static/styles/pygments.scss b/static/styles/pygments.scss index 3d290787a0..8bbdf63c81 100644 --- a/static/styles/pygments.scss +++ b/static/styles/pygments.scss @@ -1,6 +1,5 @@ .codehilite pre { background-color: hsl(0, 0%, 100%); - -webkit-font-smoothing: auto; } .codehilite .hll { background-color: hsl(60, 100%, 90%); diff --git a/static/styles/settings.scss b/static/styles/settings.scss index 5736f2e7da..d8ea4abe6c 100644 --- a/static/styles/settings.scss +++ b/static/styles/settings.scss @@ -278,7 +278,6 @@ td .button { display: inline-block; font: normal normal normal 12px/1 FontAwesome; font-size: inherit; - text-rendering: auto; } &.active { diff --git a/tools/inline-email-css b/tools/inline-email-css index 21285383c1..954267653a 100755 --- a/tools/inline-email-css +++ b/tools/inline-email-css @@ -23,7 +23,6 @@ if __name__ == "__main__": properties[Profiles.CSS_LEVEL_2]['mso-table-lspace'] = r'0|{num}(pt)' properties[Profiles.CSS_LEVEL_2]['mso-table-rspace'] = r'0|{num}(pt)' properties[Profiles.CSS_LEVEL_2]['-webkit-text-size-adjust'] = r'none|auto|{percentage}' - properties[Profiles.CSS_LEVEL_2]['-webkit-font-smoothing'] = r'none|antialiased|subpixel-antialiased' properties[Profiles.CSS_LEVEL_2]['mso-hide'] = 'all' properties[Profiles.CSS_LEVEL_2]['pointer-events'] = (r'auto|none|visiblePainted|' r'visibleFill|visibleStroke|'