1 // Inline and block code styles
6 font-family: $font-family-monospace;
11 padding: $code-padding-y $code-padding-x;
12 font-size: $code-font-size;
14 background-color: $code-bg;
15 @include border-radius($border-radius);
17 // Streamline the style when inside anchors to avoid broken underline and more
21 background-color: inherit;
25 // User input typically entered via keyboard
27 padding: $code-padding-y $code-padding-x;
28 font-size: $code-font-size;
30 background-color: $kbd-bg;
31 @include border-radius($border-radius-sm);
32 @include box-shadow($kbd-box-shadow);
37 font-weight: $nested-kbd-font-weight;
38 @include box-shadow(none);
47 font-size: $code-font-size;
50 // Account for some code outputs that place code tags in pre tags
55 background-color: transparent;
60 // Enable scrollable blocks of code
62 max-height: $pre-scrollable-max-height;