From 15ae738f7e7bcbd0340eff9b8a422c789053699d Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Tue, 24 Jan 2012 21:55:47 +0800 Subject: Set max width of photos --- sass/parts/_article.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index 8403ec1..57d695b 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -63,6 +63,10 @@ article{ h3{ margin-top: 10px; } + img{ + max-width: 100%; + height: auto; + } code{ font-family: $monospace; } @@ -84,6 +88,7 @@ article{ td.code{ padding-left: 15px; font-size: 13px; + overflow-x: auto; } } } -- cgit v1.1-2-g2b99