mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Tune kbd selectors
Exclude option lists from selectors for kbd styling.
This commit is contained in:
parent
eb3fb1889c
commit
bd7bdf3acf
File diff suppressed because one or more lines are too long
@ -520,10 +520,8 @@
|
||||
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(dl.option-list) > :not(dt):not(kbd):not(.kbd) > kbd,
|
||||
*:not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > .kbd
|
||||
color: inherit
|
||||
font-size: 80%
|
||||
background-color: lighten($text-light, 30%)
|
||||
|
Loading…
Reference in New Issue
Block a user