summaryrefslogtreecommitdiff
path: root/sbhs/static
diff options
context:
space:
mode:
authorCruiseDevice2018-10-26 13:38:48 +0530
committerCruiseDevice2018-10-26 13:46:16 +0530
commita438fee238995d2d691bf6b6f71d0b67a7d58ca2 (patch)
tree4364183ecfb3a148a9cbe5af03bce1ae057d4d34 /sbhs/static
parent00f02432ba31aadb4da46aab9804112d1fb8c9de (diff)
downloadsbhs_server-a438fee238995d2d691bf6b6f71d0b67a7d58ca2.tar.gz
sbhs_server-a438fee238995d2d691bf6b6f71d0b67a7d58ca2.tar.bz2
sbhs_server-a438fee238995d2d691bf6b6f71d0b67a7d58ca2.zip
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
Diffstat (limited to 'sbhs/static')
-rw-r--r--sbhs/static/css/base.css28
1 files changed, 17 insertions, 11 deletions
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:
}