From 29b3af59623f5c032f784ce46b8a8dc5af2c4ea5 Mon Sep 17 00:00:00 2001 From: putro Date: Fri, 3 Jan 2020 20:18:54 +0100 Subject: [PATCH] css theme fix for better view with smartphones --- themes/minimunit/static/css/style.css | 12 +++++++----- themes/minimunit/templates/base.html | 1 - 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/themes/minimunit/static/css/style.css b/themes/minimunit/static/css/style.css index a3cc998..2b97b91 100644 --- a/themes/minimunit/static/css/style.css +++ b/themes/minimunit/static/css/style.css @@ -4,12 +4,10 @@ body { background-color: #F4F4E8; color: #333333; min-width: 400px; + max-width: 600px; min-height: 200px; - margin: 2% 2%; - padding:0; - height:98%;; - margin-left: 33%; - margin-right: 33%; + margin: 0 auto; + padding: 0; } .sitebanner { @@ -42,6 +40,10 @@ h6 a { color: inherit !important } margin-top: 1em; } +#banner { + height: 85px; +} + pre { margin: 2em 1em 2em 4em; } diff --git a/themes/minimunit/templates/base.html b/themes/minimunit/templates/base.html index 102e4fb..681bf12 100644 --- a/themes/minimunit/templates/base.html +++ b/themes/minimunit/templates/base.html @@ -46,7 +46,6 @@

{{ SITENAME }} {{ SITESUBTITLE }}

-