From ed79271533f7046a7f4604a949b678bc5774d36a Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Sun, 22 Dec 2013 17:13:31 -0500 Subject: [PATCH] Changes to course and note page headers #223 #209 --- karmaworld/assets/css/course.css | 6 ++ karmaworld/assets/css/global.css | 12 +-- karmaworld/assets/css/note_course_pages.css | 9 +++ .../templates/courses/course_detail.html | 76 +++++++++--------- karmaworld/templates/notes/note_detail.html | 80 ++++++++++--------- 5 files changed, 97 insertions(+), 86 deletions(-) diff --git a/karmaworld/assets/css/course.css b/karmaworld/assets/css/course.css index 6f032d5..0f5e550 100644 --- a/karmaworld/assets/css/course.css +++ b/karmaworld/assets/css/course.css @@ -3,6 +3,12 @@ padding-top: 46px; } +#course_header +{ + padding-bottom: 20px; + margin-bottom: 20px; +} + #course_subhead { font-family: "MuseoSans-900"; diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index 7fcd52a..77e6d4f 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -450,8 +450,10 @@ a.activity_target:hover .activity_details_context, .activity_details_context a { - font-size: 12px; - line-height: 1em; + font-family: "MuseoSlab-900"; + font-size: 11px; + text-transform: uppercase; + line-height: 200%; } .activity_details_callout @@ -833,9 +835,3 @@ legend .inline-form { border-bottom: 1px dashed #666; } - -/* Social buttons */ -.social-button { - margin: 10px 5px 10px 5px; - float: right; -} \ No newline at end of file diff --git a/karmaworld/assets/css/note_course_pages.css b/karmaworld/assets/css/note_course_pages.css index 27d2668..f313813 100644 --- a/karmaworld/assets/css/note_course_pages.css +++ b/karmaworld/assets/css/note_course_pages.css @@ -1,5 +1,10 @@ /* NOTE PAGE */ +#note_header +{ + margin-bottom: 20px; +} + #note_content, #course_content, #school_content { padding-top: 46px; @@ -67,6 +72,10 @@ padding-bottom: 45px; } +#social-buttons { + padding-bottom: 10px; +} + /* COURSES */ #course_meta, #school_meta diff --git a/karmaworld/templates/courses/course_detail.html b/karmaworld/templates/courses/course_detail.html index 6cc3b37..674d320 100644 --- a/karmaworld/templates/courses/course_detail.html +++ b/karmaworld/templates/courses/course_detail.html @@ -12,6 +12,7 @@ {% block pagestyle %} + {% endblock %} @@ -23,20 +24,15 @@ {% block content %}
-
- +
-
-
+
-
-
- {{ course.instructor_name }} | {{ course.school.name }} +
+
+ {{ course.instructor_name }} // {{ course.school.name }}
+
-
-

-
- {% include 'partial/filepicker.html' %} +
+

+
- {% if request.GET.thankyou == '' %} -
-
-
-

- Thank you for uploading - {{ request.GET.name }}. - Share another or take a - quick survey to help us make KarmaNotes even better. -

- + {% include 'partial/filepicker.html' %} -
-
-
- {% endif %} + {% if request.GET.thankyou == '' %} +
+
+
+

+ Thank you for uploading + {{ request.GET.name }}. + Share another or take a + quick survey to help us make KarmaNotes even better. +

+ -
-

+
+
+ {% endif %} -
+
+

+
+
@@ -103,7 +100,6 @@ {% endfor %}
-
{% comment %} diff --git a/karmaworld/templates/notes/note_detail.html b/karmaworld/templates/notes/note_detail.html index 7584ab8..bf00a27 100644 --- a/karmaworld/templates/notes/note_detail.html +++ b/karmaworld/templates/notes/note_detail.html @@ -1,6 +1,10 @@ {% extends "base.html" %} {% load url from future %} +{% block title %} + {{ note.name }} +{% endblock %} + {% block pagestyle %} {% endblock %} @@ -12,28 +16,51 @@ {% block content %}
-
+
-
+
{{ note.name }} +
-
-
-
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
@@ -64,7 +91,7 @@
{% if note.html %}
- +
{% else %} {# note.html #} @@ -83,29 +110,6 @@
-
- - - -
{% endblock %} -- 2.25.1