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

github.com/bake/solar-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbake <bake@192k.pw>2019-05-20 16:19:47 +0300
committerbake <bake@192k.pw>2019-05-20 16:19:47 +0300
commitd4b41327135d731676d1dfda137947941fcce6d6 (patch)
tree6cda78f15759cf3bb0d6b420457d395cd0745ec9
parentc03147b4e531ed027da018411820b1f4da26097d (diff)
Fix image max width
-rwxr-xr-xstatic/css/style.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/static/css/style.css b/static/css/style.css
index a485091..0615390 100755
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -100,6 +100,11 @@ nav,
section {
display: block;
}
+figure {
+ background: rgba(255, 255, 255, 0.015);
+ margin-bottom: 0.5em;
+ padding: 0.25em;
+}
body {
line-height: 1.1;
}
@@ -378,7 +383,7 @@ article p {
article img {
display: block;
text-align: center;
- max-width: 500px;
+ max-width: 100%;
height: auto;
margin: 0 auto 1em auto;
}