2 // Code (inline and blocK)
3 // --------------------------------------------------
6 // Inline and block code styles
9 font-family: @font-family-monospace;
17 background-color: @code-bg;
19 border-radius: @border-radius-base;
25 padding: ((@line-height-computed - 1) / 2);
26 margin: 0 0 (@line-height-computed / 2);
27 font-size: (@font-size-base - 1); // 14px to 13px
28 line-height: @line-height-base;
29 word-break: break-all;
30 word-wrap: break-word;
32 background-color: @pre-bg;
33 border: 1px solid @pre-border-color;
34 border-radius: @border-radius-base;
36 // Make prettyprint styles more spaced out for readability
38 margin-bottom: @line-height-computed;
41 // Account for some code outputs that place code tags in pre tags
46 white-space: pre-wrap;
47 background-color: transparent;
52 // Enable scrollable blocks of code
54 max-height: @pre-scrollable-max-height;