diff options
| author | Mark Otto <[email protected]> | 2011-11-17 01:28:42 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-11-17 01:28:42 -0800 |
| commit | 4e6275d0fe0880d32633a2c139dad8d3e2745bb6 (patch) | |
| tree | 575abe4b666c09cf30e542d2e57a159c13bd32bf /lib/type.less | |
| parent | 159c7a7fdae4a3bd929ee9cc76aaa3b509a969dc (diff) | |
| download | bootstrap-4e6275d0fe0880d32633a2c139dad8d3e2745bb6.tar.xz bootstrap-4e6275d0fe0880d32633a2c139dad8d3e2745bb6.zip | |
update property order and do some misc cleanup
Diffstat (limited to 'lib/type.less')
| -rw-r--r-- | lib/type.less | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/type.less b/lib/type.less index f5b5ff272..8e25fd9c5 100644 --- a/lib/type.less +++ b/lib/type.less @@ -7,10 +7,10 @@ // --------- p { + margin-bottom: @baseLineHeight / 2; font-family: @baseFontFamily; font-size: @baseFontSize; line-height: @baseLineHeight; - margin-bottom: @baseLineHeight / 2; small { font-size: @baseFontSize - 2; color: @grayLight; @@ -93,8 +93,8 @@ li { color: @grayDark; } ul.unstyled { - list-style: none; margin-left: 0; + list-style: none; } // Description Lists @@ -145,12 +145,12 @@ abbr { // Blockquotes blockquote { + padding-left: 15px; margin-bottom: @baseLineHeight; border-left: 5px solid #eee; - padding-left: 15px; p { - #font > .shorthand(300,16px,@baseLineHeight * 1.25); margin-bottom: 0; + #font > .shorthand(300,16px,@baseLineHeight * 1.25); } small { display: block; @@ -174,8 +174,8 @@ blockquote { // Addresses address { display: block; - line-height: @baseLineHeight; margin-bottom: @baseLineHeight; + line-height: @baseLineHeight; } // Inline and block code styles @@ -188,16 +188,16 @@ pre { .border-radius(3px); } code { - background-color: lighten(@orange, 40%); padding: 1px 3px; + background-color: lighten(@orange, 40%); } pre { - background-color: #f5f5f5; display: block; padding: (@baseLineHeight - 1) / 2; margin: 0 0 @baseLineHeight / 2; - line-height: @baseLineHeight; font-size: 12px; + line-height: @baseLineHeight; + background-color: #f5f5f5; border: 1px solid #ccc; border: 1px solid rgba(0,0,0,.15); .border-radius(3px); |
