aboutsummaryrefslogtreecommitdiff
path: root/less/code.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-08 06:57:37 -0700
committerMark Otto <[email protected]>2013-07-08 06:57:37 -0700
commit1045226544c6f9396227974b5543df1caf74f8cf (patch)
treea990144aa22798bd73a5cccc59a5b2cdaaf40667 /less/code.less
parentf69afc1b238fe41996a6d6a9f2eb53ea092bcbf0 (diff)
parente40aee9c9e3e80b03ebe00e812262da09c43bc11 (diff)
downloadbootstrap-1045226544c6f9396227974b5543df1caf74f8cf.tar.xz
bootstrap-1045226544c6f9396227974b5543df1caf74f8cf.zip
Merge pull request #8415 from cvrebert/code.less-cleanup
code.less: cleanup styles that get immediately overriden later in the file
Diffstat (limited to 'less/code.less')
-rw-r--r--less/code.less6
1 files changed, 2 insertions, 4 deletions
diff --git a/less/code.less b/less/code.less
index 63c255010..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,6 +28,7 @@ pre {
line-height: @line-height-base;
word-break: break-all;
word-wrap: break-word;
+ color: @gray-dark;
background-color: #f5f5f5;
border: 1px solid #ccc; // IE8 fallback
border: 1px solid rgba(0,0,0,.15);