Tune kbd selectors

Exclude option lists from selectors for kbd styling.
This commit is contained in:
Anthony Johnson 2022-08-24 13:05:09 -07:00
parent eb3fb1889c
commit bd7bdf3acf
No known key found for this signature in database
GPG Key ID: 709FE91423F05AA0
2 changed files with 3 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -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%)