From 274c3efea5d8631b60d047c9cac3c0dd2db97441 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Tue, 24 Jan 2012 21:56:47 +0800 Subject: embed --- sass/parts/_article.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index 57d695b..89e6455 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -40,7 +40,7 @@ article{ p{ margin-top: 10px; code{ - background: #ddd; + background: $border; border: 1px solid #ccc; padding: 1px 3px; border-radius: 5px; @@ -67,6 +67,9 @@ article{ max-width: 100%; height: auto; } + iframe[src*="youtube"]{ + margin-top: 10px; + } code{ font-family: $monospace; } @@ -74,7 +77,7 @@ article{ line-height: 1.5; } figure.code{ - background: #ddd; + background: $border; padding: 5px 15px; margin-top: 10px; border: 1px solid #ccc; -- cgit v1.1-2-g2b99