From ab252d05b7c4dd4857377dfdee29824faa000b2c Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Sat, 17 Mar 2012 09:55:17 +0800 Subject: modify article style, fix video wrong position --- sass/parts/_article.scss | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index a17ddcd..4a7ba6b 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -25,22 +25,26 @@ article{ padding-left: 30px; background: image-url('more.png') 0 center no-repeat; } - strong{ - font-weight: bold; + p, blockquote, ul, ol, dl, table, iframe, h1, h2, h3, h4, h5, h6, .video-container{ + margin-top: 10px; } - ol, ul{ + ul, ol, dl{ margin-left: 20px; - margin-top: 10px; - ol, ul{ + ul, ol, dl{ margin-top: 0; } } + strong{ + font-weight: bold; + } + em{ + font-style: italic; + } p{ margin-top: 10px; } h2{ font-weight: 300; - margin-top: 10px; border-bottom: 1px solid $gray04; position: relative; &:before{ @@ -51,9 +55,6 @@ article{ width: 100%; } } - h3{ - margin-top: 10px; - } img, video{ max-width: 100%; height: auto; @@ -68,7 +69,6 @@ article{ } } iframe{ - margin-top: 10px; border: none; } table{ -- cgit v1.1-2-g2b99