From a438fee238995d2d691bf6b6f71d0b67a7d58ca2 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Fri, 26 Oct 2018 13:38:48 +0530 Subject: fix UI issues in website - separate header, body and footer using css ids in base.html to avoid text hiding in header and footer - remove unnecessary script tag and div tag from account/home.html - use django-crispy-forms to fix design issues in password_change_form, user_registration_form and user_login_form - fix UI issues in pages/info.html and pages_index.html --- sbhs/static/css/base.css | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'sbhs/static') diff --git a/sbhs/static/css/base.css b/sbhs/static/css/base.css index dd9ab77..6e356f7 100644 --- a/sbhs/static/css/base.css +++ b/sbhs/static/css/base.css @@ -1,5 +1,6 @@ .content { padding-top: 65px; + padding-bottom: 100px; } .footer{ position: fixed; @@ -12,18 +13,23 @@ box-sizing: border-box; width: 100%; font: bold 12px; - overflow: auto; - clear:both; - padding-top: 2px; - height: 10%; } - html, body{ - font-size:10px; - overflow:auto; + margin:0; + padding:0; height:100%; - overflow-x:hidden; - text-align:center; - width:1024px; - margin: 0px auto 0px auto; +} + +#container{ + min-height: 100%; + position: relative; +} + +#header{ + +} + +#body{ + padding: 10px; + padding-bottom: 60px: } -- cgit