aboutsummaryrefslogtreecommitdiff
path: root/less/code.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-30 14:45:25 -0800
committerMark Otto <[email protected]>2012-11-30 14:45:25 -0800
commitb0e2b5813db753bdfa3ee018ccdd73e78a69457e (patch)
tree817eae216acdf4986a59137da9aa65a6764fbd88 /less/code.less
parent7a3d15eb210cc9343875760bfa575a9273244ed3 (diff)
downloadbootstrap-b0e2b5813db753bdfa3ee018ccdd73e78a69457e.tar.xz
bootstrap-b0e2b5813db753bdfa3ee018ccdd73e78a69457e.zip
more consistent variable naming patterns
Diffstat (limited to 'less/code.less')
-rw-r--r--less/code.less14
1 files changed, 7 insertions, 7 deletions
diff --git a/less/code.less b/less/code.less
index 5a3256dda..fb229d684 100644
--- a/less/code.less
+++ b/less/code.less
@@ -8,7 +8,7 @@ code,
pre {
padding: 0 3px 2px;
#font > #family > .monospace;
- font-size: @base-font-size - 2;
+ font-size: @font-size-base - 2;
color: @grayDark;
border-radius: 4px;
}
@@ -25,10 +25,10 @@ code {
// Blocks of code
pre {
display: block;
- 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;
+ padding: (@line-height-base - 1) / 2;
+ margin: 0 0 @line-height-base / 2;
+ font-size: @font-size-base - 1; // 14px to 13px
+ line-height: @line-height-base;
word-break: break-all;
word-wrap: break-word;
white-space: pre;
@@ -36,11 +36,11 @@ pre {
background-color: #f5f5f5;
border: 1px solid #ccc; // IE8 fallback
border: 1px solid rgba(0,0,0,.15);
- border-radius: @baseBorderRadius;
+ border-radius: @border-radius-base;
// Make prettyprint styles more spaced out for readability
&.prettyprint {
- margin-bottom: @base-line-height;
+ margin-bottom: @line-height-base;
}
// Account for some code outputs that place code tags in pre tags