diff options
author | Jonas Smedegaard <dr@jones.dk> | 2013-11-24 15:12:00 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-11-24 15:12:12 +0100 |
commit | a05ace9beb016040d63e83835ef9001026e945d2 (patch) | |
tree | 6f5b46212cb26f6c8d6d07b24767c451911396b0 | |
parent | b37cd9dd5b2ad5a166487ebb4f8e92a5edb9dcd0 (diff) |
Declare high-level base variables in partials.
-rw-r--r-- | partials/_base-compass.scss | 4 | ||||
-rw-r--r-- | partials/_base.scss | 12 | ||||
-rw-r--r-- | style.scss | 5 |
3 files changed, 19 insertions, 2 deletions
diff --git a/partials/_base-compass.scss b/partials/_base-compass.scss new file mode 100644 index 0000000..24cb2e6 --- /dev/null +++ b/partials/_base-compass.scss @@ -0,0 +1,4 @@ +// Compass integration +// +// No styleguide reference. +$base-font-size: $baseFontSize; diff --git a/partials/_base.scss b/partials/_base.scss new file mode 100644 index 0000000..9c71b6f --- /dev/null +++ b/partials/_base.scss @@ -0,0 +1,12 @@ +// Typography +// +// No styleguide reference. +// Follow W3C recommendation: http://www.w3.org/QA/Tips/font-size +$baseFontSize: 16px; + +$headerFontSize: 24px; + +// Framework integrations +// +// No styleguide reference. +@import "base-compass"; @@ -1,3 +1,4 @@ +@import "partials/base"; @import "h5bp"; @import "../shared/themes/default/ikiwiki"; @import "compass/typography/lists"; @@ -133,7 +134,7 @@ div.inlinefooter { @include ikiwiki-plugin-po; div.header { - @include adjust-font-size-to(24px); + @include adjust-font-size-to($headerFontSize); padding: 0 0 0 1em; background-color: LightBlue; color: LightBlue; @@ -159,7 +160,7 @@ span.parentlinks { } FORM#searchform { - @include adjust-font-size-to(16px, $from-size: 24px); + @include adjust-font-size-to($baseFontSize, $from-size: $headerFontSize); margin: rhythm(.5) 2em 0 0; } |