From: Charles Connell Date: Sun, 27 Apr 2014 13:58:10 +0000 (-0400) Subject: Assorted design fixes X-Git-Tag: release-20150131~113 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bed97c7ab17a9b56424440f2069ed9eeaff9dcf6;p=oweals%2Fkarmaworld.git Assorted design fixes --- diff --git a/karmaworld/assets/css/dashboard.css b/karmaworld/assets/css/dashboard.css index 78413ed..426172a 100644 --- a/karmaworld/assets/css/dashboard.css +++ b/karmaworld/assets/css/dashboard.css @@ -1,3 +1,7 @@ +#dashboard_content { + padding-top: 10px; +} + #stats-container { margin: 20px 0 20px 0; } diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index 1213529..601e76a 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -2,6 +2,7 @@ body { font-family: 'adelle-sans'; font-weight: lighter; word-wrap: break-word; + background: #333333; } .museo300 { @@ -30,6 +31,11 @@ p { font-size: 1em; } +#content-container { + background: #ffffff; + padding-bottom: 10px; +} + #main-header { background: #333333; color: #d4d4d4; @@ -56,11 +62,13 @@ p { #global_footer { line-height: 1.5em; - padding: 20px 0 20px 0; - margin-top: 20px; - background: #333333; color: #d4d4d4; font-size: 0.8em; + padding: 20px 0 20px 0; +} + +.footer-row { + margin-bottom: 10px; } label.inline-label @@ -176,6 +184,10 @@ table.dataTable a { color: inherit; } +.dataTables_paginate { + float: left; +} + .even { background-color: #fafafa !important; border-top: 1px solid #f0f0f0; @@ -234,10 +246,6 @@ div.tabs-content { border-top: 1px solid #dfdfdf; } -div.message-container { - margin: 20px 0 0 0; -} - ul.socialaccount_providers { list-style-type: none; } diff --git a/karmaworld/assets/css/home.css b/karmaworld/assets/css/home.css index 2e1afe5..df06970 100644 --- a/karmaworld/assets/css/home.css +++ b/karmaworld/assets/css/home.css @@ -2,9 +2,10 @@ padding: 8% 5% 8% 5%; color: #ffffff; text-align: center; - font-size: 3em; + font-size: 3.3em; background-size: cover; background-position: center center; + line-height: 1.5; } @media only screen and (max-width: 500px) { diff --git a/karmaworld/assets/css/note_course_pages.css b/karmaworld/assets/css/note_course_pages.css index 1d2f98e..999bad6 100644 --- a/karmaworld/assets/css/note_course_pages.css +++ b/karmaworld/assets/css/note_course_pages.css @@ -15,7 +15,7 @@ div.header-byline { #course-header { - margin: 20px 0 0 0; + padding: 20px 0 0 0; } #end-header diff --git a/karmaworld/settings/common.py b/karmaworld/settings/common.py index 0ab4d2f..173ab0c 100644 --- a/karmaworld/settings/common.py +++ b/karmaworld/settings/common.py @@ -292,6 +292,7 @@ SOCIALACCOUNT_AUTO_SIGNUP = False ACCOUNT_USER_DISPLAY = 'karmaworld.apps.users.models.user_display_name' ACCOUNT_SIGNUP_FORM_CLASS = 'karmaworld.apps.users.forms.SignupForm' ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https' +LOGIN_REDIRECT_URL = '/' AUTH_PROFILE_MODULE = 'users.UserProfile' diff --git a/karmaworld/templates/base.html b/karmaworld/templates/base.html index 18aef97..57a0899 100644 --- a/karmaworld/templates/base.html +++ b/karmaworld/templates/base.html @@ -33,10 +33,12 @@ {% include 'header.html' %} - - {% block raw_content %} - {% endblock %} - +
+ + {% block raw_content %} + {% endblock %} + +
{% include 'footer.html' %} @@ -70,7 +72,7 @@ {% block pagescripts %} {% endblock %} - + {% include 'partial/trackers.html' %} diff --git a/karmaworld/templates/footer.html b/karmaworld/templates/footer.html index f07d114..480093a 100644 --- a/karmaworld/templates/footer.html +++ b/karmaworld/templates/footer.html @@ -2,20 +2,31 @@ diff --git a/karmaworld/templates/notes/note_detail.html b/karmaworld/templates/notes/note_detail.html index 5a951da..e2e11b7 100644 --- a/karmaworld/templates/notes/note_detail.html +++ b/karmaworld/templates/notes/note_detail.html @@ -101,19 +101,19 @@ + Report Note {% else %} - + + Report Note {% endif %} {% else %} + Report Note {% endif %} {% if user.is_authenticated %}