summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 14:55:47 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 14:55:47 +0100
commit15ae738f7e7bcbd0340eff9b8a422c789053699d (patch)
tree65f4e58802fdb1ecf724f41e493215df79854509 /sass
parentbf1bc5d241076e39441c265f0ae3ed917fee925e (diff)
downloadoctopress-theme-jeyzu-15ae738f7e7bcbd0340eff9b8a422c789053699d.zip
octopress-theme-jeyzu-15ae738f7e7bcbd0340eff9b8a422c789053699d.tar.gz
Set max width of photos
Diffstat (limited to 'sass')
-rw-r--r--sass/parts/_article.scss5
1 files changed, 5 insertions, 0 deletions
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;
}
}
}