From b0499f0ddf78f631121e2c237e12a35081e8e953 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Thu, 7 Nov 2013 12:29:09 +0530 Subject: fixed external linking in sidebar block --- website/static/css/main.css | 11 +++++++++-- website/static/images/django-logo.png | Bin 0 -> 2374 bytes website/templates/home.html | 1 - website/templates/page.html | 23 ++++++++++++++++++++-- website/urls.py | 4 ++-- website/views.py | 36 ++++++++++++++++++---------------- 6 files changed, 51 insertions(+), 24 deletions(-) create mode 100644 website/static/images/django-logo.png diff --git a/website/static/css/main.css b/website/static/css/main.css index f8c0904..887fa62 100644 --- a/website/static/css/main.css +++ b/website/static/css/main.css @@ -36,7 +36,7 @@ body{ box-shadow: 1px 1px 15px #cccccc; background: #ffffff; } -#header-inner, #content-inner, #extra-inner, #footer-inner{ +#header-inner, #content-inner, #extra-inner, #footer-inner, #credits{ max-width: 1200px; margin: 0 auto; padding: 10px 15px; @@ -78,6 +78,7 @@ ul.nav li > a:focus{ padding-bottom: 25px; } #footer-wrapper{ + position: relative; background-color: #2F353A; color: #ffffff; } @@ -110,7 +111,13 @@ ul.nav li > a:focus{ transition: padding .5s ease-out 0s; } #sidebar ul li a:hover{ - padding-left: 10px; + padding-left: 5px; +} +#django-logo{ + position: absolute; + width: 35px; + right: 10px; + bottom: 7px; } .block{ margin-top: 25px; diff --git a/website/static/images/django-logo.png b/website/static/images/django-logo.png new file mode 100644 index 0000000..e1260b8 Binary files /dev/null and b/website/static/images/django-logo.png differ diff --git a/website/templates/home.html b/website/templates/home.html index d57d09f..e69de29 100644 --- a/website/templates/home.html +++ b/website/templates/home.html @@ -1 +0,0 @@ -as \ No newline at end of file diff --git a/website/templates/page.html b/website/templates/page.html index 75ffcde..93f4a79 100644 --- a/website/templates/page.html +++ b/website/templates/page.html @@ -22,8 +22,17 @@