diff options
| author | Mark Otto <[email protected]> | 2013-03-11 01:16:08 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-11 01:16:08 -0700 |
| commit | d0e1b56603a56abe94f99c30d94737dbe6ecae27 (patch) | |
| tree | d8a39c791870de43a4c3a12c8d66efeae393eccc /less/type.less | |
| parent | d344ca4475ce305f799e5899f9abd0d91a52536b (diff) | |
| parent | 5054c17ab86948a4885c35165b0802e5e60d1ee6 (diff) | |
| download | bootstrap-d0e1b56603a56abe94f99c30d94737dbe6ecae27.tar.xz bootstrap-d0e1b56603a56abe94f99c30d94737dbe6ecae27.zip | |
Merge pull request #7181 from lukeapage/3.0.0-wip
make less files compile with strict maths in 1.4.0
Diffstat (limited to 'less/type.less')
| -rw-r--r-- | less/type.less | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/less/type.less b/less/type.less index 697b7ad20..8d177b61d 100644 --- a/less/type.less +++ b/less/type.less @@ -7,11 +7,11 @@ // ------------------------- p { - margin: 0 0 @line-height-base / 2; + margin: 0 0 (@line-height-base / 2); } .lead { margin-bottom: @line-height-base; - font-size: @font-size-base * 1.5; + font-size: (@font-size-base * 1.5); font-weight: 200; line-height: 1.25; } @@ -68,28 +68,28 @@ h1, h2, h3 { margin-top: @line-height-base; - margin-bottom: @line-height-base / 2; - line-height: @line-height-base * 2; + margin-bottom: (@line-height-base / 2); + line-height: (@line-height-base * 2); } h3 { - line-height: @line-height-base * 1.5; + line-height: (@line-height-base * 1.5); } h4, h5, h6 { - margin-top: @line-height-base / 2; - margin-bottom: @line-height-base / 2; + margin-top: (@line-height-base / 2); + margin-bottom: (@line-height-base / 2); } -h1 { font-size: @font-size-base * 2.75; font-size: 4rem; } // ~38px -h2 { font-size: @font-size-base * 2.25; font-size: 3rem; } // ~32px -h3 { font-size: @font-size-base * 1.75; font-size: 2.5rem; } // ~24px -h4 { font-size: @font-size-base * 1.25; font-size: 2rem; } // ~18px -h5 { font-size: @font-size-base; font-size: 1.6rem; } -h6 { font-size: @font-size-base * 0.85; font-size: 1.2rem; } // ~12px +h1 { font-size: (@font-size-base * 2.75); font-size: 4rem; } // ~38px +h2 { font-size: (@font-size-base * 2.25); font-size: 3rem; } // ~32px +h3 { font-size: (@font-size-base * 1.75); font-size: 2.5rem; } // ~24px +h4 { font-size: (@font-size-base * 1.25); font-size: 2rem; } // ~18px +h5 { font-size: @font-size-base; font-size: 1.6rem; } +h6 { font-size: (@font-size-base * 0.85); font-size: 1.2rem; } // ~12px -h1 small { font-size: @font-size-base * 1.75; } // ~24px -h2 small { font-size: @font-size-base * 1.25; } // ~18px +h1 small { font-size: (@font-size-base * 1.75); } // ~24px +h2 small { font-size: (@font-size-base * 1.25); } // ~18px h3 small { font-size: @font-size-base; } h4 small { font-size: @font-size-base; } @@ -98,7 +98,7 @@ h4 small { font-size: @font-size-base; } // ------------------------- .page-header { - padding-bottom: (@line-height-base / 2) - 1; + padding-bottom: ((@line-height-base / 2) - 1); margin: (@line-height-base * 2) 0 @line-height-base; border-bottom: 1px solid @grayLighter; } @@ -151,14 +151,14 @@ dt { font-weight: bold; } dd { - margin-left: @line-height-base / 2; + margin-left: (@line-height-base / 2); } // Horizontal layout (like forms) .dl-horizontal { .clear_float(); // Ensure dl clears floats if empty dd elements present dt { float: left; - width: @component-offset-horizontal - 20; + width: (@component-offset-horizontal - 20); clear: left; text-align: right; .text-overflow(); @@ -198,7 +198,7 @@ blockquote { border-left: 5px solid @grayLighter; p { margin-bottom: 0; - font-size: @font-size-base * 1.25; + font-size: (@font-size-base * 1.25); font-weight: 300; line-height: 1.25; } |
