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

github.com/appernetic/hugo-nederburg-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Latham <albert.m.latham@gmail.com>2018-07-18 18:19:01 +0300
committerAlbert Latham <albert.m.latham@gmail.com>2018-07-18 18:19:01 +0300
commitd766ebc52d01e8683220285a6c40c8cef434a547 (patch)
treea09b28697e156bb0fb4c827ec5d66b9ce2453e9b
parent0c596f19a3e79bf9465822d4e691b04477b5599d (diff)
images in an article block will now scale with the width of the browser
-rw-r--r--static/css/custom.css10
1 files changed, 7 insertions, 3 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 5aafb1a..37e5fd7 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -165,7 +165,7 @@ ol {
padding: 0;
margin: 1.5em;
}
-ul ul, ul ol,
+ul ul, ul ol,
ol ul,
ol ol {
margin: 0 1.5em;
@@ -232,7 +232,7 @@ th {
.alignleft,
.aligncenter,
.alignnone,
-.size-auto,
+.size-auto,
.size-full,
.size-large,
.size-medium,
@@ -284,6 +284,11 @@ img {
max-width: 100%;
}
+article img {
+ max-height: 100%;
+ max-width: 100%;
+}
+
.wp-caption-text {
margin: 0;
color: #8c8c8c;
@@ -2724,4 +2729,3 @@ li.pingback:first-child {
width: 500px !important;
}
}
-