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

github.com/lubang/hugo-hello-programmer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlubang <lubang@lulab.net>2018-03-21 15:11:11 +0300
committerlubang <lubang@lulab.net>2018-03-21 15:11:11 +0300
commit106a4c43c397197fa056de816aaa8b0ca947a67e (patch)
tree75a95e47e2dafc5efad61ba137f835c525a1cdd5
parent17c093e0467ad78f2f93d0cfd7c84cb5d0df60fa (diff)
Fix to limit image max width
-rw-r--r--static/css/styles.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/static/css/styles.css b/static/css/styles.css
index e3e84da..273d892 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -62,6 +62,10 @@ dt {
font-weight: bold;
}
+img {
+ max-width: 100%;
+}
+
.seperator {
clear: left;
color: #717171;
@@ -225,6 +229,10 @@ dt {
margin: 60px 0px 40px 0px;
}
+.post-content img {
+ max-width: 100%;
+}
+
.post-meta-code {
background-color: #f5f5f5;
padding: 10px;