aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorAndrew Stilliard <[email protected]>2013-03-15 02:11:37 +0000
committerAndrew Stilliard <[email protected]>2013-03-15 02:11:37 +0000
commit706dd8c045152bd4fe02450df13d5ae066eb07d7 (patch)
tree79d78952eca6071f6d8684d9a7d83a33d81c1d8b /less
parent85e5d400995a89be16f5a350a9aa12f2d6a332a9 (diff)
downloadbootstrap-706dd8c045152bd4fe02450df13d5ae066eb07d7.tar.xz
bootstrap-706dd8c045152bd4fe02450df13d5ae066eb07d7.zip
Additional heading font-size classes
This relates to changes in issue #7284
Diffstat (limited to 'less')
-rw-r--r--less/type.less23
1 files changed, 12 insertions, 11 deletions
diff --git a/less/type.less b/less/type.less
index 8d177b61d..13625c949 100644
--- a/less/type.less
+++ b/less/type.less
@@ -52,7 +52,8 @@ a.text-success:focus { color: darken(@state-success-text, 10%); }
// Headings
// -------------------------
-h1, h2, h3, h4, h5, h6 {
+h1, h2, h3, h4, h5, h6,
+.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: @headings-font-family;
font-weight: @headings-font-weight;
line-height: @line-height-base;
@@ -81,17 +82,17 @@ h6 {
margin-bottom: (@line-height-base / 2);
}
-h1 { font-size: (@font-size-base * 2.75); font-size: 4rem; } // ~38px
-h2 { font-size: (@font-size-base * 2.25); font-size: 3rem; } // ~32px
-h3 { font-size: (@font-size-base * 1.75); font-size: 2.5rem; } // ~24px
-h4 { font-size: (@font-size-base * 1.25); font-size: 2rem; } // ~18px
-h5 { font-size: @font-size-base; font-size: 1.6rem; }
-h6 { font-size: (@font-size-base * 0.85); font-size: 1.2rem; } // ~12px
+h1, .h1 { font-size: (@font-size-base * 2.75); font-size: 4rem; } // ~38px
+h2, .h2 { font-size: (@font-size-base * 2.25); font-size: 3rem; } // ~32px
+h3, .h3 { font-size: (@font-size-base * 1.75); font-size: 2.5rem; } // ~24px
+h4, .h4 { font-size: (@font-size-base * 1.25); font-size: 2rem; } // ~18px
+h5, .h5 { font-size: @font-size-base; font-size: 1.6rem; }
+h6, .h6 { font-size: (@font-size-base * 0.85); font-size: 1.2rem; } // ~12px
-h1 small { font-size: (@font-size-base * 1.75); } // ~24px
-h2 small { font-size: (@font-size-base * 1.25); } // ~18px
-h3 small { font-size: @font-size-base; }
-h4 small { font-size: @font-size-base; }
+h1 small, .h1 small { font-size: (@font-size-base * 1.75); } // ~24px
+h2 small, .h2 small { font-size: (@font-size-base * 1.25); } // ~18px
+h3 small, .h3 small { font-size: @font-size-base; }
+h4 small, .h4 small { font-size: @font-size-base; }
// Page header