A lighter font declaration

Removes unnecessary Sass

Thanks @kleinfreund :)
This commit is contained in:
Seth Warburton 2015-01-26 09:43:19 +00:00
parent e71c23981d
commit 2745be736e
2 changed files with 3 additions and 5 deletions

View File

@ -14,10 +14,7 @@ dl, dd, ol, ul, figure {
* Basic styling * Basic styling
*/ */
body { body {
font-family: $base-font-family; font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
font-size: $base-font-size;
line-height: $base-line-height;
font-weight: 300;
color: $text-color; color: $text-color;
background-color: $background-color; background-color: $background-color;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
@ -80,7 +77,7 @@ li {
* Headings * Headings
*/ */
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-weight: 300; font-weight: $base-font-weight;
} }

View File

@ -8,6 +8,7 @@
// Our variables // Our variables
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; $base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
$base-font-size: 16px; $base-font-size: 16px;
$base-font-weight: 300;
$small-font-size: $base-font-size * 0.875; $small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5; $base-line-height: 1.5;