From 420fce78db5f26ebcfb9f2f239f127b046e32608 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 25 Apr 2019 05:20:47 +0300 Subject: [PATCH] Image center --- static/css/style.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 2c9ec23..65aab0c 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -128,8 +128,11 @@ a, a:hover { } .entry-content img { - max-width: 100%; + display: block; + max-width: 96%; height: auto; + margin-left: auto; + margin-right: auto; } .entry-content figcaption, .caption { @@ -330,10 +333,6 @@ pre, code, kbd, samp padding-bottom: 12px; } -.img-center { - text-align: center; -} - .pagination a { color: black; float: left;