diff options
| author | Mark Otto <[email protected]> | 2013-05-03 15:05:29 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-03 15:05:29 -0700 |
| commit | 747e108e0b8e6811d104d9a9e99b0fae6325c836 (patch) | |
| tree | a15210a8c803952e074d326581e492f9adc35953 | |
| parent | af4a33f8c0149aeae2dfd8b810b626d2431d61c2 (diff) | |
| parent | 9cd3a92713bb8e2b78ea6496f69ee14ce1e46b3f (diff) | |
| download | bootstrap-747e108e0b8e6811d104d9a9e99b0fae6325c836.tar.xz bootstrap-747e108e0b8e6811d104d9a9e99b0fae6325c836.zip | |
Merge pull request #7670 from DarDar/3.0.0-wip
Use @font-size-... variables instead of hardcoded font-size in px
| -rw-r--r-- | docs/assets/css/bootstrap.css | 16 | ||||
| -rw-r--r-- | less/badges.less | 2 | ||||
| -rw-r--r-- | less/close.less | 4 | ||||
| -rw-r--r-- | less/jumbotron.less | 4 | ||||
| -rw-r--r-- | less/navbar.less | 2 | ||||
| -rw-r--r-- | less/navs.less | 2 | ||||
| -rw-r--r-- | less/popovers.less | 2 | ||||
| -rw-r--r-- | less/progress-bars.less | 2 | ||||
| -rw-r--r-- | less/tooltip.less | 2 |
9 files changed, 18 insertions, 18 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 9df8dc84e..58b775060 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3196,9 +3196,9 @@ a.list-group-item.active .list-group-item-text { .close { float: right; - font-size: 20px; + font-size: 21px; font-weight: bold; - line-height: 20px; + line-height: 1; color: #000; text-shadow: 0 1px 0 #ffffff; opacity: 0.2; @@ -3386,7 +3386,7 @@ button.close { .nav-header { display: block; padding: 3px 15px; - font-size: 11px; + font-size: 10.5px; font-weight: bold; line-height: 20px; color: #999999; @@ -3580,7 +3580,7 @@ button.close { padding: 15px; margin-right: auto; margin-left: auto; - font-size: 18px; + font-size: 17.5px; font-weight: 500; line-height: 20px; color: #777777; @@ -4312,7 +4312,7 @@ button.close { position: absolute; z-index: 1030; display: block; - font-size: 11px; + font-size: 10.5px; line-height: 1.4; opacity: 0; filter: alpha(opacity=0); @@ -4759,7 +4759,7 @@ a.thumbnail:focus { display: inline-block; min-width: 10px; padding: 3px 7px; - font-size: 12px; + font-size: 11.9px; font-weight: bold; line-height: 1; color: #fff; @@ -4859,7 +4859,7 @@ a.list-group-item.active > .badge, float: left; width: 0; height: 100%; - font-size: 12px; + font-size: 11.9px; color: #fff; text-align: center; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); @@ -5173,7 +5173,7 @@ a.list-group-item.active > .badge, border-radius: 6px; } .jumbotron h1 { - font-size: 60px; + font-size: 63px; } } diff --git a/less/badges.less b/less/badges.less index 4281550f0..4750cfb75 100644 --- a/less/badges.less +++ b/less/badges.less @@ -8,7 +8,7 @@ display: inline-block; min-width: 10px; padding: 3px 7px; - font-size: 12px; + font-size: @font-size-small; font-weight: bold; color: #fff; line-height: 1; diff --git a/less/close.less b/less/close.less index 6a4fece3a..e879da4d6 100644 --- a/less/close.less +++ b/less/close.less @@ -5,9 +5,9 @@ .close { float: right; - font-size: 20px; + font-size: (@font-size-base * 1.5); font-weight: bold; - line-height: @line-height-base; + line-height: 1; color: #000; text-shadow: 0 1px 0 rgba(255,255,255,1); .opacity(.2); diff --git a/less/jumbotron.less b/less/jumbotron.less index 6ff696b56..39bec9be6 100644 --- a/less/jumbotron.less +++ b/less/jumbotron.less @@ -6,7 +6,7 @@ .jumbotron { padding: 30px; margin-bottom: 30px; - font-size: 21px; + font-size: (@font-size-base * 1.5); font-weight: 200; line-height: (@line-height-base * 1.5); color: @jumbotron-lead-color; @@ -26,7 +26,7 @@ border-radius: @border-radius-large; // Only round corners at higher resolutions h1 { - font-size: 60px; + font-size: (@font-size-base * 4.5); } } } diff --git a/less/navbar.less b/less/navbar.less index 6cee4030c..328d8c018 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -83,7 +83,7 @@ margin-left: auto; margin-right: auto; padding: 15px; - font-size: 18px; + font-size: @font-size-large; font-weight: 500; line-height: @line-height-base; color: @navbar-brand-color; diff --git a/less/navs.less b/less/navs.less index 86e9caaf9..775f722e5 100644 --- a/less/navs.less +++ b/less/navs.less @@ -183,7 +183,7 @@ .nav-header { display: block; padding: 3px 15px; - font-size: 11px; + font-size: @font-size-mini; font-weight: bold; line-height: @line-height-base; color: @gray-light; diff --git a/less/popovers.less b/less/popovers.less index 8c64deb17..fb16d79d6 100644 --- a/less/popovers.less +++ b/less/popovers.less @@ -34,7 +34,7 @@ .popover-title { margin: 0; // reset heading margin padding: 8px 14px; - font-size: 14px; + font-size: @font-size-base; font-weight: normal; line-height: 18px; background-color: @popover-title-bg; diff --git a/less/progress-bars.less b/less/progress-bars.less index 5f62ae279..9df0251e3 100644 --- a/less/progress-bars.less +++ b/less/progress-bars.less @@ -56,7 +56,7 @@ float: left; width: 0%; height: 100%; - font-size: 12px; + font-size: @font-size-small; color: #fff; text-align: center; text-shadow: 0 -1px 0 rgba(0,0,0,.25); diff --git a/less/tooltip.less b/less/tooltip.less index 81171fb9b..9dba6f04f 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -9,7 +9,7 @@ z-index: @zindex-tooltip; display: block; visibility: visible; - font-size: 11px; + font-size: @font-size-mini; line-height: 1.4; .opacity(0); |
