diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-10-24 05:54:27 -0700 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-10-24 05:54:27 -0700 |
commit | d6afe77d4c18747bac7c0b08eb4dbf3414268026 (patch) | |
tree | 0abe0341aa876820b22e21309f276a4cf58a8ea3 /.themes/classic/sass/base | |
parent | 665f8a424c1c19c9b461b998ef326bcfb8495970 (diff) | |
parent | 20e566f58fba1b0f0e34e08e14704b2b1edadf6a (diff) | |
download | my_new_personal_website-d6afe77d4c18747bac7c0b08eb4dbf3414268026.tar.xz my_new_personal_website-d6afe77d4c18747bac7c0b08eb4dbf3414268026.zip |
Merge pull request #246 from omo/customizable-font-family
Makes font-family names customizable.
Diffstat (limited to '.themes/classic/sass/base')
-rw-r--r-- | .themes/classic/sass/base/_typography.scss | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.themes/classic/sass/base/_typography.scss b/.themes/classic/sass/base/_typography.scss index 60556752..8ef39587 100644 --- a/.themes/classic/sass/base/_typography.scss +++ b/.themes/classic/sass/base/_typography.scss @@ -1,17 +1,22 @@ $blockquote: $type-border !default; -$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; +$sans: "PT Sans", "Helvetica Neue", Arial, sans-serif !default; +$serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default; +$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default; +$heading-font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif !default; +$header-title-font-family: $heading-font-family !default; // Fonts .heading { - font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif; + font-family: $heading-font-family; } -.sans { font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif; } -.serif { font-family: "PT Serif", Georgia, Times, "Times New Roman", serif; } +.sans { font-family: $sans; } +.serif { font-family: $serif; } .mono { font-family: $mono; } body > header h1 { font-size: 2.2em; @extend .heading; + font-family: $header-title-font-family; font-weight: normal; line-height: 1.2em; margin-bottom: 0.6667em; |