2 // Code typography styles for the <code> and <pre> elements
3 // --------------------------------------------------------
5 // Inline and block code styles
9 #font > #family > .monospace;
10 font-size: @baseFontSize - 1;
19 background-color: #f7f7f9;
20 border: 1px solid #e1e1e8;
26 padding: (@baseLineHeight - 1) / 2;
27 margin: 0 0 @baseLineHeight / 2;
29 line-height: @baseLineHeight;
30 background-color: #f5f5f5;
31 border: 1px solid #ccc; // fallback for IE7-8
32 border: 1px solid rgba(0,0,0,.15);
35 white-space: pre-wrap;
36 word-break: break-all;
37 word-wrap: break-word;
39 // Make prettyprint styles more spaced out for readability
41 margin-bottom: @baseLineHeight;
44 // Account for some code outputs that place code tags in pre tags
48 background-color: transparent;
53 // Enable scrollable blocks of code