From cc2e9e69b7599c20077873f2718550f910628f0c Mon Sep 17 00:00:00 2001 From: Gnieark Date: Wed, 29 Aug 2018 15:06:42 +0200 Subject: [PATCH] fixes on the css --- style-2018-08-29.css => style-2018-08-29b.css | 12 ++++++------ tpl/_head.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) rename style-2018-08-29.css => style-2018-08-29b.css (97%) diff --git a/style-2018-08-29.css b/style-2018-08-29b.css similarity index 97% rename from style-2018-08-29.css rename to style-2018-08-29b.css index f37480b..e072d06 100644 --- a/style-2018-08-29.css +++ b/style-2018-08-29b.css @@ -114,10 +114,10 @@ img, audio { } img.EntryFirstImage{ max-width: 100%; - display: inline; + display: block; border-radius: 8px; - left: 50%; - transform: translate(50%, 0%); + margin-left: auto; + margin-right: auto; } section, aside { background-color: #fff9fb; @@ -138,8 +138,8 @@ article {background-color: #fff9fb;} background-color: #fff9fb; border-radius: 3em; box-shadow: -0.1em 0.1em 1em 0.1em rgba(0, 0, 0, 0.3); - } + img.EntryFirstImage{ max-width: 15em; float: right; @@ -155,7 +155,7 @@ article {background-color: #fff9fb;} section{ float: left; width: 40em; - margin: 0.5em 0.5em; + margin: 0.5em 0.5em 0.5em 2em; } aside{ float: left; @@ -212,7 +212,7 @@ h1, h2 { font-size: 100%; position: relative; left: -1.5em; - width: 100%; + width: calc(100% - 1.9em); } } diff --git a/tpl/_head.html b/tpl/_head.html index b7e07df..cdc115f 100644 --- a/tpl/_head.html +++ b/tpl/_head.html @@ -1,4 +1,4 @@ - + {{tpl:include src="user_head.html"}}