From cff1a518f9f898a5b31d33920afbf502f21d2f5e Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 5 Jul 2018 13:45:14 +0200 Subject: [PATCH] more subtle sticky menu + article content images styling --- theme/wttf/static/main.css | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/theme/wttf/static/main.css b/theme/wttf/static/main.css index 50b13e8..f2ddcdb 100644 --- a/theme/wttf/static/main.css +++ b/theme/wttf/static/main.css @@ -38,7 +38,7 @@ body{ margin:0px; font-size: 14px; - font-family: "serif"; + font-family: "headers"; background-color: #ccd1cab3; /*background: linear-gradient(to bottom right, #c2c2c2, #fff7f7, #e4e3e3);*/ word-break: normal; @@ -144,11 +144,11 @@ header{ } #menu.sticky{ position: fixed; - font-size: 1.5em; + font-size: 1.1em; width: calc(100% - 2em); top:0; left:0; - padding:8px 1em 8px 2em; + padding:2px 1em 2px 2em; margin:0; background-color: #fb4817; } @@ -166,6 +166,7 @@ header{ padding:0; height: auto; margin:0 0.5em; + font-size: 12px; } #content{ @@ -248,6 +249,9 @@ header{ padding:0 20px; color:black; } + .entry-content img{ + width: 100%; + } .entry-content a{ text-decoration: underline; } @@ -262,15 +266,30 @@ header{ /* article pages */ #content.article{ - max-width: 820px; - margin:0 0 5em 50px; } #content.article .entry-title{ margin:3em 3em 2em 2em; } + #content.article h1, #content.article h2, #content.article h3{ + clear: both; + } #content.article .entry-content{ - font-size: 21px; + font-size: 18px; + letter-spacing: 0.03em; line-height: 1.7; + max-width: 900px; + margin:0 0 5em 50px; + } + #content.article .entry-content .img{ + width: 80%; + margin:2em 0; + font-family: sans-serif; + font-size:12px; + line-height: 1.4; + } + #content.article .entry-content .img img{ + width: 100%; + margin-bottom: 0.5em } #list{