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

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <contact@angelostavrow.com>2020-07-20 13:47:12 +0300
committerAngelo Stavrow <contact@angelostavrow.com>2020-07-20 13:47:12 +0300
commita63bac39b4c6976b1864696e16b5784085ad1a32 (patch)
tree871aa13e997bf0bc24646686f4fe4780519e9eb9
parent58bdf8014132d8aab54c867079c894db136f293f (diff)
Don't stretch smaller images, and respect source aspect ratio
-rw-r--r--static/css/style.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 162e1f8..be7adef 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -30,7 +30,10 @@ body {
}
img {
- width: 100%;
+ display: block;
+ height: 100%;
+ margin: 0 auto;
+ max-width: 100%;
}
blockquote {