Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pacollins/hugo-future-imperfect-slim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorJulio Pescador <jpescador@users.noreply.github.com>2016-03-02 01:03:30 +0300
committerJulio Pescador <jpescador@users.noreply.github.com>2016-03-02 01:03:30 +0300
commit22b85f4e005e5c4b510e124f9050afcfa06bcaea (patch)
tree7d9f03b39c8d9e580853ce0ead93e8b06404d12e /static
parent6b3002cc3c22a6ea8e5b5fb7286c9afdbb003191 (diff)
CSS tweaks to center image on img-post shortcode
Diffstat (limited to 'static')
-rw-r--r--static/css/add-on.css14
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;