diff options
author | Julio Pescador <jpescador@users.noreply.github.com> | 2016-03-02 01:03:30 +0300 |
---|---|---|
committer | Julio Pescador <jpescador@users.noreply.github.com> | 2016-03-02 01:03:30 +0300 |
commit | 22b85f4e005e5c4b510e124f9050afcfa06bcaea (patch) | |
tree | 7d9f03b39c8d9e580853ce0ead93e8b06404d12e /static | |
parent | 6b3002cc3c22a6ea8e5b5fb7286c9afdbb003191 (diff) |
CSS tweaks to center image on img-post shortcode
Diffstat (limited to 'static')
-rw-r--r-- | static/css/add-on.css | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/static/css/add-on.css b/static/css/add-on.css index 5260819..8c0044c 100644 --- a/static/css/add-on.css +++ b/static/css/add-on.css @@ -145,11 +145,17 @@ pre { font-size: inherit; } -.center-image { - display: block; - margin: auto; - clear: both; +.image.center-image { + max-width: 50%; } + .image.center-image img { + width: 100%; + } + .image.center-image { + display: block; + margin: auto; + clear: both; + } .pagination .button { background: white; |