summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2013-11-24 20:49:14 +0100
committerJonas Smedegaard <dr@jones.dk>2013-11-24 20:49:14 +0100
commitc05b7df84b2c8fe81d88d4760901258d350d05e2 (patch)
tree7ae1e6e81c34e222aafe526c4adb0fb90f8f389c /style.scss
parenta05ace9beb016040d63e83835ef9001026e945d2 (diff)
Use locally extended normalize snippet, to reduce duplicate size declarations.
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss18
1 files changed, 5 insertions, 13 deletions
diff --git a/style.scss b/style.scss
index 41fa80c..917af18 100644
--- a/style.scss
+++ b/style.scss
@@ -1,37 +1,29 @@
@import "partials/base";
-@import "h5bp";
+@import "partials/x-normalize";
@import "../shared/themes/default/ikiwiki";
@import "compass/typography/lists";
// site defaults
@import "compass/typography/vertical_rhythm";
-@include h5bp-normalize;
+@include x-normalize;
@include establish-baseline;
-// patch normalize to fit rhythm
-dl,
-menu,
-ol,
-ul {
- @include rhythm(1);
-}
-
h1 {
@include adjust-font-size-to(32px);
- @include rhythm;
+ margin: 0;
font-weight: normal;
}
h2 {
@include adjust-font-size-to(24px);
- @include rhythm;
+ margin: 0;
}
h3 {
@include adjust-font-size-to(16px);
- @include rhythm(1);
+ margin: rhythm(1) 0 0;
font-weight: bold;
}