summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-07 01:11:08 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-07 01:11:08 -0700
commit8f3df085d8d0e92165299e098586167886abd35c (patch)
tree06e97c0287bcc7acafa3c99c758f095a2347c845 /theme/stylesheets
parentb7e04b547565f5535d9526c46b57c258d8d08b15 (diff)
downloadgitbook-8f3df085d8d0e92165299e098586167886abd35c.zip
gitbook-8f3df085d8d0e92165299e098586167886abd35c.tar.gz
gitbook-8f3df085d8d0e92165299e098586167886abd35c.tar.bz2
Center images in markdown body
Diffstat (limited to 'theme/stylesheets')
-rw-r--r--theme/stylesheets/book/markdown.less5
1 files changed, 4 insertions, 1 deletions
diff --git a/theme/stylesheets/book/markdown.less b/theme/stylesheets/book/markdown.less
index 7504793..97c40bf 100644
--- a/theme/stylesheets/book/markdown.less
+++ b/theme/stylesheets/book/markdown.less
@@ -184,7 +184,10 @@
margin-bottom: 0; }
img {
- max-width: 100%; }
+ max-width: 100%;
+ display: block;
+ margin: 0px auto;
+ }
span.frame {
display: block;