Skip to content

Commit 3b4328f

Browse files
committed
Update <kbd> style overrides
1 parent 93b6e09 commit 3b4328f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_static/css/custom.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,9 @@ code,
988988
}
989989

990990
/* Keyboard shortcuts tweaks */
991-
kbd, .kbd {
991+
kbd, .kbd,
992+
.rst-content :not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > kbd,
993+
.rst-content :not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > .kbd {
992994
background-color: var(--kbd-background-color);
993995
border: 1px solid var(--kbd-outline-color);
994996
border-radius: 3px;

0 commit comments

Comments
 (0)