diff --git a/packages/core/styles/content/code.css b/packages/core/styles/content/code.css index 943eeb22..462510e7 100644 --- a/packages/core/styles/content/code.css +++ b/packages/core/styles/content/code.css @@ -23,6 +23,10 @@ code { padding: var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal); } +a code { + color: inherit; +} + pre { background-color: var(--ifm-pre-background); border-radius: var(--ifm-pre-border-radius); @@ -52,6 +56,12 @@ pre { } } -a code { - color: inherit; +kbd { + background-color: var(--ifm-color-emphasis-0); + border: 1px solid var(--ifm-color-emphasis-400); + border-radius: 0.2rem; + box-shadow: inset 0 -1px 0 var(--ifm-color-emphasis-400); + color: var(--ifm-color-emphasis-800); + font: 80% var(--ifm-font-family-monospace); + padding: 0.15rem 0.3rem; }