From f63677155392c5229c8f38389d753b616d14bcdf Mon Sep 17 00:00:00 2001 From: B Mathis Date: Thu, 12 Nov 2009 19:42:25 -0600 Subject: [PATCH] updated blockquote style --- stylesheets/_typography.sass | 8 +++++++- stylesheets/library/_typography.sass | 7 ++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/stylesheets/_typography.sass b/stylesheets/_typography.sass index 3578b32..9383040 100644 --- a/stylesheets/_typography.sass +++ b/stylesheets/_typography.sass @@ -21,7 +21,13 @@ h1,h2,h3,h4,h5,h6 blockquote +quote-font - font-size= !base_font_size * 1.2 + +border-radius(5px) + font-style: italic + color: #555 + background: #f8f8f8 + border: 1px solid #e5e5e5 + &:before + color: #ddd .quote blockquote font-size= !h4 line-height= !h5 * 1.625 diff --git a/stylesheets/library/_typography.sass b/stylesheets/library/_typography.sass index d203ecf..0e70a9e 100644 --- a/stylesheets/library/_typography.sass +++ b/stylesheets/library/_typography.sass @@ -138,14 +138,15 @@ margin-left= !font_size * 1.625 =quote-style(!font_size = !base_font_size) - padding= !font_size !font_size !font_size * 1.625 !font_size * 1.4 + padding= !font_size*1.5 !font_size*1.5 !font_size * 1.5 !font_size * 1.8 + position: relative + margin-bottom= !font_size * 0.8125 &:before content: "\201C" font-size= !font_size * 3 - margin= 0 0 0 -.625em + margin= 5px 0 0 -.525em position: absolute font-family: Times, Georgia, serif - color: #aaa line-height: 0 > p padding: 0