Skip to content

Commit

Permalink
Merge pull request #1315 from readthedocs/agj/fix-kbd-errors
Browse files Browse the repository at this point in the history
Fix SASS syntax errors from #967
  • Loading branch information
benjaoming committed Aug 17, 2022
2 parents 34e29e6 + 71286aa commit e72adf2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -120,6 +120,7 @@ def run(self):
install_requires=[
'sphinx>=1.6',
'docutils<0.18',
'Jinja2<3.1',
],
tests_require=[
'pytest',
Expand Down
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/css/theme.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/sass/_theme_rst.sass
Expand Up @@ -515,10 +515,10 @@
border-radius: $base-line-height / 6
padding: ($base-line-height / 10) ($base-line-height / 4)
margin: auto ($base-line-height / 12)
:not(kbd) > kbd,
:not(kbd) > .kbd,
:not(.kbd) > kbd,
:not(.kbd) > .kbd
&:not(kbd) > kbd,
&:not(kbd) > .kbd,
&:not(.kbd) > kbd,
&:not(.kbd) > .kbd
color: inherit
font-size: 80%
background-color: lighten($text-light, 30%)
Expand Down

0 comments on commit e72adf2

Please sign in to comment.