From 38941881e9a04c2de61be86fd05e5840c93dd1fb Mon Sep 17 00:00:00 2001 From: Steven Black Date: Fri, 4 Oct 2013 21:43:31 -0400 Subject: [PATCH 1/4] Jumbotron: remove the hard-coded font-size from jumbotron.less and moved it into variables.less where other .font-size-xxxxx things now live. --- less/jumbotron.less | 2 +- less/variables.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/less/jumbotron.less b/less/jumbotron.less index 3a2365f05e..aadb4acf57 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: @font-size-jumbotron; font-weight: 200; line-height: (@line-height-base * 1.5); color: @jumbotron-color; diff --git a/less/variables.less b/less/variables.less index 1a998b9461..e611c3a025 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; +@font-size-jumbotron: ceil(@font-size-base * 1.50); // Form states and alerts From 4b27c087836018b639c08788d452892c59e6e297 Mon Sep 17 00:00:00 2001 From: Steven Black Date: Sat, 5 Oct 2013 18:37:53 -0400 Subject: [PATCH 2/4] The Jumbotron font-size LESS variable now conforms to the '@{bootstrapClass}-font-size' naming scheme. --- less/jumbotron.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/jumbotron.less b/less/jumbotron.less index aadb4acf57..22c29780a9 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-jumbotron; + font-size: @jumbotron-font-size; font-weight: 200; line-height: (@line-height-base * 1.5); color: @jumbotron-color; From c7120a7b043cb19b84928cf562bc9c352788e337 Mon Sep 17 00:00:00 2001 From: Steven Black Date: Sat, 5 Oct 2013 18:38:45 -0400 Subject: [PATCH 3/4] The customizer now displays and collects the new Jumbotron font-size LESS variable --- customize.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/customize.html b/customize.html index 9e46798ea4..ae6871ccd7 100644 --- a/customize.html +++ b/customize.html @@ -1222,19 +1222,17 @@ base_url: "../"

Jumbotron

-
+
-
-
+ +
-
+
-
-
From 0740d01b4ccbce54b9e852df63bdf891b532baa2 Mon Sep 17 00:00:00 2001 From: Steven Black Date: Sat, 5 Oct 2013 20:48:28 -0400 Subject: [PATCH 4/4] Good catch by @juthilo - omitted the modified in a prior commit. --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/variables.less b/less/variables.less index e611c3a025..aede11bac3 100644 --- a/less/variables.less +++ b/less/variables.less @@ -369,7 +369,7 @@ @jumbotron-color: inherit; @jumbotron-bg: @gray-lighter; @jumbotron-heading-color: inherit; -@font-size-jumbotron: ceil(@font-size-base * 1.50); +@jumbotron-font-size: ceil(@font-size-base * 1.50); // Form states and alerts