Skip to content

Commit b553aa6

Browse files
authored
Merge pull request #1320 from benjaoming/fix-kbd
Fix <kbd> CSS selector
2 parents d343a1d + a744d74 commit b553aa6

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
@@ -520,10 +520,10 @@
520520
border-radius: $base-line-height / 6
521521
padding: ($base-line-height / 10) ($base-line-height / 4)
522522
margin: auto ($base-line-height / 12)
523-
&:not(kbd) > kbd,
524-
&:not(kbd) > .kbd,
525-
&:not(.kbd) > kbd,
526-
&:not(.kbd) > .kbd
523+
*:not(kbd) > kbd,
524+
*:not(kbd) > .kbd,
525+
*:not(.kbd) > kbd,
526+
*:not(.kbd) > .kbd
527527
color: inherit
528528
font-size: 80%
529529
background-color: lighten($text-light, 30%)

0 commit comments

Comments
 (0)