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

github.com/nurlansu/hugo-sustain.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNurlan Su <git@nurlan.co>2018-08-04 10:32:04 +0300
committerNurlan Su <git@nurlan.co>2018-08-04 10:32:04 +0300
commit3432f81f9da4cc9a2ebc9a886fbde1e374faf1c5 (patch)
tree551e5c02bc685cbf7cbeda895b2f7f3a3d412c8a
parentf1f4743721e1a547eab3261bc69ae26c65f79889 (diff)
Fixed images max-width property, fixes #19
-rwxr-xr-xstatic/css/main.css13
1 files changed, 7 insertions, 6 deletions
diff --git a/static/css/main.css b/static/css/main.css
index f2576a6..02d4f12 100755
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -96,10 +96,11 @@ html, body {
.container a:hover {
color: #267723;
}
-.img-responsive {
- display: block;
- height: auto;
- max-width: 100%;
+.container p img, .img-responsive {
+ display: block;
+ height: auto;
+ margin: 2rem auto;
+ max-width: 100%;
}
.panel-default h4 {
text-align: left;
@@ -162,8 +163,8 @@ html, body {
padding-top: 2px;
}
.label {
- display: inline-block;
- margin-bottom: 5px;
+ display: inline-block;
+ margin-bottom: 5px;
}
.related-posts h4 {
text-align: center;