diff options
| author | Mark Otto <[email protected]> | 2013-01-16 10:57:00 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-01-16 10:57:00 -0800 |
| commit | cb0691d92f214df385d512a3f63f8f5ea861f922 (patch) | |
| tree | 3b29a079f1b7afe28c3b165542ac62222b64cc74 /less | |
| parent | 8fd26040d80f72e357692d257e80526bf2c36427 (diff) | |
| download | bootstrap-cb0691d92f214df385d512a3f63f8f5ea861f922.tar.xz bootstrap-cb0691d92f214df385d512a3f63f8f5ea861f922.zip | |
mo betta type margins for headings
Diffstat (limited to 'less')
| -rw-r--r-- | less/type.less | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/less/type.less b/less/type.less index 39358e4e3..7404a6c78 100644 --- a/less/type.less +++ b/less/type.less @@ -49,7 +49,6 @@ a.text-success:hover { color: darken(@state-success-text, 10%); } // ------------------------- h1, h2, h3, h4, h5, h6 { - margin: (@line-height-base / 2) 0; font-family: @headings-font-family; font-weight: @headings-font-weight; line-height: @line-height-base; @@ -63,7 +62,17 @@ h1, h2, h3, h4, h5, h6 { h1, h2, -h3 { line-height: @line-height-base * 2; } +h3 { + margin-top: @line-height-base; + margin-bottom: @line-height-base / 2; + line-height: @line-height-base * 2; +} +h4, +h5, +h6 { + margin-top: @line-height-base / 2; + margin-bottom: @line-height-base / 2; +} h1 { font-size: @font-size-base * 2.75; } // ~38px h2 { font-size: @font-size-base * 2.25; } // ~32px @@ -83,7 +92,7 @@ h4 small { font-size: @font-size-base; } .page-header { padding-bottom: (@line-height-base / 2) - 1; - margin: @line-height-base 0 (@line-height-base * 1.5); + margin: (@line-height-base * 2) 0 @line-height-base; border-bottom: 1px solid @grayLighter; } |
