1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00

code.less: cleanup styles that get immediately overriden later in the file

This commit is contained in:
Chris Rebert
2013-07-06 22:24:03 -07:00
committed by Chris Rebert
parent 95655e7275
commit e40aee9c9e
2 changed files with 4 additions and 8 deletions

View File

@@ -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);