summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--partials/_base-compass.scss4
-rw-r--r--partials/_base.scss12
-rw-r--r--style.scss5
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";
diff --git a/style.scss b/style.scss
index f50e06e..41fa80c 100644
--- a/style.scss
+++ b/style.scss
@@ -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;
}