Skip to content

Commit

Permalink
Remove font-smoothing (#1094)
Browse files Browse the repository at this point in the history
* 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 #1094

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
  • Loading branch information
Blendify and benjaoming committed Aug 27, 2022
1 parent 15fdfa1 commit 918ca5b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/css/badge_only.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/css/theme.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/sass/_theme_badge_fa.sass
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
font-weight: normal
line-height: 1
text-decoration: inherit
+font-smooth

a .fa
display: inline-block
Expand Down
3 changes: 0 additions & 3 deletions src/sass/_theme_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ html
background: $menu-vertical-background-color
border: none
padding-left: $gutter -4px
+font-smooth
&:hover
background: $menu-vertical-background-color
button.toctree-expand
Expand Down Expand Up @@ -218,7 +217,6 @@ html
padding: ($base-line-height / 6) ($base-line-height / 4)
margin-bottom: $gutter / 2
max-width: 100%
+font-smooth
&:hover
background: rgba(255, 255, 255, 0.1)
img.logo
Expand Down Expand Up @@ -308,7 +306,6 @@ html
a
color: $white
font-weight: bold
+font-smooth
img
margin-right: $base-line-height / 2
height: 45px
Expand Down

0 comments on commit 918ca5b

Please sign in to comment.