Commit 36b4639b authored by Mark Otto's avatar Mark Otto

Merge pull request #10949 from StevenBlack/jumbotron.fontsize

Jumbotron: remove the hard-coded font-size from jumbotron.less and moved...
parents 44b32a30 0740d01b
...@@ -1216,19 +1216,17 @@ base_url: "../" ...@@ -1216,19 +1216,17 @@ base_url: "../"
<h2 id="variables-jumbotron">Jumbotron</h2> <h2 id="variables-jumbotron">Jumbotron</h2>
<div class="row"> <div class="row">
<div class="col-lg-3"> <div class="col-md-6">
<label>@jumbotron-padding</label> <label>@jumbotron-padding</label>
<input type="text" class="form-control" placeholder="30px" data-var="@jumbotron-padding"> <input type="text" class="form-control" placeholder="30px" data-var="@jumbotron-padding">
</div>
<div class="col-lg-3">
<label>@jumbotron-bg</label> <label>@jumbotron-bg</label>
<input type="text" class="form-control" placeholder="@gray-lighter" data-var="@jumbotron-bg"> <input type="text" class="form-control" placeholder="@gray-lighter" data-var="@jumbotron-bg">
<label>@jumbotron-font-size</label>
<input type="text" class="form-control" placeholder="ceil(@font-size-base * 1.50)" data-var="@jumbotron-font-size">
</div> </div>
<div class="col-lg-3"> <div class="col-md-6">
<label>@jumbotron-color</label> <label>@jumbotron-color</label>
<input type="text" class="form-control" placeholder="inherit" data-var="@jumbotron-color"> <input type="text" class="form-control" placeholder="inherit" data-var="@jumbotron-color">
</div>
<div class="col-lg-3">
<label>@jumbotron-heading-color</label> <label>@jumbotron-heading-color</label>
<input type="text" class="form-control" placeholder="inherit" data-var="@jumbotron-heading-color"> <input type="text" class="form-control" placeholder="inherit" data-var="@jumbotron-heading-color">
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.jumbotron { .jumbotron {
padding: @jumbotron-padding; padding: @jumbotron-padding;
margin-bottom: @jumbotron-padding; margin-bottom: @jumbotron-padding;
font-size: (@font-size-base * 1.5); font-size: @jumbotron-font-size;
font-weight: 200; font-weight: 200;
line-height: (@line-height-base * 1.5); line-height: (@line-height-base * 1.5);
color: @jumbotron-color; color: @jumbotron-color;
......
...@@ -368,8 +368,8 @@ ...@@ -368,8 +368,8 @@
@jumbotron-padding: 30px; @jumbotron-padding: 30px;
@jumbotron-color: inherit; @jumbotron-color: inherit;
@jumbotron-bg: @gray-lighter; @jumbotron-bg: @gray-lighter;
@jumbotron-heading-color: inherit; @jumbotron-heading-color: inherit;
@jumbotron-font-size: ceil(@font-size-base * 1.50);
// Form states and alerts // Form states and alerts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment