From 5e922fa170f4be0a2479972e886177e784273960 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 27 Apr 2015 17:01:45 +0200 Subject: [PATCH] spacing & typography fixes --- _src/assets/styl/content-photo.styl | 1 + _src/assets/styl/typography.styl | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/_src/assets/styl/content-photo.styl b/_src/assets/styl/content-photo.styl index a0eab844..187b7821 100644 --- a/_src/assets/styl/content-photo.styl +++ b/_src/assets/styl/content-photo.styl @@ -47,6 +47,7 @@ .entry-content text-align: left + margin-top: $line-height-computed .page-single & padding-top: ($line-height-computed*2) diff --git a/_src/assets/styl/typography.styl b/_src/assets/styl/typography.styl index 538e15bd..ac67a5c4 100644 --- a/_src/assets/styl/typography.styl +++ b/_src/assets/styl/typography.styl @@ -228,6 +228,9 @@ blockquote margin: 0 0 $line-height-computed position: relative + @media $breakpoint3 + padding: 0 ($line-height-computed*1.75) + // quotation marks &:before content: "“" @@ -236,7 +239,10 @@ blockquote color: rgba($text-color-dimmed, 40%) position: absolute left: -($line-height-computed/2) - top: -($line-height-computed/2) + top: -($line-height-computed/1.75) + + @media $breakpoint3 + top: -($line-height-computed/1.35) p:last-child margin-bottom: 0