diff options
| author | Mark Otto <[email protected]> | 2013-10-13 20:03:02 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-10-13 20:03:02 -0700 |
| commit | 36b4639b0da23574faa3373d1d50c47178db7044 (patch) | |
| tree | 82429125e38406674039e315660bada6cf00e35f | |
| parent | 44b32a30366440b2127b343fbd1990fe15e88185 (diff) | |
| parent | 0740d01b4ccbce54b9e852df63bdf891b532baa2 (diff) | |
| download | bootstrap-36b4639b0da23574faa3373d1d50c47178db7044.tar.xz bootstrap-36b4639b0da23574faa3373d1d50c47178db7044.zip | |
Merge pull request #10949 from StevenBlack/jumbotron.fontsize
Jumbotron: remove the hard-coded font-size from jumbotron.less and moved...
| -rw-r--r-- | customize.html | 10 | ||||
| -rw-r--r-- | less/jumbotron.less | 2 | ||||
| -rw-r--r-- | less/variables.less | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/customize.html b/customize.html index 16e68e059..bd4b8bff5 100644 --- a/customize.html +++ b/customize.html @@ -1216,19 +1216,17 @@ base_url: "../" <h2 id="variables-jumbotron">Jumbotron</h2> <div class="row"> - <div class="col-lg-3"> + <div class="col-md-6"> <label>@jumbotron-padding</label> <input type="text" class="form-control" placeholder="30px" data-var="@jumbotron-padding"> - </div> - <div class="col-lg-3"> <label>@jumbotron-bg</label> <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 class="col-lg-3"> + <div class="col-md-6"> <label>@jumbotron-color</label> <input type="text" class="form-control" placeholder="inherit" data-var="@jumbotron-color"> - </div> - <div class="col-lg-3"> <label>@jumbotron-heading-color</label> <input type="text" class="form-control" placeholder="inherit" data-var="@jumbotron-heading-color"> </div> diff --git a/less/jumbotron.less b/less/jumbotron.less index 3a2365f05..22c29780a 100644 --- a/less/jumbotron.less +++ b/less/jumbotron.less @@ -6,7 +6,7 @@ .jumbotron { padding: @jumbotron-padding; margin-bottom: @jumbotron-padding; - font-size: (@font-size-base * 1.5); + font-size: @jumbotron-font-size; font-weight: 200; line-height: (@line-height-base * 1.5); color: @jumbotron-color; diff --git a/less/variables.less b/less/variables.less index 1a998b946..aede11bac 100644 --- a/less/variables.less +++ b/less/variables.less @@ -368,8 +368,8 @@ @jumbotron-padding: 30px; @jumbotron-color: inherit; @jumbotron-bg: @gray-lighter; - @jumbotron-heading-color: inherit; +@jumbotron-font-size: ceil(@font-size-base * 1.50); // Form states and alerts |
