From 3e2c0885ac494bab9778a8b48ed0e7788a6c3ece Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:13:49 +0800 Subject: also highlight code in list, blockquote --- sass/parts/_article.scss | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index 73ab149..6d880ce 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -36,15 +36,9 @@ article{ margin-top: 0; } } + p{ - margin-top: 10px; - code{ - background: $border; - border: 1px solid #ccc; - padding: 1px 3px; - border-radius: 5px; - margin: 0 3px; - } + margin-top: 10px; } h2{ font-weight: 300; @@ -78,6 +72,15 @@ article{ iframe[src*="youtube"]{ margin-top: 10px; } + ol, ul, p, blockquote{ + code{ + background: $border; + border: 1px solid #ccc; + padding: 1px 3px; + border-radius: 5px; + margin: 0 3px; + } + } code{ font-family: $monospace; } -- cgit v1.1-2-g2b99