diff --git a/lib/site_template/_sass/_base.scss b/lib/site_template/_sass/_base.scss index e5fd0fd8..5433144c 100644 --- a/lib/site_template/_sass/_base.scss +++ b/lib/site_template/_sass/_base.scss @@ -14,10 +14,7 @@ dl, dd, ol, ul, figure { * Basic styling */ body { - font-family: $base-font-family; - font-size: $base-font-size; - line-height: $base-line-height; - font-weight: 300; + font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family; color: $text-color; background-color: $background-color; -webkit-text-size-adjust: 100%; @@ -80,7 +77,7 @@ li { * Headings */ h1, h2, h3, h4, h5, h6 { - font-weight: 300; + font-weight: $base-font-weight; } diff --git a/lib/site_template/css/main.scss b/lib/site_template/css/main.scss index 52b6a691..31dcfe0f 100755 --- a/lib/site_template/css/main.scss +++ b/lib/site_template/css/main.scss @@ -8,6 +8,7 @@ // Our variables $base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; $base-font-size: 16px; +$base-font-weight: 300; $small-font-size: $base-font-size * 0.875; $base-line-height: 1.5;