mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Nuke trailing zeros
This commit is contained in:
parent
3431f32349
commit
b3c04c95d3
2 changed files with 4 additions and 4 deletions
|
@ -417,11 +417,11 @@ base_url: "../"
|
|||
<div class="col-lg-6">
|
||||
<h4>Heading font sizes</h4>
|
||||
<label>@font-size-h1</label>
|
||||
<input type="text" class="form-control" placeholder="floor(@font-size-base * 2.60)" data-var="@font-size-h1">
|
||||
<input type="text" class="form-control" placeholder="floor(@font-size-base * 2.6)" data-var="@font-size-h1">
|
||||
<label>@font-size-h2</label>
|
||||
<input type="text" class="form-control" placeholder="floor(@font-size-base * 2.15)" data-var="@font-size-h2">
|
||||
<label>@font-size-h3</label>
|
||||
<input type="text" class="form-control" placeholder="ceil(@font-size-base * 1.70)" data-var="@font-size-h3">
|
||||
<input type="text" class="form-control" placeholder="ceil(@font-size-base * 1.7)" data-var="@font-size-h3">
|
||||
<label>@font-size-h4</label>
|
||||
<input type="text" class="form-control" placeholder="ceil(@font-size-base * 1.25)" data-var="@font-size-h4">
|
||||
<label>@font-size-h5</label>
|
||||
|
|
|
@ -48,9 +48,9 @@
|
|||
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
|
||||
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
|
||||
|
||||
@font-size-h1: floor(@font-size-base * 2.60); // ~36px
|
||||
@font-size-h1: floor(@font-size-base * 2.6); // ~36px
|
||||
@font-size-h2: floor(@font-size-base * 2.15); // ~30px
|
||||
@font-size-h3: ceil(@font-size-base * 1.70); // ~24px
|
||||
@font-size-h3: ceil(@font-size-base * 1.7); // ~24px
|
||||
@font-size-h4: ceil(@font-size-base * 1.25); // ~18px
|
||||
@font-size-h5: @font-size-base;
|
||||
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
|
||||
|
|
Loading…
Reference in a new issue