From 340b4bd20bce849015fa1bd50969e4095dea9915 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 10 Aug 2014 00:52:22 +0200 Subject: [PATCH] blockquote changes --- _src/assets/styl/typography.styl | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/_src/assets/styl/typography.styl b/_src/assets/styl/typography.styl index 51a0e450..538e15bd 100644 --- a/_src/assets/styl/typography.styl +++ b/_src/assets/styl/typography.styl @@ -202,7 +202,8 @@ strong, font-weight: 700 font-style: normal -em +em, +.italic font-style: italic cite @@ -219,13 +220,23 @@ hr blockquote, blockquote > p - font-style: italic + @extend .italic color: $text-color-light blockquote padding: 0 $line-height-computed margin: 0 0 $line-height-computed - border-left: 2px solid $text-color-dimmed + position: relative + + // quotation marks + &:before + content: "“" + font-size: 400% + font-family: "Hoefler Text", "Times New Roman", serif + color: rgba($text-color-dimmed, 40%) + position: absolute + left: -($line-height-computed/2) + top: -($line-height-computed/2) p:last-child margin-bottom: 0