Merge pull request #271 from simensen/ConfigureFontFamilyForSubtitle

Make font-family for subtitle configurable.
This commit is contained in:
Frederic Hemberger 2011-12-10 03:49:26 -08:00
commit e8ee5219c3
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ $serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default;
$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default; $mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default;
$heading-font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif !default; $heading-font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif !default;
$header-title-font-family: $heading-font-family !default; $header-title-font-family: $heading-font-family !default;
$header-subtitle-font-family: $heading-font-family !default;
// Fonts // Fonts
.heading { .heading {
@ -21,6 +22,9 @@ body > header h1 {
line-height: 1.2em; line-height: 1.2em;
margin-bottom: 0.6667em; margin-bottom: 0.6667em;
} }
body > header h2 {
font-family: $header-subtitle-font-family;
}
body { body {
line-height: 1.5em; line-height: 1.5em;

View File

@ -7,3 +7,4 @@
//$mono: "Courier", monospace; //$mono: "Courier", monospace;
//$heading-font-family: "Verdana", sans-serif; //$heading-font-family: "Verdana", sans-serif;
//$header-title-font-family: "Futura", sans-serif; //$header-title-font-family: "Futura", sans-serif;
//$header-subtitle-font-family: "Futura", sans-serif;