Skip to content

Commit e43e717

Browse files
Blendifybenjaoming
andauthored
Remove font-smoothing (#1094)
* Remove font-smoothing This is a non standard css feature and is not supported on many platforms. And has been removed from the css standard specification. It is advized to not use it according to MDN along with many other guides on the internet. * rebuild theme.css and badge_only.css for readthedocs/sphinx_rtd_theme#1094 Co-authored-by: Benjamin Bach <[email protected]>
1 parent f7b55be commit e43e717

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

sphinx_rtd_theme/static/css/badge_only.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sphinx_rtd_theme/static/css/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/_theme_badge_fa.sass

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
font-weight: normal
1010
line-height: 1
1111
text-decoration: inherit
12-
+font-smooth
1312

1413
a .fa
1514
display: inline-block

src/sass/_theme_layout.sass

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ html
8585
background: $menu-vertical-background-color
8686
border: none
8787
padding-left: $gutter -4px
88-
+font-smooth
8988
&:hover
9089
background: $menu-vertical-background-color
9190
button.toctree-expand
@@ -218,7 +217,6 @@ html
218217
padding: ($base-line-height / 6) ($base-line-height / 4)
219218
margin-bottom: $gutter / 2
220219
max-width: 100%
221-
+font-smooth
222220
&:hover
223221
background: rgba(255, 255, 255, 0.1)
224222
img.logo
@@ -308,7 +306,6 @@ html
308306
a
309307
color: $white
310308
font-weight: bold
311-
+font-smooth
312309
img
313310
margin-right: $base-line-height / 2
314311
height: 45px

0 commit comments

Comments
 (0)