From: Alex Ford Date: Fri, 28 Apr 2017 13:19:29 +0000 (+0100) Subject: Inherit h1-h6 size from global-font-size var X-Git-Tag: v2.3.0~7^2~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F759%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-emails.git Inherit h1-h6 size from global-font-size var --- diff --git a/scss/components/_typography.scss b/scss/components/_typography.scss index b48d8b85..9ee1f7da 100755 --- a/scss/components/_typography.scss +++ b/scss/components/_typography.scss @@ -44,27 +44,27 @@ $header-font-weight: $global-font-weight !default; /// Font size of `

` elements. /// @type Number -$h1-font-size: 34px !default; +$h1-font-size: floor($global-font-size * 2.125) !default; /// Font size of `

` elements. /// @type Number -$h2-font-size: 30px !default; +$h2-font-size: floor($global-font-size * 1.875) !default; /// Font size of `

` elements. /// @type Number -$h3-font-size: 28px !default; +$h3-font-size: floor($global-font-size * 1.75) !default; /// Font size of `

` elements. /// @type Number -$h4-font-size: 24px !default; +$h4-font-size: floor($global-font-size * 1.5) !default; /// Font size of `

` elements. /// @type Number -$h5-font-size: 20px !default; +$h5-font-size: floor($global-font-size * 1.2) !default; /// Font size of `
` elements. /// @type Number -$h6-font-size: 18px !default; +$h6-font-size: floor($global-font-size * 1.125) !default; /// Margin bottom of `

` through `

` elements. /// @type Number