1 // Inline and block code styles
6 font-family: $font-family-monospace;
11 font-size: $code-font-size;
13 word-break: break-word;
15 // Streamline the style when inside anchors to avoid broken underline and more
21 // User input typically entered via keyboard
23 padding: $kbd-padding-y $kbd-padding-x;
24 font-size: $kbd-font-size;
26 background-color: $kbd-bg;
27 @include border-radius($border-radius-sm);
28 @include box-shadow($kbd-box-shadow);
33 font-weight: $nested-kbd-font-weight;
34 @include box-shadow(none);
41 font-size: $code-font-size;
44 // Account for some code outputs that place code tags in pre tags
52 // Enable scrollable blocks of code
54 max-height: $pre-scrollable-max-height;