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;
28 padding: (@baseLineHeight - 1) / 2;
29 margin: 0 0 @baseLineHeight / 2;
30 font-size: @baseFontSize - 1; // 14px to 13px
31 line-height: @baseLineHeight;
32 word-break: break-all;
33 word-wrap: break-word;
35 white-space: pre-wrap;
36 background-color: #f5f5f5;
37 border: 1px solid #ccc; // fallback for IE7-8
38 border: 1px solid rgba(0,0,0,.15);
39 .border-radius(@baseBorderRadius);
41 // Make prettyprint styles more spaced out for readability
43 margin-bottom: @baseLineHeight;
46 // Account for some code outputs that place code tags in pre tags
51 white-space: pre-wrap;
52 background-color: transparent;
57 // Enable scrollable blocks of code