Skip to content

Commit

Permalink
font stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Kamenarsky committed Jun 12, 2012
1 parent 2a3b4f9 commit 4c78f76
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Site/style.scss
Expand Up @@ -26,6 +26,16 @@ $vsplit: $leading * 11;
// text-align: justify;
}

@mixin font-normal($size) {
@include font($size);
font-family: "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", 'TeXGyreHerosRegular', "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-weight:400; font-stretch:normal;
}

@mixin font-light($size) {
@include font($size);
font-family: "HelveticaNeueLight", "HelveticaNeue-Light", "Helvetica Neue Light", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosRegular', "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-weight:300; font-stretch:normal;
}

// Layout

body {
Expand Down Expand Up @@ -72,8 +82,7 @@ body {
.area-title {
margin-top: 7px;
margin-bottom: 2px + 1 * $leading;
font-size: 16px;
// font-weight: bold;
@include font(16px);
}

.area-copy {
Expand All @@ -100,9 +109,6 @@ body {
margin-top: 5px;

@include font(13px);
// font-weight: bold;
// text-align: right;
// line-height: $leading * 1.5;
}

#menu span {
Expand Down Expand Up @@ -140,7 +146,7 @@ body {

#title {
position: relative;
@include font(21px);
@include font-light(21px);

// margin-left: $colw;
margin-top: $leading * 2 - 2px; // -2px baseline fix
Expand Down

0 comments on commit 4c78f76

Please sign in to comment.