Skip to content

Commit 2dbaef8

Browse files
committed
Fix SASS syntax errors from #967
This introduced syntax errors that were not picked up in review, the `:not()` psuedo selector can't lead a selector in SASS.
1 parent 34e29e6 commit 2dbaef8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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_rst.sass

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,10 @@
515515
border-radius: $base-line-height / 6
516516
padding: ($base-line-height / 10) ($base-line-height / 4)
517517
margin: auto ($base-line-height / 12)
518-
:not(kbd) > kbd,
519-
:not(kbd) > .kbd,
520-
:not(.kbd) > kbd,
521-
:not(.kbd) > .kbd
518+
&:not(kbd) > kbd,
519+
&:not(kbd) > .kbd,
520+
&:not(.kbd) > kbd,
521+
&:not(.kbd) > .kbd
522522
color: inherit
523523
font-size: 80%
524524
background-color: lighten($text-light, 30%)

0 commit comments

Comments
 (0)