diff options
| author | Mark Otto <[email protected]> | 2012-01-23 11:25:16 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-23 11:25:16 -0800 |
| commit | 22fa3712598f6c7d7bcff44ed5ce01f96cbc6ca6 (patch) | |
| tree | dbeda3a602dd2cb89a30ba820730c5738c420455 /lib/type.less | |
| parent | 1209a3756c88043008950f74dd287b837e00f7d8 (diff) | |
| parent | 782c994060a984c10d73fdd3cc8e3fe33a2e4477 (diff) | |
| download | bootstrap-22fa3712598f6c7d7bcff44ed5ce01f96cbc6ca6.tar.xz bootstrap-22fa3712598f6c7d7bcff44ed5ce01f96cbc6ca6.zip | |
Merge branch 'normalize' of https://github.com/necolas/bootstrap into necolas-normalize
Conflicts:
bootstrap.css
bootstrap.min.css
lib/type.less
Diffstat (limited to 'lib/type.less')
| -rw-r--r-- | lib/type.less | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/lib/type.less b/lib/type.less index a94a4956e..2c6e7db6a 100644 --- a/lib/type.less +++ b/lib/type.less @@ -7,7 +7,7 @@ // --------- p { - margin-bottom: @baseLineHeight / 2; + margin: 0 0 @baseLineHeight / 2; font-family: @baseFontFamily; font-size: @baseFontSize; line-height: @baseLineHeight; @@ -17,15 +17,16 @@ p { } } - // HEADINGS // -------- h1, h2, h3, h4, h5, h6 { + margin: 0; font-weight: bold; color: @grayDark; text-rendering: optimizelegibility; // Fix the character spacing for headings small { + font-weight: normal; color: @grayLight; } } @@ -74,6 +75,7 @@ h6 { // Unordered and Ordered lists ul, ol { + padding: 0; margin: 0 0 @baseLineHeight / 2 25px; } ul ul, @@ -124,13 +126,10 @@ hr { // Emphasis strong { - font-style: inherit; font-weight: bold; } em { font-style: italic; - font-weight: inherit; - line-height: inherit; } .muted { color: @grayLight; @@ -146,8 +145,8 @@ abbr { // Blockquotes blockquote { - padding-left: 15px; - margin-bottom: @baseLineHeight; + padding: 0 0 0 15px; + margin: 0 0 @baseLineHeight; border-left: 5px solid @grayLighter; p { margin-bottom: 0; @@ -176,11 +175,19 @@ blockquote { } } +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} + // Addresses address { display: block; margin-bottom: @baseLineHeight; line-height: @baseLineHeight; + font-style: normal; } // Inline and block code styles @@ -220,4 +227,12 @@ pre { padding: 0; background-color: transparent; } -}
\ No newline at end of file +} + +small { + font-size: 100%; +} + +cite { + font-style: normal; +} |
