diff --git a/fork-versions/default/_normalize.scss b/fork-versions/default/_normalize.scss index 2eb3e92fc..23f383fae 100644 --- a/fork-versions/default/_normalize.scss +++ b/fork-versions/default/_normalize.scss @@ -79,8 +79,13 @@ h1 { @include normalize-line-height($h1-font-size); } - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - @include normalize-margin(1 0, $h1-font-size); + @if $normalize-vertical-rhythm { + /* Set 1 unit of vertical rhythm on the top and bottom margins. */ + @include normalize-margin(1 0, $h1-font-size); + } + @else { + margin: 0.67em 0; + } } @if $normalize-vertical-rhythm { diff --git a/sass/normalize/_normalize-mixin.scss b/sass/normalize/_normalize-mixin.scss index 33a381eab..016667012 100644 --- a/sass/normalize/_normalize-mixin.scss +++ b/sass/normalize/_normalize-mixin.scss @@ -108,8 +108,13 @@ @include normalize-line-height($h1-font-size); } - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - @include normalize-margin(1 0, $h1-font-size); + @if $normalize-vertical-rhythm { + /* Set 1 unit of vertical rhythm on the top and bottom margins. */ + @include normalize-margin(1 0, $h1-font-size); + } + @else { + margin: 0.67em 0; + } } @if $normalize-vertical-rhythm { diff --git a/test/fixtures/fork-versions/default/output.css b/test/fixtures/fork-versions/default/output.css index dda3b63f2..047e69313 100644 --- a/test/fixtures/fork-versions/default/output.css +++ b/test/fixtures/fork-versions/default/output.css @@ -42,8 +42,7 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } /* Grouping content ========================================================================== */ diff --git a/test/fixtures/import-now/output.css b/test/fixtures/import-now/output.css index 2a3766482..14897bb7f 100644 --- a/test/fixtures/import-now/output.css +++ b/test/fixtures/import-now/output.css @@ -42,8 +42,7 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } /* Grouping content ========================================================================== */ diff --git a/test/fixtures/normalize/exclude-multiple/output.css b/test/fixtures/normalize/exclude-multiple/output.css index bfc7a9eb8..bc3db2db2 100644 --- a/test/fixtures/normalize/exclude-multiple/output.css +++ b/test/fixtures/normalize/exclude-multiple/output.css @@ -42,8 +42,7 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } /* Links ========================================================================== */ diff --git a/test/fixtures/normalize/exclude-single/output.css b/test/fixtures/normalize/exclude-single/output.css index ce75668a7..0034bcb38 100644 --- a/test/fixtures/normalize/exclude-single/output.css +++ b/test/fixtures/normalize/exclude-single/output.css @@ -42,8 +42,7 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } /* Grouping content ========================================================================== */ diff --git a/test/fixtures/normalize/exclude-string/output.css b/test/fixtures/normalize/exclude-string/output.css index 7b77e433e..63e262d16 100644 --- a/test/fixtures/normalize/exclude-string/output.css +++ b/test/fixtures/normalize/exclude-string/output.css @@ -42,8 +42,7 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } /* Grouping content ========================================================================== */ diff --git a/test/fixtures/normalize/include-multiple/output.css b/test/fixtures/normalize/include-multiple/output.css index b730126c6..b4008dea1 100644 --- a/test/fixtures/normalize/include-multiple/output.css +++ b/test/fixtures/normalize/include-multiple/output.css @@ -42,5 +42,4 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } diff --git a/test/fixtures/variables/default/output.css b/test/fixtures/variables/default/output.css index 2a3766482..14897bb7f 100644 --- a/test/fixtures/variables/default/output.css +++ b/test/fixtures/variables/default/output.css @@ -42,8 +42,7 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } /* Grouping content ========================================================================== */ diff --git a/test/fixtures/variables/indent-amount/output.css b/test/fixtures/variables/indent-amount/output.css index 6e7a20114..acbdb961a 100644 --- a/test/fixtures/variables/indent-amount/output.css +++ b/test/fixtures/variables/indent-amount/output.css @@ -42,8 +42,7 @@ section { */ h1 { font-size: 2em; - /* Set 1 unit of vertical rhythm on the top and bottom margins. */ - margin: 0.75em 0; } + margin: 0.67em 0; } /* Grouping content ========================================================================== */