From dad21b944ad5d6ca3a6204d2398d49e2200c4793 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Thu, 29 Oct 2015 10:18:01 +0800 Subject: [PATCH] update block quote styles --- source/css/_partial/article.styl | 18 +++++++++++++++--- source/css/_variables.styl | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/source/css/_partial/article.styl b/source/css/_partial/article.styl index 54c2c13..3397b6f 100644 --- a/source/css/_partial/article.styl +++ b/source/css/_partial/article.styl @@ -93,10 +93,22 @@ border-bottom: 1px solid color-border padding: 10px 0 blockquote + position: relative font-family: font-serif - font-size: 1.4em - margin: line-height 20px - text-align: center + font-size: 1.1em + margin: 0 -20px + padding: 10px 20px 10px 54px + background: #fcfcfc + border-left: 4px solid #eee + &:before + top: 20px + left: 10px + content: "\f10d" + color: #e2e2e2 + font-size: 32px; + font-family: FontAwesome + text-align: center + position: absolute footer font-size: font-size margin: line-height 0 diff --git a/source/css/_variables.styl b/source/css/_variables.styl index 22a9122..29c55ac 100644 --- a/source/css/_variables.styl +++ b/source/css/_variables.styl @@ -20,7 +20,7 @@ color-google = #dd4b39 // Fonts font-sans = "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif -font-serif = Georgia, "Times New Roman", serif +font-serif = Georgia, "Times New Roman", "Microsoft Yahei", serif font-mono = "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace font-size = 14px line-height = 1.6em