From c05b7df84b2c8fe81d88d4760901258d350d05e2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 24 Nov 2013 20:49:14 +0100 Subject: Use locally extended normalize snippet, to reduce duplicate size declarations. --- style.scss | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'style.scss') 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; } -- cgit v1.2.3