aboutsummaryrefslogtreecommitdiff
path: root/less/code.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-17 20:44:27 -0700
committerMark Otto <[email protected]>2013-07-17 20:44:27 -0700
commitf0d071832284d968f2cb72b0bb576f8112a349de (patch)
tree9766c8da2b7c6890cdc794a2d93d4ca81c191047 /less/code.less
parentc5fb401a626c3e0d99a764cb7961e1bd3e619e8f (diff)
parentbfebf0e490c795601220f74b7089adb4f47acda7 (diff)
downloadbootstrap-f0d071832284d968f2cb72b0bb576f8112a349de.tar.xz
bootstrap-f0d071832284d968f2cb72b0bb576f8112a349de.zip
Merge branch '3.0.0-wip' into bs3_remove_examples
Conflicts: docs/_includes/nav-getting-started.html docs/examples/navbar-fixed-top.html docs/examples/navbar-static-top.html docs/examples/navbar.html docs/getting-started.html
Diffstat (limited to 'less/code.less')
-rw-r--r--less/code.less9
1 files changed, 2 insertions, 7 deletions
diff --git a/less/code.less b/less/code.less
index f1bc0a0cd..8dd34670a 100644
--- a/less/code.less
+++ b/less/code.less
@@ -6,11 +6,7 @@
// Inline and block code styles
code,
pre {
- padding: 0 3px 2px;
font-family: @font-family-monospace;
- font-size: (@font-size-base - 2);
- color: @gray-dark;
- border-radius: 4px;
}
// Inline code
@@ -20,6 +16,7 @@ code {
color: #c7254e;
background-color: #f9f2f4;
white-space: nowrap;
+ border-radius: 4px;
}
// Blocks of code
@@ -31,8 +28,7 @@ pre {
line-height: @line-height-base;
word-break: break-all;
word-wrap: break-word;
- white-space: pre;
- white-space: pre-wrap;
+ color: @gray-dark;
background-color: #f5f5f5;
border: 1px solid #ccc; // IE8 fallback
border: 1px solid rgba(0,0,0,.15);
@@ -47,7 +43,6 @@ pre {
code {
padding: 0;
color: inherit;
- white-space: pre;
white-space: pre-wrap;
background-color: transparent;
border: 0;