diff options
| author | Mark Otto <[email protected]> | 2012-11-30 14:37:24 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-11-30 14:37:24 -0800 |
| commit | 7a3d15eb210cc9343875760bfa575a9273244ed3 (patch) | |
| tree | 315aa2991efe142decca7b4e48f29cb03de6fde2 /less/code.less | |
| parent | fe8061b84ecdda5ea70514fe487e2f46564439e2 (diff) | |
| download | bootstrap-7a3d15eb210cc9343875760bfa575a9273244ed3.tar.xz bootstrap-7a3d15eb210cc9343875760bfa575a9273244ed3.zip | |
Part 1 of unCamelCasing variables
Diffstat (limited to 'less/code.less')
| -rw-r--r-- | less/code.less | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/less/code.less b/less/code.less index 778a41beb..5a3256dda 100644 --- a/less/code.less +++ b/less/code.less @@ -8,7 +8,7 @@ code, pre { padding: 0 3px 2px; #font > #family > .monospace; - font-size: @baseFontSize - 2; + font-size: @base-font-size - 2; color: @grayDark; border-radius: 4px; } @@ -25,10 +25,10 @@ code { // Blocks of code pre { display: block; - padding: (@baseLineHeight - 1) / 2; - margin: 0 0 @baseLineHeight / 2; - font-size: @baseFontSize - 1; // 14px to 13px - line-height: @baseLineHeight; + padding: (@base-line-height - 1) / 2; + margin: 0 0 @base-line-height / 2; + font-size: @base-font-size - 1; // 14px to 13px + line-height: @base-line-height; word-break: break-all; word-wrap: break-word; white-space: pre; @@ -40,7 +40,7 @@ pre { // Make prettyprint styles more spaced out for readability &.prettyprint { - margin-bottom: @baseLineHeight; + margin-bottom: @base-line-height; } // Account for some code outputs that place code tags in pre tags |
