2 // Code (inline and blocK)
3 // --------------------------------------------------
6 // Inline and block code styles
10 #font > #family > .monospace;
11 font-size: @baseFontSize - 2;
20 background-color: #f7f7f9;
21 border: 1px solid #e1e1e8;
27 padding: (@baseLineHeight - 1) / 2;
28 margin: 0 0 @baseLineHeight / 2;
29 font-size: @baseFontSize - 1; // 14px to 13px
30 line-height: @baseLineHeight;
31 word-break: break-all;
32 word-wrap: break-word;
34 white-space: pre-wrap;
35 background-color: #f5f5f5;
36 border: 1px solid #ccc; // fallback for IE7-8
37 border: 1px solid rgba(0,0,0,.15);
40 // Make prettyprint styles more spaced out for readability
42 margin-bottom: @baseLineHeight;
45 // Account for some code outputs that place code tags in pre tags
49 background-color: transparent;
54 // Enable scrollable blocks of code